1 2015-06-12 Martin Sebor <msebor@redhat.com>
4 * Makerules (check-install-supported): New target.
5 (install): Add check-install-supported as a dependency.
6 * manual/install.texi (Installing the C Library): Document
7 that overriding prefix and exec_prefix is not supported.
9 * INSTALL: Regenerate from the above.
11 2015-06-12 Joseph Myers <joseph@codesourcery.com>
14 * posix/Versions (libc): Export __libc_pread at version
16 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24 (cvt_symbol): Use weak_alias instead of strong_alias.
25 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
26 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32 * inet/herrno.c (h_errno): Rename to __h_errno.
33 (__libc_h_errno): Define as alias of __h_errno not h_errno.
34 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35 to __h_errno instead of h_errno.
36 * nptl/herrno.c (h_errno): Rename to __h_errno.
37 (__h_errno_location): Refer to __h_errno not h_errno.
38 * resolv/Versions (h_errno): Rename to __h_errno.
39 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
41 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
43 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
45 * configure.ac: More strict check for AVX512 assembler support.
46 * configure: Regenerated.
48 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
49 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
50 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
51 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
52 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
53 * sysdeps/x86_64/fpu/Versions: New versions added.
54 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
55 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
56 build of SSE, AVX2 and AVX512 IFUNC versions.
57 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
58 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
59 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
60 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
61 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
62 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
63 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
64 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
65 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
66 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
67 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
68 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
69 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
70 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
71 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
72 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
73 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
74 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
75 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
76 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
77 * NEWS: Mention addition of x86_64 vector sin.
79 2015-06-11 Florian Weimer <fweimer@redhat.com>
81 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
84 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
87 * nptl/pt-interp.c: New file.
88 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
90 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
91 $(common-objpfx)runtime-linker.h.
93 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
95 * Makeconfig (+interp): Remove unused variable.
96 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
97 only. Depend on $(common-objpfx)runtime-linker.h instead of
98 $(elf-objpfx)runtime-linker.h.
99 ($(elf-objpfx)runtime-linker.h): Rename to
100 $(common-objpfx)runtime-linker.h and move ...
101 * Makerules [$(build-shared) = yes]: ... here.
102 * elf/interp.c: Include <runtime-linker.h> instead of
103 <elf/runtime-linker.h>.
105 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
107 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
108 (__gettimeofday_syscall): Remove vsyscall fallback.
109 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
110 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
111 Add syscall fallback function.
112 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
113 if vDSO is not present.
114 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
116 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
119 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
121 2015-06-09 Joseph Myers <joseph@codesourcery.com>
124 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
126 (wcscmp): Define as weak alias of WCSCMP.
127 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
129 (USE_HIDDEN_DEF): Define.
130 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
131 __wcscoll. Don't use libc_hidden_weak.
132 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
134 * sysdeps/i386/i686/multiarch/wcscmp-c.c
135 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
137 (weak_alias): Undefine and redefine.
138 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
139 __wcscmp and define as weak alias of __wcscmp.
140 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
141 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
142 (__wcscoll): Likewise.
143 (wcscmp): Don't use libc_hidden_proto.
145 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
147 * posix/regexec.c (check_node_accept_bytes): Likewise.
148 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
150 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
151 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
154 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
155 __fstatvfs and define as weak alias of __fstatvfs. Use
157 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
158 and define as weak alias of __statvfs. Use libc_hidden_weak.
159 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
160 Define as alias of __fstatvfs, not fstatvfs.
161 (fstatvfs64): Likewise.
162 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
163 Define as alias of __statvfs, not statvfs.
164 (statvfs64): Likewise.
165 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
168 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
171 (HAVE_GETCPU_VSYSCALL): Define.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
173 (HAVE_GETCPU_VSYSCALL): Likewise.
174 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
175 * sysdeps/unix/sysv/linux/sched_getcpu.c
176 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
177 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
178 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
180 * sysdeps/unix/sysv/linux/x86_64/init-first.c
181 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
182 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
185 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
186 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
187 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
188 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
190 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
192 * sysdeps/x86_64/fpu/Makefile: New file.
193 * sysdeps/x86_64/fpu/Versions: New file.
194 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
195 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
196 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
197 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
198 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
199 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
200 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
201 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
202 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
203 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
204 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
205 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
206 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
207 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
208 build of SSE, AVX2 and AVX512 IFUNC versions.
209 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
210 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
211 * sysdeps/x86_64/configure.ac: Options for libmvec build.
212 * sysdeps/x86_64/configure: Regenerated.
213 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
214 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
215 * manual/install.texi (Configuring and compiling): Document
217 * INSTALL: Regenerated.
218 * NEWS: Mention addition of libmvec and x86_64 vector cos.
220 * math/Makefile: Added rules for vector tests.
221 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
222 declaration under condition.
223 * math/test-double-vlen2.h: New file.
224 * math/test-double-vlen4.h: New file.
225 * math/test-double-vlen8.h: New file.
226 * math/test-vec-loop.h: Added initialization macro.
227 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
229 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
230 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
231 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
232 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
233 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
234 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
235 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
236 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
237 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
239 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
240 * sysdeps/x86_64/fpu/Versions: New versions added.
241 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
242 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
243 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
244 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
245 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
246 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
247 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
248 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
249 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
250 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
251 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
252 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
253 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
254 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
255 build of SSE, AVX2 and AVX512 IFUNC versions.
256 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
257 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
258 * NEWS: Mention addition of x86_64 vector cosf.
260 * math/Makefile: Added CFLAGS for new tests.
261 * math/test-float-vlen16.h: New file.
262 * math/test-float-vlen4.h: New file.
263 * math/test-float-vlen8.h: New file.
264 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
265 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
266 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
267 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
268 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
269 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
270 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
271 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
272 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
273 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
274 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
276 2015-06-09 Marko Myllynen <myllynen@redhat.com>
278 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
279 * locale/programs/ld-ctype.c: Likewise.
281 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
283 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
284 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
285 bit_ZMM16_31_state): New macro.
286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
287 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
289 2015-06-08 Joseph Myers <joseph@codesourcery.com>
291 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
293 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
295 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
297 2015-06-05 Joseph Myers <joseph@codesourcery.com>
300 * libio/memstream.c (open_memstream): Rename to __open_memstream
301 and define as weak alias of __open_memstream.
302 * include/stdio.h (__open_memstream): Declare. Use
304 (open_memstream): Don't use libc_hidden_proto.
305 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
307 * posix/getopt.c (_getopt_internal_r): Likewise.
308 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
310 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
311 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
312 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
315 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
319 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
320 [__USE_XOPEN2K8]. Remove redundant #endif.
321 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
322 Remove redundant #if.
323 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
325 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
326 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
329 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
330 (__iswlower): Likewise.
331 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
332 (__iswlower): Likewise.
333 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
335 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
336 instead of iswlower. Call __towupper instead of towupper.
337 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
340 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
342 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
345 2015-06-05 Florian Weimer <fweimer@redhat.com>
349 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
350 Check for overflow properly. Check for O_APPEND. Ignore large
351 file system block sizes. Add comments about problems.
352 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
353 * manual/filesys.texi (Storage Allocation): New node.
355 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
357 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
358 cancellable syscalls.
359 (SYS_ify): Add guard to no redefine it.
360 (INLINE_SYSCALL): Likewise.
361 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
362 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
363 SYSCALL_CANCEL instead.
364 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
365 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
366 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
367 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
368 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
369 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
370 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
371 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
372 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
373 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
374 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
375 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
376 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
377 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
378 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
379 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
381 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
382 (__libc_pread64): Likewise.
383 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
384 (__libc_preadv): Likewise.
385 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
386 (__libc_readv64): Likewise.
387 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
388 (__libc_pwrite): Likewise.
389 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
390 (__libc_pwrite64): Likewise.
391 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
392 (__libc_pwritev): Likewise.
393 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
394 (__libc_pwritev64): Likewise.
395 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
396 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
397 (sync_file_range): Likewise.
398 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
400 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
402 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
403 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
404 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
405 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
406 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
407 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
408 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
409 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
413 (__libc_read64): Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
423 (__libc_pread64): Likewise.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
427 (__libc_pwrite64): Likewise.
428 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
429 (sync_file_range): Likewise.
430 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
431 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
432 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
433 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
434 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
435 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
436 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
437 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
438 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
439 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
440 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
441 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
442 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
443 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
444 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
445 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
446 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
447 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
448 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
450 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
452 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
453 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
455 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
456 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
457 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
458 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
460 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
461 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
462 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
463 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
464 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
466 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
468 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
470 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
471 Use VDSO routines for gettimeofday, clock_gettime if
473 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
474 Declare VDSO symbols.
475 * sysdeps/unix/sysv/linux/arm/sysdep.h:
476 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
477 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
478 * sysdeps/unix/sysv/linux/arm/Versions: Add
479 __vdso_clock_gettime.
481 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
483 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
484 be an inline implementation regardless of library is built within.
485 (open_not_cancel_2): Likewise.
486 (__read_nocancel): Likewise.
487 (__write_nocancel): Likewise.
488 (openat_not_cancel): Likewise.
489 (openat_not_cancel_3): Likewise.
490 (openat64_not_cancel): Likewise.
491 (openat64_not_cancel_3): Likewise.
492 (__close_nocancel): Likewise.
493 (pause_not_cancel): Likewise.
494 (nanosleep_not_cancel): Likewise.
495 (sigsuspend_not_cancel): Likewise.
497 2015-06-04 Torvald Riegel <triegel@redhat.com>
500 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
502 (__pthread_rwlock_rdlock_slow): Likewise.
503 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
505 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
507 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
508 * nptl/tst-rwlock16.c: New file.
509 * nptl/Makefile (tests): Add new test.
511 2015-06-04 Torvald Riegel <triegel@redhat.com>
514 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
515 missing wake-up of readers.
516 * nptl/tst-rwlock15.c: New file.
517 * nptl/Makefile (tests): Add new test.
519 2015-06-03 Roland McGrath <roland@hack.frob.com>
521 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
522 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
523 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
524 and __nacl_supply_interface_rtld.
525 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
526 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
527 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
528 Add __nacl_supply_interface_rtld.
529 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
531 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
533 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
535 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
536 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
538 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
540 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
541 __signbit* with standard C99 macros.
542 * math/e_exp10l.c: Likewise.
543 * math/e_exp2l.c: Likewise.
544 * math/e_scalb.c: Likewise.
545 * math/e_scalbf.c: Likewise.
546 * math/e_scalbl.c: Likewise.
547 * math/s_ldexp.c: Likewise.
548 * math/s_ldexpf.c: Likewise.
549 * math/s_ldexpl.c: Likewise.
550 * math/w_atan2.c: Likewise.
551 * math/w_atan2f.c: Likewise.
552 * math/w_atan2l.c: Likewise.
553 * math/w_cosh.c: Likewise.
554 * math/w_coshf.c: Likewise.
555 * math/w_coshl.c: Likewise.
556 * math/w_exp10.c: Likewise.
557 * math/w_exp10f.c: Likewise.
558 * math/w_exp10l.c: Likewise.
559 * math/w_exp2.c: Likewise.
560 * math/w_exp2f.c: Likewise.
561 * math/w_exp2l.c: Likewise.
562 * math/w_fmod.c: Likewise.
563 * math/w_fmodf.c: Likewise.
564 * math/w_fmodl.c: Likewise.
565 * math/w_hypot.c: Likewise.
566 * math/w_hypotf.c: Likewise.
567 * math/w_hypotl.c: Likewise.
568 * math/w_jnl.c: Likewise.
569 * math/w_lgamma.c: Likewise.
570 * math/w_lgamma_r.c: Likewise.
571 * math/w_lgammaf.c: Likewise.
572 * math/w_lgammaf_r.c: Likewise.
573 * math/w_lgammal.c: Likewise.
574 * math/w_lgammal_r.c: Likewise.
575 * math/w_pow.c: Likewise.
576 * math/w_powf.c: Likewise.
577 * math/w_powl.c: Likewise.
578 * math/w_remainder.c: Likewise.
579 * math/w_remainderf.c: Likewise.
580 * math/w_remainderl.c: Likewise.
581 * math/w_scalb.c: Likewise.
582 * math/w_scalbf.c: Likewise.
583 * math/w_scalbl.c: Likewise.
584 * math/w_scalbln.c: Likewise.
585 * math/w_scalblnf.c: Likewise.
586 * math/w_scalblnl.c: Likewise.
587 * math/w_sinh.c: Likewise.
588 * math/w_sinhf.c: Likewise.
589 * math/w_sinhl.c: Likewise.
590 * math/w_tgamma.c: Likewise.
591 * math/w_tgammaf.c: Likewise.
592 * math/w_tgammal.c: Likewise.
593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
594 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
595 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
596 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
597 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
599 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
600 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
601 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
602 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
603 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
604 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
605 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
606 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
607 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
608 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
609 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
610 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
611 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
613 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
614 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
617 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
618 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
619 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
620 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
621 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
622 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
623 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
624 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
625 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
626 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
627 * stdio-common/printf_fp.c: Likewise.
628 * stdio-common/printf_fphex.c: Likewise.
629 * stdio-common/printf_size.c: Likewise.
631 2015-06-03 Joseph Myers <joseph@codesourcery.com>
634 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
636 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
638 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
639 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
640 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
641 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
642 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
643 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
644 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
645 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
646 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
647 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
650 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
651 weak alias of __wmemchr. Use libc_hidden_weak.
652 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
653 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
656 2015-06-02 Roland McGrath <roland@hack.frob.com>
659 * elf/tst-tlsalign-extern.c: New file.
660 * elf/tst-tlsalign-extern-static.c: New file.
661 * elf/tst-tlsalign-vars.c: New file.
662 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
663 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
664 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
665 ($(objpfx)tst-tlsalign-extern-static): Likewise.
666 (test-xfail-tst-tlsalign-extern-static): New variable.
668 2015-06-02 Joseph Myers <joseph@codesourcery.com>
670 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
671 Use variable name _sc_err instead of err.
672 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
674 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
675 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
676 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
677 (INLINE_SYSCALL): Likewise.
679 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
680 * include/string.h (__strnlen): Use libc_hidden_proto.
681 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
682 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
683 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
684 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
685 (libc_hidden_def): Undefine and redefine.
686 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
687 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
689 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
691 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
694 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
695 weak alias of __towlower. Use libc_hidden_weak.
696 (towupper): Rename to __towupper and define as weak alias of
697 __towupper. Use libc_hidden_weak.
698 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
699 (__towupper): Likewise.
700 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
701 __towlower instead of towlower.
703 2015-06-02 Roland McGrath <roland@hack.frob.com>
705 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
706 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
708 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
710 * sysdeps/aarch64/libm-test-ulps: Update.
712 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
714 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
716 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
718 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
719 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
720 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
721 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
722 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
724 2015-06-01 Martin Sebor <msebor@redhat.com>
727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
728 (__setcontext): Use extended four-operand version of mtsf whenever
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
731 (__novec_swapcontext): Likewise.
733 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
735 * benchtests/scripts/compare_bench.py: New file.
736 * benchtests/scripts/import_bench.py (mean): New function.
737 (split_list): Likewise.
738 (do_for_all_timings): Likewise.
739 (compress_timings): Likewise.
741 * benchtests/scripts/import_bench.py: New file.
742 * benchtests/scripts/validate_benchout.py: Import import_bench
743 instead of jsonschema.
744 (validate_bench): Remove function.
745 (main): Use import_bench.
747 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
749 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
750 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
752 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
756 2015-05-28 Roland McGrath <roland@hack.frob.com>
758 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
759 set THREAD_SELF->tid to a magic value and futex-wake it.
760 Pass its address to the thread_exit system call.
761 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
763 * sysdeps/nacl/lowlevellock.h: New file.
764 * sysdeps/nacl/lll_timedwait_tid.c: New file.
766 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
767 Add TIMEOUT to current time, don't subtract it.
769 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
772 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
773 ($(objpfx)tst-audit2.out): Also depend on
774 $(objpfx)tst-auditmod9b.so.
775 * elf/tst-audit2.c: Include <dlfcn.h>.
776 (calloc_called): New.
777 (calloc): Allow to be called more than once.
778 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
780 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
782 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
783 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
785 2015-05-27 Marko Myllynen <myllynen@redhat.com>
787 * stdlib/monetary.h: Fix comment.
789 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
791 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
792 Avoid using variables in #defines that might cause shadowing.
793 (INTERNAL_VSYSCALL_CALL): Likewise.
795 2015-05-26 Roland McGrath <roland@hack.frob.com>
797 * sysdeps/nacl/lll_timedlock_wait.c: New file.
799 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
800 * nptl/lll_timedlock_wait.c: ... to this new file.
801 * nptl/Makefile (libpthread-routines): Add it.
802 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
803 * nptl/lll_timedwait_tid.c: ... to this new file.
804 * nptl/Makefile (libpthread-routines): Add it.
805 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
806 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
807 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
808 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
809 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
810 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
811 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
812 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
813 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
814 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
816 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
818 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
819 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
820 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
821 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
822 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
824 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
826 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
827 * sysdeps/unix/sysv/linux/tile/sysdep.h
828 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
829 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
830 using vDSO syscall macro.
832 2015-05-26 Andriy Rysin <arysin@gmail.com>
835 * uk_UA: Fix sorting order for Ukrainian locale
837 2015-05-26 Marko Myllynen <myllynen@redhat.com>
839 * stdlib/monetary.h: Fix comment.
841 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
844 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
845 st_mtim and st_ctim members.
846 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
847 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
848 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
849 (struct stat64): Likewise.
850 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
851 (struct stat64): Likewise.
852 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
853 (struct stat64): Likewise.
855 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
857 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
858 Define and include sysdep-vdso.h.
859 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
861 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
863 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
864 Define with VDSO_SYMBOL and use PTR_MANGLE.
865 (__vdso_clock_gettime): Likewise.
866 (__vdso_clock_getres): Likewise.
867 (_libc_vdso_platform_setup): Likewise.
868 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
870 (_libc_vdso_platform_setup): Likewise.
871 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
873 (__vdso_clock_gettime): Likewise.
874 (__vdso_clock_getres): Likewise.
875 (__vdso_get_tbfreq): Likewise.
876 (__vdso_getcpu): Likewise.
877 (__vdso_time): Likewise.
878 (__vdso_sigtramp_rt64): Likewise.
879 (__vdso_signtramp32): Likewise.
880 (__vdso_sigtramp_rt32): Likewise.
881 (_libc_vdso_platform_setup): Likewise.
882 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
884 (__vdso_clock_gettime): Likewise.
885 (__vdso_clock_getres): Likewise.
886 (_libc_vdso_platform_setup): Likewise.
887 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
889 (__vdso_clock_gettime): Likewise.
890 (_libc_vdso_platform_setup): Likewise.
891 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
893 (__vdso_getcpu): Likewise.
894 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
895 Use VDSO_SYMBOL macro to define.
896 (__vdso_clock_gettime): Likewise.
897 (__vdso_clock_getres): Likewise.
898 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
900 (__vdso_clock_gettime): Likewise.
901 (__vdso_clock_getres): Likewise.
902 (__vdso_get_tbfreq): Likewise.
903 (__vdso_getcpu): Likewise.
904 (__vdso_time): Likewise.
905 (__vdso_sigtramp_rt64): Likewise.
906 (__vdso_signtramp32): Likewise.
907 (__vdso_sigtramp_rt32): Likewise.
908 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
910 (__vdso_clock_gettime): Likewise.
911 (__vdso_clock_getres): Likewise.
912 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
914 (__vdso_clock_gettime): Likewise.
915 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
917 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
919 (INTERNAL_VSYSCALL): Likewise.
920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
922 (INTERNAL_VSYSCALL): Likewise.
923 (INTERNAL_VSYSCALL_NCS): Likewise.
924 (INTERNAL_VSYSCALL_CALL): New macro.
925 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
926 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
928 (INTERNAL_VSYSCALL): Likewise.
929 (INTERNAL_VSYSCALL_NCS): Likewise.
930 (INTERNAL_VSYSCALL_CALL): New macro.
931 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
933 (INLINE_VSYSCALL): Remove macro.
934 (INTERNAL_VSYSCALL): Remove macro.
935 (INTERNAL_VSYSCALL_NCS): Remove macro.
936 (INTERNAL_VSYSCALL_CALL): New macro.
937 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
938 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
939 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
940 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
941 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
943 (INLINE_VSYSCALL): Remove macro.
944 (INTERNAL_VSYSCALL): Likewise.
945 (INTERNAL_VSYSCALL_NCS): Likewise.
946 (INTERNAL_VSYSCALL_CALL): New macro.
947 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
948 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
949 PTR_DEMANGLE on vDSO pointer.
950 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
951 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
953 (INTERNAL_SYSCALL): Likewise.
954 (INTERNAL_VSYSCALL_NCS): Remove macro.
955 (INTERNAL_VSYSCALL_CALL): New macro.
956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
958 (INTERNAL_VSYSCALL): Likewise.
959 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
960 sysdep-vdso.h instead of libc-vdso.h.
961 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
963 (INLINE_VSYSCALL): Likewise.
964 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
965 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
967 (INLINE_VSYSCALL): Likewise.
968 (INTERNAL_VSYSCALL): Likewise.
969 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
970 * sysdeps/unix/sysv/linux/timespec_get.c
971 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
972 (timespec_get): Use ANSI prototype.
973 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
974 and definition for Linux.
976 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
978 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
979 * include/libc-symbols.h: libmvec_hidden_* macro series added.
981 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
984 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
985 for missing DT_PLTRELSZ.
987 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
989 Remove obsolete aliases that broke 'locale -a'
991 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
992 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
993 breaking some applications that use 'locale -a' output.
994 Change the encoding of this file from Latin-1 to ASCII to avoid
995 other potential problems with people grepping this file.
997 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
999 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1000 -fasynchronous-unwind-tables.
1001 (CFLAGS-sendto.c): Likewise.
1002 (CFLAGS-sendmsg.c): Likewise.
1003 (CFLAGS-connect.c): Likewise.
1004 (CFLAGS-recvmsg.c): Likewise.
1005 (CFLAGS-recvfrom.c): Likewise.
1006 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1007 (SOCKETCALL): New macro: non-cancellable socketcall.
1008 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1009 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1010 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1011 * sysdeps/unix/sysv/linux/accept.c: New file.
1012 * sysdeps/unix/sysv/linux/bind.c: Likewise.
1013 * sysdeps/unix/sysv/linux/connect.c: Likewise.
1014 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1015 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1016 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1017 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1018 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1019 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1020 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1021 * sysdeps/unix/sysv/linux/send.c: Likewise.
1022 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1023 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1024 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1025 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1026 * sysdeps/unix/sysv/linux/socket.c: Likewise.
1027 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1028 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1030 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1031 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1032 instead of __internal_xxx function.
1033 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1035 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1036 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1037 instead of __internal_xxx function.
1038 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1040 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1041 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1042 instead of __internal_xxx function.
1043 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1044 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1045 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1046 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1047 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1048 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1049 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1050 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1051 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1052 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1053 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1054 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1055 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1056 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1057 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1058 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1059 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1060 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1061 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1062 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1065 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1066 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1067 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1068 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1069 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1070 * sysdeps/unix/sysv/linux/send.S: Likewise.
1071 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1072 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1073 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1074 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1075 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1076 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1078 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1079 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1080 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1081 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1082 socketcall is implemented in GLIBC.
1084 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1086 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1087 (__fma): Ignore uninitialized warnings around packing.
1088 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1089 (__fmaf): Ignore uninitialized warnings around packing.
1090 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1091 (__fmal): Ignore uninitialized warnings around packing.
1093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1094 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1095 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1096 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1098 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1099 switch statement into default case.
1100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1102 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1103 a conditional in forcing "inexact".
1104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1107 2015-05-22 Roland McGrath <roland@hack.frob.com>
1109 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1110 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1111 for each INTERNAL_SYSCALL use.
1113 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1116 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1117 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1121 * string/basename.c (basename): Rename to __basename and define as
1122 weak alias of __basename. Use libc_hidden_weak.
1123 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1124 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1125 __basename instead of basename.
1126 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1128 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1130 2015-05-18 Florian Weimer <fweimer@redhat.com>
1132 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1133 (_IO_JUMPS_FILE_plus): New.
1134 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1135 _IO_CAST_FIELD_ACCESS.
1136 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1137 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1138 * libio/freopen.c (freopen): Likewise.
1139 * libio/freopen64.c (freopen64): Likewise.
1140 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1141 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1142 * libio/iofwide.c (_IO_fwide): Likewise.
1143 * libio/memstream.c (open_memstream): Likewise.
1144 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1145 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1146 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1148 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1150 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1151 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1154 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1156 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1157 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1160 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1163 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1164 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1166 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1167 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1168 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1170 2015-05-21 Florian Weimer <fweimer@redhat.com>
1172 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1173 Adjust jump table label generation macros.
1175 2015-05-21 Florian Weimer <fweimer@redhat.com>
1177 * stdio-common/vfprintf.c (vfprintf): Move local variables
1178 args_malloced, specs, specs_malloced, and the code after
1179 do_positional to the printf_positional function.
1180 (printf_positional): New function.
1182 2015-05-21 Florian Weimer <fweimer@redhat.com>
1184 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1186 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1187 STEP4_TABLE, process_arg): Move macro definitions
1188 out of the vfprintf function. (Cosmetic change only.)
1190 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1192 * benchtests/Makefile (stdio-common-bench): Define.
1193 (benchset): Add stdio-common-bench.
1194 * sprintf-inputs: New file.
1195 * sprintf-source.c: New file.
1197 2015-05-21 Andreas Schwab <schwab@suse.de>
1201 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1202 of struct __res_state.
1203 * resolv/res_send.c (__libc_res_nsend): Likewise.
1204 (get_nsaddr): New function.
1205 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1208 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1210 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1211 -D_POSIX_C_SOURCE=199506L.
1213 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1215 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1216 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1217 Do not mention otherwise.
1218 [POSIX] (_XOPEN_VERSION): Do not expect.
1219 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1220 [POSIX] (_POSIX2_C_BIND): Likewise.
1221 [POSIX] (_POSIX2_VERSION): Likewise.
1222 [POSIX] (_XOPEN_XPG2): Likewise.
1223 [POSIX] (_XOPEN_XPG3): Likewise.
1224 [POSIX] (_XOPEN_XPG4): Likewise.
1225 [POSIX] (_XOPEN_UNIX): Likewise.
1226 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1227 [POSIX] (_POSIX_BARRIERS): Likewise.
1228 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1229 [POSIX] (_POSIX_CPUTIME): Likewise.
1230 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1231 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1232 [POSIX] (_POSIX_SHELL): Likewise.
1233 [POSIX] (_POSIX_SPAWN): Likewise.
1234 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1235 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1236 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1237 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1238 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1239 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1240 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1241 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1242 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1243 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1244 [POSIX] (_POSIX2_PBS): Likewise.
1245 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1246 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1247 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1248 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1249 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1250 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1251 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1252 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1253 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1254 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1255 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1256 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1257 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1258 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1259 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1260 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1261 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1262 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1263 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1264 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1265 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1266 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1267 [POSIX] (_SC_2_C_BIND): Likewise.
1268 [POSIX] (_SC_2_C_VERSION): Likewise.
1269 [POSIX] (_SC_2_PBS): Likewise.
1270 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1271 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1272 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1273 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1274 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1275 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1276 [POSIX] (_SC_BARRIERS): Likewise.
1277 [POSIX] (_SC_BASE): Likewise.
1278 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1279 [POSIX] (_SC_DEVICE_IO): Likewise.
1280 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1281 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1282 [POSIX] (_SC_FD_MGMT): Likewise.
1283 [POSIX] (_SC_FIFO): Likewise.
1284 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1285 [POSIX] (_SC_FILE_LOCKING): Likewise.
1286 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1287 [POSIX] (_SC_IOV_MAX): Likewise.
1288 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1289 [POSIX] (_SC_NETWORKING): Likewise.
1290 [POSIX] (_SC_PAGE_SIZE): Likewise.
1291 [POSIX] (_SC_PASS_MAX): Likewise.
1292 [POSIX] (_SC_PIPE): Likewise.
1293 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1294 [POSIX] (_SC_REGEXP): Likewise.
1295 [POSIX] (_SC_SHELL): Likewise.
1296 [POSIX] (_SC_SIGNALS): Likewise.
1297 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1298 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1299 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1300 [POSIX] (_SC_USER_GROUPS): Likewise.
1301 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1302 [POSIX] (_SC_STREAMS): Likewise.
1303 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1304 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1305 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1306 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1307 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1308 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1309 [POSIX] (_PC_FILESIZEBITS): Likewise.
1310 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1311 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1312 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1313 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1314 [POSIX] (uid_t): Likewise.
1315 [POSIX] (gid_t): Likewise.
1316 [POSIX] (off_t): Likewise.
1317 [POSIX] (pid_t): Likewise.
1318 [POSIX] (cuserid): Allow.
1319 (_SC_2_CHAR_TERM): Require constant.
1320 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1321 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1324 2015-05-20 Roland McGrath <roland@hack.frob.com>
1326 * sysdeps/nacl/pthread-pids.h: New file.
1327 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1328 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1330 * nptl/pthread-pids.h: New file.
1331 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1332 * nptl/nptl-init.c: Include <pthread-pids.h>.
1333 (__pthread_initialize_minimal_internal):
1334 Call __pthread_initialize_pids instead of set_tid_address syscall.
1336 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1337 * sysdeps/posix/usleep.c: ... here.
1339 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1341 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1342 call_pselect6 object.
1343 [$(subdir) = io]: Remove call_sync_file_range object.
1344 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1345 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1346 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1347 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1349 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1351 * math/s_cproj.c: Add include "math_private.h".
1352 * math/s_cprojf.c: Likewise.
1353 * math/s_cprojl.c: Likewise.
1355 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1358 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1359 high mantissa bit when testing whether P is a NaN.
1360 * math/libm-test.inc (remainder_test_data): Add more tests.
1361 (remquo_test_data): Likewise.
1364 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1365 below -32, return the argument, with underflow if subnormal.
1366 * math/auto-libm-test-in: Add more tests of atanh.
1367 * math/auto-libm-test-out: Regenerated.
1369 2015-05-19 Roland McGrath <roland@hack.frob.com>
1372 * nptl/tst-sem15.c: New file.
1373 * nptl/Makefile (tests): Add it.
1374 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1375 s/<</>>/ to fix typo in EOVERFLOW check.
1376 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1378 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1380 * manual/strings.texi (envz_remove): Fix typo in safety
1383 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1384 Steve Ellcey <sellcey@imgtec.com>
1386 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1387 in order to avoid strict alias warnings.
1388 (iruserok_af): Ditto for ra.
1390 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1394 (magicbyte): Convert to a function and avoid returning 0x01.
1395 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1396 (mem2chunk_check): Fix unsigned comparisons to zero.
1397 Hoist defs of sz and magic.
1399 2015-05-19 Richard Henderson <rth@redhat.com>
1401 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1403 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1405 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1408 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1409 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1410 (reused_arena): Find a non-corrupt arena.
1411 (heap_trim): Pass arena to unlink.
1412 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1414 (top_check): Likewise.
1415 (free_check): Likewise.
1416 (realloc_check): Likewise.
1417 * malloc/malloc.c (malloc_printerr): Add arena argument.
1419 (munmap_chunk): Adjust.
1420 (ARENA_CORRUPTION_BIT): New macro.
1421 (arena_is_corrupt): Likewise.
1422 (set_arena_corrupt): Likewise.
1423 (sysmalloc): Use mmap if there are no usable arenas.
1424 (_int_malloc): Likewise.
1425 (__libc_malloc): Don't fail if arena_get returns NULL.
1426 (_mid_memalign): Likewise.
1427 (__libc_calloc): Likewise.
1428 (__libc_realloc): Adjust for additional argument to
1430 (_int_free): Likewise.
1431 (malloc_consolidate): Likewise.
1432 (_int_realloc): Likewise.
1433 (_int_memalign): Don't touch corrupt arenas.
1434 * malloc/tst-malloc-backtrace.c: New test case.
1436 * Makefile (summarize-tests): Fix return value on success.
1438 * manual/string.texi (Envz Functions): Add envz_remove.
1440 2015-05-18 Roland McGrath <roland@hack.frob.com>
1442 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1443 (invalid_name): New function, broken out of ...
1444 (__opendirat): ... here. Call it.
1445 (need_isdir_precheck): New function, broken out of ...
1446 (__opendirat): ... here. Call it.
1447 Use __fxstatat64, not __xstatat64.
1448 (opendir_oflags): New function, broken out of ...
1449 (__opendirat): ... here. Call it.
1450 (opendir_tail): New function, broken out of ...
1451 (__opendirat): ... here. Call it.
1452 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1453 opendir_tail, rather than punting to __opendirat.
1454 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1456 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1458 * .gitignore: Ignore generated *.pyc.
1460 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1462 * include/stdio.h: Define __need_wint_t.
1463 * test-skeleton.c: Avoid `for' loop initial declaration.
1464 * nptl/tst-initializers1.c: Use test-skeleton.c.
1466 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1469 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1471 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1474 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1475 (__ieee754_atanh): Force underflow exception for results with
1476 small absolute value.
1477 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1478 (__ieee754_atanhf): Force underflow exception for results with
1479 small absolute value.
1480 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1481 (__ieee754_atanh): Force underflow exception for results with
1482 small absolute value.
1483 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1484 (__ieee754_atanhf): Force underflow exception for results with
1485 small absolute value.
1486 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1487 (__ieee754_atanhl): Force underflow exception for results with
1488 small absolute value.
1489 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1490 (__ieee754_atanhl): Force underflow exception for results with
1491 small absolute value.
1492 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1493 (__ieee754_atanhl): Force underflow exception for results with
1494 small absolute value.
1495 * math/auto-libm-test-in: Do not allow missing underflow
1496 exceptions from atanh.
1497 * math/auto-libm-test-out: Regenerated.
1500 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1501 2**-28 as threshold for returning x or +/- 1/x.
1502 * math/auto-libm-test-in: Add more tests of tan.
1503 * math/auto-libm-test-out: Regenerated.
1506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1507 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1508 * math/auto-libm-test-in: Add another test of lgamma.
1509 * math/auto-libm-test-out: Regenerated.
1511 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1513 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1514 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1515 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1516 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1517 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1518 (ADD2A): Use fabs. (SUB2A): Use fabs.
1519 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1520 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1522 (log1): Use fabs. (my_log2): Use fabs.
1523 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1524 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1525 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1526 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1528 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1529 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1530 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1531 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1532 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1533 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1535 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1538 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1539 as threshold for returning 1 - x.
1540 * math/auto-libm-test-in: Add more tests of erfc.
1541 * math/auto-libm-test-out: Regenerated.
1543 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1546 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1547 threshold for large arguments.
1548 * math/auto-libm-test-in: Add another test of atan.
1549 * math/auto-libm-test-out: Regenerated.
1552 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1553 (__log1p): Force underflow exception for results with small
1555 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1556 (__log1pf): Force underflow exception for results with small
1558 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1559 (__log1p): Force underflow exception for results with small
1561 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1562 (__log1pf): Force underflow exception for results with small
1564 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1565 (__log1pl): Force underflow exception for results with small
1567 * math/auto-libm-test-in: Do not allow missing underflow
1568 exceptions from log1p.
1569 * math/auto-libm-test-out: Regenerated.
1571 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1572 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1575 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1577 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1579 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1580 (libmvec): New variable.
1581 * configure.ac: Added option for mathvec build.
1582 * configure: Regenerated.
1583 * mathvec/Depend: New file.
1584 * mathvec/Makefile: New file.
1585 * shlib-versions: Added libmvec.
1586 * math/Makefile: Added rule for libm.so installation.
1588 * bits/math-vector.h: New file.
1589 * bits/libm-simd-decl-stubs.h: New header.
1590 * math/Makefile (headers): Added new header
1591 libm-simd-decl-stubs.h.
1592 * math/math.h (__MATHCALL_VEC): New macro.
1594 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1595 for conditions in testing functions.
1596 * math/Makefile: Added call of libm-have-vector-test.sh.
1597 * math/libm-test.inc (HAVE_VECTOR): New macros.
1599 * math/libm-test.inc: START refactored.
1600 * math/test-double.c (TEST_MATHVEC): Add define.
1601 * math/test-float.c: Likewise.
1602 * math/test-idouble.c: Likewise.
1603 * math/test-ifloat.c: Likewise.
1604 * math/test-ildoubl.c: Likewise.
1605 * math/test-ldouble.c: Likewise.
1606 * sysdeps/generic/math-tests-arch.h
1607 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1610 * math/test-double.c (FUNC_TEST): New macro.
1611 * math/test-float.c: Likewise.
1612 * math/test-idouble.c: Likewise.
1613 * math/test-ifloat.c: Likewise.
1614 * math/test-ildoubl.c: Likewise.
1615 * math/test-ldouble.c: Likewise.
1616 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1618 2015-05-13 Roland McGrath <roland@hack.frob.com>
1620 * sysdeps/nacl/fdopendir.c: New file.
1622 * dirent/scandir-tail.c: New file.
1623 * dirent/scandir64-tail.c: New file.
1624 * dirent/Makefile (routines): Add them.
1625 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1626 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1627 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1628 [!SCANDIR] (SCANDIR_TAIL): New macro.
1629 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1630 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1631 (SCANDIRAT): Macro removed.
1632 (SCANDIR_TAIL): New macro.
1633 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1634 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1635 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1636 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1637 (READDIR): Macro removed.
1638 (SCANDIR_TAIL): New macro.
1639 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1640 (SCANDIR_TAIL): New macro.
1642 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1643 * dirent/scandir-cancel.c: ... to this new file.
1644 * dirent/Makefile (routines): Add it.
1645 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1646 * sysdeps/unix/sysv/linux/i386/scandir64.c
1647 (SKIP_SCANDIR_CANCEL): Macro removed.
1648 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1650 * dirent/tst-scandir.c: New file.
1651 * dirent/tst-scandir64.c: New file.
1652 * dirent/Makefile (tests): Add them.
1654 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1657 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1659 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1661 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1664 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1666 * benchtests/bench-strcoll.c: New benchmark.
1667 * benchtests/Makefile: Generate locales and run benchmark.
1668 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1669 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1670 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1671 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1672 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1673 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1674 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1675 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1676 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1677 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1678 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1679 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1680 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1681 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1682 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1683 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1684 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1685 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1686 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1687 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1688 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1689 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1690 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1691 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1693 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
1695 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1696 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1698 2015-05-12 Roland McGrath <roland@hack.frob.com>
1700 * posix/uname-values.h: New file.
1701 * posix/uname.c: Include that instead of <config-name.h>.
1702 * sysdeps/nacl/uname-values.h: New file.
1703 * sysdeps/arm/nacl/uname-values.h: New file.
1705 2015-05-12 Joseph Myers <joseph@codesourcery.com>
1707 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1708 splitting into fields.
1710 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
1712 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1713 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1714 * locale/localeinfo.h: Add enum collation_encoding_type.
1715 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1716 * programs/ld-collate.c (collate_output): Add encoding type info.
1717 * string/strcoll_l.c (STRDIFF): New function.
1718 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1719 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1721 2015-05-11 Joseph Myers <joseph@codesourcery.com>
1724 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1725 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1726 <fpu_control.h> instead of <math/fpu_control.c>.
1727 * sysdeps/mips/mips32/fpu/Makefile: New file.
1729 2015-05-11 Andreas Schwab <schwab@suse.de>
1732 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1734 (_nss_compat_endgrent): Call nss_endgrent.
1735 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1737 (_nss_compat_endpwent): Call nss_endpwent.
1738 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1739 needent, call nss_setspent only if non-zero.
1740 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1741 (internal_endspent): Don't call nss_endspent.
1742 (_nss_compat_endspent): Call nss_endspent.
1743 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1744 Remove. All uses removed.
1745 (internal_setent): Remove parameter stayopen, add parameter
1746 stream. Use it instead of global variable.
1747 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1748 (internal_endent, internal_getent): Add parameter stream. Use it
1749 instead of global variable.
1750 (CONCAT(_nss_files_end,ENTNAME))
1751 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1752 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1753 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1755 (internal_setent, internal_endent): Add parameter stream. Use it
1756 instead of global variable.
1757 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1759 (get_next_alias): Add parameter stream.
1760 (_nss_files_getaliasent_r): Pass global stream.
1761 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1762 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1763 (_nss_files_gethostbyname4_r): Pass local stream to
1764 internal_setent, internal_getent and internal_endent. Remove
1767 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1769 * tst-strfmon1.c (tests): Update expected currency symbol.
1771 2015-05-08 Roland McGrath <roland@hack.frob.com>
1773 * sysdeps/nacl/gethostname.c: New file.
1775 2015-05-08 Joseph Myers <joseph@codesourcery.com>
1777 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1779 * math/auto-libm-test-out: Regenerated.
1780 * sysdeps/i386/fpu/libm-test-ulps: Update.
1781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1783 2015-05-08 Carlos O'Donell <carlos@redhat.com>
1786 * stdlib/tst-setcontext3.c: New file.
1787 * stdlib/tst-setcontext3.sh: New file.
1788 * stdlib/Makefile (tests): Add tst-setcontext3.
1789 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1790 to verify test program created output file.
1791 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1792 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1793 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1794 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1796 2015-05-06 Roland McGrath <roland@hack.frob.com>
1799 * elf/tst-tlsalign.c: New file.
1800 * elf/tst-tlsalign-static.c: New file.
1801 * elf/tst-tlsalign-lib.c: New file.
1802 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1803 (tests-static): Add tst-tlsalign-static.
1804 (modules-names): Add tst-tlsalign-lib.
1805 (test-xfail-tst-tlsalign): New variable.
1806 (test-xfail-tst-tlsalign-static): New variable.
1808 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1809 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1811 2015-05-06 Joseph Myers <joseph@codesourcery.com>
1813 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1814 csqrt, erfc, sin and sincos.
1815 * math/auto-libm-test-out: Regenerated.
1816 * sysdeps/i386/fpu/libm-test-ulps: Update.
1817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1819 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1821 * sysdeps/aarch64/libm-test-ulps: Update.
1823 2015-05-05 Joseph Myers <joseph@codesourcery.com>
1825 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1826 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1827 * math/auto-libm-test-out: Regenerated.
1828 * sysdeps/i386/fpu/libm-test-ulps: Update.
1829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1831 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1834 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1835 (wcsncpy): Likewise.
1837 2015-05-05 Florian Weimer <fweimer@redhat.com>
1839 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1840 Assume __ASSUME_FALLOCATE is always true.
1841 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1842 (__posix_fallocate64_l64): Likweise.
1843 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1844 (posix_fallocate): Likewise.
1845 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1846 (__posix_fallocate64_l64): Likewise.
1847 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1848 [!__ASSUME_FALLOCATE]: Add comment.
1850 2015-05-05 Florian Weimer <fweimer@redhat.com>
1852 * sysdeps/unix/sysv/linux/i386/Makefile
1853 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1854 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1855 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1856 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1857 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1858 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1859 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1861 2015-05-02 Joseph Myers <joseph@codesourcery.com>
1863 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1864 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1866 * math/auto-libm-test-out: Regenerated.
1867 * sysdeps/i386/fpu/libm-test-ulps: Update.
1868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1870 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1872 * math/auto-libm-test-in: Add more tests of tgamma.
1873 * math/auto-libm-test-out: Regenerated.
1874 * sysdeps/i386/fpu/libm-test-ulps: Update.
1875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1877 * math/auto-libm-test-in: Add more tests of tanh.
1878 * math/auto-libm-test-out: Regenerated.
1879 * sysdeps/i386/fpu/libm-test-ulps: Update.
1880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1882 * math/auto-libm-test-in: Add more tests of tan.
1883 * math/auto-libm-test-out: Regenerated.
1884 * sysdeps/i386/fpu/libm-test-ulps: Update.
1885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1887 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1888 * math/auto-libm-test-out: Regenerated.
1889 * sysdeps/i386/fpu/libm-test-ulps: Update.
1890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1892 * math/auto-libm-test-in: Add another test of pow.
1893 * math/auto-libm-test-out: Regenerated.
1894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1896 * math/auto-libm-test-in: Add more tests of lgamma.
1897 * math/auto-libm-test-out: Regenerated.
1898 * sysdeps/i386/fpu/libm-test-ulps: Update.
1899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1901 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
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 2015-05-01 Mark Wielaard <mjw@redhat.com>
1909 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1910 Elf64_Chdr structs and ELFCOMPRESS constants.
1912 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1914 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1916 * math/auto-libm-test-out: Regenerated.
1917 * sysdeps/i386/fpu/libm-test-ulps: Update.
1918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1920 * math/auto-libm-test-in: Add more tests of erf and erfc.
1921 * math/auto-libm-test-out: Regenerated.
1922 * sysdeps/i386/fpu/libm-test-ulps: Update.
1923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1925 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1927 * config.h.in (HAVE_AARCH64_BE): Add.
1929 2015-04-30 Joseph Myers <joseph@codesourcery.com>
1931 * math/auto-libm-test-in: Add more tests of csqrt.
1932 * math/auto-libm-test-out: Regenerated.
1933 * sysdeps/i386/fpu/libm-test-ulps: Update.
1934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1936 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1937 * math/auto-libm-test-out: Regenerated.
1938 * sysdeps/i386/fpu/libm-test-ulps: Update.
1939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1941 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1943 2015-04-29 Roland McGrath <roland@hack.frob.com>
1945 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1946 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1948 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1949 (euidaccess, eaccess): Define as weak aliases.
1951 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1952 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1953 but __suseconds_t is often 'long int' so some sources assume that
1954 type is being used (e.g. they use %ld to print tv_usec).
1956 2015-04-29 Florian Weimer <fweimer@redhat.com>
1959 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1961 * nss/tst-nss-getpwent.c: New file.
1962 * nss/Makefile (tests): Add new test.
1964 2015-04-28 Joseph Myers <joseph@codesourcery.com>
1967 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1968 exponents less than 48 as cases where high part of mantissa needs
1969 examining to determine whether argument is integral.
1970 * math/libm-test.inc (round_test_data): Add more tests.
1972 2015-04-28 Mark Wielaard <mjw@redhat.com>
1974 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1976 2015-04-27 David S. Miller <davem@davemloft.net>
1978 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1980 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1982 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1985 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1987 2015-04-27 Florian Weimer <fweimer@redhat.com>
1990 * time/tzset.c (parse_tzname): Return error on memory allocation
1992 * test-skeleton.c (struct temp_name_list): Change type of name
1993 member to non-const.
1994 (add_temp_file): Create a copy of the file name.
1995 (delete_temp_files): Deallocate memory.
1996 (create_temp_file): Add comment.
1998 2015-04-24 Florian Weimer <fweimer@redhat.com>
2000 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2001 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2003 2015-04-24 Roland McGrath <roland@hack.frob.com>
2005 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2006 * sysdeps/arm/configure: Regenerated.
2008 2015-04-24 Florian Weimer <fweimer@redhat.com>
2011 * time/tzfile.c (__tzfile_read): Check for large values of
2012 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
2013 * time/tzset.c (__tzstring_len): New function, based on the old
2014 __tzstring function.
2015 (__tzstring): Call __tzstring_len.
2016 (parse_tzname): New helper function extracted from
2017 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2019 (parse_offset): New helper function extracted from
2020 __tzset_parse_tz. Replace switch with fallthrough with
2021 initialization before sscanf.
2022 (parse_rule): Likewise.
2023 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2024 new-style function definition.
2025 * timezone/Makefile (tests): Add tst-tzset.
2026 (tst-tzset.out): Dependencies on time zone files.
2027 (tst-tzset-ENV): Set TZDIR.
2028 (testdata/XT%): Copy crafted time zone files.
2029 * timezone/README: Mention crafted time zone files.
2030 * timezone/testdata/XT1, timezone/testdata/XT2,
2031 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2033 * timezone/tst-tzset.c: New test.
2035 2015-04-24 Florian Weimer <fweimer@redhat.com>
2037 * Makeconfig (+gccwarn): Remove -Winline.
2039 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2041 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2043 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2045 * NEWS: Mention sysconf() cache information support for s390.
2046 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2048 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2050 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2051 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2052 (__nearbyint): Likewise.
2053 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2054 (copysignl): Likewise.
2056 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
2059 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2060 based on padding. (CVE-2015-1781)
2062 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2064 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2066 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2067 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2068 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2069 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2070 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2071 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2072 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2074 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2075 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2076 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2077 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2078 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2079 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2080 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2081 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2082 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2083 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2084 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2085 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2086 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2087 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2088 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2090 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2092 * stdlib/setenv.c (__add_to_environ):
2093 Dump core quickly if setenv (..., NULL, ...) is called.
2094 This time, do it the right way, and pacify GCC with a pragma.
2096 2015-04-17 Roland McGrath <roland@hack.frob.com>
2098 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2099 IMAP->l_prev cannot be null, and #if out the code for the contrary
2100 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2101 believe that NS (&_dl_ns[NSID]) could point outside the array.
2103 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2104 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2105 before using NSID as an index.
2107 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2110 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2111 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2112 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2114 2015-04-17 Roland McGrath <roland@hack.frob.com>
2116 Add preliminary port to Google Native Client on ARM.
2117 * abi-tags (.*-.*-nacl.*): New entry.
2118 * sysdeps/arm/nacl: New directory.
2119 * sysdeps/nacl: New directory.
2121 2015-04-16 David S. Miller <davem@davemloft.net>
2123 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2124 lowlevellock-futex.h
2126 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2128 * sysdeps/tile/configure.ac: New file.
2129 * sysdeps/tile/configure: Regenerated.
2131 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2133 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2134 conditionals for weak_alias and libc_hidden_weak.
2135 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2136 libc_hidden_weak and weak_alias.
2137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2138 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2139 and weak_alias for static one.
2141 2015-04-15 David S. Miller <davem@davemloft.net>
2143 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2145 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2148 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2149 Use signed comparision instead of substraction to avoid
2151 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2152 Take the sign of ret.
2153 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2154 Do not expect precise return values. Only the sign matters.
2155 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2156 * wcsmbs/test-wcsncmp.c: New File.
2157 * string/test-strncmp.c: Add wcsncmp support.
2159 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2162 * math/w_log1p.c: New file.
2163 * math/w_log1pf.c: Likewise.
2164 * math/w_log1pl.c: Likewise.
2165 * math/Makefile (libm-calls): Add w_log1p.
2166 * math/s_log1pl.c (log1pl): Remove weak_alias.
2167 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2168 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2169 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2170 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2171 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2172 [NO_LONG_DOUBLE] (log1pl): Likewise.
2173 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2174 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2175 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2176 (log1p): Remove long_double_symbol.
2177 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2178 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2179 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2180 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2181 remove weak_alias for corresponding log1p function.
2182 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2183 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2184 * sysdeps/ia64/fpu/w_log1p.c: New file.
2185 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2186 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2187 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2189 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2192 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2193 decimal exponent by 1.
2194 * stdlib/tst-strtod-round-data: Add more tests.
2195 * stdlib/tst-strtod-round.c (tests): Regenerated.
2197 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2199 * math/auto-libm-test-in: Add more tests of clog and clog10.
2200 * math/auto-libm-test-out: Regenerated.
2201 * sysdeps/i386/fpu/libm-test-ulps: Update.
2202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2204 2015-04-09 Roland McGrath <roland@hack.frob.com>
2206 * Makeconfig (module-cppflags): Exclude all .v.i files.
2207 (skip-module-cppflags): Variable removed.
2209 * configure.ac (libc_config_ok): Initialize before reading
2210 preconfigure scripts, not after.
2211 * configure: Regenerated.
2213 * test-skeleton.c (TIMEOUT): Move #define to top level.
2214 (main): Grok environment variable TEST_DIRECT. If set, print
2215 test expectation details into that file and then behave as if
2218 2015-04-09 Florian Weimer <fweimer@redhat.com>
2220 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2223 2015-04-08 David S. Miller <davem@davemloft.net>
2225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2227 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2229 * math/auto-libm-test-in: Add more tests of atanh.
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 * math/auto-libm-test-in: Add more tests of atan.
2235 * math/auto-libm-test-out: Regenerated.
2236 * sysdeps/i386/fpu/libm-test-ulps: Update.
2237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2239 2015-04-08 Florian Weimer <fweimer@redhat.com>
2241 * elf/pldd.c (main): Rewrite to use struct
2242 scratch_buffer instead of extend_alloca.
2243 * elf/pldd-xx.c (find_maps): Likewise.
2244 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2246 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2247 scratch_buffer instead of extend_alloca.
2248 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2249 grp/compat-initgroups.c.
2250 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2251 Rewrite to use struct scratch_buffer instead of extend_alloca.
2252 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2253 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2255 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2257 * math/auto-libm-test-in: Add more tests of cbrt.
2258 * math/auto-libm-test-out: Regenerated.
2259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2261 * math/auto-libm-test-in: Add more tests of cabs.
2262 * math/auto-libm-test-out: Regenerated.
2263 * sysdeps/i386/fpu/libm-test-ulps: Update.
2264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2268 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2269 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2271 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2273 * math/auto-libm-test-out: Regenerated.
2274 * sysdeps/i386/fpu/libm-test-ulps: Update.
2275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2278 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2279 (atan): Set FE_TONEAREST mode for internal computations.
2280 * math/auto-libm-test-in: Add more tests of atan.
2281 * math/auto-libm-test-out: Regenerated.
2283 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2286 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2288 2015-04-07 Florian Weimer <fweimer@redhat.com>
2290 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2292 2015-04-07 Florian Weimer <fweimer@redhat.com>
2294 * include/scratch_buffer.h: New file.
2295 * malloc/scratch_buffer_grow.c: Likewise.
2296 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2297 * malloc/scratch_buffer_set_array_size.c: Likewise.
2298 * malloc/tst-scratch_buffer.c: Likewise.
2299 * malloc/Makefile (routines): Add scratch_buffer_grow.
2300 (tests): Add test case.
2301 * malloc/Versions (GLIBC_PRIVATE): Export
2302 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2303 __libc_scratch_buffer_set_array_size.
2305 2015-04-06 Richard Henderson <rth@redhat.com>
2307 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2308 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2310 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2311 unsigned int before printing.
2313 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2316 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2317 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2319 2015-04-02 Florian Weimer <fweimer@redhat.com>
2321 * include/libc-internal.h (libc_max_align_t): Define.
2323 2015-04-02 Andreas Schwab <schwab@suse.de>
2326 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2328 2015-04-02 Mel Gorman <mgorman@suse.de>
2331 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2332 as well as the main arena.
2334 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2337 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2338 sharing L2 cache to 2 for Silvermont/Knights Landing.
2340 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2343 * config.make.in (have-protected-data): New.
2344 * configure.ac: Check linker support for protected data symbol.
2345 * configure: Regenerated.
2346 * elf/Makefile (modules-names): Add tst-protected1moda and
2347 tst-protected1modb if $(have-protected-data) is yes.
2348 (tests): Add tst-protected1a and tst-protected1b if
2349 $(have-protected-data) is yes.
2350 ($(objpfx)tst-protected1a): New.
2351 ($(objpfx)tst-protected1b): Likewise.
2352 (tst-protected1modb.so-no-z-defs): Likewise.
2353 * elf/tst-protected1a.c: New file.
2354 * elf/tst-protected1b.c: Likewise.
2355 * elf/tst-protected1mod.h: Likewise.
2356 * elf/tst-protected1moda.c: Likewise.
2357 * elf/tst-protected1modb.c: Likewise.
2359 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2362 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2363 indicates it is called from do_lookup_x on relocation against
2364 protected data, skip the data definion in the executable from
2366 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2367 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2368 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2369 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2370 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2372 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2373 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2374 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2375 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2376 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2377 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2379 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2381 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2382 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2384 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2386 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2388 * sysdeps/x86_64/nptl/tls.h: Ditto.
2390 2015-03-27 Roland McGrath <roland@hack.frob.com>
2392 * dlfcn/tststatic.c (main): Converted to ...
2393 (do_test): ... this.
2394 (TEST_FUNCTION): New macro.
2395 Include test-skeleton.c.
2397 2015-03-26 Alan Modra <amodra@gmail.com>
2399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2400 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2401 zero for undefined weak.
2402 (elf_machine_plt_conflict): Similarly.
2404 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2406 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2408 * math/auto-libm-test-out: Regenerated.
2409 * sysdeps/i386/fpu/libm-test-ulps: Update.
2410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2412 * math/auto-libm-test-in: Add another test of asin.
2413 * math/auto-libm-test-out: Regenerated.
2414 * sysdeps/i386/fpu/libm-test-ulps: Update.
2415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2417 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2419 (LLL_EBX_REG): Likewise.
2420 (LLL_ENTER_KERNEL): Likewise.
2422 * math/auto-libm-test-in: Add more tests of asin.
2423 * math/auto-libm-test-out: Regenerated.
2424 * sysdeps/i386/fpu/libm-test-ulps: Update.
2425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2428 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2429 libc_do_syscall_args): New structure.
2430 (INTERNAL_SYSCALL_MAIN_0): New macro.
2431 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2432 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2433 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2434 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2435 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2436 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2437 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2438 Replace conditional definitions by conditional definitions of ....
2439 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2440 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2441 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2442 (libpthread-sysdep_routines): Add libc-do-syscall.
2443 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2444 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2445 to __NR_futex not 240.
2447 2015-03-25 Alan Modra <amodra@gmail.com>
2449 * NEWS: Advertise TLS optimization.
2450 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2451 (DT_PPC_NUM): Increment.
2452 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2453 (CHECK_STATIC_TLS): Use here.
2454 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2457 * sysdeps/powerpc/dl-tls.c: New file.
2458 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2459 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2460 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2461 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2466 2015-03-25 Alan Modra <amodra@gmail.com>
2468 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2469 for overlapping .opd entries" to "support...".
2470 * sysdeps/powerpc/powerpc64/configure: Regenerate
2472 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2474 * math/auto-libm-test-in: Add more tests of acos.
2475 * math/auto-libm-test-out: Regenerated.
2476 * sysdeps/i386/fpu/libm-test-ulps: Update.
2477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2479 * math/auto-libm-test-in: Add more tests of expm1.
2480 * math/auto-libm-test-out: Regenerated.
2481 * sysdeps/i386/fpu/libm-test-ulps: Update.
2482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2484 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2486 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2487 * math/auto-libm-test-out: Regenerated.
2488 * sysdeps/i386/fpu/libm-test-ulps: Update.
2489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2491 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2494 * math/auto-libm-test-in: Add more tests of log2.
2495 * math/auto-libm-test-out: Regenerated.
2496 * sysdeps/i386/fpu/libm-test-ulps: Update.
2497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2499 2015-03-23 Roland McGrath <roland@hack.frob.com>
2501 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2502 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2503 _IO_IS_APPENDING bit in READ_WRITE instead.
2505 2015-03-23 Florian Weimer <fweimer@redhat.com>
2507 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2508 (__determine_cpumask_size): Replace extend_alloca with a
2509 variable-length array. Do not treat res == 0 as an error.
2511 2015-03-23 Florian Weimer <fweimer@redhat.com>
2514 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2515 and integer overflow.
2516 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2517 (main): Add integer overflow tests.
2518 * manual/pattern.texi (Calling Wordexp): Document additional use
2521 2015-03-23 Alan Modra <amodra@gmail.com>
2523 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2524 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2525 and false branch of conditional.
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2529 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2531 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2533 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2534 unused declaration of _hurd_intr_rpc_msg_in_trap.
2535 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2536 defined instead of whether it is non-zero.
2537 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2538 input constraint instead of both input and output constraint. Use ecx
2539 clobber instead of %ecx.
2540 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2541 mutex_unlock): Use a statement expression instead of an expression list.
2542 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2543 type to vm_size_t instead of vm_address_t.
2544 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2545 defined instead of whether it is non-zero.
2546 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2547 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2548 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2549 comparisons with mapaddr.
2550 * nscd/nscd-client.h: Include <time.h>.
2551 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2552 9th parameter to __vm_region instead of int.
2553 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2554 * scripts/check-local-headers.sh (exclude): Add device/,
2555 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2558 2015-03-19 Roland McGrath <roland@hack.frob.com>
2560 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2561 to account for alignment padding.
2562 * sysdeps/arm/memmove.S: Likewise.
2564 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2566 * sysdeps/unix/sysv/linux/generic/README: New file.
2568 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2571 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2572 (futex_abstimed_wait)
2573 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2574 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2575 of lll_futex_timed_wait.
2577 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2580 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2582 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2589 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2590 entries with Static TLS too. Skip entries past the end of the
2591 allocated DTV, from Alan Modra.
2592 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2593 Static TLS DTV entry set up from...
2594 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2595 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2596 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2597 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2599 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2600 that the slot we find is associated with the given map before
2601 using its generation count.
2602 * nptl_db/db_info.c: Include ldsodefs.h.
2603 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2604 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2605 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2606 (link_map::l_tls_offset): New struct field.
2607 (dtv_t::counter): Likewise.
2608 (rtld_global): New struct.
2609 (_rtld_global): New rtld variable.
2610 (dl_tls_dtv_slotinfo_list): New rtld global field.
2611 (dtv_slotinfo_list): New struct.
2612 (dtv_slotinfo): Likewise.
2613 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2614 (td_lookup): Rename to...
2615 (td_mod_lookup): ... this. Use new mod parameter instead of
2617 * nptl_db/td_thr_tlsbase.c: Include link.h.
2618 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2619 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2620 addresses even if the DTV is out of date or missing them.
2621 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2622 index zero-length arrays.
2623 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2624 (td_lookup): Make it a macro implemented in terms of...
2625 (td_mod_lookup): ... this declaration.
2626 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2627 (DB_MAIN_VARIABLE): Likewise.
2629 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2632 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2634 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2636 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2638 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2641 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2642 (atomic_add, atomic_increment_and_test)
2643 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2645 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2647 * stdlib/setenv.c (__add_to_environ):
2648 Dump core quickly if setenv (..., NULL, ...) is called.
2650 2015-03-13 Roland McGrath <roland@hack.frob.com>
2652 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2653 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2654 all the necessary asm magic in one place.
2655 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2658 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2661 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2662 traced file mtime. Use consistent log message.
2663 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2664 (register_traced_file): Call install_watches. Always set mtime.
2665 (invalidate_cache): Iterate over all trace files. Call install_watches.
2666 (inotify_check_files): Don't inline. Handle watching parent
2667 directories and configuration file movement in and out.
2668 (handle_inotify_events): New function.
2669 (main_loop_poll): Call handle_inotify_events.
2670 (main_loop_epoll): Likewise.
2671 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2672 (struct traced_file): Use array of inotify fds. Add parent directory,
2674 (struct database_dyn): Remove unused file_mtime.
2675 (init_traced_file): New inline function.
2676 (define_traced_file): New macro.
2677 * nss/nss_db/db-init.c: Use define_traced_file.
2678 (_nss_db_init): Use init_traced_file.
2679 * nss/nss_files/files-init.c: Use define_traced_file.
2680 (_nss_files_init): Use init_traced_file.
2682 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2684 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2685 [_LIBC]: Do not include <stdlib.h>.
2686 [!_LIBC] (abort): Remove declaration.
2687 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2688 _FP_STATIC_ASSERT instead of conditionally calling abort.
2689 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2690 (_FP_EXTEND_CNAN): Likewise.
2691 (FP_TRUNC): Likewise.
2692 (__FP_CLZ): Likewise.
2693 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2695 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2697 * manual/string.texi (XPG basename): Fix prototype.
2699 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2702 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2703 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2704 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2705 (__setcontext): Likewise.
2706 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2707 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2708 Call rt_sigprocmask syscall one time to set new signal mask
2709 and retrieve the current signal mask instead of two calls.
2710 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2711 (__swapcontext): Likewise.
2712 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2713 * stdlib/tst-setcontext2.c: New file.
2715 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2717 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2719 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2722 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2725 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2728 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2730 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2732 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2733 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2735 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2736 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2737 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2738 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2739 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2740 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2742 * nptl_db/td_symbol_list.c (td_lookup): Remove
2743 HAVE_ASM_GLOBAL_DOT_NAME code.
2744 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2745 HAVE_ASM_GLOBAL_DOT_NAME check.
2746 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2747 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2748 (DOT_LABEL): Remove define.
2749 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2750 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2751 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2752 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2753 (__TLS_GET_ADDR): Likewise.
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2755 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2757 2015-03-11 Carlos O'Donell <carlos@redhat.com>
2760 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2761 (_FPU_SETCW): Initialize cw from fpsr before storing.
2762 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2763 (fesetexceptflag): Rewrite using fpu_control.h.
2764 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2766 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
2769 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2771 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2773 2015-03-11 Joseph Myers <joseph@codesourcery.com>
2775 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2776 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2778 (_FP_FMA): Likewise.
2779 (_FP_DIV): Likewise.
2781 2015-03-10 Roland McGrath <roland@hack.frob.com>
2783 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2784 with 0 in that case.
2785 * Makefile (summarize-tests): New canned sequence, factored out of
2786 commands for targets tests and xtests. Display summary lines that
2787 don't start with PASS: or XFAIL: rather than ones that do start with
2788 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2789 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2790 do start with ERROR: or FAIL:.
2791 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2792 (except for [$(build-shared) = yes]).
2793 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2794 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2795 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2796 * nptl/Makefile: Revert 2015-03-04 changes.
2797 [$(CXX) empty] (tests-unsupported): New variable.
2798 * debug/Makefile: Likewise.
2800 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2801 gnulib file. Replace __attribute with __attribute__ throughout.
2803 2015-03-10 Carlos O'Donell <carlos@redhat.com>
2805 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2807 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2810 * math/auto-libm-test-in: Add another test of pow.
2811 * math/auto-libm-test-out: Regenerated.
2813 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2815 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2816 $(config-cflags-nofma).
2818 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2820 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2821 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2822 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2823 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2824 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2825 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2826 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2827 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2828 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2829 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2830 Add comment on closing #endif.
2832 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2834 * posix/wordexp.c (CHAR_IN_SET): New macro.
2835 (parse_param): Use it.
2837 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2841 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2844 * posix/wordexp.c (parse_param): Fix buffer overflow.
2845 * posix/wordexp-test.c (test_case): Add test case.
2847 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2850 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2851 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2853 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2856 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2857 (do_bz18043): Delete.
2859 (testit): Refactor to have words at the edge of unreadable page.
2861 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2864 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2865 Cleanup read-only streams as well.
2866 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2868 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2870 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2873 2015-03-07 Joseph Myers <joseph@codesourcery.com>
2875 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2877 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2878 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2879 * soft-fp/op-common.h (_FP_DECL): Likewise.
2881 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2883 * elf/ifuncdep2.c (global): Replace
2884 __attribute__((visibility("protected"))) with
2885 asm (".protected global").
2886 * elf/ifuncmod1.c (global): Likewise.
2887 * elf/ifuncmod5.c (global): Likewise.
2889 2015-03-06 Joseph Myers <joseph@codesourcery.com>
2891 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2892 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2894 2015-03-06 Roland McGrath <roland@hack.frob.com>
2896 * manual/install.texi (Configuring and compiling):
2897 Document test-wrapper-env-only.
2898 * INSTALL: Regenerated.
2900 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2903 * posix/wordexp.c (parse_param): Fix buffer overflow.
2904 * posix/wordexp-test.c (do_bz18043): Add test case.
2906 2015-03-06 Vincent Bernat <vincent@bernat.im>
2908 * time/tst-strptime2.c (do_test): Ensure failing tests are
2910 * time/tst-strptime3.c (do_test): Likewise.
2912 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2914 Fix aio_error thread-safety.
2915 * sysdeps/pthread/aio_error.c: New file
2916 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2919 2015-03-06 Florian Weimer <fweimer@redhat.com>
2921 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2922 (group_number, vfprintf): Use it.
2923 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2924 (JUMP, REF): Use it.
2925 (WORK_BUFFER_SIZE): New enum constant.
2926 (process_arg, vfprintf): Use it.
2928 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
2930 * manual/errno.texi (Error Messages): Complete example function
2931 by adding missing #define.
2932 (program_invocation_name): Add statement indicating GNU
2933 extension and reference which header file declares the variable.
2934 (program_invocation_short_name): Likewise.
2936 2015-03-06 Mike Frysinger <vapier@gentoo.org>
2938 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2941 2015-03-05 Roland McGrath <roland@hack.frob.com>
2943 * Makeconfig (test-wrapper-env-only): New variable.
2944 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2945 then use that with $(test-wrapper-env-only) rather than using
2946 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2948 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2951 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2952 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2953 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2954 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2955 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2956 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2957 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2958 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2960 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2961 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2969 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2970 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2972 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2974 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2975 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2977 2015-03-04 Roland McGrath <roland@hack.frob.com>
2979 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2980 (ETH_ALEN): New macro.
2981 (struct ether_addr): Use it for length of ether_addr_octet.
2983 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2984 (setdb): Don't call __nss_configure_lookup for "rpc".
2985 (do_test): Don't call test_rpc.
2986 (output_rpcent, test_rpc): Functions moved ...
2987 * sunrpc/test-rpcent.c: ... to this new file.
2988 * sunrpc/Makefile (tests): Add it.
2990 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2992 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2993 * nptl/tst-signal6.c: Likewise.
2994 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2995 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2997 * configure.ac (libc_cv_cxx_link_ok): New check.
2998 Reset CXX to empty if it fails to link.
2999 * configure: Regenerated.
3000 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3001 bug-atexit3-lib only if $(CXX) is nonempty.
3002 * nptl/Makefile (tests): Likewise for tst-cancel24.
3003 (tests, tests-static): Likewise for tst-cancel24-static.
3004 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3005 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3006 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3007 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3009 2015-03-04 Andreas Schwab <schwab@suse.de>
3012 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3013 for non-GCC compilers.
3014 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3017 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3020 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3021 integer before bitwise and assembly operations.
3022 (feclearexcept): Likewise.
3023 * math/test-fenvinline.c: New file.
3024 * math/Makefile: Add test-fenvinline test.
3026 2015-03-03 Alan Modra <amodra@gmail.com>
3029 * scripts/localplt.awk: Strip off symbol version.
3030 * NEWS: Mention bug fix.
3032 2015-03-02 Roland McGrath <roland@hack.frob.com>
3034 * sysdeps/pthread/timer_routines.c
3035 (timer_free_list, thread_free_list, thread_active_list): Make static.
3037 2015-03-02 Joseph Myers <joseph@codesourcery.com>
3040 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3041 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3043 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3044 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3046 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3047 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3050 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3053 * posix/fnmatch_loop.c (END): Detect invalid pattern.
3054 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3056 2015-03-02 Andreas Schwab <schwab@suse.de>
3058 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3061 2015-03-02 Florian Weimer <fweimer@redhat.com>
3063 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3064 Return error status.
3066 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
3069 * locale/findlocale.c (_nl_find_locale): Introduce const
3070 version of loc_name and drop unsafe type casts.
3072 2015-02-27 Roland McGrath <roland@hack.frob.com>
3074 * dlfcn/tststatic2.c (main): Converted to ...
3075 (do_test): ... this.
3076 (TEST_FUNCTION): New macro.
3077 Include test-skeleton.c.
3079 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3082 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3083 (tests-pie): Add vismain.
3084 (CFLAGS-vismain.c): New.
3085 * elf/vismain.c: Add comments for PIE requirement.
3087 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3091 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3092 0x1p-56L as threshold for just returning the argument.
3093 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3094 0x1p-32L as threshold for just returning the argument.
3095 * math/auto-libm-test-in: Add more tests of atanh.
3096 * math/auto-libm-test-out: Regenerated.
3097 * sysdeps/i386/fpu/libm-test-ulps: Update.
3098 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3100 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3102 * string/bcopy.c (bcopy): Call memmove for performance.
3104 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3106 * string/bzero.c (__bzero): Call memset for performance.
3108 2015-02-27 John David Anglin <dave.anglin@bell.net>
3111 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3114 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3116 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3118 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3120 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3121 (__kernel_standard): Use CSTR macro when setting exc.name.
3122 * sysdeps/ieee754/Makefile [$(subdir) = math]
3123 (CFLAGS-k_standard.c): Remove variable.
3125 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3126 setting p and q from "else if" to "else".
3128 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3130 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3132 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3134 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3136 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3141 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3142 return pi/2 for arguments below 0x1p-113L.
3143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3144 return pi/2 for arguments below 0x1p-106L.
3145 * math/auto-libm-test-in: Add more tests of acos.
3146 * math/auto-libm-test-out: Regenerated.
3149 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3151 (__ieee754_asin): Force underflow exception for results with small
3153 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3155 (__ieee754_asinf): Force underflow exception for results with
3156 small absolute value.
3157 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3158 (__ieee754_asin): Force underflow exception for results with small
3160 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3161 (__ieee754_asinf): Force underflow exception for results with
3162 small absolute value.
3163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3164 (__ieee754_asinl): Force underflow exception for results with
3165 small absolute value.
3166 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3167 (__ieee754_asinl): Force underflow exception for results with
3168 small absolute value.
3169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3170 (__ieee754_asinl): Force underflow exception for results with
3171 small absolute value.
3172 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3174 * math/auto-libm-test-in: Do not mark underflow exceptions as
3175 possibly missing for bug 16351.
3176 * math/auto-libm-test-out: Regenerated.
3179 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3180 of power of 2 down when low part has opposite sign.
3181 * math/libm-test.inc (logb_test_data): Add more tests.
3183 2015-02-26 Andreas Schwab <schwab@suse.de>
3186 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3187 over collating symbol inside a bracket expression. Minor cleanup.
3188 * posix/tst-fnmatch3.c (do_test): Add test case.
3190 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3193 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3194 Adjust exponent of power of 2 down when low part has opposite
3196 * math/libm-test.inc (ilogb_test_data): Add more tests.
3198 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3201 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3202 the previous change.
3205 * locale/findlocale.c (_nl_find_locale): Retry archive search
3206 after alias expansion.
3208 2015-02-25 Roland McGrath <roland@hack.frob.com>
3210 * iconv/tst-iconv3.c (main): Converted to ...
3211 (do_test): ... this.
3212 (TEST_FUNCTION): New macro.
3213 Include test-skeleton.c.
3215 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3216 (convert): Make function static.
3217 (test_unalign): Likewise. Add const to argument pointee types.
3218 (main): Replace with static function do_test.
3219 Print "Succeeded." only if RET is zero.
3220 (TEST_FUNCTION): New macro.
3221 Include test-skeleton.c.
3223 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3224 returns a null pointer.
3226 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3228 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3229 to __memcpy_ppc only for static builds.
3231 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3235 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3236 * math/auto-libm-test-in: Add more tests of asinh.
3237 * math/auto-libm-test-out: Regenerated.
3238 * sysdeps/i386/fpu/libm-test-ulps: Update.
3239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3241 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3244 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3245 and ip6_mtuinfo definitions here.
3246 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3247 in this define too. Update comment.
3249 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3251 * elf/sprof.c (load_shobj): Tweak error message to match others.
3253 2015-02-24 Kevin Easton <kevin@guarana.org>
3255 [BZ #16145] (partial fix)
3256 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3257 to reduce lock contention.
3259 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3261 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3262 (struct timex): Update time comment.
3263 (ADJ_SETOFFSET): Define.
3265 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3268 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3269 2**56 not 2**28 as threshold for log (2x) formula.
3270 * math/auto-libm-test-in: Add more tests of acosh.
3271 * math/auto-libm-test-out: Regenerated.
3272 * sysdeps/i386/fpu/libm-test-ulps: Update.
3273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3275 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3277 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3278 parenthesis around the buf assignment.
3279 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3281 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3284 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3285 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3286 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3287 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3288 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3289 * math/libm-test.inc (scalb_test_data): Add more tests.
3291 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3294 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3295 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3297 2015-02-24 Eric Rannaud <e@nanocritical.com>
3300 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3301 * io/bits/fcntl2.h (open): Use it.
3303 * io/open.c (__libc_open): Likewise.
3304 * io/open64.c (__libc_open64): Likewise.
3305 * io/open64_2.c (__open64_2): Likewise.
3306 * io/open_2.c (__open_2): Likewise.
3307 * io/openat.c (__openat): Likewise.
3308 * io/openat64.c (__openat64): Likewise.
3309 * io/openat64_2.c (__openat64_2): Likewise.
3310 * io/openat_2.c (__openat_2): Likewise.
3311 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3312 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3313 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3314 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3315 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3316 (__open_nocancel): Likewise.
3317 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3318 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3319 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3321 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3324 * resolv/gethnamaddr.c (getanswer): Skip logging if
3325 RES_USE_DNSSEC is set.
3326 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3328 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3330 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3332 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3334 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3335 201304L, for Unicode 7.
3337 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3340 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3341 shared library. Add gmon-start.os otherwise.
3342 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3343 $(objpfx)gmon-start.os if builing shared library.
3344 ($(objpfx)g$(static-start-installed-name)): Likewise.
3346 2015-02-23 Andreas Schwab <schwab@suse.de>
3348 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3350 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3353 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3354 (enlarge_userbuf): Likewise.
3356 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3358 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3359 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3360 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3361 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3363 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3365 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3366 expression inside statement expression.
3368 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3370 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3371 <sysdeps/nptl/lowlevellock.h> and remove macros and
3372 functions that are now defined there.
3373 (SYS_futex): Remove.
3374 (lll_compare_and_swap): Remove.
3375 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3377 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3380 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3381 instead of scandirat.
3382 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3383 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3384 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3386 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3387 (__scandirat): Declare. Use libc_hidden_proto.
3388 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3390 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3392 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3395 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3397 (__ieee754_atan2): For results with small absolute value, force
3398 underflow exception and remove excess range and precision from
3400 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3402 (__ieee754_atan2f): For results with small absolute value, force
3403 underflow exception and remove excess range and precision from
3405 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3407 (__atan): For results with small absolute value, force underflow
3408 exception and remove excess range and precision from return value.
3409 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3411 (__atanf): For results with small absolute value, force underflow
3412 exception and remove excess range and precision from return value.
3413 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3415 (__ieee754_atan2): Force underflow exception for results with
3416 small absolute value.
3417 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3419 (atan): Force underflow exception for results with small absolute
3421 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3422 (__atanf): Force underflow exception for results with small
3424 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3426 (__atanl): Force underflow exception for results with small
3428 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3429 (__atanl): Force underflow exception for results with small
3431 * sysdeps/x86/fpu/bits/mathinline.h
3432 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3433 (__ieee754_atan2): Only define inline for long double.
3434 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3435 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3436 * math/auto-libm-test-in: Do not mark underflow exceptions as
3437 possibly missing for bug 15319. Add more tests of atan2.
3438 * math/auto-libm-test-out: Regenerated.
3439 * math/libm-test.inc (casin_test_data): Do not mark underflow
3440 exceptions as possibly missing for bug 15319.
3441 (casinh_test_data): Likewise.
3442 * sysdeps/i386/fpu/libm-test-ulps: Update.
3444 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3446 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3447 * sysdeps/mips/bits/endian.h: Fix comments.
3449 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3452 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3453 (hdestroy_r): Likewise.
3454 (hsearch_r): Likewise.
3455 (__hcreate_r): Declare and use libc_hidden_proto.
3456 (__hdestroy_r): Likewise.
3457 (__hsearch_r): Likewise.
3458 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3459 (hcreate): Call __hcreate_r instead of hcreate_r.
3460 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3461 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3462 as weak alias of __hcreate_r.
3463 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3465 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3467 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3469 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3470 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3471 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3472 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3474 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3476 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3477 arena_lock into a single arena_get.
3479 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3481 * dl-reloc.c: Inlucde libc-internal.h.
3482 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3483 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3484 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3485 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3486 (grow_heap): Likewise.
3487 * malloc/malloc.c: Include libc-internal.h.
3488 (do_check_malloc): Call powerof2.
3489 (sysmalloc): Use pagesize. Call ALIGN_UP.
3490 (systrim): Use pagesize.
3491 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3492 (__libc_valloc): Use pagesize.
3493 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3495 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3498 * include/sys/resource.h (__getrlimit64): Declare. Use
3500 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3501 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3502 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3504 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3506 [!getrlimit64] (getrlimit64): Define as weak alias of
3507 __getrlimit64. Use libc_hidden_weak.
3508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3509 using __getrlimit64 not __new_getrlimit64.
3510 (__GI_getrlimit64): Likewise.
3511 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3513 (__GI_getrlimit64): Likewise.
3514 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3516 (getrlimit): Add __getrlimit64 alias.
3517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3519 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3521 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3522 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3524 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3526 * libio/fileops.c: Add missing sys/mman.h
3527 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3529 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3531 * manual/math.texi (Errors in Math Functions): Clarify goals
3532 regarding inexact and underflow exceptions.
3534 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3536 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3537 * sysdeps/mips/memset.S: Ditto.
3539 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3541 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3543 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3545 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3546 (__v1longjmp): Remove versioned symbol.
3547 (__v1siglongjmp): Remove alias and versioned symbol.
3548 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3549 (__v2siglongjmp): Likewise.
3551 2015-02-16 Torvald Riegel <triegel@redhat.com>
3553 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3555 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3557 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3559 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3562 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3563 zero result does not depend on the sign resulting from
3565 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3567 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3568 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3570 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3571 * math/libm-test.inc (remquo_test_data): Add more tests.
3573 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3575 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3576 Problem reported by J William Piggott.
3578 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3581 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3582 products 4 * y and 2 * y where those would overflow.
3583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3585 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3586 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3587 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3588 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3589 * math/libm-test.inc (remquo_test_data): Add more tests.
3591 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3593 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3594 [defined _COMPILING_NEWLIB].
3595 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3596 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3598 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3599 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3601 2015-02-16 Torvald Riegel <triegel@redhat.com>
3603 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3606 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3609 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3610 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3611 HOST_STACK_END_ADDR): Likewise.
3613 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3615 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3616 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3617 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3619 2015-02-13 Roland McGrath <roland@hack.frob.com>
3621 * sysdeps/generic/c++-types.data: New file.
3622 * sysdeps/generic/ld.abilist: New file.
3623 * sysdeps/generic/libBrokenLocale.abilist: New file.
3624 * sysdeps/generic/libanl.abilist: New file.
3625 * sysdeps/generic/libc.abilist: New file.
3626 * sysdeps/generic/libcrypt.abilist: New file.
3627 * sysdeps/generic/libdl.abilist: New file.
3628 * sysdeps/generic/libm.abilist: New file.
3629 * sysdeps/generic/libpthread.abilist: New file.
3630 * sysdeps/generic/libresolv.abilist: New file.
3631 * sysdeps/generic/librt.abilist: New file.
3633 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3636 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3637 Compute absolute value of x as modified by fmod, not original
3639 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3640 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3641 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3642 RUN_TEST_ffI_f1_mod8.
3643 (remquo_test_data): Add more tests.
3645 2015-02-13 Roland McGrath <roland@hack.frob.com>
3647 * sysdeps/init_array/pt-crti.S: New file.
3649 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3652 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3653 __builtin_fmaf instead of relying on contraction of a * b + c.
3655 2015-02-12 J William Piggott <elseifthen@gmx.com>
3658 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3661 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3664 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3665 __builtin_fma instead of relying on contraction of a * b + c.
3667 2015-02-12 Roland McGrath <roland@hack.frob.com>
3669 * Makeconfig (ASFLAGS): Add -Werror=undef.
3670 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3671 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3672 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3674 * Makeconfig (after-link): New variable.
3675 (+link-pie, +link-pie-tests): Use it.
3676 (+link-static, +link-static-tests): Likewise.
3677 (+link, +link-tests): Likewise.
3678 * Makerules (build-module, build-module-asneeded): Likewise.
3679 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3681 * elf/Makefile ($(objpfx)ld.so): Likewise.
3683 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3686 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3687 both struct timeval and struct timespec.
3689 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3692 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3694 (__ieee754_exp2l): Do not multiply small fractional parts by
3696 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3698 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3699 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3700 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3701 * math/auto-libm-test-in: Add more tests of exp2.
3702 * math/auto-libm-test-out: Regenerated.
3704 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3706 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3709 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3711 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3714 2015-02-12 Andreas Schwab <schwab@suse.de>
3717 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3718 Filter out elision flags from value returned in kind.
3719 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3720 * nptl/tst-pthread-mutexattr.c: New file.
3722 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3724 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3725 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3726 into gnu-gnu, and update comment to refer to abi-tags.
3728 2015-02-11 Joseph Myers <joseph@codesourcery.com>
3731 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3732 (__sincos): Set errno to EDOM for infinite argument.
3733 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3734 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3735 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3736 (__sincosl): Set errno to EDOM for infinite argument.
3737 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3738 (__sincosl): Set errno to EDOM for infinite argument.
3739 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3740 (__sincosl): Set errno to EDOM for infinite argument.
3741 * math/libm-test.inc (sincos_test_data): Test errno setting.
3743 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
3745 * string/strxfrm_l.c: Remove #define STRCMP.
3746 * string/strcoll_l.c: Remove #define STRLEN.
3747 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3748 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3750 2015-02-10 Joseph Myers <joseph@codesourcery.com>
3752 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3753 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3754 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3755 * sysdeps/mips/mips64/Makefile: ... here.
3756 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3757 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3758 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3759 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3760 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3761 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3762 * sysdeps/mips/mips64/n64/Implies: Likewise.
3764 2015-02-10 Roland McGrath <roland@hack.frob.com>
3766 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3767 <sys/time.h>, <string.h>, and <errno.h>.
3768 (dest_offset, dest_address, value, zero): Remove unused variables.
3769 (ldouble): Remove typedef.
3770 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3771 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3773 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3774 (check): Function removed.
3776 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3777 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3778 Don't call set_sigaction_FP and remove_sigaction_FP here.
3779 (ldouble_test): Just use 'long double' as macro argument, no need for
3780 the 'ldouble' typedef.
3781 (do_test): Set up SIGFPE handler at start, using plain signal rather
3782 than sigaction. Fix code style.
3784 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3787 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3790 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3792 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3793 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3795 * sysdeps/powerpc/configure.ac: Remove file.
3796 * sysdeps/powerpc/configure: Likewise.
3798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3799 [sysdep_routines]: Remove wordcopy-power6 object.
3800 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3801 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3802 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3803 (__memmove_ppc32): Likewise.
3804 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3806 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3807 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3808 Remove preprocessor.
3810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3811 [sysdep_routines]: Remove wide chars objects.
3812 [wcsmbs]: New rule for wide char objects.
3814 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3815 Remove wordcopy-power6 obejct.
3816 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3817 Use local call for wordcopy and memcpy symbols.
3818 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3819 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3820 implementation for loader.
3821 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3823 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3824 Remove wordcopy-power7 object.
3825 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3826 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3827 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3828 (_wordcopy_fwd_dest_aligned): Likewise.
3829 (_wordcopy_bwd_aligned): Likewise.
3830 (_wordcopy_bwd_dest_aligned): Likewise.
3832 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3833 Rewrite to call __memmove_ppc instead of include default
3836 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3837 Remove wide chars objects.
3838 [wcsmbs]: New rule for wide char objects.
3840 2015-02-09 Andreas Schwab <schwab@suse.de>
3843 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3844 in terms of __O_DIRECTORY.
3846 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3848 * time/getdate.c: Include <stdbool.h>.
3849 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3851 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3854 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3856 Add ersatz _Static_assert on older C hosts
3857 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3858 pre-C11 C platform that is not known to support _Static_assert.
3860 2015-02-07 Richard Braun <rbraun@sceen.net>
3862 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3864 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3866 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3868 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3869 priority against unexistent AIO_PRIO_DELTA_MAX.
3870 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3872 * misc/fchflags.c (fchflags): Likewise.
3873 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3874 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3875 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3876 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3877 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3879 [__USE_MISC] (chflags, fchflags): Declare functions.
3880 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3881 EINVAL when nfds is greater than FD_SETSIZE.
3882 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3883 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3885 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3886 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3887 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3889 * hurd/hurd/signal.h (_hurd_self_sigstate,
3890 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3891 Explicit casts from void *.
3892 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3893 * abi-tags: Rename gnu-gnu os into gnu.
3896 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3897 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3898 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3899 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3900 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3901 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3904 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3905 duplicates ADDR->sun_path with sockaddr LEN limitation.
3906 * sysdeps/mach/hurd/connect.c: Include <string.h>
3907 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3908 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3909 * sysdeps/mach/hurd/sendto.c: Likewise.
3910 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3911 implementing it by hand.
3913 2015-02-06 Roland McGrath <roland@hack.frob.com>
3915 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3916 Use sfi_breg on ldr.
3917 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3920 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3922 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3923 Test SIGSETXID only if it's defined.
3925 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3927 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3928 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3930 * nptl/tst-align2.c: Moved ...
3931 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3932 * nptl/Makefile (tests): Remove tst-align2.
3933 * sysdeps/unix/sysv/linux/Makefile
3934 [$(subdir) = nptl] (tests): Add tst-align-clone.
3935 * nptl/tst-getpid1.c: Moved ...
3936 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3937 * nptl/tst-getpid2.c: Moved ...
3938 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3939 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3940 * sysdeps/unix/sysv/linux/Makefile
3941 [$(subdir) = nptl] (tests): ... here.
3942 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3943 * sysdeps/unix/sysv/linux/Makefile
3944 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3946 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3947 Drop trailing \n from perror argument. Use return rather than exit.
3949 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3951 * nptl/tst-cancel21.c (do_test): Likewise.
3952 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3953 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3954 [!SA_SIGINFO]: Make it a stub test.
3956 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3957 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3959 * posix/tst-getlogin.c: Move to ...
3960 * login/tst-getlogin.c: ... here.
3961 * posix/Makefile (tests): Move tst-getlogin to ...
3962 * login/Makefile (tests): ... here.
3964 * libio/tst-atime.c (do_test): Move local variables SV and E
3965 inside [ST_NOATIME] conditional.
3967 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3969 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3971 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3972 (wait_code): New function replaces macro.
3973 Call nanosleep rather than syscall.
3975 * nptl/pt-system.c: Rewritten. Put everything under
3976 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3977 Use IFUNC to redirect when possible.
3979 * nptl/pt-longjmp.c: Rewritten. Put everything under
3980 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3981 Use IFUNC to redirect when possible.
3983 * nptl/pt-fork.c: Rewritten. Put everything under
3984 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3985 Use IFUNC to redirect when possible.
3986 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3988 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3989 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3990 unconditionally nowadays. This included the only reference to
3991 __vdso_clock_gettime that appears outside libc proper.
3992 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3993 Remove version set (containing only __vdso_clock_gettime).
3994 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3995 Add attribute_hidden.
3996 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3997 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3998 libc_hidden_data_def.
3999 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4000 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4002 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4003 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4004 setrpcent, and getrpcport to ...
4005 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4006 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4007 getrpcbynumber_r, and getrpcent_r to ...
4008 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4009 * inet/getrpcbyname.c: Moved ...
4010 * sunrpc/getrpcbyname.c: ... here.
4011 * inet/getrpcbyname_r.c: Moved ...
4012 * sunrpc/getrpcbyname_r.c: ... here.
4013 * inet/getrpcbynumber.c: Moved ...
4014 * sunrpc/getrpcbynumber.c: ... here.
4015 * inet/getrpcbynumber_r.c: Moved ...
4016 * sunrpc/getrpcbynumber_r.c: ... here.
4017 * inet/getrpcent.c: Moved ...
4018 * sunrpc/getrpcent.c: ... here.
4019 * inet/getrpcent_r.c: Moved ...
4020 * sunrpc/getrpcent_r.c: ... here.
4021 * inet/Makefile (routines): Move those to ...
4022 * sunrpc/Makefile (routines): ... here.
4023 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4024 the $(subdirs) list.
4025 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
4026 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4027 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4028 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4030 * elf/Makefile (routines): Include $(all-dl-routines), not just
4032 (rtld-routines): Likewise. Use = rather than :=.
4033 * sysdeps/aarch64/Makefile [$(subdir) = elf]
4034 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4035 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4036 * sysdeps/arm/Makefile: Likewise.
4037 * sysdeps/i386/Makefile: Likewise.
4038 * sysdeps/x86_64/Makefile: Likewise.
4039 * sysdeps/hppa/Makefile [$(subdir) = elf]
4040 (sysdep_routines, sysdep-rtld-routines): Don't add
4041 $(sysdep-dl-routines) to these.
4042 * sysdeps/ia64/Makefile: Likewise.
4043 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4044 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4045 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4046 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4047 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4048 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4049 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4050 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4051 * sysdeps/powerpc/Makefile [$(subdir) = elf]
4052 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4053 these; sysdep-dl-routines alone is enough.
4055 2015-02-06 Joseph Myers <joseph@codesourcery.com>
4058 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4059 where multiplication results in zero and third argument is finite
4061 * math/auto-libm-test-in: Add more tests of fma.
4062 * math/auto-libm-test-out: Regenerated.
4064 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4065 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4066 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4067 (_FP_CMP_EQ): Likewise.
4068 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4070 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4071 extra argument CHECK_NAN. Redefine as wrapper around
4074 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4076 * version.h (RELEASE): Set to "stable".
4077 (VERSION): Set to "2.21"
4078 * include/features.h (__GLIBC_MINOR__): Set to 21.
4080 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4082 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4083 Paul Eggert <eggert@cs.ucla.edu>
4086 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4088 size in bytes. Store needed elements in wpmax. Use needed size
4089 in bytes for extend_alloca.
4091 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4093 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4094 binutls 2.25, and texinfo 5.2.
4095 * INSTALL: Regenerate.
4096 * sysdeps/nios2/configure: Regenerate.
4097 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4098 * manual/contrib.texi: Update.
4122 * po/pt_BR.po: Update.
4131 * po/zh_CN.po: Update.
4132 * po/zh_TW.po: Update.
4134 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4135 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4136 * sysdeps/hppa/dl-irel.h: Remove #warning.
4137 * sysdeps/hppa/entry.h: Provide prototype for
4138 __canonicalize_funcptr_for_compare and cast argument.
4139 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4140 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4141 * sysdeps/hppa/sotruss-lib.c: New file.
4142 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4143 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4144 (atomic_compare_and_exchange_bool_acq): Likewise.
4145 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4146 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4148 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4149 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4150 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4152 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4154 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4155 called function in non-PIC case.
4157 2015-01-31 David S. Miller <davem@davemloft.net>
4159 * sysdeps/sparc/sparc32/bits/atomic.h
4160 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4161 unlock not after it.
4162 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4163 volatile register usage warnings from the compiler.
4165 * sysdeps/sparc/nptl/sem_init.c: Delete.
4166 * sysdeps/sparc/nptl/sem_post.c: Delete.
4167 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4168 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4169 * sysdeps/sparc/sparc32/sem_init.c: New file.
4170 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4171 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4172 padding explicitly initialized.
4173 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4174 padding for in-semaphore spinlock.
4175 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4176 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4177 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4178 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4179 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4180 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4181 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4182 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4184 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4185 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4187 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4191 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4192 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4194 (index_AVX_Fast_Unaligned_Load): Likewise.
4195 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4196 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4197 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4198 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4199 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4200 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4201 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4202 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4203 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4205 2015-01-29 Andreas Schwab <schwab@suse.de>
4207 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4209 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4212 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4214 2015-01-28 Martin Sebor <msebor@redhat.com>
4216 * math/README.libm-test: Clarify. Add "How to read the test output."
4218 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4220 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4223 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4225 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4226 (__HAVE_64B_ATOMICS): Define to 0.
4228 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4231 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4232 value to set as new flag.
4235 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4236 and use _ARCH_PPCSQ instead.
4237 (__ieee754_sqrt): Likewise.
4238 (__ieee754_sqrtf): Likewise.
4239 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4240 _ARCH_PPCSQ is defined.
4241 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4243 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4244 _ARCH_PPCSQ is defined.
4245 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4247 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4249 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4251 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4252 bug (GCC BZ #64739).
4254 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4256 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4257 Mark _retval as used.
4258 (lll_futex_wake_unlock): Likewise.
4259 (lll_futex_timed_wait_requeue_pi): Likewise.
4261 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4262 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4265 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4268 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4269 (__bswap_64): Mark as __always_inline.
4271 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4274 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4275 when none of the search directories exist.
4277 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4280 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4281 power8 in .machine directive.
4284 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4285 set dependency from opd value.
4287 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4290 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4293 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4296 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4298 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4300 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4301 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4302 Replace 1UL with (uint64_t) 1.
4303 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4306 2015-01-23 Roland McGrath <roland@hack.frob.com>
4308 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4309 (if_freenameindex): Likewise.
4311 * resource/getrlimit64.c: Add missing libc_hidden_def.
4313 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4315 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4317 (_FP_FMA): Likewise.
4318 (_FP_TO_INT_ROUND): Likewise.
4319 (_FP_FROM_INT): Likewise.
4321 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4324 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4325 Make code racy and cancel safe.
4327 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4329 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4330 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4333 * pwd/tst-getpw.c: Rewrite.
4336 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4337 (modules-names): Add moddummy1 and moddummy2.
4338 ($(objpfx)tst-rec-dlopen): Define.
4339 * dlfcn/moddummy1.c: New file.
4340 * dlfcn/moddummy2.c: New file.
4341 * dlfcn/tst-rec-dlopen.c: New file.
4342 * elf/dl-cache.c (_dl_load_cache_lookup):
4343 Return char*. Copy result with alloca/strcpy/strdup.
4344 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4345 returns char*. Free cached. If not saving realname
4347 * elf/dl-open.c (dl_open_worker): Do not assert that
4348 _r_debug->r_state is RT_CONSISTENT.
4349 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4352 2015-01-21 Torvald Riegel <triegel@redhat.com>
4353 Carlos O'Donell <carlos@redhat.com>
4356 * nptl/sem_waitcommon.c: New file.
4357 * nptl/sem_wait.c: Include sem_waitcommon.c.
4358 (__sem_wait_cleanup, do_futex_wait): Remove.
4359 (__new_sem_wait): Adapt.
4360 (__new_sem_trywait): New function.
4361 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4362 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4363 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4364 (sem_timedwait): Adapt.
4365 * nptl/sem_post.c (__new_sem_post): Adapt.
4366 (futex_wake): New function.
4367 (__old_sem_post): Add release MO fence.
4368 * nptl/sem_open.c (sem_open): Adapt.
4369 * nptl/sem_init.c (__new_sem_init): Adapt.
4370 (futex_private_if_supported): New function.
4371 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4372 (__old_sem_getvalue): Add using previous code.
4373 * sysdeps/nptl/internaltypes.h: Adapt.
4374 * nptl/tst-sem13.c (do_test): Adapt.
4375 * nptl/tst-sem11.c (main): Adapt.
4376 * nptl/sem_trywait.c: Remove.
4377 * nptl/DESIGN-sem.txt: Remove.
4378 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4379 (gen-as-const-headers): Remove structsem.sym.
4380 * nptl/structsem.sym: Remove.
4381 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4382 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4383 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4384 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4385 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4386 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4387 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4388 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4389 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4390 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4391 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4392 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4393 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4394 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4395 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4396 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4397 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4398 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4399 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4400 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4401 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4402 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4404 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4406 * INSTALL: Regenerated.
4408 * po/libc.pot: Regenerated.
4410 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4411 Sandra Loosemore <sandra@codesourcery.com>
4412 Andrew Jenner <andrew@codesourcery.com>
4413 Joseph Myers <joseph@codesourcery.com>
4414 Nathan Sidwell <nathan@codesourcery.com>
4416 * NEWS: Mention new Nios II port.
4417 * sysdeps/nios2/Implies: New file.
4418 * sysdeps/nios2/Makefile: New file.
4419 * sysdeps/nios2/Subdirs: New file.
4420 * sysdeps/nios2/Versions: New file.
4421 * sysdeps/nios2/__longjmp.S: New file.
4422 * sysdeps/nios2/abort-instr.h: New file.
4423 * sysdeps/nios2/backtrace.c: New file.
4424 * sysdeps/nios2/bits/endian.h: New file.
4425 * sysdeps/nios2/bits/fenv.h: New file.
4426 * sysdeps/nios2/bits/link.h: New file.
4427 * sysdeps/nios2/bits/setjmp.h: New file.
4428 * sysdeps/nios2/bsd-_setjmp.S: New file.
4429 * sysdeps/nios2/bsd-setjmp.S: New file.
4430 * sysdeps/nios2/configure: New generated file.
4431 * sysdeps/nios2/configure.ac: New file.
4432 * sysdeps/nios2/crti.S: New file.
4433 * sysdeps/nios2/crtn.S: New file.
4434 * sysdeps/nios2/dl-init.c: New file.
4435 * sysdeps/nios2/dl-machine.h: New file.
4436 * sysdeps/nios2/dl-sysdep.h: New file.
4437 * sysdeps/nios2/dl-tls.h: New file.
4438 * sysdeps/nios2/dl-trampoline.S: New file.
4439 * sysdeps/nios2/gccframe.h: New file.
4440 * sysdeps/nios2/gmp-mparam.h: New file.
4441 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4442 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4443 * sysdeps/nios2/ldsodefs.h: New file.
4444 * sysdeps/nios2/libc-tls.c: New file.
4445 * sysdeps/nios2/libm-test-ulps: New file.
4446 * sysdeps/nios2/machine-gmon.h: New file.
4447 * sysdeps/nios2/math-tests.h: New file.
4448 * sysdeps/nios2/math_private.h: New file.
4449 * sysdeps/nios2/memusage.h: New file.
4450 * sysdeps/nios2/nptl/Makefile: New file.
4451 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4452 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4453 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4454 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4455 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4456 * sysdeps/nios2/nptl/tls.h: New file.
4457 * sysdeps/nios2/preconfigure: New file.
4458 * sysdeps/nios2/s_fma.c: New file.
4459 * sysdeps/nios2/s_fmaf.c: New file.
4460 * sysdeps/nios2/setjmp.S: New file.
4461 * sysdeps/nios2/sfp-machine.h: New file.
4462 * sysdeps/nios2/sotruss-lib.c: New file.
4463 * sysdeps/nios2/stackguard-macros.h: New file.
4464 * sysdeps/nios2/stackinfo.h: New file.
4465 * sysdeps/nios2/start.S: New file.
4466 * sysdeps/nios2/sysdep.h: New file.
4467 * sysdeps/nios2/tls-macros.h: New file.
4468 * sysdeps/nios2/tst-audit.h: New file.
4469 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4470 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4471 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4472 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4473 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4474 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4475 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4476 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4477 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4478 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4479 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4480 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4481 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4482 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4483 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4484 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4485 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4486 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4487 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4488 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4489 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4490 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4491 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4492 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4493 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4494 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4495 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4496 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4497 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4498 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4499 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4500 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4501 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4502 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4503 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4504 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4505 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4506 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4507 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4508 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4509 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4510 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4511 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4512 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4514 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4517 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4518 (getutent): Use weak_alias in non SHARED case
4519 and default_symbol_version in SHARED case.
4520 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4521 (getutent_r, pututline): Likewise.
4522 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4523 (getutid): Likewise.
4524 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4525 (getutid_r): Likewise.
4526 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4527 (getutline): Likewise.
4528 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4529 (getutline_r): Likewise.
4530 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4531 (updwtmp): Likewise.
4533 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4536 * sysdeps/s390/s390-32/memcmp.S
4537 (memcmp_g5): Rename to __memcmp_g5.
4538 * sysdeps/s390/s390-32/memcpy.S
4539 (memcpy_g5): Rename to __memcpy_g5.
4540 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4541 (memcpy_mvcle) Rename to __memcpy_mvcle.
4542 * sysdeps/s390/s390-32/memset.S
4543 (memset_g5): Rename to __memset_g5.
4544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4545 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4546 and use prefixed functions.
4547 * sysdeps/s390/s390-32/multiarch/memcmp.S
4548 (memcmp_z196): Rename to __memcmp_z196.
4549 (memcmp_z10): Rename to __memcmp_z10.
4550 (memcmp): Set alias to __memcmp_g5.
4551 (bcmp): Set alias to __memcmp_g5.
4552 * sysdeps/s390/s390-32/multiarch/memcpy.S
4553 (memcpy_z196): Rename to __memcpy_z196.
4554 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4555 (memcpy_z10): Rename to __memcpy_z10.
4556 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4557 (memcpy): Set alias to __memcpy_g5.
4558 * sysdeps/s390/s390-32/multiarch/memset.S
4559 (memset_z196): Rename to __memset_z196.
4560 Jump to __memset_mvcle instead of memset_mvcle.
4561 (memset_z10): Rename to __memset_z10.
4562 Jump to __memset_mvcle instead of memset_mvcle.
4563 (memset_mvcle) Rename to __memset_mvcle.
4564 (memset): Set alias to __memset_g5.
4565 * sysdeps/s390/s390-64/memcmp.S
4566 (memcmp_z900): Rename to __memcmp_z900.
4567 * sysdeps/s390/s390-64/memcpy.S
4568 (memcpy_z900): Rename to __memcpy_z900.
4569 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4570 (memcpy_mvcle) Rename to __memcpy_mvcle.
4571 * sysdeps/s390/s390-64/memset.S
4572 (memset_z900): Rename to __memset_z900.
4573 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4574 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4575 and use prefixed functions.
4576 * sysdeps/s390/s390-64/multiarch/memcmp.S
4577 (memcmp_z196): Rename to __memcmp_z196.
4578 (memcmp_z10): Rename to __memcmp_z10.
4579 (memcmp): Set alias to __memcmp_z900.
4580 (bcmp): Set alias to __memcmp_z900.
4581 * sysdeps/s390/s390-64/multiarch/memcpy.S
4582 (memcpy_z196): Rename to __memcpy_z196.
4583 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4584 (memcpy_z10): Rename to __memcpy_z10.
4585 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4586 (memcpy): Set alias to __memcpy_z900.
4587 * sysdeps/s390/s390-64/multiarch/memset.S
4588 (memset_z196): Rename to __memset_z196.
4589 Jump to __memset_mvcle instead of memset_mvcle.
4590 (memset_z10): Rename to __memset_z10.
4591 Jump to __memset_mvcle instead of memset_mvcle.
4592 (memset_mvcle) Rename to __memset_mvcle.
4593 (memset): Set alias to __memset_z900.
4595 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4598 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4599 __fesetenv instead of fesetenv.
4601 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4603 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4606 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4608 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4611 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4612 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4613 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4614 strncmp-power8 object.
4615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4616 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4617 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4620 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4621 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4623 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4624 trailing byte check.
4626 2015-01-13 David S. Miller <davem@davemloft.net>
4628 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4630 2015-01-13 Roland McGrath <roland@hack.frob.com>
4632 * login/logout.c (logout): Use memset rather than bzero.
4633 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4634 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4635 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4636 (_gethtbyaddr): Likewise.
4637 * locale/programs/simple-hash.c (bcopy): Macro removed.
4639 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4641 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4642 Add strcmp-power8 object.
4643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4644 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4645 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4646 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4647 __strcmp_power8 implementation.
4648 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4651 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4652 Add strncpy-power8 and stpncpy-power8 objects.
4653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4654 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4656 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4657 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4658 __stpncpy_power8 implementation.
4659 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4660 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4661 __strncpy_power8 implementation.
4662 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4663 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4666 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4667 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4668 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4670 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4671 strncat-power8 object.
4672 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4673 __strcat_power8 implementation.
4674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4675 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4676 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4677 optimized strcat for power8.
4679 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4680 strcpy-power8 and stpcpy-power8 objects.
4681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4682 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4684 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4685 multiarch stpcpy implementation for POWER8.
4686 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4687 multiarch strcpy implementation for POWER8.
4688 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4689 __strcpy_power8 function.
4690 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4692 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4696 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
4699 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4700 weights and rules. Use do_xfrm_cached if data fits in cache,
4701 do_xfrm otherwise. Moved former main loop to...
4702 * (do_xfrm_cached): New function.
4703 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4704 find_idx, find_position and stack_push.
4705 * (find_idx): New function.
4706 * (find_position): Likewise.
4707 * localedata/sort-test.sh: Added test run for do_xfrm.
4708 * localedata/xfrm-test.c (main): Added command line option
4709 -nocache to run the test with strings that are too large for
4712 2015-01-13 Torvald Riegel <triegel@redhat.com>
4714 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4715 variable to lll_futex_wake call, not the value itself.
4717 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4720 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4721 twom64. Adjust value to 0x1p-64L.
4722 (__scalblnl): Only return standard underflowing result for K <=
4723 -64 not K <= -63; adjust exponent for underflowing result by 64
4725 * math/libm-test.inc (scalbn_test_data): Add more tests.
4726 (scalbln_test_data): Likewise.
4729 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4731 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4733 * math/libm-test.inc (scalbn_test_data): Add more tests.
4734 (scalbln_test_data): Likewise.
4736 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4737 Stefani Seibold <stefani@seibold.net>
4739 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4740 (sysdep_routines): Add dl-vdso here, ...
4741 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4742 (sysdep_routines): ... not here.
4743 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4744 fallback when vDSO is not presented.
4745 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4746 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4747 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4748 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4749 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4750 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4751 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4752 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4753 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4755 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4756 fallback configurable symbol when vDSO is not available.
4757 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4758 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4759 be able to redefine fallback symbol when vDSO is not available.
4760 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4761 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4763 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4765 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4766 (TLS_INIT_TP): Add tm_capable initialization.
4767 (TLS_DEFINE_INIT_TP): Likewise.
4768 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4770 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4771 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4773 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4774 transactoion is lock elision is built and TCB tm_capable is set.
4775 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4777 (INTERNAL_SYSCALL_NCS): Likewise.
4778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4779 (INTERNAL_SYSCALL_NCS): Likewise.
4780 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4782 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4784 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4785 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4786 and remove it for 32 bits case.
4787 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4788 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4790 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4791 Disable lock elision with rdlocks if elision is not available.
4793 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4794 (sysdep_routines): Add lock elision objects.
4795 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4796 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4797 [pthread_mutex_t] (__elision): Add field.
4798 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4799 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4800 elision definitions for powerpc.
4801 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4802 implementation of lock elision for powerpc.
4803 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4804 implementation of timed lock elision for powerpc.
4805 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4806 implementation of trylock with lock elision for powerpc.
4807 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4808 implementaion of unlock for lock elision for powerpc.
4809 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4810 automatic enable lock elision for mutexes.
4811 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4812 transaction execution definitions for powerpc.
4813 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4815 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4816 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4817 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4818 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4821 2015-01-09 Roland McGrath <roland@hack.frob.com>
4823 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4824 for #include of <shm-directory.h>.
4826 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4828 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4829 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4831 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4834 * NEWS: Mention bug fix.
4835 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4836 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4837 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4839 2015-01-09 Torvald Riegel <triegel@redhat.com>
4841 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4843 2015-01-09 Torvald Riegel <triegel@redhat.com>
4845 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4847 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4849 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4850 pointer and cast to uintptr_t.
4852 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4854 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4856 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4858 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4860 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4863 2015-01-08 Roland McGrath <roland@hack.frob.com>
4865 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4866 <nptl/pthreadP.h> instead.
4867 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4869 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4871 [__SIGRTMIN] (init): Function removed.
4872 [__SIGRTMIN] (initialized): Variable removed.
4873 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4874 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4875 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4876 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4877 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4878 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4879 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4880 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4881 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4882 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4883 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4884 * sysdeps/nptl/allocrtsig.c: New file.
4885 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4886 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4887 * sysdeps/generic/testrtsig.h: File removed.
4889 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4890 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4892 * nptl/nptl-init.c (pthread_functions): Conditionalize
4893 .ptr__nptl_setxid initialization on [SIGSETXID].
4895 * sysdeps/nptl/sys/procfs.h: New file.
4896 * nptl_db/Makefile (headers): Add it.
4897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4899 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4900 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4901 * nptl/pthread_attr_setaffinity.c: Include it.
4902 * nptl/pthread_setattr_default_np.c: Likewise.
4903 * nptl/check-cpuset.h: New file.
4905 2015-01-08 Richard Henderson <rth@redhat.com>
4907 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4908 (CFLAGS-tst-execstack-prog.c): Likewise.
4909 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4911 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4912 Sandra Loosemore <sandra@codesourcery.com>
4913 Andrew Jenner <andrew@codesourcery.com>
4914 Joseph Myers <joseph@codesourcery.com>
4915 Nathan Sidwell <nathan@codesourcery.com>
4917 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4918 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4919 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4920 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4921 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4922 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4923 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4924 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4925 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4926 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4927 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4928 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4929 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4930 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4931 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4932 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4933 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4935 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4937 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4938 timespec struct member in syscall macro.
4939 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4940 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4941 first timeval struct member in syscall macro.
4942 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4944 2015-01-07 Joseph Myers <joseph@codesourcery.com>
4947 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4948 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4949 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4950 __feupdateenv and define as weak alias of __feupdateenv. Use
4952 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4954 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4955 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4956 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4957 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4959 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4960 __feupdateenv and define as weak alias of __feupdateenv. Use
4962 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4964 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4965 __feupdateenv and define as weak alias of __feupdateenv. Use
4967 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4969 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4970 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4971 (__feupdateenv): Likewise.
4972 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4973 __feupdateenv and define as weak alias of __feupdateenv. Use
4975 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4976 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4978 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4980 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4982 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4983 __feupdateenv instead of feupdateenv.
4984 (default_libc_feupdateenv_test): Likewise.
4985 (libc_feresetround_ctx): Likewise.
4987 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4989 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4992 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4994 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4995 COLL_SYM in a couple of places to avoid uninitialized variable
4996 wanings on tilegx gcc 4.8.2.
4998 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5000 * sysdeps/aarch64/strcpy.S: New file.
5001 * sysdeps/aarch64/stpcpy.S: New file.
5004 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5006 * sysdeps/aarch64/strrchr.S: New file.
5009 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
5012 * stdlib/setenv.c: Fix memory leak when setting large,
5015 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5018 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5019 and tabs from buffer before parsing fstab entry.
5020 * misc/tst-mntent.c (main): Add test for mount entry with
5021 trailing spaces and tabs.
5023 2015-01-06 Joseph Myers <joseph@codesourcery.com>
5026 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
5027 * math/fesetround.c (fesetround): Rename to __fesetround and
5028 define as weak alias of __fesetround. Use libm_hidden_weak.
5029 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5030 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5031 * sysdeps/arm/fesetround.c (fesetround): Likewise.
5032 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5033 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5034 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5035 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5036 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5037 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5038 __fesetround_inline.
5039 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5040 __fesetround_inline instead of __fesetround.
5041 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5042 __fesetround and define as weak alias of __fesetround. Use
5043 libm_hidden_weak. Call __fesetround_inline instead of
5045 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5046 __fesetround and define as weak alias of __fesetround. Use
5048 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5050 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5052 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5053 * sysdeps/tile/math_private.h (__fesetround): New inline function.
5054 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5055 __fesetround and define as weak alias of __fesetround. Use
5057 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5058 __fesetround instead of fesetround.
5059 (default_libc_feholdexcept_setround): Likewise.
5060 (libc_feholdsetround_ctx): Likewise.
5061 (libc_feholdsetround_noex_ctx): Likewise.
5064 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5065 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5066 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5067 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5068 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5069 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5070 define as weak alias of __fesetenv. Use libm_hidden_weak.
5071 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5072 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5073 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5074 define as weak alias of __fesetenv. Use libm_hidden_weak.
5075 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5076 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5077 define as weak alias of __fesetenv. Use libm_hidden_weak.
5078 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5080 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5081 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5083 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5084 define as weak alias of __fesetenv. Use libm_hidden_weak.
5085 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5086 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5087 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5088 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5089 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5090 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5091 __fesetenv instead of fesetenv.
5092 (libc_feresetround_noex_ctx): Likewise.
5093 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5094 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5095 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5096 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5097 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5098 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5099 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5100 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5101 (__feupdateenv): Likewise.
5102 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5103 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5104 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5105 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5107 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5110 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5111 addresses have been freed.
5113 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5115 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5118 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5120 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5121 Clean up check_pf allocation pattern. addresses
5123 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5125 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5126 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5127 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5128 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5129 * nptl/pthread_join.c (pthread_join): Likewise.
5130 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5131 * sysdeps/posix/waitid.c (__waitid): Likewise.
5132 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5133 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5134 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5135 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5136 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5138 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5139 (__libc_pread64): Likewise.
5140 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5141 (__libc_pwrite): Likewise.
5142 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5143 (__libc_pwrite64): Likewsie.
5144 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5145 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5146 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5147 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5148 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5149 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5150 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5154 (__libc_pread64): Likewise.
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5158 (__libc_pwrite64): Likewise.
5159 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5160 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5161 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5162 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5163 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5164 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5165 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5166 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5167 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5168 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5169 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5170 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5171 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5172 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5173 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5174 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5177 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5179 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5180 (CFLAGS-test-double.c): Likewise.
5181 (CFLAGS-test-ldouble.c): Likewise.
5182 (CPPFLAGS-test-ifloat.c): Likewise.
5183 (CPPFLAGS-test-idouble.c): Likewise.
5184 (CPPFLAGS-test-ildoubl.c): Likewise.
5185 (CFLAGS-test-test-fenv.c): Remove variable.
5186 (CFLAGS-test-misc.c): Likewise.
5188 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5191 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5192 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5193 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5194 CLOCKS_PER_SEC == 1000000.
5195 * time/clocktest.c (main): Replace %ld with %jd and cast to
5198 2015-01-05 Roland McGrath <roland@hack.frob.com>
5200 * sysdeps/generic/unwind-resume.h: New file.
5201 * sysdeps/gnu/unwind-resume.c: Include it.
5202 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5203 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5205 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5206 global rather than static.
5207 (_Unwind_Resume): Update user.
5208 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5209 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5210 rather than static. Add __attribute__ ((cold)).
5211 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5212 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5213 * sysdeps/arm/arm-unwind-resume.S: New file.
5214 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5215 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5216 * sysdeps/arm/Makefile [$(subdir) = csu]
5217 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5218 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5219 Add rt-arm-unwind-resume.
5221 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5222 Add pt-arm-unwind-resume.
5223 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5224 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5226 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5229 * include/fenv.h (__feholdexcept): Declare. Use
5231 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5232 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5233 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5234 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5235 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5236 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5237 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5238 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5239 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5240 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5241 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5242 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5243 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5244 (feholdexcept): Likewise.
5245 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5246 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5247 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5248 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5249 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5250 __feholdexcept instead of feholdexcept.
5251 (default_libc_feholdexcept_setround): Likewise.
5253 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5255 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5256 to avoid using stl/str to align destination.
5258 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5260 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5262 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5265 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5266 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5267 Define as weak alias not strong alias.
5269 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5271 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5272 bltzal with addiupc.
5273 (RTLD_START): Ditto.
5275 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5277 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5278 for __vdso_* functions in declarations.
5279 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5281 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5282 INTERNAL_VSYSCALL): Use struct return types to check for error.
5284 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5285 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5286 function with cast from llround().
5287 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5288 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5291 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5294 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5295 Define as weak alias not strong alias.
5298 * ctype/ctype-c99.c: New file. isblank implementation moved from
5300 * ctype/ctype-extn.c: ... here.
5301 (__isblank_l): Move to ...
5302 * ctype/ctype-c99_l.c: ... here. New file.
5303 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5304 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5306 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5307 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5308 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5309 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5310 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5313 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5314 (posix_fadvise64): Define as weak alias not strong alias.
5315 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5316 (posix_fallocate64): Likewise.
5317 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5319 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5320 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5321 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5322 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5323 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5325 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5328 * NEWS: Mention bug fix.
5329 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5330 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5331 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5332 (HOST_STACK_END_ADDR): Likewise.
5334 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5337 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5338 * math/fegetround.c (fegetround): Rename to __fegetround and
5339 define as weak alias of __fegetround. Use libm_hidden_weak.
5340 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5341 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5342 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5343 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5344 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5345 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5346 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5347 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5348 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5349 Undefine after rather than before function definition; use
5350 parentheses around function name in definition.
5351 (__fegetround): Also undefine macro after function definition.
5352 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5353 __fegetround and define as weak alias of __fegetround. Use
5354 libm_hidden_weak. Do not undefine as macro.
5355 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5357 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5358 __fegetround and define as weak alias of __fegetround. Use
5360 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5361 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5362 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5363 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5364 __fegetround and define as weak alias of __fegetround. Use
5366 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5367 __fegetround instead of fegetround.
5370 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5371 Condition macro definition on [__USE_MISC].
5374 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5375 (struct sigaction): Change type of sa_flags field to int.
5378 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5379 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5382 * nptl/version.c (banner): Use single year in copyright notice.
5384 * NEWS: Update copyright dates.
5385 * catgets/gencat.c (print_version): Likewise.
5386 * csu/version.c (banner): Likewise.
5387 * debug/catchsegv.sh: Likewise.
5388 * debug/pcprofiledump.c (print_version): Likewise.
5389 * debug/xtrace.sh (do_version): Likewise.
5390 * elf/ldconfig.c (print_version): Likewise.
5391 * elf/ldd.bash.in: Likewise.
5392 * elf/pldd.c (print_version): Likewise.
5393 * elf/sotruss.sh: Likewise.
5394 * elf/sprof.c (print_version): Likewise.
5395 * iconv/iconv_prog.c (print_version): Likewise.
5396 * iconv/iconvconfig.c (print_version): Likewise.
5397 * locale/programs/locale.c (print_version): Likewise.
5398 * locale/programs/localedef.c (print_version): Likewise.
5399 * login/programs/pt_chown.c (print_version): Likewise.
5400 * malloc/memusage.sh (do_version): Likewise.
5401 * malloc/memusagestat.c (print_version): Likewise.
5402 * malloc/mtrace.pl: Likewise.
5403 * manual/libc.texinfo: Likewise.
5404 * nptl/version.c (banner): Likewise.
5405 * nscd/nscd.c (print_version): Likewise.
5406 * nss/getent.c (print_version): Likewise.
5407 * nss/makedb.c (print_version): Likewise.
5408 * posix/getconf.c (main): Likewise.
5409 * scripts/test-installation.pl: Likewise.
5410 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5412 2015-01-02 Will Newton <will.newton@linaro.org>
5414 * sysdeps/arm/armv7/configure: Removed.
5415 * sysdeps/arm/armv7/configure.ac: Likewise.
5417 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5419 * All files with FSF copyright notices: Update copyright dates
5420 using scripts/update-copyrights.
5421 * intl/plural.c: Regenerated.
5422 * locale/programs/charmap-kw.h: Likewise.
5423 * locale/programs/locfile-kw.h: Likewise.
5425 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5427 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5429 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5432 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5433 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5434 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5435 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5436 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5437 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5438 define as weak alias of __fegetenv. Use libm_hidden_weak.
5439 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5440 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5441 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5442 define as weak alias of __fegetenv. Use libm_hidden_weak.
5443 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5444 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5445 define as weak alias of __fegetenv. Use libm_hidden_weak.
5446 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5448 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5449 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5451 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5452 define as weak alias of __fegetenv. Use libm_hidden_weak.
5453 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5454 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5455 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5456 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5457 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5458 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5459 __fegetenv instead of fegetenv.
5460 (libc_feholdsetround_noex_ctx): Likewise.
5462 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5464 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5465 (Elf_MIPS_ABIFlags_v0): New structure.
5466 (EF_MIPS_FP64): Define.
5467 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5468 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5469 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5470 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5471 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5472 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5473 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5474 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5475 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5476 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5477 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5478 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5479 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5480 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5481 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5482 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5483 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5484 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5485 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5486 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5487 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5488 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5490 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5492 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5493 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5494 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5495 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5496 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5497 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5498 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5499 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5500 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5501 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5502 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5503 record the current FP ABI extension.
5504 (mips-mode-switch): Define to show if kernel headers support mode
5506 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5507 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5508 supported SYSV ABI version to 3.
5509 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5512 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5513 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5515 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5517 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5519 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5521 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5522 __fegetround and redefine to call __fegetround. Remove condition
5523 on [!__NO_MATH_INLINES].
5524 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5526 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5527 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5529 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5530 instead of <fenv_libc.h>.
5531 (__llrintl): Call fegetround instead of __fegetround.
5532 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5533 instead of <fenv_libc.h>.
5534 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5535 (__lrintl): Call fegetround instead of __fegetround.
5536 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5537 instead of <fenv_libc.h>.
5538 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5539 (__rintl): Call fegetround instead of __fegetround.
5541 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5543 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5546 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5549 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5550 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5551 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5553 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5555 * sysdeps/i386/tls-macros.h: Include <features.h>.
5556 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5560 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5561 define for GCC >= 5.0.
5563 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5565 * math/test-fenv.c (test_single_exception, set_single_exc,
5566 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5567 feexcp_mask_test, feenable_test, fe_single_test): Add
5568 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5569 case where they are not used.
5570 * math/libm-test.inc: Likewise.
5571 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5572 unused in the absence of FP rounding/exception support.
5573 * stdio-common/tst-printf-round.c: Likewise.
5574 * stdlib/tst-strtod-round.c: Likewise.
5575 * stdlib/tst-strtod-underflow.c: Likewise.
5577 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5580 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5581 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5582 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5583 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5585 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5586 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5587 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5589 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5590 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5592 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5594 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5595 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5596 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5598 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5600 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5601 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5602 (__feraiseexcept): Likewise.
5603 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5604 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5606 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5607 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5609 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5610 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5611 Use libm_hidden_def.
5612 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5614 (feraiseexcept): Define as weak not strong alias. Use
5616 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5617 New inline function. Factored out of ...
5618 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5619 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5620 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5622 * math/w_acos.c (__acos): Likewise.
5623 * math/w_asin.c (__asin): Likewise.
5624 * math/w_ilogb.c (__ilogb): Likewise.
5625 * math/w_j0.c (y0): Likewise.
5626 * math/w_j1.c (y1): Likewise.
5627 * math/w_jn.c (yn): Likewise.
5628 * math/w_log.c (__log): Likewise.
5629 * math/w_log10.c (__log10): Likewise.
5630 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5631 * sysdeps/aarch64/fpu/math_private.h
5632 (libc_feupdateenv_test_aarch64): Likewise.
5633 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5634 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5635 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5636 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5637 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5638 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5639 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5640 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5641 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5642 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5644 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5647 * io/test-utime.c (main): Replace %ld with %jd and cast to
5649 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5650 * nptl/tst-mutex5.c: Include <stdint.h>.
5651 (do_test): Replace %ld with %jd and cast to intmax_t.
5652 * posix/tst-regex.c (run_test): Likewise.
5653 (run_test_backwards): Likewise.
5654 * rt/tst-clock.c: Include <stdint.h>.
5655 (clock_test): Replace %ld with %jd and cast to intmax_t.
5656 * rt/tst-cpuclock1.c: Include <stdint.h>.
5657 (do_test): Replace %lu with %ju and cast to uintmax_t.
5658 * rt/tst-cpuclock2.c: Include <stdint.h>.
5659 (do_test): Replace %lu with %ju and cast to uintmax_t.
5660 * rt/tst-mqueue1.c: Include <stdint.h>.
5661 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5662 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5664 * rt/tst-mqueue4.c (do_test): Likewise.
5665 * rt/tst-timer4.c: Include <stdint.h>.
5666 (check_ts): Replace %ld with %jd and cast to intmax_t.
5667 (do_test): Likewise.
5668 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5669 and cast to intmax_t.
5670 * sysdeps/pthread/tst-timer.c (main): Likewise.
5671 * time/clocktest.c (main): Likewise.
5672 * time/tst-posixtz.c (do_test): Likewise.
5673 * timezone/tst-timezone.c (main): Likewise.
5675 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5676 H.J. Lu <hongjiu.lu@intel.com>
5678 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5679 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5680 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5681 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5682 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5683 version if bit_Fast_Unaligned_Load is set.
5684 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5685 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5686 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5687 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5688 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5689 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5691 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5692 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5693 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5695 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5696 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5697 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5698 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5700 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5702 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5703 instead of #if to avoid a Wundef warning.
5704 * stdlib/tst-limits.c (do_test): Likewise.
5706 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5707 parallel other exception macros.
5708 (fegetenv): Convert from macro to extern inline so that it applies
5709 retroactively to inline functions already seen by the compiler.
5710 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5712 * posix/Makefile (before-compile): Use $(objpfx) for
5713 posix-conf-vars-def.h.
5715 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5717 * posix/getconf.c (main): Use size_t for type of I.
5718 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5721 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5722 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5723 * posix/posix-envs.def: Likewise.
5724 * sysdeps/posix/sysconf.c: Likewise.
5725 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5726 (specs): Remove array.
5727 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5730 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5731 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5732 (__sysconf): Use CONF_IS_* macros.
5734 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5735 ($(objpfx)posix-conf-vars-def.h): New target.
5736 * posix/posix-conf-vars.list: New file.
5737 * posix/posix-conf-vars.h: New file.
5738 * posix/confstr.c: Include posix-conf-vars.h.
5739 (confstr): Use CONF_IS_* macros.
5740 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5742 * scripts/gen-posix-conf-vars.awk: New file.
5744 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5746 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5747 fegetround): Add no-op macros to avoid linknamespace issues.
5749 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5750 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5752 * sysdeps/unix/sysv/linux/tile/sysdep.h
5753 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5754 assembly-specific section to avoid a redefinition warning.
5756 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5757 long before casting to pointer to avoid a cast warning.
5759 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5761 * sysdeps/tile/tilegx/Implies: New file.
5763 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
5765 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5767 2014-12-23 Florian Weimer <fweimer@redhat.com>
5769 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5771 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5773 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5775 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5776 <kernel-features.h>.
5777 (__utimes) [__NR_utimes]: Make code unconditional.
5778 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5779 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5780 (__ASSUME_UTIMES): Do not undefine.
5781 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5782 (__ASSUME_UTIMES): Likewise.
5783 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5784 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5785 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5786 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5788 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5790 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5792 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5795 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5796 alias to weak alias for j0l, y0l.
5797 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5798 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5801 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5804 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5806 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5807 to zero if not already defined.
5809 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5812 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5813 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5814 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5815 (char *) casts added.
5816 * sysdeps/ieee754/k_standardf.c: New file.
5817 * sysdeps/ieee754/k_standardl.c: Likewise.
5818 * math/Makefile (libm-support): Remove k_standard.
5819 (libm-calls): Add k_standard.
5821 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5823 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5824 Optimize to avoid an unnecessary FPCR read.
5826 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5828 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5829 Optimize to reduce FPCR/FPSR accesses.
5831 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5833 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5834 Call libc_fetestexcept_aarch64.
5836 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5838 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5839 Call libc_fesetround_aarch64.
5841 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5844 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5845 (__bind): Do not define as weak alias.
5846 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5848 (__getsockname): Do not define as weak alias.
5850 2014-12-22 Will Newton <will.newton@linaro.org>
5852 * manual/install.texi: Document that we require bison 2.7
5854 * INSTALL: Regenerate.
5855 * configure.ac: Use AC_CHECK_PROG_VER instead of
5856 AC_PATH_PROG when checking for bison and check for
5857 version 2.7 or above.
5858 * configure: Regenerate.
5860 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5863 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5864 * sysdeps/tile/ffsll.c (ffsll): To here.
5866 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5868 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5870 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5872 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5874 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5875 hidden ___tls_get_addr.
5876 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5877 hidden __tls_get_addr.
5878 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5879 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5882 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5884 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5887 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5889 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5890 from "call _dl_init@PLT".
5891 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5893 2014-12-21 Anders Kaseorg <andersk@mit.edu>
5895 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5898 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5900 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5902 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5905 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5908 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5910 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5912 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5913 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5914 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5915 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5916 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5918 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5920 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5921 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5922 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5923 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5924 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5926 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5928 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
5930 * string/strncat.c (STRNCAT): Simplify implementation.
5932 2014-12-19 David S. Miller <davem@davemloft.net>
5934 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5935 access the quad as both a long double and as a series of 4 words.
5937 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5938 link_map->l_info array access.
5940 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5942 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5944 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5945 * math/atest-exp2.c (TIMEOUT): Likewise.
5946 * math/atest-sincos.c (TIMEOUT): Likewise.
5948 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5950 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5951 -Wno-error with -fno-builtin-lround.
5953 2014-12-19 Torvald Riegel <triegel@redhat.com>
5955 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5956 Contains futex constants and functions moved over from ...
5957 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5958 <lowlevellock-futex.h>.
5959 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5960 (lll_timedwait_tid): Add comments and parentheses around macro
5963 2014-12-19 Torvald Riegel <triegel@redhat.com>
5965 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5966 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5967 (__lll_private_flag): Remove.
5968 (lll_futex_wait): Likewise.
5969 (lll_futex_timed_wait): Likewise.
5970 (lll_futex_wake): Likewise.
5971 (lll_futex_requeue): Likewise.
5972 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5973 (__lll_timedwait_tid): Spell out argument names.
5974 (lll_timedwait_tid): Add comments and parentheses around macro
5976 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5977 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5979 2014-12-19 Torvald Riegel <triegel@redhat.com>
5981 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5982 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5983 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5984 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5985 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5986 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5987 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5988 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5989 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5990 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5991 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5992 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5993 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5994 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5995 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5996 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5997 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5998 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5999 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6001 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6003 * sysdeps/x86_64/x32/Makefile: New file.
6005 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6007 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6008 1L with (mp_limb_t) 1.
6010 2014-12-17 Roland McGrath <roland@hack.frob.com>
6012 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6013 * nptl/libc_pthread_init.c: ... here.
6014 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6015 * nptl/register-atfork.c: ... here.
6017 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6018 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6019 Use assert_perror to check its return value.
6020 (__gai_create_helper_thread): Likewise.
6022 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6024 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6026 2014-12-17 Joseph Myers <joseph@codesourcery.com>
6029 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6031 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6033 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6035 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6037 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6038 (profil_counter): Likewise.
6039 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6040 (profil_counter): Likewise.
6041 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6043 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6045 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6046 (profil_counter): Likewise.
6047 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6049 [!__profil_counter] (profil_counter): Define as weak alias of
6051 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6052 (profil_counter): Rename to __profil_counter.
6053 [!__profil_counter] (profil_counter): Define as weak alias of
6055 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6056 (profil_counter): Rename to __profil_counter.
6057 [!__profil_counter] (profil_counter): Define as weak alias of
6059 * sysdeps/posix/profil.c: Update comment referring to
6061 (__profil): Use __profil_counter instead of profil_counter.
6062 * sysdeps/posix/sprofil.c (profil_counter): Rename to
6063 __profil_counter. Use __profil_counter_ushort and
6064 __profil_counter_uint in definitions.
6065 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6066 instead of profil_counter_uint and profil_counter_ushort.
6069 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6070 define as weak alias of __inet_makeaddr.
6071 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6072 as weak alias of __inet_addr.
6073 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6074 as weak alias of __inet_pton. Use libc_hidden_weak.
6075 * include/arpa/inet.h (__inet_pton): Declare. Use
6077 (inet_makeaddr): Don't use libc_hidden_proto.
6078 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6079 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6080 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6081 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6083 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6084 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6086 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6088 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6090 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6092 * stdio-common/bug-vfprintf-nargs.c (do_test):
6093 Cast value to intptr_t to avoid format warning
6094 for usage with PRIdPTR printing macro.
6096 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6098 * libio/tst-widetext.c (do_test):
6099 Use format type %td instead of %Zd for ptrdiff_t
6100 in order to avoid format warning.
6102 2014-12-17 Andreas Schwab <schwab@suse.de>
6104 * nscd/mem.c (gc): Add size_t cast to match printf format.
6106 2014-12-16 Roland McGrath <roland@hack.frob.com>
6108 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6109 (init): Apply PTR_MANGLE to pointers before storing them.
6110 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6113 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6116 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6117 define as weak alias of __memrchr.
6118 (__memrchr): Do not define as strong alias of memrchr.
6119 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6121 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6122 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6123 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6126 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6127 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6128 (if_indextoname): Rename to __if_indextoname and define as weak
6129 alias of __if_indextoname. Use libc_hidden_weak.
6130 (if_freenameindex): Rename to __if_freenameindex and define as
6131 weak alias of __if_freenameindex.
6132 (if_nameindex): Rename to __if_nameindex and define as weak alias
6134 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6135 __if_nametoindex and define as weak alias of __if_nametoindex.
6136 Use libc_hidden_weak.
6137 (if_freenameindex): Rename to __if_freenameindex and define as
6138 weak alias of __if_freenameindex.
6139 (if_nameindex): Rename to __if_nameindex and define as weak alias
6141 (if_indextoname): Rename to __if_indextoname and define as weak
6142 alias of __if_indextoname. Use libc_hidden_weak.
6143 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6144 __if_nametoindex and define as weak alias of __if_nametoindex.
6145 Use libc_hidden_weak.
6146 (if_freenameindex): Rename to __if_freenameindex and define as
6147 weak alias of __if_freenameindex. Use libc_hidden_weak.
6148 (if_nameindex_netlink): Use __if_freenameindex instead of
6150 (if_nameindex): Rename to __if_nameindex and define as weak alias
6151 of __if_nameindex. Use libc_hidden_weak.
6152 (if_indextoname): Rename to __if_indextoname and define as weak
6153 alias of __if_indextoname. Use libc_hidden_weak.
6154 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6156 [!_ISOMAC] (__if_freenameindex): Likewise.
6157 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6159 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6161 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6162 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6163 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6164 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6165 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6166 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6167 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6169 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6171 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6172 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6174 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6176 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6177 subscript above bounds'
6179 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6182 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6184 * libio/tst-fopenloc.c: Use test-skeleton.c.
6186 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6187 (entry): Rename to ITEM.
6188 (do_test, comp): Adjust.
6190 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6192 2014-12-16 Torvald Riegel <triegel@redhat.com>
6194 * string/tester.c: Include <libc-internal.h>.
6195 (test_memset): Ignore -Wmemset-transposed-args.
6197 2014-12-16 Torvald Riegel <triegel@redhat.com>
6199 * misc/tst-mntent2.c (do_test): Fix warning.
6201 2014-12-16 Torvald Riegel <triegel@redhat.com>
6203 * elf/tst-unique4lib.cc(a): Mark as used.
6205 2014-12-16 Florian Weimer <fweimer@redhat.com>
6208 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6211 2014-12-16 Allan McRae <allan@archlinux.org>
6213 * stdio-common/Makefile (tests): Re-add bug26.
6215 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6218 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6221 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6223 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6224 (__lll_lock_wait): Likewise.
6225 (__lll_timedlock_wait): Likewise.
6226 (__lll_timedwait_tid): Likewise.
6227 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6228 (__lll_robust_timedlock_wait): Likewise.
6229 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6230 (lll_cond_trylock): Likewise.
6231 (__lll_lock): Likewise.
6232 (__lll_robust_lock): Likewise.
6233 (__lll_cond_lock): Likewise.
6234 (lll_robust_cond_lock): Likewise.
6235 (__lll_timedlock): Likewise.
6236 (__lll_robust_timedlock): Likewise.
6237 (__lll_unlock): Likewise.
6238 (__lll_robust_unlock): Likewise.
6239 (lll_wait_tid): Likewise.
6240 (lll_timedwait_tid): Likewise.
6242 2014-12-15 Torvald Riegel <triegel@redhat.com>
6244 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6246 2014-12-15 Torvald Riegel <triegel@redhat.com>
6248 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6250 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6252 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6253 * stdio-common/tst-sprintf.c: Likewise.
6255 2014-12-15 Torvald Riegel <triegel@redhat.com>
6257 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6259 2014-12-15 Jeff Law <law@redhat.com>
6262 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6263 on the heap. (CVE-2012-3406)
6264 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6265 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6266 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6268 2014-12-15 Will Newton <will.newton@linaro.org>
6270 * manual/install.texi: Bump required version of texinfo
6272 * INSTALL: Regenerated.
6273 * configure.ac: Check for makeinfo version 4.7 and above.
6274 * configure: Regenerated.
6276 2014-12-12 Roland McGrath <roland@hack.frob.com>
6278 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6279 PREFIX, string constant to insert between directory and name.
6280 * sysdeps/posix/shm_open.c: Update caller.
6281 * sysdeps/posix/shm_unlink.c: Likewise.
6282 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6283 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6284 (SEM_SHM_PREFIX): New macro.
6285 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6286 [$(have-thread-library) = no].
6287 * nptl/Makefile (libpthread-routines): Add shm-directory.
6288 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6289 * sysdeps/nptl/shm-directory.h: New file.
6290 * sysdeps/posix/shm-directory.c
6291 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6292 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6293 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6295 (__where_is_shmfs): Function removed.
6296 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6298 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6300 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6302 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6303 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6304 unconditional for use inside libpthread.
6305 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6307 2014-12-12 Roland McGrath <roland@hack.frob.com>
6309 * nptl/pthread_getaffinity.c: New file.
6310 * nptl/pthread_setaffinity.c: New file.
6311 * nptl/pthread_getname.c: New file.
6312 * nptl/pthread_setname.c: New file.
6314 * nptl/pthread_create.c (START_THREAD_DEFN)
6315 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6317 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6318 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320 * resolv/res_send.c (send_vc): Disable warning resplen may
6321 be used uninitialized.
6323 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6326 (ATTR_NULL): New define checks ATTR against NULL.
6327 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6328 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6330 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6334 (mem2mem_check): Revert my previous change.
6335 (malloc_check_get_size): Revert my previous change.
6336 (mem2chunk_check): Revert my previous change.
6338 2014-12-11 Roland McGrath <roland@hack.frob.com>
6340 * sysdeps/posix/shm-directory.c: New file.
6341 * sysdeps/posix/shm-directory.h: New file.
6342 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6343 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6344 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6345 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6346 Transmute EPERM to EACCES.
6347 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6349 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6350 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6352 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6354 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6355 pointer and cast to uintptr_t.
6356 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6357 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6358 Add cast to avoid warning.
6359 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6361 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6363 * nptl/semaphore.h: Move to ...
6364 * sysdeps/pthread/semaphore.h: ... here.
6365 * Makefile (installed-headers): Change nptl/semaphore.h to
6366 sysdeps/pthread/semaphore.h.
6368 2014-12-11 Roland McGrath <roland@hack.frob.com>
6370 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6371 generated error format strings.
6373 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6374 -Wformat-extra-args warnings for scanf formats.
6375 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6376 test of zero-length format (duh).
6377 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6378 corner-case scanf format test.
6379 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6380 generated fprintf format string.
6381 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6382 corner-case sprintf format tests.
6383 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6384 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6385 -Wformat-extra-args warnings throughout.
6386 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6387 (CFLAGS-scanf4.c): Likewise.
6388 (CFLAGS-scanf7.c): Likewise.
6389 (CFLAGS-tst-sprintf.c): Likewise.
6390 (CFLAGS-tst-printf.c): Likewise.
6391 (CFLAGS-tst-printfsz.c): Likewise.
6393 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6395 * include/cpio.h: New file.
6396 * include/fmtmsg.h: Likewise.
6398 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6399 corresponding format argument to size_t.
6400 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6402 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6403 corresponding format argument to size_t.
6404 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6406 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6407 corresponding format argument to size_t.
6408 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6409 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6410 (CFLAGS-tst-mbswcs2.c): Likewise.
6411 (CFLAGS-tst-mbswcs3.c): Likewise.
6412 (CFLAGS-tst-mbswcs4.c): Likewise.
6413 (CFLAGS-tst-mbswcs5.c): Likewise.
6414 (CFLAGS-tst-trans.c): Likewise
6416 2014-12-11 Roland McGrath <roland@hack.frob.com>
6418 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6419 rather than assuming they won't contain any '%'s.
6421 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6423 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6424 inhibit_loop_to_libcall to avoid recursive calls.
6425 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6426 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6428 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6430 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6433 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6435 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6436 integer value instead of boolean.
6438 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6440 * malloc/malloc.c: Fix powerof2 check.
6442 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6444 * locale/programs/locfile.h (maybe_swap_uint32):
6445 Remove inline and add unused attribute.
6447 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6449 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6450 Truncating assembler expression to a .long expression.
6452 2014-12-11 Andreas Schwab <schwab@suse.de>
6454 * elf/rtld.c (struct map_args): Constify str member.
6455 (do_preload): Constify fname argument.
6457 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6459 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6460 constants definition.
6462 2014-12-11 Andreas Schwab <schwab@suse.de>
6465 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6466 FORCE_ELISION instead of DO_ELISION.
6467 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6469 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6472 * iconvdata/gconv-modules: Remove duplicate entry.
6474 2014-12-11 Will Newton <will.newton@linaro.org>
6476 Merge gettext 0.19.3 into intl/.
6478 This involves a number of cosmetic changes to comments
6479 and ANSI function definitions and prototypes throughout
6480 all the files. The gettext copyright header is used but
6481 with the date ranges taken from the glibc copy.
6483 * NEWS: Add gettext merge to 2.21.
6484 * intl/bindtextdom.c: Switch to gettext copyright.
6485 Use ANSI definitions and prototypes.
6486 Use gl_* locking primitives rather than __libc_* ones.
6487 Use __builtin_expect rather than __glibc_likely/unlikely.
6488 * intl/dcgettext.c: Switch to gettext copyright.
6489 Use ANSI definitions and prototypes.
6490 * intl/dcigettext.c: Switch to gettext copyright.
6491 Use ANSI definitions and prototypes.
6492 (INTDIV0_RAISES_SIGFPE): New define.
6493 Use gl_* locking primitives rather than __libc_* ones.
6494 Include eval-plural.h instead of plural-eval.c.
6495 Use __builtin_expect rather than __glibc_likely/unlikely.
6496 * intl/dcngettext.c: Switch to gettext copyright.
6497 Use ANSI definitions and prototypes.
6498 * intl/dgettext.c: Likewise.
6499 * intl/dngettext.c: Likewise.
6500 * intl/plural-eval.c: Renamed to...
6501 * intl/eval-plural.h: ...this.
6502 * intl/explodename.c: Switch to gettext copyright.
6503 Use ANSI definitions and prototypes.
6504 (_nl_explode_name): Use strchr instead of __rawmemchr.
6505 * intl/finddomain.c: Switch to gettext copyright.
6506 Use ANSI definitions and prototypes.
6507 Use gl_* locking primitives rather than __libc_* ones.
6508 (_nl_find_domain): Use malloc rather than alloca for
6509 allocation of temporary locale name.
6510 * intl/gettext.c: Switch to gettext copyright.
6511 Use ANSI definitions and prototypes.
6512 * intl/gettextP.h: Switch to gettext copyright.
6513 Use ANSI definitions and prototypes.
6514 Use gl_* locking primitives rather than __libc_* ones.
6515 * intl/gmo.h: Switch to gettext copyright.
6516 (struct sysdep_string): Move struct segment_pair outside of
6518 * intl/hash-string.c: Use ANSI definitions and prototypes.
6519 * intl/hash-string.h: Switch to gettext copyright.
6520 Use ANSI definitions and prototypes.
6521 * intl/l10nflist.c: Switch to gettext copyright.
6522 Use ANSI definitions and prototypes.
6523 (_nl_normalize_codeset): Avoid integer overflow.
6524 * intl/loadinfo.h: Switch to gettext copyright.
6525 Use ANSI definitions and prototypes.
6526 (LIBINTL_DLL_EXPORTED): New define.
6527 (PATH_SEPARATOR): New define.
6528 * intl/loadmsgcat.c: Switch to gettext copyright.
6529 * intl/localealias.c: Switch to gettext copyright.
6530 Use ANSI definitions and prototypes.
6531 (_nl_expand_alias): Use PATH_SEPARATOR.
6532 * intl/ngettext.c: Switch to gettext copyright.
6533 Use ANSI definitions and prototypes.
6534 * intl/plural-exp.c: Likewise.
6535 * intl/plural-exp.h: Switch to gettext copyright.
6536 Use ANSI definitions and prototypes.
6537 (struct expression): Move definition of enum operator outside
6538 of struct definition.
6539 * intl/plural.c: Regenerate.
6540 * intl/plural.y: Switch to gettext copyright.
6541 Use ANSI definitions and prototypes.
6543 * intl/textdomain.c: Switch to gettext copyright.
6544 Use ANSI definitions and prototypes.
6545 Use gl_* locking primitives rather than __libc_* ones.
6547 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6549 * debug/warning-nop.c: Add used atrribute.
6551 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6553 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6555 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6556 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6557 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6559 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6560 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6563 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6564 Undefine after defining function. Define as weak alias of
6565 __wcschr. Use libc_hidden_weak.
6566 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6567 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6568 (libc_hidden_def): Also define __GI___wcschr alias.
6569 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6570 __wcschr and define as weak alias of __wcschr.
6571 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6573 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6574 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6575 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6576 libc_hidden_weak. Do not use libc_hidden_def.
6577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6578 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6579 __GI___wcschr alias.
6580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6581 [IS_IN (libc)] (wcschr): Define as macro expanding to
6583 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6584 [IS_IN (libc)] (__wcschr_power6): Likewise.
6585 [IS_IN (libc)] (__wcschr_power7): Likewise.
6586 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6588 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6590 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6591 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6592 __wcschr and define as weak alias of __wcschr. Use
6593 libc_hidden_builtin_def.
6594 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6595 as weak alias of __wcschr. Use libc_hidden_weak.
6596 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6598 * time/era.c (_nl_init_era_entries): Likewise.
6599 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6601 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6602 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6604 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6606 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6607 format for long int variable.
6609 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6612 * manual/search.texi: (Array Sort Function): Remove claim how to make
6615 2014-12-10 Andreas Schwab <schwab@suse.de>
6618 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6619 user-controlled locks.
6621 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6623 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6626 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6628 * configure.ac (--disable-werror): New configure option.
6629 (enable_werror): New AC_SUBST.
6630 * configure: Regenerated.
6631 * config.make.in (enable-werror): New variable.
6632 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6634 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6635 * manual/install.texi (Configuring and compiling): Document
6637 * INSTALL: Regenerated.
6638 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6639 (CFLAGS-tst-chk2.c): Likewise.
6640 (CFLAGS-tst-chk3.c): Likewise.
6641 (CFLAGS-tst-chk4.cc): Likewise.
6642 (CFLAGS-tst-chk5.cc): Likewise.
6643 (CFLAGS-tst-chk6.cc): Likewise.
6644 (CFLAGS-tst-lfschk1.c): Likewise.
6645 (CFLAGS-tst-lfschk2.c): Likewise.
6646 (CFLAGS-tst-lfschk3.c): Likewise.
6647 (CFLAGS-tst-lfschk4.cc): Likewise.
6648 (CFLAGS-tst-lfschk5.cc): Likewise.
6649 (CFLAGS-tst-lfschk6.cc): Likewise.
6651 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6652 (main): Disable -Wdeprecated-declarations around calls to
6653 register_printf_function.
6655 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6656 (do_test): Disable -Wdiv-by-zero around some calls to
6657 fwrite_unlocked and fread_unlocked.
6659 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6660 (DIAG_POP_NEEDS_COMMENT): Likewise.
6661 (_DIAG_STR1): Likewise.
6662 (_DIAG_STR): Likewise.
6663 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6664 * stdio-common/bug21.c: Include <libc-internal.h>.
6665 (do_test): Disable -Wformat around call to sscanf.
6666 * stdio-common/scanf14.c: Include <libc-internal.h>.
6667 (main): Disable -Wformat around some calls to scanf functions.
6669 2014-12-09 Torvald Riegel <triegel@redhat.com>
6671 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6673 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6675 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6676 stack variable alignment.
6678 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6681 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6682 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6683 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6684 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6685 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6686 __getrlimit instead of getrlimit.
6687 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6688 __gettimeofday instead of gettimeofday.
6689 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6691 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6693 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6694 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6696 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6697 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6699 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6701 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6702 for wide-character tests.
6704 2014-12-04 Roland McGrath <roland@hack.frob.com>
6706 * io/openat64.c: #include <libc-internal.h>
6707 (__openat64): Prototypify. Use ignore_value on MODE.
6708 * io/openat.c: Likewise.
6709 * misc/reboot.c: #include <libc-internal.h>
6710 (reboot): Prototypify. Use ignore_value on HOWTO.
6711 * misc/ptrace.c: #include <libc-internal.h>
6712 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6714 2014-12-04 Joseph Myers <joseph@codesourcery.com>
6716 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6717 XPG4, UNIX98 and XOPEN2K.
6718 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6720 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6722 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6724 * libio/fileops.c: Use ISO C style for function definitions.
6725 * libio/iofopen.c: Likewise.
6726 * libio/wfileops.c: Likewise.
6729 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6731 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6732 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6733 (fgets_func): Function pointer to fgets and fgetws.
6734 (do_ftell_test): Add test to verify ftell value after read
6736 (do_test): Set fgets_func.
6738 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6739 O_TRUNC flag for w and w+ modes.
6740 (do_rewind_test): Likewise.
6741 (do_ftell_test): Likewise.
6742 (do_write_test): Likewise.
6745 * libio/fileops.c (do_ftell): Seek only when there are
6747 * libio/wfileops.c (do_ftell_wide): Likewise.
6748 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6750 (do_one_test): Call it.
6752 2014-12-03 Joseph Myers <joseph@codesourcery.com>
6754 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6755 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6756 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6758 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6759 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6760 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6762 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6764 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6766 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6769 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6770 as weak alias of __getifaddrs. Use libc_hidden_weak.
6771 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6772 __freeifaddrs. Use libc_hidden_weak.
6773 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6774 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6775 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6776 __freeifaddrs. Use libc_hidden_weak.
6777 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6778 __getifaddrs and define as weak alias of __getifaddrs. Use
6780 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6781 __freeifaddrs. Use libc_hidden_weak.
6782 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6784 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6785 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6787 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6790 * sysdeps/mips/start.S (__start): Use indirect jump to call
6793 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6795 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6797 * nptl/tst-mutex1.c: Include <stdbool.h>.
6798 [!ATTR] (ATTR_NULL): New macro.
6799 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6800 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6801 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6803 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6807 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6808 Change conditional to [__USE_MISC].
6811 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6813 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6815 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6817 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6819 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6820 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6821 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6822 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6823 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6824 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6825 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6826 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6827 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6829 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6831 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6834 Remove strpbrk objects.
6835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6836 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6837 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6838 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6839 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6840 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6842 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6843 Remove strcspn objects.
6844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6845 (__libc_ifunc_impl_list): Remove strcspn implementation.
6846 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6847 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6848 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6849 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6851 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6852 Remove strspn objetcs.
6853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6854 (__libc_ifunc_impl_list): Remove strspn implementation.
6855 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6856 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6857 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6858 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6860 2014-12-01 James Lemke <jwlemke@codesourcery.com>
6864 (mem2mem_check): Add a terminator to the chain of checking blocks.
6865 (malloc_check_get_size): Use it here.
6866 (mem2chunk_check): Ditto.
6868 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6870 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6871 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6873 2014-11-29 Carlos O'Donell <carlos@redhat.com>
6875 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6877 * nptl/nptl-init.c: Include libc-internal.h.
6878 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6880 * elf/ldconfig.c (search_dir): Expand comment.
6882 2014-11-29 Joseph Myers <joseph@codesourcery.com>
6884 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6886 (linknamespace-symlist-stdlibs-tests): Likewise.
6887 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6888 instead of $(objpfx)symlist-stdlibs.
6889 (linknamespace-libs-isoc): New variable.
6890 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6891 (linknamespace-libs-ISO): New variable.
6892 (linknamespace-libs-ISO99): Likewise.
6893 (linknamespace-libs-ISO11): Likewise.
6894 (linknamespace-libs-XPG3): Likewise.
6895 (linknamespace-libs-XPG4): Likewise.
6896 (linknamespace-libs-POSIX): Likewise.
6897 (linknamespace-libs-UNIX98): Likewise.
6898 (linknamespace-libs-XOPEN2K): Likewise.
6899 (linknamespace-libs-POSIX2008): Likewise.
6900 (linknamespace-libs-XOPEN2K8): Likewise.
6901 ($(objpfx)symlist-stdlibs): Replace by
6902 $(linknamespace-symlist-stdlibs-tests). Use
6903 $(linknamespace-libs-$*) as set of libraries.
6904 ($(linknamespace-header-tests)): Update dependencies. Use
6905 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6906 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6907 * conform/linknamespace.pl: Remove comment about considering
6908 definitions of symbols from irrelevant libraries.
6910 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6913 * elf/dl-tls.c: Include <atomic.h>.
6914 (oom): Remove #ifdef SHARED/#endif.
6915 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6916 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6917 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6919 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6920 * nptl/Makefile (tests): Add tst-stack4.
6921 (modules-names): Add tst-stack4mod.
6922 ($(objpfx)tst-stack4): New.
6923 (tst-stack4mod.sos): Likewise.
6924 ($(objpfx)tst-stack4.out): Likewise.
6925 ($(tst-stack4mod.sos)): Likewise.
6927 * nptl/tst-stack4.c: New file.
6928 * nptl/tst-stack4mod.c: Likewise.
6930 2014-11-27 J. Brown <jb999@gmx.de>
6932 * sysdeps/x86/bits/string.h: Add recent CPUs.
6934 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6936 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6939 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6942 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6945 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6947 * nscd/connections.c: Include libc-internal.h because of macro
6950 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6952 * string/bits/string3.h (__warn_memset_zero_len): Don't
6953 declare for gcc newer than 5.0.
6954 (memset): Don't test for zero-length __LEN for gcc newer than
6957 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6959 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6960 size_t for %zu format.
6962 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6963 difference, not %ju.
6965 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6967 * include/libc-internal.h (ignore_value): New macro.
6968 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6971 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6974 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6975 pthread_cleanup_push to void *.
6977 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6982 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6983 instead of 1L << 52.
6985 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6986 * libio/bug-rewind2.c (do_test): Likewise.
6988 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6989 * debug/test-strcpy_chk-ifunc.c: Likewise.
6990 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6991 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6992 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6993 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6994 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6995 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6996 * Rules [$(multi-arch) = no] (tests): Do not filter out
6998 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6999 * debug/Makefile (tests-ifunc): Remove variable.
7000 (tests): Do not add $(tests-ifunc).
7001 * wcsmbs/Makefile (tests-ifunc): Remove variable.
7002 (tests): Do not add $(tests-ifunc).
7003 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7004 [TEST_IFUNC]: Remove conditionals.
7005 * string/test-string.h (TEST_IFUNC): Remove macro.
7006 [TEST_IFUNC]: Remove conditionals.
7008 * string/test-strchr.c [!WIDE] (L): New macro.
7009 [WIDE] (L): Likewise.
7010 (check1): Use CHAR instead of char. Use L on string and character
7013 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
7015 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7017 * sysdeps/powerpc/bits/atomic.h
7018 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7019 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7020 (atomic_exchange_and_add_acq): Likewise.
7021 (atomic_exchange_and_add_rel): Likewise.
7022 * sysdeps/powerpc/powerpc32/bits/atomic.h
7023 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7024 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7025 * sysdeps/powerpc/powerpc64/bits/atomic.h
7026 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7027 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7029 2014-11-26 Torvald Riegel <triegel@redhat.com>
7031 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7032 Change synchronization of __sched_fifo_min_prio and
7033 __sched_fifo_max_prio.
7034 * nptl/pthread_mutexattr_getprioceiling.c
7035 (pthread_mutexattr_getprioceiling): Likewise.
7036 * nptl/pthread_mutexattr_setprioceiling.c
7037 (pthread_mutexattr_setprioceiling): Likewise.
7038 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7039 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7042 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7044 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7047 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7049 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7050 third argument const.
7052 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
7054 fnmatch: work around GCC compiler warning bug with uninit var
7055 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7056 This works around a bug with x86-64 GCC 4.9.2 and earlier
7057 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7058 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7059 used uninitialized in this function [-Wmaybe-uninitialized]".
7061 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7063 * posix/bug-regex31.c (main): Return RES not 0.
7065 2014-11-25 Anton Blanchard <anton@samba.org>
7067 * sysdeps/powerpc/bits/atomic.h
7068 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7070 2014-11-24 Sterling Augustine <saugustine@google.com>
7072 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7074 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7077 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7079 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7082 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7083 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7085 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7086 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7088 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7090 * string/strncpy.c (strncpy): Improve performance by using memset.
7092 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7094 * string/strcpy.c (strcpy):
7095 Improve performance by using strlen and memcpy.
7097 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7099 * string/strcoll_l.c (get_next_seq): __always_inline.
7100 * string/strcoll_l.c (do_compare): __always_inline.
7102 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7104 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7106 * include/mqueue.h: Likewise.
7107 * include/stdlib.h: Likewise.
7109 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7110 (get_null_defines): Adjust.
7111 * sunrpc/Makefile: Adjust comment.
7112 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7113 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7114 (CFLAGS-interp.c): Likewise.
7115 (CFLAGS-ldconfig.c): Likewise.
7116 (CPPFLAGS-.os): Likewise.
7117 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7118 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7119 * extra-modules.mk (extra-modules.mk): Likewise.
7120 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7121 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7122 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7123 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7124 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7125 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7126 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7127 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7128 * iconvdata/Makefile (CPPFLAGS): Likewise.
7129 (cpp-srcs-left): Add libof for all iconvdata routines.
7130 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7131 * include/assert.h: Likewise.
7132 * include/ctype.h: Likewise.
7133 * include/errno.h: Likewise.
7134 * include/libc-symbols.h: Likewise.
7135 * include/math.h: Likewise.
7136 * include/netdb.h: Likewise.
7137 * include/resolv.h: Likewise.
7138 * include/stdio.h: Likewise.
7139 * include/stdlib.h: Likewise.
7140 * include/string.h: Likewise.
7141 * include/sys/stat.h: Likewise.
7142 * include/wctype.h: Likewise.
7143 * intl/l10nflist.c: Likewise.
7144 * libidn/idn-stub.c: Likewise.
7145 * libio/libioP.h: Likewise.
7146 * nptl/libc_multiple_threads.c: Likewise.
7147 * nptl/pthreadP.h: Likewise.
7148 * posix/regex_internal.h: Likewise.
7149 * resolv/res_hconf.c: Likewise.
7150 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7151 * sysdeps/arm/memmove.S: Likewise.
7152 * sysdeps/arm/sysdep.h: Likewise.
7153 * sysdeps/generic/_itoa.h: Likewise.
7154 * sysdeps/generic/symbol-hacks.h: Likewise.
7155 * sysdeps/gnu/errlist.awk: Likewise.
7156 * sysdeps/gnu/errlist.c: Likewise.
7157 * sysdeps/i386/i586/memcpy.S: Likewise.
7158 * sysdeps/i386/i586/memset.S: Likewise.
7159 * sysdeps/i386/i686/memcpy.S: Likewise.
7160 * sysdeps/i386/i686/memmove.S: Likewise.
7161 * sysdeps/i386/i686/mempcpy.S: Likewise.
7162 * sysdeps/i386/i686/memset.S: Likewise.
7163 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7164 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7165 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7166 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7167 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7168 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7169 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7170 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7171 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7173 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7174 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7176 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7177 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7178 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7179 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7180 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7181 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7182 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7183 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7184 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7185 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7186 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7187 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7188 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7189 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7190 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7191 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7192 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7193 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7194 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7197 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7200 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7201 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7202 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7203 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7204 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7205 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7206 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7207 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7208 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7209 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7210 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7211 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7212 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7213 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7214 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7215 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7216 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7217 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7218 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7219 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7220 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7221 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7222 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7223 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7224 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7225 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7226 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7227 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7228 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7229 * sysdeps/posix/closedir.c: Likewise.
7230 * sysdeps/posix/opendir.c: Likewise.
7231 * sysdeps/posix/readdir.c: Likewise.
7232 * sysdeps/posix/rewinddir.c: Likewise.
7233 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7234 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7235 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7236 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7237 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7238 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7239 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7241 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7242 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7243 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7248 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7250 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7251 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7252 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7253 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7254 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7255 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7256 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7257 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7258 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7259 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7261 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7269 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7270 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7271 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7272 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7273 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7274 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7275 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7277 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7278 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7279 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7280 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7281 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7282 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7283 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7284 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7285 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7286 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7287 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7288 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7289 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7290 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7291 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7292 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7293 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7294 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7295 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7296 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7297 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7298 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7299 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7300 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7301 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7302 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7303 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7304 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7305 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7306 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7307 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7308 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7309 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7310 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7311 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7312 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7313 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7314 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7315 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7316 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7317 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7318 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7319 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7320 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7321 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7322 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7323 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7324 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7325 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7326 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7328 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7329 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7331 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7332 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7334 * sysdeps/unix/alpha/sysdep.S: Likewise.
7335 * sysdeps/unix/alpha/sysdep.h: Likewise.
7336 * sysdeps/unix/make-syscalls.sh: Likewise.
7337 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7338 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7339 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7340 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7341 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7342 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7343 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7344 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7345 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7346 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7347 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7348 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7349 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7350 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7351 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7352 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7353 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7354 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7355 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7356 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7357 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7358 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7359 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7360 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7361 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7362 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7363 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7366 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7367 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7368 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7369 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7371 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7375 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7376 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7377 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7378 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7380 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7381 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7384 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7387 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7388 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7389 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7390 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7391 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7392 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7393 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7395 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7396 * sysdeps/x86_64/memcpy.S: Likewise.
7397 * sysdeps/x86_64/memmove.c: Likewise.
7398 * sysdeps/x86_64/memset.S: Likewise.
7399 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7400 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7401 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7402 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7403 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7405 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7406 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7407 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7408 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7409 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7410 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7411 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7412 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7413 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7414 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7415 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7416 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7417 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7418 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7419 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7420 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7423 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7424 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7425 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7426 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7427 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7428 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7429 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7430 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7431 * sysdeps/x86_64/strcmp.S: Likewise.
7433 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7435 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7436 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7437 * elf/rtld-Rules: Likewise.
7438 * elf/setup-vdso.h: Likewise.
7439 * include/assert.h: Likewise.
7440 * include/bits/stdlib-float.h: Likewise.
7441 * include/errno.h: Likewise.
7442 * include/sys/stat.h: Likewise.
7443 * include/unistd.h: Likewise.
7444 * sysdeps/aarch64/setjmp.S: Likewise.
7445 * sysdeps/alpha/setjmp.S: Likewise.
7446 * sysdeps/arm/__longjmp.S: Likewise.
7447 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7448 * sysdeps/arm/setjmp.S: Likewise.
7449 * sysdeps/arm/sysdep.h: Likewise.
7450 * sysdeps/generic/_itoa.h: Likewise.
7451 * sysdeps/generic/dl-sysdep.h: Likewise.
7452 * sysdeps/generic/ldsodefs.h: Likewise.
7453 * sysdeps/i386/dl-tls.h: Likewise.
7454 * sysdeps/i386/setjmp.S: Likewise.
7455 * sysdeps/m68k/setjmp.c: Likewise.
7456 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7457 * sysdeps/mach/hurd/opendir.c: Likewise.
7458 * sysdeps/posix/getcwd.c: Likewise.
7459 * sysdeps/posix/opendir.c: Likewise.
7460 * sysdeps/posix/profil.c: Likewise.
7461 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7462 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7463 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7464 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7465 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7466 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7467 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7468 * sysdeps/s390/dl-tls.h: Likewise.
7469 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7470 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7471 * sysdeps/sh/sh3/setjmp.S: Likewise.
7472 * sysdeps/sh/sh4/setjmp.S: Likewise.
7473 * sysdeps/unix/alpha/sysdep.h: Likewise.
7474 * sysdeps/unix/arm/sysdep.S: Likewise.
7475 * sysdeps/unix/i386/sysdep.S: Likewise.
7476 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7477 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7478 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7479 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7481 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7482 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7483 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7484 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7485 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7486 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7487 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7488 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7491 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7494 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7495 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7496 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7499 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7500 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7501 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7503 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7504 * sysdeps/x86_64/setjmp.S: Likewise.
7506 * include/math.h: Use IS_IN instead of IS_IN_libm.
7507 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7517 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7518 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7519 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7527 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7528 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7529 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7530 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7531 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7532 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7533 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7534 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7535 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7536 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7537 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7538 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7539 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7550 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7552 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7553 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7554 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7555 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7561 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7562 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7563 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7564 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7565 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7566 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7567 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7568 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7569 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7570 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7571 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7572 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7573 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7574 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7576 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7578 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7579 * nptl/pthreadP.h: Likewise.
7580 * nptl_db/structs.def: Likewise.
7581 * sysdeps/arm/sysdep.h: Likewise.
7582 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7583 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7584 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7585 * sysdeps/unix/alpha/sysdep.h: Likewise.
7586 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7587 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7588 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7589 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7590 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7591 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7592 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7593 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7594 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7595 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7596 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7597 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7598 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7599 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7603 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7604 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7607 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7608 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7609 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7610 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7611 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7613 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7614 * nptl/pthreadP.h: Likewise.
7615 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7616 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7617 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7618 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7619 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7620 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7621 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7622 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7623 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7624 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7625 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7626 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7633 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7634 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7636 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7637 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7638 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7640 * dlfcn/dladdr.c: Use IS_IN.
7641 * dlfcn/dladdr1.c: Likewise.
7642 * dlfcn/dlclose.c: Likewise.
7643 * dlfcn/dlerror.c: Likewise.
7644 * dlfcn/dlinfo.c: Likewise.
7645 * dlfcn/dlmopen.c: Likewise.
7646 * dlfcn/dlopen.c: Likewise.
7647 * dlfcn/dlsym.c: Likewise.
7648 * dlfcn/dlvsym.c: Likewise.
7650 * include/ifaddrs.h: Use IS_IN.
7651 * inet/check_pf.c: Likewise.
7652 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7653 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7655 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7657 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7658 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7660 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7661 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7664 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7666 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7667 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7668 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7669 * include/libc-symbols.h (IS_IN_LIB): New macro.
7670 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7671 * include/netdb.h: Likewise.
7672 * include/stap-probe.h: Remove all uses of IN_LIB.
7674 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7675 instead of IN_MODULE.
7676 * include/libc-symbols.h (IN_MODULE): Define using
7678 (PASTE_NAME, PASTE_NAME1): New macros.
7679 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7681 (STAP_PROBE_ASM): Likewise.
7683 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7685 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7686 __mach_init in dlopened libc.
7688 2014-11-22 Mike Frysinger <vapier@gentoo.org>
7690 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7691 * sysdeps/arm/preconfigure: Regenerate.
7693 2014-11-21 Roland McGrath <roland@hack.frob.com>
7695 * nptl/pthread_create.c (__pthread_create_2_1): Set
7696 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7697 when copying values from IATTR into PD.
7699 2014-11-21 Will Newton <will.newton@linaro.org>
7700 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7702 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7703 Refactor inline-asm. Also add comment.
7705 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7706 ElfW macro instead of hardcoded Elf64 types.
7707 (la_aarch64_gnu_pltenter): Likewise.
7708 * sysdeps/aarch64/dl-machine.h
7709 (elf_machine_runtime_setup): Use ElfW(Addr).
7711 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7712 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7713 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7714 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7715 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7716 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7717 (R_AARCH64_TLS_DTPMOD): This.
7718 (R_AARCH64_TLS_DTPREL64): Rename to ...
7719 (R_AARCH64_TLS_DTPREL): This.
7720 (R_AARCH64_TLS_TPREL64): Rename to ...
7721 (R_AARCH64_TLS_TPREL): This.
7722 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7723 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7724 R_AARCH64_TLS_TPREL64.
7725 (elf_machine_rela): Likewise.
7727 2014-11-21 Torvald Riegel <triegel@redhat.com>
7729 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7730 by setting it to 0. 64b atomics are not supported currently.
7732 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7735 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7736 search domain names.
7738 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7742 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7744 * posix/tst-getaddrinfo5.c: New.
7745 * posix/Makefile (tests): Add it.
7747 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7751 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7752 after parsing line but before break_if_match.
7753 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7754 if there is a protocol mismatch.
7756 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7758 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7759 because the potential race is on the user-supplied stream.
7761 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7763 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7764 string literal if not passed a buffer.
7765 * manual/job.texi (ctermid): Update reasoning, note deviation
7766 from posix, suggest mtasurace when not passed a buffer, for
7767 future non-preliminary safety notes.
7769 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7771 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7772 of not passing it a buffer.
7773 Reported by Peng Haitao.
7775 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7777 * manual/Makefile ($(objpfx)stamp-summary): Require
7778 check-safety.sh to pass.
7779 * manual/check-safety.sh: Wish for verification that every
7780 @deftypefn and @deftypefun is followed by a @safety remark.
7782 2014-11-20 Roland McGrath <roland@hack.frob.com>
7784 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7786 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7787 PTHREAD_CANCEL_ASYNCHRONOUS.
7788 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7791 * nptl/default-sched.h: New file.
7792 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7793 * nptl/pthread_create.c: Include it.
7794 (__pthread_create_2_1): Use collect_default_sched instead of making
7795 Linux syscalls here directly.
7797 2014-11-20 Torvald Riegel <triegel@redhat.com>
7799 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7800 __pthread_once): Use C11 atomics.
7802 2014-11-20 Torvald Riegel <triegel@redhat.com>
7804 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7806 2014-11-20 Torvald Riegel <triegel@redhat.com>
7808 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7809 atomic_thread_fence_acquire, atomic_thread_fence_release,
7810 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7811 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7812 atomic_compare_exchange_weak_relaxed,
7813 atomic_compare_exchange_weak_acquire,
7814 atomic_compare_exchange_weak_release,
7815 atomic_exchange_acquire, atomic_exchange_release,
7816 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7817 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7818 atomic_fetch_and_acquire,
7819 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7821 2014-11-20 Torvald Riegel <triegel@redhat.com>
7823 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7824 USE_ATOMIC_COMPILER_BUILTINS): Define.
7825 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7826 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7827 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7828 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7829 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7830 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7831 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7832 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7833 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7834 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7835 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7836 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7837 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7838 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7839 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7840 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7841 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7842 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7843 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7844 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7845 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7846 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7847 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7848 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7849 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7850 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7851 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7852 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7853 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7854 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7855 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7856 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7857 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7858 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7859 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7860 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7861 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7862 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7863 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7864 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7866 2014-11-19 Roland McGrath <roland@hack.frob.com>
7868 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7869 the sched_priority value here. It was already checked when the user
7870 called pthread_attr_setschedparam.
7872 * nptl/tst-bad-schedattr.c: New file.
7873 * nptl/Makefile (tests): Add it.
7875 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7876 Florian Weimer <fweimer@redhat.com>
7877 Joseph Myers <joseph@codesourcery.com>
7878 Adam Conrad <adconrad@0c3.net>
7879 Andreas Schwab <schwab@suse.de>
7880 Brooks <bmoses@google.com>
7883 * wordexp-test.c (__dso_handle): Add prototype.
7884 (__register_atfork): Likewise.
7885 (__app_register_atfork): New function.
7886 (registered_forks): New global.
7887 (register_fork): New function.
7888 (test_case): Add 3 new tests for WRDE_CMDSUB.
7889 (main): Call __app_register_atfork.
7890 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7891 fork count is non-zero fail the test.
7892 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7894 (parse_dollars): Remove check for WRDE_NOCMD.
7895 (parse_dquote): Likewise.
7897 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7899 * Makeconfig (built-modules): List non-library modules to be
7901 (module-cppflags): Include libc-modules.h for
7902 everything except shlib-versions.v.i.
7904 (before-compile): Add libc-modules.h.
7905 ($(common-objpfx)libc-modules.h,
7906 $(common-objpfx)libc-modules.stmp): New targets.
7907 (common-generated): Add libc-modules.h and libc-modules.stmp.
7908 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7909 * include/libc-symbols.h: Don't include libc-modules.h.
7910 * include/libc-modules.h: Remove file.
7911 * scripts/gen-libc-modules.awk: New script to generate
7913 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7914 Depend on libc-modules.stmp.
7916 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7918 * Makeconfig (in-module): Get value of libof set for the
7920 (CPPFLAGS): Use $(in-module).
7921 * Makerules: Don't suffix routine names for nonlib.
7922 * include/libc-modules.h: New file.
7923 * include/libc-symbols.h: Include libc-modules.h
7924 (IS_IN): New macro to replace IS_IN_* macros.
7925 * elf/Makefile: Set libof-* for each routine.
7926 * elf/rtld-Rules: Likewise.
7927 * extra-modules.mk: Likewise.
7928 * iconv/Makefile: Likewise.
7929 * iconvdata/Makefile: Likewise.
7930 * locale/Makefile: Likewise.
7931 * malloc/Makefile: Likewise.
7932 * nss/Makefile: Likewise.
7933 * sysdeps/gnu/Makefile: Likewise.
7934 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7935 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7936 * sysdeps/s390/s390-64/Makefile: Likewise.
7937 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7938 CPPFLAGS for nscd instead of nonlib.
7940 2014-11-18 Roland McGrath <roland@hack.frob.com>
7942 * nptl/createthread.c: New file.
7944 * nptl/createthread.c: Moved ...
7945 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7947 * nptl/createthread.c: Add proper top-line comment.
7948 (do_clone): Folded into ...
7949 (create_thread): ... here. Take new arguments STOPPED_START and
7950 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7951 increment __nptl_threads, do event-reporting logic, do
7952 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7953 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7954 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7955 just send SIGCANCEL.
7956 * nptl/pthread_create.c: Forward-declare create_thread before
7957 including createthread.c.
7958 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7959 declaration, and new macro START_THREAD_SELF to replace argument.
7960 Remove return statement.
7961 (report_thread_creation): New function.
7962 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7963 synchronization logic, and __nptl_nthreads increment here, around
7964 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7965 PD->parent_cancelhandling here, before create_thread. When
7966 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7967 __deallocate_stack, and ENOMEM translation here.
7969 2014-11-18 Joseph Myers <joseph@codesourcery.com>
7972 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7973 (mptwo): Rename to __mptwo.
7974 (__inv): Use __mptwo instead of mptwo.
7975 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7976 (mptwo): Rename to __mptwo.
7977 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7978 of mpone and __mptwo instead of mptwo.
7979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7982 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7983 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7984 of mpone and __mptwo instead of mptwo.
7985 (__mpranred): Use __mpone instead of mpone.
7986 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7988 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7989 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7990 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7991 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7992 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7993 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7994 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7995 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7996 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7997 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7998 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7999 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8000 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8001 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8002 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8003 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8004 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8005 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8006 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8008 2014-11-18 Tom de Vries <tom@codesoucery.com>
8010 * manual/signal.texi (Primitives Interrupted by Signals): In section,
8011 replace BSD Handler xref with BSD Signal Handling.
8013 2014-11-17 Richard Henderson <rth@redhat.com>
8015 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8016 (_FP_PACK_RAW_2): Remove.
8017 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8018 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8019 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8020 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8021 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8022 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8023 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8024 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8025 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8026 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8027 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8028 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8029 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8030 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8031 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8032 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8034 2014-11-14 Roland McGrath <roland@hack.frob.com>
8036 * signal/signal.h [__USE_MISC]
8037 (struct sigvec): Remove type.
8038 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8039 (sigvec): Remove declaration.
8040 * sysdeps/posix/sigvec.c: Moved ...
8041 * signal/sigvec.c: ... here, replacing old file.
8042 (struct sigvec): New type, copied from old signal.h definition.
8043 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8044 (__sigvec): Convert definition to prototype.
8045 (sigvec): Replace weak_alias with compat_symbol.
8046 * signal/Versions (libc: GLIBC_2.21): New version set.
8047 * include/signal.h: Remove __sigvec declaration.
8048 * sysdeps/unix/bsd/sigvec.c: Remove file.
8049 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8050 * manual/signal.texi (BSD Handler): Remove subsection.
8051 Move siginterrupt up to ...
8052 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
8053 (Blocking in BSD): Fold subsection into its parent.
8054 * NEWS: Mention sigvec removal.
8056 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8058 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8059 (DLA_FMS): Make definition conditional only on [__FMA4__].
8060 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8063 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8064 Make definition conditional only on [PROF].
8065 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8067 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8068 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8070 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8072 * include/signal.h (__sigpause): Move declaration above call to
8074 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8076 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8077 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8079 2014-11-14 David S. Miller <davem@davemloft.net>
8081 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8082 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8084 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8086 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8087 * configure: Regenerated.
8088 * manual/install.texi (Tools for Compilation): Document a
8089 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8090 compiler verified to work.
8091 * INSTALL: Regenerated.
8093 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8094 redeclare with asm name.
8095 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8096 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8097 including <string.h>.
8098 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8099 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8100 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8101 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8102 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8103 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8104 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8106 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8108 * stdlib/strtol.c (__strtol): Use prototype definition.
8111 * stdlib/strtol.c (SYM__): New macro.
8113 (__strtol): Likewise.
8114 (strtol): Rename to __strtol and define as weak alias of
8115 __strtol. Use libc_hidden_weak.
8117 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8119 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8120 Use numbered labels in inline assembly.
8122 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8124 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8125 Add setjmp LIBC_PROBE.
8126 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8128 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8129 Add longjmp, longjmp_target LIBC_PROBE.
8130 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8133 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8135 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8136 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8137 to get rid of unused variable warning.
8139 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8141 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8142 Check for unwind_backtrace == NULL only in SHARED case.
8143 (__backchain_backtrace): Compile only in SHARED case.
8144 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8146 (__backchain_backtrace): Declare as static.
8148 2014-11-12 Roland McGrath <roland@hack.frob.com>
8150 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8151 (__libc_multiple_threads_ptr): Variable moved ...
8152 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8154 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8156 * conform/GlibcConform.pm: New file.
8157 * conform/conformtest.pl: Use GlibcConform module.
8158 * conform/linknamespace.pl: New file.
8159 * conform/list-header-symbols.pl: Likewise.
8160 * conform/Makefile (linknamespace-symlists-base): New variable.
8161 (linknamespace-symlists-tests): Likewise.
8162 (linknamespace-header-base): Likewise.
8163 (linknamespace-header-tests): Likewise.
8164 (tests-special): Add new tests.
8165 ($(linknamespace-symlists-tests)): New rule.
8166 (linknamespace-libs): New variable.
8167 ($(objpfx)symlist-stdlibs): New rule.
8168 ($(linknamespace-header-tests)): Likewise.
8169 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8170 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8171 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8172 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8173 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8174 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8175 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8176 (test-xfail-ISO/math.h/linknamespace): Likewise.
8177 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8178 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8179 (test-xfail-ISO/time.h/linknamespace): Likewise.
8180 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8181 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8182 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8183 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8184 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8185 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8186 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8187 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8188 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8189 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8190 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8191 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8192 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8193 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8194 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8195 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8196 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8197 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8198 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8199 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8200 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8201 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8202 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8203 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8204 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8205 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8206 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8207 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8208 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8209 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8210 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8211 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8212 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8213 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8214 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8215 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8216 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8217 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8218 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8219 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8220 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8221 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8222 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8223 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8224 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8225 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8226 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8227 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8228 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8229 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8230 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8231 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8232 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8233 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8234 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8235 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8236 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8237 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8238 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8239 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8240 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8241 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8242 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8243 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8244 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8245 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8246 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8247 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8248 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8249 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8250 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8251 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8252 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8253 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8254 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8255 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8256 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8257 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8258 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8259 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8260 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8261 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8262 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8263 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8264 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8265 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8266 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8267 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8268 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8269 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8270 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8271 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8272 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8273 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8274 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8275 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8276 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8277 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8278 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8279 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8280 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8281 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8282 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8283 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8284 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8285 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8286 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8287 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8288 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8289 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8290 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8291 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8292 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8293 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8294 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8295 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8296 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8297 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8298 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8299 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8300 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8301 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8302 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8303 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8304 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8305 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8306 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8307 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8308 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8309 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8310 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8311 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8312 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8313 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8314 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8315 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8316 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8317 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8318 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8319 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8320 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8321 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8322 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8323 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8324 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8325 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8326 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8327 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8328 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8329 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8332 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8336 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8337 (memmem): Rename to __memmem and define as weak alias of
8338 __memmem. Use libc_hidden_weak.
8339 (__memmem): Use libc_hidden_def.
8340 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8341 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8345 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8346 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8347 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8348 and define as weak alias of __fgets_unlocked. Use
8350 (__fgets_unlocked): Use libc_hidden_def.
8351 * include/stdio.h (__fgets_unlocked): Declare. Use
8353 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8354 __fgets_unlocked instead of fgets_unlocked.
8355 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8356 (GET_NPROCS_CONF_PARSER): Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8358 (GET_NPROCS_CONF_PARSER): Likewise.
8361 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8362 weak alias of __wmemset. Use libc_hidden_weak.
8363 (__wmemset): Use libc_hidden_def.
8364 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8365 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8369 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8370 with asm name __mempcpy.
8371 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8374 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8375 and define as weak alias of __rawmemchr.
8376 (__rawmemchr): Do not define as strong alias of rawmemchr.
8379 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8381 (qsort): Call __qsort_r instead of qsort_r.
8382 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8383 (__qsort_r): Declare. Call libc_hidden_proto.
8384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8386 * nscd/gai.c (__qsort_r): Define to qsort_r.
8387 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8388 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8389 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8392 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8393 define as weak alias of __malloc_info.
8396 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8397 as weak alias of __rewinddir. Don't use libc_hidden_def.
8398 (__rewinddir): Use libc_hidden_def.
8399 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8400 as weak alias of __rewinddir. Don't use libc_hidden_def.
8401 (__rewinddir): Use libc_hidden_def.
8402 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8403 weak alias of __rewinddir. Don't use libc_hidden_def.
8404 (__rewinddir): Use libc_hidden_def.
8405 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8406 (__rewinddir): Use libc_hidden_proto.
8407 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8409 (__getcwd): Use __rewinddir instead of rewinddir.
8412 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8413 alias of __fileno. Use libc_hidden_weak.
8414 (__fileno): Use libc_hidden_def.
8415 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8416 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8418 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8420 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8421 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8423 (fread_unlocked): Don't use libc_hidden_ver.
8424 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8425 and define as weak alias of __fread_unlocked. Don't use
8427 (__fread_unlocked): Use libc_hidden_def.
8428 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8429 (ftello): Don't use libc_hidden_proto.
8430 (__ftello): Declare. Use libc_hidden_proto.
8431 (fread_unlocked): Don't use libc_hidden_proto.
8432 (__fread_unlocked): Declare. Use libc_hidden_proto.
8433 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8434 and __ftello instead of fileno, fread_unlocked and ftello.
8436 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8438 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8440 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8442 (_dl_start_user): Likewise.
8443 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8445 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8446 Siddhesh Poyarekar <siddhesh@redhat.com>
8448 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8449 Move argv and envp down instead of moving argc up.
8450 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8452 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8455 * test-skeleton.c (main): Return successful if one of
8456 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8457 * string/tst-strcoll-overflow.c: Define expected status.
8459 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8462 * locale/iso-639.def: Define Bhili and Tulu language codes.
8464 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8466 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8468 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8471 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8473 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8475 * configure.ac: Updated check of minimal required version to
8477 * manual/install.texi (Tools for Compilation): Updated version
8479 * configure: Regenerated.
8480 * INSTALL: Likewise.
8482 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8484 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8487 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8489 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8490 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8491 (__waitpid): Don't define as alias. Use libc_hidden_def not
8493 (waitpid): Define as alias of __waitpid.
8494 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8496 (__waitpid): Don't define as alias. Use libc_hidden_def not
8498 (waitpid): Define as alias of __waitpid.
8499 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8500 __libc_waitpid alias.
8501 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8502 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8504 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8505 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8506 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8508 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8510 (__waitpid): Don't define as alias. Use libc_hidden_def not
8512 (waitpid): Define as alias of __waitpid.
8514 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8516 * manual/llio.texi: Add comment that write safety has been
8519 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8520 (localplt-build-dso): Add elf/ld.so.
8521 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8522 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8525 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8530 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8531 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8532 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8533 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8534 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8535 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8536 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8537 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8538 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8539 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8540 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8542 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8545 * include/libc-symbols.h (INTUSE): Remove macro.
8547 (INTVARDEF): Likewise.
8548 (_INTVARDEF): Likewise.
8549 (INTDEF2): Likewise.
8550 (INTVARDEF2): Likewise.
8551 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8552 rtld_hidden_def instead of INTVARDEF.
8553 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8554 (_dl_starting_up_internal): Remove declaration.
8555 (_dl_starting_up): Use rtld_hidden_proto.
8556 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8558 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8559 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8561 * elf/dl-writev.h (_dl_writev): Likewise.
8562 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8563 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8564 _dl_starting_up_internal.
8566 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8568 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8571 2014-11-05 Will Newton <will.newton@linaro.org>
8573 * benchtests/Makefile: (bench-malloc): Add malloc thread
8574 scalability benchmark.
8575 * benchtests/bench-malloc-threads.c: New file.
8577 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8579 * sysdeps/aarch64/strchrnul.S: New file.
8581 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8583 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8585 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8587 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8591 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8593 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8596 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8598 * catgets/test-gencat.c: Use test-skeleton.c.
8599 * catgets/tst-catgets.c: Likewise.
8600 * csu/tst-empty.c: Likewise.
8601 * elf/tst-audit2.c: Likewise.
8602 * elf/tst-global1.c: Likewise.
8603 * elf/tst-pathopt.c: Likewise.
8604 * elf/tst-piemod1.c: Likewise.
8605 * elf/tst-tls10.c: Likewise.
8606 * elf/tst-tls11.c: Likewise.
8607 * elf/tst-tls12.c: Likewise.
8608 * gnulib/tst-gcc.c: Likewise.
8609 * iconvdata/tst-e2big.c: Likewise.
8610 * iconvdata/tst-loading.c: Likewise.
8611 * iconv/tst-iconv1.c: Likewise.
8612 * iconv/tst-iconv2.c: Likewise.
8613 * inet/test-inet6_opt.c: Likewise.
8614 * inet/tst-gethnm.c: Likewise.
8615 * inet/tst-network.c: Likewise.
8616 * inet/tst-ntoa.c: Likewise.
8617 * intl/tst-codeset.c: Likewise.
8618 * intl/tst-gettext2.c: Likewise.
8619 * intl/tst-gettext3.c: Likewise.
8620 * intl/tst-ngettext.c: Likewise.
8621 * intl/tst-translit.c: Likewise.
8622 * io/test-stat.c: Likewise.
8623 * libio/test-fmemopen.c: Likewise.
8624 * libio/tst-freopen.c: Likewise.
8625 * libio/tst-sscanf.c: Likewise.
8626 * libio/tst-ungetwc1.c: Likewise.
8627 * libio/tst-ungetwc2.c: Likewise.
8628 * libio/tst-widetext.c: Likewise.
8629 * localedata/tst-ctype.c: Likewise.
8630 * localedata/tst-digits.c: Likewise.
8631 * localedata/tst-leaks.c: Likewise.
8632 * localedata/tst-mbswcs1.c: Likewise.
8633 * localedata/tst-mbswcs2.c: Likewise.
8634 * localedata/tst-mbswcs3.c: Likewise.
8635 * localedata/tst-mbswcs4.c: Likewise.
8636 * localedata/tst-mbswcs5.c: Likewise.
8637 * localedata/tst-setlocale.c: Likewise.
8638 * localedata/tst-trans.c: Likewise.
8639 * localedata/tst-wctype.c: Likewise.
8640 * localedata/tst-xlocale1.c: Likewise.
8641 * login/tst-grantpt.c: Likewise.
8642 * malloc/tst-calloc.c: Likewise.
8643 * malloc/tst-malloc.c: Likewise.
8644 * malloc/tst-mallocstate.c: Likewise.
8645 * malloc/tst-mcheck.c: Likewise.
8646 * malloc/tst-mtrace.c: Likewise.
8647 * malloc/tst-obstack.c: Likewise.
8648 * math/atest-exp2.c: Likewise.
8649 * math/atest-exp.c: Likewise.
8650 * math/atest-sincos.c: Likewise.
8651 * math/test-matherr.c: Likewise.
8652 * math/test-misc.c: Likewise.
8653 * math/test-powl.c: Likewise.
8654 * math/tst-definitions.c: Likewise.
8655 * misc/tst-dirname.c: Likewise.
8656 * misc/tst-efgcvt.c: Likewise.
8657 * misc/tst-fdset.c: Likewise.
8658 * misc/tst-hsearch.c: Likewise.
8659 * misc/tst-mntent2.c: Likewise.
8660 * nptl/tst-sem7.c: Likewise.
8661 * nptl/tst-sem8.c: Likewise.
8662 * nptl/tst-sem9.c: Likewise.
8663 * nss/test-netdb.c: Likewise.
8664 * posix/tst-fnmatch.c: Likewise.
8665 * posix/tst-getlogin.c: Likewise.
8666 * posix/tst-gnuglob.c: Likewise.
8667 * posix/tst-mmap.c: Likewise.
8668 * pwd/tst-getpw.c: Likewise.
8669 * resolv/tst-inet_ntop.c: Likewise.
8670 * rt/tst-timer.c: Likewise.
8671 * stdio-common/test-fseek.c: Likewise.
8672 * stdio-common/test-popen.c: Likewise.
8673 * stdio-common/test-vfprintf.c: Likewise.
8674 * stdio-common/tst-cookie.c: Likewise.
8675 * stdio-common/tst-fileno.c: Likewise.
8676 * stdio-common/tst-gets.c: Likewise.
8677 * stdio-common/tst-obprintf.c: Likewise.
8678 * stdio-common/tst-perror.c: Likewise.
8679 * stdio-common/tst-sprintf2.c: Likewise.
8680 * stdio-common/tst-sprintf3.c: Likewise.
8681 * stdio-common/tst-sprintf.c: Likewise.
8682 * stdio-common/tst-swprintf.c: Likewise.
8683 * stdio-common/tst-tmpnam.c: Likewise.
8684 * stdio-common/tst-unbputc.c: Likewise.
8685 * stdio-common/tst-wc-printf.c: Likewise.
8686 * stdlib/tst-environ.c: Likewise.
8687 * stdlib/tst-fmtmsg.c: Likewise.
8688 * stdlib/tst-limits.c: Likewise.
8689 * stdlib/tst-rand48-2.c: Likewise.
8690 * stdlib/tst-rand48.c: Likewise.
8691 * stdlib/tst-random2.c: Likewise.
8692 * stdlib/tst-random.c: Likewise.
8693 * stdlib/tst-strtol.c: Likewise.
8694 * stdlib/tst-strtoll.c: Likewise.
8695 * stdlib/tst-tls-atexit.c: Likewise.
8696 * stdlib/tst-xpg-basename.c: Likewise.
8697 * string/test-ffs.c: Likewise.
8698 * string/tst-bswap.c: Likewise.
8699 * string/tst-inlcall.c: Likewise.
8700 * string/tst-strtok.c: Likewise.
8701 * string/tst-strxfrm.c: Likewise.
8702 * sysdeps/x86_64/tst-audit10.c: Likewise.
8703 * sysdeps/x86_64/tst-audit3.c: Likewise.
8704 * sysdeps/x86_64/tst-audit4.c: Likewise.
8705 * sysdeps/x86_64/tst-audit5.c: Likewise.
8706 * time/tst-ftime_l.c: Likewise.
8707 * time/tst-getdate.c: Likewise.
8708 * time/tst-mktime3.c: Likewise.
8709 * time/tst-mktime.c: Likewise.
8710 * time/tst-posixtz.c: Likewise.
8711 * time/tst-strptime2.c: Likewise.
8712 * time/tst-strptime3.c: Likewise.
8713 * wcsmbs/tst-btowc.c: Likewise.
8714 * wcsmbs/tst-mbrtowc.c: Likewise.
8715 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8716 * wcsmbs/tst-wchar-h.c: Likewise.
8717 * wcsmbs/tst-wcpncpy.c: Likewise.
8718 * wcsmbs/tst-wcrtomb.c: Likewise.
8719 * wcsmbs/tst-wcsnlen.c: Likewise.
8720 * wcsmbs/tst-wcstof.c: Likewise.
8722 2014-11-04 Joseph Myers <joseph@codesourcery.com>
8725 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8727 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8729 (_dl_mcount): Use rtld_hidden_proto.
8730 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8732 * elf/rtld.c (_rtld_global_ro): Likewise.
8735 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8736 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8737 of _dl_init_internal.
8738 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8739 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8740 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8741 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8742 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8743 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8744 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8745 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8746 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8747 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8748 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8749 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8750 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8751 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8752 * sysdeps/tile/dl-start.S (_start): Likewise.
8753 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8754 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8757 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8758 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8759 (rtld_progname): Make macro definition unconditional.
8760 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8762 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8763 (dl_main): Likewise.
8764 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8765 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8766 instead of _dl_argv_internal.
8767 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8768 __GI__dl_argv instead of INTUSE(_dl_argv).
8769 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8770 __GI__dl_argv instead of _dl_argv_internal.
8772 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8773 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8775 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8776 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8778 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8779 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8781 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8782 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8784 2014-11-04 Andreas Schwab <schwab@suse.de>
8786 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8788 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8790 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8791 mtvsrd instruction in binary form.
8793 2014-11-03 Andreas Schwab <schwab@suse.de>
8796 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8797 for less than MB_LEN_MAX use a local buffer of that size.
8798 * libio/tst-fputws.c: New file.
8799 * libio/Makefile (tests): Add tst-fputws.
8801 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8803 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8804 the size of the fpu_fr.fpu_dregs[] array.
8806 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8808 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8809 (__nanosleep): Do not define as alias.
8810 (nanosleep): Define as alias of __nanosleep.
8811 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8812 __libc_nanosleep name.
8814 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8816 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8817 install.texi in comment.
8819 2014-10-31 Torvald Riegel <triegel@redhat.com>
8821 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8822 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8823 ... add here and use lwsync or sync ...
8824 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8825 ... and add here using lwsync.
8827 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8829 * elf/dl-machine-reject-phdr.h: New file.
8830 * elf/dl-load.c: #include that.
8831 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8832 if that returned true.
8834 2014-10-31 Roland McGrath <roland@hack.frob.com>
8837 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8838 gen-as-const-headers chunk. Add a big scare comment after the last
8839 safe place to touch before-compile.
8841 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8843 * manual/install.texi (Tools for Compilation): Update autoconf
8844 version requirements.
8845 * INSTALL: Regenerated.
8847 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8848 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8849 (__libc_pselect): Likewise.
8852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8857 2014-10-31 Torvald Riegel <triegel@redhat.com>
8859 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8860 correct barrier instruction.
8861 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8863 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8866 2014-10-30 Roland McGrath <roland@hack.frob.com>
8868 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8869 after defining inlines. Instead, just use parens to defeat macro
8870 expansion of __isctype in its declaration.
8872 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8874 * include/sys/uio.h (__libc_readv): Remove declaration.
8875 (__libc_writev): Likewise.
8876 * misc/readv.c (__libc_readv): Rename to __readv.
8877 (__readv): Do not define as alias.
8878 (readv): Define as alias of __readv.
8879 * misc/writev.c (__libc_writev): Rename to __writev.
8880 (__writev): Do not define as alias.
8881 (writev): Define as alias of __writev.
8882 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8883 (__readv): Do not define as alias.
8884 (readv): Define unconditionally as alias of __readv.
8885 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8886 (__writev): Do not define as alias.
8887 (writev): Define unconditionally as alias of __writev.
8888 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8890 (writev): Do not define __libc_writev name.
8892 2014-10-30 Roland McGrath <roland@hack.frob.com>
8894 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8895 (convert_charseq): New function, broken out of ...
8896 (use_from_charmap): ... here. Call it.
8897 (use_to_charmap): Use convert_charseq and free instead of duplicating
8898 its code with a variable-length stack struct.
8900 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8902 * include/fcntl.h (__libc_creat): Remove declaration.
8903 * io/creat.c (__libc_creat): Rename to creat.
8904 (creat): Do not define as alias.
8905 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8906 of creat instead of __libc_creat.
8907 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8909 (creat): Do not define as alias.
8910 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8912 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8914 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8917 2014-10-29 Carlos O'Donell <carlos@redhat.com>
8919 * manual/llio.texi: Add comments discussing why write() may be
8920 considered MT-unsafe on Linux.
8922 2014-10-28 Carlos O'Donell <carlos@redhat.com>
8924 * dl-load.c (local_strdup): Remove.
8925 (expand_dynamic_string_token): Use __strdup.
8926 (decompose_rpath): Likewise.
8927 (_dl_map_object): Likewise.
8929 2014-10-28 Joseph Myers <joseph@codesourcery.com>
8932 * sysdeps/generic/unwind-dw2-fde.c
8933 (__register_frame_info_bases_internal): Do not declare.
8934 (__register_frame_info_table_bases_internal): Likewise.
8935 (__deregister_frame_info_bases_internal): Likewise.
8936 (__register_frame_info_bases): Declare and use hidden_proto before
8937 definition. Use hidden_def instead of INTDEF.
8938 (__register_frame_info_table_bases): Likewise.
8939 (__deregister_frame_info_bases): Likewise.
8940 (__register_frame_info): Do not use INTUSE.
8941 (__register_frame): Likewise.
8942 (__register_frame_info_table): Likewise.
8943 (__register_frame_table): Likewise.
8944 (__deregister_frame_info): Likewise.
8945 (__deregister_frame): Likewise.
8947 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8949 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8950 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8952 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8954 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8957 2014-10-27 Joseph Myers <joseph@codesourcery.com>
8960 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8961 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8962 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8963 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8964 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8965 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8966 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8967 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8968 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8969 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8970 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8971 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8972 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8974 (setfsuid): Likewise.
8975 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8976 (setfsuid): Likewise.
8977 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8978 (setfsuid): Likewise.
8979 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8981 (setfsuid): Likewise.
8982 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8983 (setfsuid): Likewise.
8984 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8986 (setfsuid): Likewise.
8988 2014-10-27 Andreas Schwab <schwab@suse.de>
8991 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8992 check for Slow_SSE4_2 feature bit.
8993 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8994 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8995 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8996 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8998 2014-10-24 Roland McGrath <roland@hack.frob.com>
9000 * configure.ac: Validate compiler version with a empirical test of
9001 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9003 * configure: Regenerated.
9005 * inet/htons.c (htons): Prototypify.
9006 * inet/htonl.c (htonl): Likewise.
9008 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9010 * string/strncat.c (strncat): Improve performance by using strlen.
9012 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9014 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9016 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9018 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9019 Call libc_fetestexcept_aarch64.
9021 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9023 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9024 Call libc_feholdexcept_aarch64.
9026 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9028 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9029 Call get_rounding_mode.
9031 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9033 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9036 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9038 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9041 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9044 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9045 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9046 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9047 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9048 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9049 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9050 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9051 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9052 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9053 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9054 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9055 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9056 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9057 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9058 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9059 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9060 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9061 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9062 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9063 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9064 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9065 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9066 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9067 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9068 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9069 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9070 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9071 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9072 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9073 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9074 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9075 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9076 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9077 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9078 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9079 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9080 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9081 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9082 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9083 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9084 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9086 (geteuid): Likewise.
9089 (getresgid): Likewise.
9090 (getresuid): Likewise.
9091 (getgroups): Likewise.
9092 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9093 (geteuid): Likewise.
9096 (getresgid): Likewise.
9097 (getresuid): Likewise.
9098 (getgroups): Likewise.
9099 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9100 (geteuid): Likewise.
9103 (getresgid): Likewise.
9104 (getresuid): Likewise.
9105 (getgroups): Likewise.
9106 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9108 (geteuid): Likewise.
9111 (getresgid): Likewise.
9112 (getresuid): Likewise.
9113 (getgroups): Likewise.
9114 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9115 (geteuid): Likewise.
9118 (getresgid): Likewise.
9119 (getresuid): Likewise.
9120 (getgroups): Likewise.
9121 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9123 (geteuid): Likewise.
9126 (getgroups): Likewise.
9129 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9130 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9131 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9132 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9133 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9134 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9135 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9136 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9137 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9138 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9139 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9140 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9141 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9143 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9146 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9150 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9153 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9158 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9160 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9163 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9165 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9168 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9170 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9171 Remove unused include.
9173 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9175 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9176 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9177 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9178 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9180 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9181 Helge Deller <deller@gmx.de>
9184 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9185 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9186 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9188 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9191 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9192 Remove macro definition.
9193 (__ashrdi3_v_glibc20): Likewise.
9194 (__lshrdi3_v_glibc20): Likewise.
9195 (__cmpdi2_v_glibc20): Likewise.
9196 (__ucmpdi2_v_glibc20): Likewise.
9197 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9198 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9199 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9200 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9201 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9202 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9204 2014-10-22 Roland McGrath <roland@hack.frob.com>
9206 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9207 old GNU extension [0] syntax.
9208 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9209 alloca rather than an array member with variable length.
9210 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9211 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9212 (parse_opt): ... here. Likewise use alloca there.
9213 Validate the -i argument before checking for rootness.
9214 (send_shutdown): New function, broken out of ...
9215 (parse_opt): ... here.
9217 2014-10-22 Roland McGrath <roland@hack.frob.com>
9219 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9220 macro to get at the _rt_local_ro field.
9221 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9222 ([PIC] case) or _dl_hwcap ([!PIC] case).
9223 * sysdeps/arm/setjmp.S: Likewise.
9225 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9226 * sysdeps/arm/configure.ac: New check to define it.
9227 * sysdeps/arm/configure: Regenerated.
9228 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9229 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9230 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9231 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9232 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9233 Use move/movt pair instead of a load.
9234 (LDST_GLOBAL): Macro removed.
9235 (LDR_GLOBAL): New macro replaces it.
9236 (LDR_HIDDEN): New macro.
9237 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9238 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9240 * setjmp/tst-setjmp-static.c: New file.
9241 * setjmp/Makefile (tests): Add it.
9242 (tests-static): New variable.
9244 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9247 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9249 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9252 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9254 2014-10-21 Roland McGrath <roland@hack.frob.com>
9256 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9258 2014-10-20 Roland McGrath <roland@hack.frob.com>
9260 * io/fts.c (dirent_not_directory): New function.
9261 (fts_build): Call it.
9263 2014-10-20 Roland McGrath <roland@hack.frob.com>
9265 * nptl/version.c (__nptl_main): Use normal __write rather than
9267 (banner): Update copyright years.
9269 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9271 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9272 * nptl/pthread_cond_timedwait.c: Likewise.
9273 * nptl/pthread_mutex_timedlock.c: Likewise.
9274 * nptl/sem_timedwait.c: Likewise.
9276 * sysdeps/nptl/bits/libc-lock.h
9277 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9278 (__libc_lock_init_recursive): Return void, not 0.
9279 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9280 (__libc_rwlock_init): Likewise.
9281 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9283 2014-10-20 Torvald Riegel <triegel@redhat.com>
9286 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9287 (__pthread_once_slow): ... here.
9288 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9289 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9291 2014-10-20 Torvald Riegel <triegel@redhat.com>
9294 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9295 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9296 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9297 * nptl/pthread_once.c (__pthread_once): Likewise.
9300 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9303 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9305 (writev): Use __libc_writev as strong name.
9306 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9307 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9309 2014-10-17 Roland McGrath <roland@hack.frob.com>
9311 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9313 * sysdeps/i386/nptl/tls.h
9314 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9315 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9317 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9318 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9319 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9320 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9321 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9322 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9324 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9325 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9327 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9329 (__pthread_mutex_init): ... here. Call it.
9330 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9331 Conditionalize PI cases on [__NR_futex].
9332 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9333 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9334 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9336 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9337 conditional on [SIGSETXID].
9338 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9339 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9340 is defined. Likewise for SIGSETXID.
9341 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9342 Conditionalize definitions on [SIGSETXID].
9343 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9344 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9345 unblocking on [SIGCANCEL].
9347 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9348 [__NR_set_robust_list].
9350 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9352 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9353 (do_compare): Likewise.
9355 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9358 * string/strcoll_l.c: Don't include stdio.h.
9359 (coll_seq): Remove members idxarr and rulearr.
9360 (get_next_seq_cached): Remove function.
9361 (get_next_seq): Likewise.
9362 (get_next_seq_nocache): Rename to get_next_seq.
9363 (do_compare): Remove function.
9364 (do_compare_nocache): Rename to do_compare.
9365 (STRCOLL): Remove weight and rules cache.
9367 2014-10-16 Roland McGrath <roland@hack.frob.com>
9369 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9370 * sysdeps/arm/sfp-machine.h: ... to here.
9371 * sysdeps/arm/Implies: Remove arm/soft-fp.
9373 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9375 * conform/data/sys/utsname.h-data (*_t): Allow.
9376 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9377 [POSIX] (WEXITED): Do not expect constant.
9378 [POSIX] (WSTOPPED): Likewise.
9379 [POSIX] (WNOHANG): Likewise.
9380 [POSIX] (WNOWAIT): Likewise.
9381 [POSIX] (siginfo_t): Do not expect type or elements.
9382 [POSIX] (pid_t): Do not expect type.
9383 [POSIX] (signal.h): Do not allow header.
9384 [POSIX] (sys/resource.h): Likewise.
9385 [POSIX] (si_*): Do not allow pattern.
9386 [POSIX] (W*): Likewise.
9387 [POSIX] (P_*): Likewise.
9388 [POSIX] (BUS_*): Likewise.
9389 [POSIX] (CLD_*): Likewise.
9390 [POSIX] (FPE_*): Likewise.
9391 [POSIX] (ILL_*): Likewise.
9392 [POSIX] (POLL_*): Likewise.
9393 [POSIX] (SEGV_*): Likewise.
9394 [POSIX] (SI_*): Likewise.
9395 [POSIX] (TRAP_*): Likewise.
9396 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9399 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9402 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9403 infinite loop when __recvmsg returns 0.
9405 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9407 * CANCEL-FCT-WAIVE: Remove file.
9408 * CANCEL-FILE-WAIVE: Likewise.
9411 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9412 instead of INTVARDEF.
9413 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9414 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9415 rtld_hidden_data_def instead of INTVARDEF.
9416 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9417 * elf/dl-deps.c (expand_dst): Likewise.
9418 * elf/dl-load.c (_dl_dst_count): Likewise.
9419 (_dl_dst_substitute): Likewise.
9420 (decompose_rpath): Likewise.
9421 (_dl_init_paths): Likewise.
9422 (open_path): Likewise.
9423 (_dl_map_object): Likewise.
9424 * elf/rtld.c (dl_main): Likewise.
9425 (process_dl_audit): Likewise.
9426 (process_envvars): Likewise.
9427 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9429 (__libc_enable_secure): Use rtld_hidden_proto.
9431 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9434 (add_path): New function broken out of _dl_rtld_di_serinfo.
9435 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9437 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9439 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9440 parentheses around macro arguments.
9441 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9444 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9445 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9446 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9447 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9448 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9449 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9450 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9452 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9453 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9454 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9455 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9456 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9457 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9458 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9459 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9462 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9463 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9464 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9465 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9466 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9467 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9468 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9470 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9471 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9472 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9473 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9474 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9475 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9476 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9478 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9479 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9480 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9481 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9482 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9483 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9484 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9485 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9486 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9487 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9488 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9489 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9490 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9491 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9492 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9493 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9494 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9495 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9496 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9497 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9499 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9500 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9501 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9502 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9503 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9504 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9505 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9506 (_FP_FRAC_SRS_1): Likewise.
9507 (_FP_FRAC_CLZ_1): Likewise.
9508 (_FP_MUL_MEAT_1_imm): Likewise.
9509 (_FP_MUL_MEAT_1_wide): Likewise.
9510 (_FP_MUL_MEAT_1_hard): Likewise.
9511 (_FP_SQRT_MEAT_1): Likewise.
9512 (_FP_FRAC_ASSEMBLE_1): Likewise.
9513 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9514 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9515 (__FP_CLZ_2): Likewise.
9516 (_FP_MUL_MEAT_2_wide): Likewise.
9517 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9518 (_FP_MUL_MEAT_2_gmp): Likewise.
9519 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9520 (_FP_SQRT_MEAT_2): Likewise.
9521 (_FP_FRAC_ASSEMBLE_2): Likewise.
9522 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9523 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9524 (_FP_FRAC_CLZ_4): Likewise.
9525 (_FP_MUL_MEAT_4_wide): Likewise.
9526 (_FP_MUL_MEAT_4_gmp): Likewise.
9527 (_FP_SQRT_MEAT_4): Likewise.
9528 (_FP_FRAC_ASSEMBLE_4): Likewise.
9529 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9530 * soft-fp/op-common.h (_FP_CMP): Likewise.
9531 (_FP_CMP_EQ): Likewise.
9532 (_FP_CMP_UNORD): Likewise.
9533 (_FP_TO_INT): Likewise.
9534 (_FP_FROM_INT): Likewise.
9535 [!__FP_CLZ] (__FP_CLZ): Likewise.
9536 (_FP_DIV_HELP_imm): Likewise.
9537 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9539 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9541 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9542 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9543 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9544 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9545 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9546 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9547 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9548 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9549 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9550 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9551 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9552 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9553 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9554 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9555 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9556 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9557 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9558 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9559 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9560 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9561 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9562 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9563 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9564 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9565 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9566 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9567 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9568 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9569 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9570 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9571 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9572 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9573 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9574 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9575 (FP_UNPACK_RAW_SP): Likewise.
9576 (FP_PACK_RAW_S): Likewise.
9577 (FP_PACK_RAW_SP): Likewise.
9578 (FP_UNPACK_S): Likewise.
9579 (FP_UNPACK_SP): Likewise.
9580 (FP_UNPACK_SEMIRAW_S): Likewise.
9581 (FP_UNPACK_SEMIRAW_SP): Likewise.
9582 (FP_PACK_S): Likewise.
9583 (FP_PACK_SP): Likewise.
9584 (FP_PACK_SEMIRAW_S): Likewise.
9585 (FP_PACK_SEMIRAW_SP): Likewise.
9586 (_FP_SQRT_MEAT_S): Likewise.
9587 (FP_CMP_S): Likewise.
9588 (FP_CMP_EQ_S): Likewise.
9589 (FP_CMP_UNORD_S): Likewise.
9590 (FP_TO_INT_S): Likewise.
9591 (FP_FROM_INT_S): Likewise.
9593 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9595 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9596 (FP_EX_INVALID_IMZ): Likewise.
9597 (FP_EX_INVALID_IMZ_FMA): Likewise.
9598 (FP_EX_INVALID_ISI): Likewise.
9599 (FP_EX_INVALID_ZDZ): Likewise.
9600 (FP_EX_INVALID_IDI): Likewise.
9601 (FP_EX_INVALID_SQRT): Likewise.
9602 (FP_EX_INVALID_CVI): Likewise.
9603 (FP_EX_INVALID_VC): Likewise.
9604 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9605 "invalid" exceptions.
9606 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9607 (_FP_ADD_INTERNAL): Likewise.
9608 (_FP_MUL): Likewise.
9609 (_FP_FMA): Likewise.
9610 (_FP_DIV): Likewise.
9611 (_FP_CMP_CHECK_NAN): Likewise.
9612 (_FP_SQRT): Likewise.
9613 (_FP_TO_INT): Likewise.
9614 (FP_EXTEND): Likewise.
9616 2014-10-09 Allan McRae <allan@archlinux.org>
9618 * po/fr.po: Update French translation from translation project.
9620 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9623 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9625 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9626 (__cxa_atexit): Use libc_hidden_proto.
9627 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9630 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9632 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9633 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9634 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9635 [!_ISOMAC] (__iswctype_internal): Likewise.
9636 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9637 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9639 (fcntl): Remove __fcntl_internal alias.
9640 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9641 __connect_internal alias.
9642 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9645 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9646 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9648 (_FP_CHECK_FLUSH_ZERO): New macro.
9649 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9650 (_FP_CMP): Likewise.
9651 (_FP_CMP_EQ): Likewise.
9652 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9654 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9655 (FP_TRUNC): Likewise.
9657 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9658 treated as invalid conversion, not as normal exponent.
9660 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9661 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9662 (_FP_CMP_EQ): Likewise.
9663 (_FP_CMP_UNORD): Likewise.
9664 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9665 (FP_CMP_EQ_D): Likewise.
9666 (FP_CMP_UNORD_D): Likewise.
9667 * soft-fp/extended.h (FP_CMP_E): Likewise.
9668 (FP_CMP_EQ_E): Likewise.
9669 (FP_CMP_UNORD_E): Likewise.
9670 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9671 (FP_CMP_EQ_Q): Likewise.
9672 (FP_CMP_UNORD_Q): Likewise.
9673 * soft-fp/single.h (FP_CMP_S): Likewise.
9674 (FP_CMP_EQ_S): Likewise.
9675 (FP_CMP_UNORD_S): Likewise.
9676 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9677 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9678 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9679 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9680 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9681 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9682 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9683 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9684 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9685 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9686 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9687 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9688 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9690 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9692 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9693 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9695 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9697 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9698 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9699 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9700 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9702 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9704 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9705 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9707 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9709 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9710 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9711 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9712 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9715 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9716 a subnormal result, set the underflow exception if trapping on
9717 underflow is enabled.
9718 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9719 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9720 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9722 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9723 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9724 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9725 * soft-fp/extendxftf2.c (__extendxftf2): Use
9726 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9728 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9729 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9730 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9731 FP_HANDLE_EXCEPTIONS.
9732 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9733 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9734 FP_HANDLE_EXCEPTIONS.
9735 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9736 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9737 FP_HANDLE_EXCEPTIONS.
9738 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9739 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9740 FP_HANDLE_EXCEPTIONS.
9742 2014-10-08 Joseph Myers <joseph@codesourcery.com>
9745 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9746 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9748 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9749 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9751 (__adjtimex): Define using libc_hidden_ver.
9752 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9754 (ntp_gettime): Call __adjtimex directly.
9755 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9757 (ntp_gettimex): Call __adjtimex directly.
9758 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9759 __adjtimex_internal alias.
9761 2014-10-08 Roland McGrath <roland@hack.frob.com>
9764 * nscd/nscd.c (more_help): Rewrite list of tables collection
9765 using xstrdup and asprintf.
9767 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9769 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9770 Roland McGrath <roland@hack.frob.com>
9772 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9773 (do_lookup_unique): ... local function 'enter' here; update callers.
9775 2014-10-06 Joseph Myers <joseph@codesourcery.com>
9777 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9778 compat_symbol calls on [SHARED].
9779 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9780 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9782 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9783 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9784 (oldsetrlimit): Remove.
9785 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9787 (lchown): New syscall entry.
9788 (oldsetrlimit): Remove.
9789 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9791 (oldsetrlimit): Remove.
9792 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9795 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9796 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9797 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9798 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9799 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9800 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9802 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9807 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9809 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9810 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9811 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9812 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9813 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9815 (__old_sem_post): Likewise.
9817 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
9819 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9820 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9821 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9822 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9823 Use INLINE_VSYSCALL macro.
9824 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9825 __vdso_clock_gettime.
9826 * sysdeps/unix/sysv/linux/tile/init-first.c
9827 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9828 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9829 __vdso_clock_gettime.
9831 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9832 to set up frame more cleanly.
9834 * sysdeps/tile/memcmp.c: New file.
9836 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9838 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9839 * sysdeps/tile/tilegx/strcasestr.c: New file.
9840 * sysdeps/tile/tilegx/strnlen.c: New file.
9841 * sysdeps/tile/tilegx/strstr.c: New file.
9843 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9845 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
9847 * nptl/tst-setuid3.c: Write errors to stdout.
9849 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9852 (preload): New functions broken out of _dl_map_object_deps.
9853 (_dl_map_object_deps): Remove a nested function. Update call sites.
9855 2014-10-01 Joseph Myers <joseph@codesourcery.com>
9858 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9859 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9861 2014-10-01 Steve Ellcey <sellcey@mips.com>
9863 * sysdeps/mips/strcmp.S: New.
9865 2014-09-30 Joseph Myers <joseph@codesourcery.com>
9868 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9870 (mkdirat): Likewise.
9871 (readlinkat): Likewise.
9872 (renameat): Likewise.
9873 (symlinkat): Likewise.
9874 (unlinkat): Likewise.
9875 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9876 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9877 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9878 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9879 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9880 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9881 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9883 2014-09-30 Will Newton <will.newton@linaro.org>
9885 * math/math.h: Define long double math functions if
9886 _LIBC_TEST is defined.
9887 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9889 * localedata/Makefile: Move assignment to tests-special
9890 into an ifdef testing run-built-tests.
9891 * timezone/Makefile: Likewise.
9893 2014-09-29 Joseph Myers <joseph@codesourcery.com>
9895 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9896 with $(BASH) not $(SHELL).
9898 2014-09-29 Carlos O'Donell <carlos@redhat.com>
9899 Matthew LeGendre <legendre1@llnl.gov>
9902 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9905 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9907 * stdio-common/printf_fp.c
9908 (hack_digit): New function, broken out of ...
9909 (__printf_fp): ... local function here. Update call sites.
9910 hack_digit now takes an additional parameter that is a pointer
9911 to a struct of the referenced locals. Those locals moved inside
9912 the struct and references updated.
9914 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9916 * aclocal.m4: Require autoconf 2.69.
9917 * configure: Regenerated.
9918 * sysdeps/aarch64/configure: Likewise.
9919 * sysdeps/alpha/configure: Likewise.
9920 * sysdeps/arm/armv7/configure: Likewise.
9921 * sysdeps/arm/configure: Likewise.
9922 * sysdeps/ia64/configure: Likewise.
9923 * sysdeps/mach/configure: Likewise.
9924 * sysdeps/mips/configure: Likewise.
9925 * sysdeps/s390/configure: Likewise.
9926 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9929 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9931 * sysdeps/ia64/configure.ac: Likewise.
9933 2014-09-26 Joseph Myers <joseph@codesourcery.com>
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9936 specify symbol version for ld.so. Do not include entry for
9938 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9939 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9940 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9943 * Makeconfig [$(build-shared) = yes]
9944 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9946 [$(build-shared) = yes && $(soversions.mk-done) = t]
9947 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9948 [$(build-shared) = yes && $(soversions.mk-done) = t]
9949 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9951 [$(build-shared) = yes && $(soversions.mk-done) = t]
9952 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9954 [$(build-shared) = yes && $(soversions.mk-done) = t]
9955 (common-generated): Don't append gnu/lib-names.h and
9956 gnu/lib-names.stmp here.
9957 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9958 (lib-names-h-abi): New variable.
9959 [$(build-shared) = yes && $(soversions.mk-done) = t]
9960 (lib-names-stmp-abi): Likewise.
9961 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9962 abi-variants] (before-compile): Append
9963 $(common-objpfx)$(lib-names-h-abi).
9964 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9965 abi-variants] (common-generated): Append gnu/lib-names.h.
9966 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9967 abi-variants] (install-others-nosubdir): Depend on
9968 $(inst_includedir)/$(lib-names-h-abi).
9969 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9970 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9971 [$(build-shared) = yes && $(soversions.mk-done) = t]
9972 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9973 [$(build-shared) = yes && $(soversions.mk-done) = t]
9974 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9975 [$(build-shared) = yes && $(soversions.mk-done) = t]
9976 (common-generated): Append $(lib-names-h-abi) and
9977 $(lib-names-stmp-abi).
9978 * scripts/lib-names.awk: Do not handle multi being set.
9979 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9981 (abi-lp64_be-ld-soname): Likewise.
9982 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9984 (abi-hard-ld-soname): Likewise.
9985 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9986 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9988 (abi-o32_hard-ld-soname): Likewise.
9989 (abi-o32_soft_2008-ld-soname): Likewise.
9990 (abi-o32_hard_2008-ld-soname): Likewise.
9991 (abi-n32_soft-ld-soname): Likewise.
9992 (abi-n32_hard-ld-soname): Likewise.
9993 (abi-n32_soft_2008-ld-soname): Likewise.
9994 (abi-n32_hard_2008-ld-soname): Likewise.
9995 (abi-n64_soft-ld-soname): Likewise.
9996 (abi-n64_hard-ld-soname): Likewise.
9997 (abi-n64_soft_2008-ld-soname): Likewise.
9998 (abi-n64_hard_2008-ld-soname): Likewise.
9999 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10001 (abi-64-v2-ld-soname): Likewise.
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10004 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10006 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10008 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10010 (abi-64-ld-soname): Likewise.
10011 (abi-x32-ld-soname): Likewise.
10012 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10014 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10016 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10019 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10020 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10021 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10022 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10023 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10024 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10025 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10026 syscall entry for GLIBC_2.2 symbol version.
10027 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10030 (setrlimit): Likewise.
10031 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10034 2014-09-23 Will Newton <will.newton@linaro.org>
10036 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10037 _LINUX_ARM_SYSDEP_H include guard too.
10038 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10041 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10043 * sysdeps/unix/sysv/linux/eventfd.c:
10044 Make first argument unsigned.
10045 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10046 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10048 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10050 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10051 * socket/sys/socket.h: Likewise
10052 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10054 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10056 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10058 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
10060 * time/tst-ftime.c: New test.
10061 * time/Makefile (tests): Add tst-ftime.
10063 2014-09-17 Joseph Myers <joseph@codesourcery.com>
10065 * soft-fp/extended.h: Fix comment formatting.
10066 * soft-fp/op-1.h: Likewise.
10067 * soft-fp/op-2.h: Likewise.
10068 * soft-fp/op-4.h: Likewise.
10069 * soft-fp/op-8.h: Likewise.
10070 * soft-fp/op-common.h: Likewise.
10071 * soft-fp/soft-fp.h: Likewise.
10073 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10075 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10078 * Makeconfig (soversions-default-setname): Remove variable.
10079 ($(common-objpfx)soversions.i): Don't pass default_setname to
10081 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10082 oldest_abi to abi-versions.awk.
10083 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10084 * config.make.in (oldest-abi): Remove variable.
10085 * configure.ac (--enable-oldest-abi): Remove configure option.
10086 * configure: Regenerated.
10087 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10089 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10090 * scripts/soversions.awk: Do not handle default_setname variable.
10091 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10093 * sysdeps/mach/hurd/configure: Regenerated.
10094 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10096 * sysdeps/unix/sysv/linux/configure: Regenerated.
10098 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10100 * elf/Makefile (CFLAGS-interp.c): Remove.
10101 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10103 * elf/interp.c: Include generated runtime-linker.h
10105 * Makerules (lib%.so): Don't include $(+interp) in
10107 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10108 * dlfcn/eval.c: Remove file.
10110 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10114 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10118 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10120 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10121 Jakub Jelinek <jakub@redhat.com>
10124 * libio/stdio.h: Check definition of __fortify_function
10125 instead of __extern_always_inline to include bits/stdio2.h.
10126 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10127 check if __extern_always_inline is defined.
10128 [__USE_MISC || __USE_XOPEN]: Likewise.
10129 [__USE_ISOC99] Likewise.
10130 * misc/sys/cdefs.h (__fortify_function): Define only if
10131 __extern_always_inline is defined.
10132 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10133 __extern_always_inline and __extern_inline only for g++-4.3
10134 and newer or a compatible gcc.
10136 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10139 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10140 last change to handle zero prefix length.
10142 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10144 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10147 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10148 _POSIX_RAW_SOCKETS.
10150 2014-09-13 Allan McRae <allan@archlinux.org>
10152 * po/ru.po: Update Russian translation from translation project.
10154 2014-09-12 Roland McGrath <roland@hack.frob.com>
10156 * locale/programs/locale.c (show_locale_vars): Inline local function
10157 into its sole call site. Clean up some style nits.
10158 (print_item): New function, broken out of ...
10159 (show_info): ... local function here. Clean up style nits.
10161 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10163 (set_class_defaults): ... local function set_default here.
10164 Define set_default as a macro locally to pass constant parameters.
10165 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10166 rather than a shared local.
10168 * stdlib/rpmatch.c (try): New function, broken out of ...
10169 (rpmatch): ... local function here. Also, prototypify definition.
10171 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10173 * scripts/soversions.awk: Do not handle configuration names.
10174 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10175 vendor and os variables to soversions.awk.
10176 * configure.ac: Do not modify gnu-* host_os.
10177 * configure: Regenerated
10178 * shlib-versions: Remove first column with configuration names.
10179 * nptl/shlib-versions: Likewise.
10180 * nptl_db/shlib-versions: Likewise.
10181 * sysdeps/hppa/shlib-versions: Likewise.
10182 * sysdeps/m68k/shlib-versions: Likewise.
10183 * sysdeps/mach/hurd/shlib-versions: Likewise.
10184 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10185 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10186 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10187 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10188 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10189 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10190 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10191 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10194 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10195 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10196 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10197 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10198 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10199 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10200 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10201 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10204 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10207 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10209 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10211 * shlib-versions: Remove OS-specific entries. Moved to files in
10213 * sysdeps/mach/hurd/shlib-versions: New file.
10214 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10216 * nptl/shlib-versions: Remove architecture-specific entries.
10217 Moved to files in sysdeps.
10218 * shlib-versions: Likewise.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10221 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10222 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10224 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10226 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10227 (UDP_NO_CHECK6_RX): Likewise.
10229 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10231 * sysdeps/posix/sysconf.c (__sysconf): Spell
10232 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10234 2014-08-12 Florian Weimer <fweimer@redhat.com>
10236 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10238 * iconv/Versions (__gconv_transliterate): Export for use from
10240 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10241 (struct __gconv_trans_data, __gconv_trans_fct,
10242 __gconv_trans_context_fct, __gconv_trans_query_fct,
10243 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10245 (struct __gconv_step_data): Remove __trans member.
10246 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10247 longer hidden. Remove unused trans_data argument.
10248 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10249 (__gconv_translit_find): Remove declaration.
10250 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10252 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10253 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10254 trans_data argument. Add hidden definition.
10255 (__gconv_translit_find): Remove.
10256 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10257 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10258 * iconv/skeleton.c: Remove transliteration initialization.
10259 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10260 __gconv_step_data initialization.
10261 * libio/iofwide.c (__libio_translit_): Remove.
10262 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10263 * wcsmbs/btowc.c (__btowc): Likewise.
10264 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10265 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10266 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10267 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10268 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10269 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10270 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10271 * wcsmbs/wctob.c (wctob): Likewise.
10273 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10276 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10277 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10279 * sysdeps/x86/Makefile: Adjust.
10281 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10282 Roland McGrath <roland@hack.frob.com>
10284 * locale/weight.h: Add include guard.
10285 (findidx): Make static rather than auto; take new parameters
10286 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10287 * locale/weightwc.h: Likewise.
10288 * posix/fnmatch_loop.c
10289 (FCT): Change type of EXTRA from int32_t to wint_t.
10290 Don't include either header inside the function.
10291 Call FINDIDX rather than findidx, and pass new arguments.
10292 #undef FINDIDX at the end of the file.
10293 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10294 FINDIDX before including fnmatch_loop.c for the non-wide version.
10295 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10296 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10297 for the wide version.
10298 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10299 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10300 Pass new arguments to findidx.
10301 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10302 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10303 Don't #include it inside the function. Pass new arguments to findidx.
10304 * posix/regex_internal.h
10305 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10306 (re_string_elem_size_at): Don't #include it inside the function.
10307 Pass new arguments to findidx.
10308 * string/strcoll_l.c: #include WEIGHT_H at top level.
10309 (get_next_seq): Don't #include it inside the function.
10310 Pass new arguments to findidx.
10311 (get_next_seq_nocache): Likewise.
10312 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10313 (STRXFRM): Don't #include it inside the function.
10314 Pass new arguments to findidx.
10316 2014-09-11 Florian Weimer <fweimer@redhat.com>
10319 * malloc/malloc.c (unlink): Turn asserts into a call to
10322 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10325 * libio/wfileops (do_ftell_wide): Free OUT.
10327 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10329 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10331 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10334 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10335 group if the current group is empty.
10337 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10339 * benchtests/bench-memset.c (test_main): Add more test from size
10340 from 32 to 512 bytes.
10341 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10342 Add POWER8 memset object.
10343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10344 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10345 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10347 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10349 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10350 multiarch POWER8 memset optimization.
10351 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10352 POWER8 memset optimization.
10354 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10355 Remove bzero multiarch objects.
10356 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10357 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10358 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10359 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10361 [__bzero]: Redefine to specific name.
10362 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10363 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10364 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10366 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10367 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10369 2014-09-10 Florian Weimer <fweimer@redhat.com>
10371 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10372 warnings into errors.
10374 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10375 __cxa_thread_atexit_impl prototype.
10377 2014-09-09 Steve Ellcey <sellcey@mips.com>
10379 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10380 Fix capitalization of error message.
10382 2014-09-09 Steve Ellcey <sellcey@mips.com>
10384 * sysdeps/mips/preconfigure: Modify ABI tests.
10386 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10388 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10390 2014-09-07 Roland McGrath <roland@hack.frob.com>
10391 Carlos O'Donell <carlos@systemhalted.org>
10393 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10394 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10395 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10396 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10397 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10398 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10399 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10400 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10401 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10402 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10403 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10404 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10405 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10406 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10407 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10408 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10409 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10410 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10411 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10412 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10413 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10414 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10415 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10416 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10417 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10418 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10419 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10420 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10421 Deconditionalize the code that was previously under [RESET_PID].
10422 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10423 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10424 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10425 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10428 2014-09-08 Allan McRae <allan@archlinux.org>
10430 * version.h (RELEASE): Set to "development".
10431 (VERSION): Set to "2.20.90"
10433 2014-09-07 Allan McRae <allan@archlinux.org
10435 * version.h (RELEASE): Set to "stable".
10436 (VERSION): Set to "2.20"
10437 * include/features.h (__GLIBC_MINOR__): Set to 20.
10439 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10442 * po/ko.po: Update Korean translation from translation project.
10444 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10447 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10448 macro for handling signed relocations.
10450 2014-09-03 Florian Weimer <fweimer@redhat.com>
10453 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10454 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10456 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10457 * iconvdata/ibm935.c (BODY): Likewise.
10458 * iconvdata/ibm937.c (BODY): Likewise.
10459 * iconvdata/ibm939.c (BODY): Likewise.
10460 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10462 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10464 * iconvdata/run-iconv-test.sh: New test loop for checking for
10467 2014-09-02 Khem Raj <raj.khem@gmail.com>
10469 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10472 2014-09-01 Allan McRae <allan@archlinux.org>
10474 * po/eo.po: Update Esperanto translation from translation project.
10476 * po/ca.po: Update Catalan translation from translation project.
10478 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10480 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10481 __proc_dostop call.
10483 2014-08-27 Mark Wielaard <mjw@redhat.com>
10486 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10487 to call set_thread_area instead of hand written asm.
10488 (__NR_set_thread_area): Removed define.
10489 (TLS_FLAG_WRITABLE): Likewise.
10490 (__ASSUME_SET_THREAD_AREA): Remove check.
10491 (TLS_EBX_ARG): Remove define.
10492 (TLS_LOAD_EBX): Likewise.
10494 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10496 Simplify atomicity of socket creation in bind.
10498 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10499 looking up the name after linking the file.
10501 2014-08-27 Allan McRae <allan@archlinux.org>
10503 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10505 2014-08-26 Florian Weimer <fweimer@redhat.com>
10508 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10509 trans_compare, open_translit, __gconv_translit_find):
10510 Remove module loading code.
10512 2014-08-26 Allan McRae <allan@archlinux.org>
10514 * po/vi.po: Update Vietnamese translation from translation project.
10516 * po/uk.po: Update Ukrainian translation from translation project.
10518 * po/fr.po: Update French translation from translation project.
10520 * po/ru.po: Update Russian translation from translation project.
10522 * po/pl.po: Update Polish translation from translation project.
10524 * po/cs.po: Update Czech translation from translation project.
10526 * po/de.po: Update German translation from translation project.
10528 * po/bg.po: Update Bulgarian translation from translation project.
10530 * po/sv.po: Update Sweedish translation from translation project.
10532 * po/nl.po: Update Dutch translation from translation project.
10534 * po/es.po: Update Spanish translation from translation project.
10536 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10538 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10540 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10541 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10542 (CPPFLAGS-iconvconfig): Likewise.
10543 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10545 * include/libc-symbols.h: Remove unnecessary check for
10547 * nptl/pthreadP.h: Likewise.
10548 * sysdeps/aarch64/setjmp.S: Likewise.
10549 * sysdeps/alpha/setjmp.S: Likewise.
10550 * sysdeps/arm/sysdep.h: Likewise.
10551 * sysdeps/i386/setjmp.S: Likewise.
10552 * sysdeps/m68k/setjmp.c: Likewise.
10553 * sysdeps/posix/getcwd.c: Likewise.
10554 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10555 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10556 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10557 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10558 * sysdeps/sh/sh3/setjmp.S: Likewise.
10559 * sysdeps/sh/sh4/setjmp.S: Likewise.
10560 * sysdeps/unix/alpha/sysdep.h: Likewise.
10561 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10562 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10563 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10564 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10567 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10568 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10569 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10572 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10574 * sysdeps/x86_64/setjmp.S: Likewise.
10576 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10579 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10581 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10582 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10584 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10586 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10589 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10590 and __x86_64__ when disabling x87 inline functions.
10592 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10595 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10596 asm statement with __cpuid_count.
10598 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10600 * configure.ac: Change __ehdr_start code to dereference the struct.
10601 Run readelf on the output to look for relocations.
10602 * configure: Regenerated.
10604 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10607 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10609 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10611 2014-08-12 Roland McGrath <roland@hack.frob.com>
10613 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10615 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10618 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10619 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10621 2014-08-12 Sean Anderson <seanga2@gmail.com>
10623 * malloc/malloc.c: Fix typo in comment.
10625 2014-08-09 Allan McRae <allan@archlinux.org>
10627 * Regenerate libc.po.
10629 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10631 * intl/tst-gettext2.sh: Check every lang file for creation.
10633 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10635 * sysdeps/aarch64/fpu/math_private.h
10636 (libc_feholdsetround_noex_aarch64_ctx): New function.
10638 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10640 * sysdeps/arm/armv6/strcpy.S (strcpy):
10641 Fix performance issue in misaligned cases.
10643 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10645 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10646 Move definition from termios.h.
10647 (struct termio): Likewise.
10648 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10649 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10650 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10651 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10654 Move definition to ioctl-types.h
10655 (struct termio): Likewise.
10656 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10657 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10658 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10659 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10662 2014-08-05 Richard Henderson <rth@redhat.com>
10664 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10666 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10668 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10669 Use __feraiseexcept.
10670 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10671 Protect libm symbols with IS_IN_libm.
10673 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10675 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10677 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10679 2014-08-04 Will Newton <will.newton@linaro.org>
10681 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10684 2014-08-04 Mike Frysinger <vapier@gentoo.org>
10686 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10687 variants for each function.
10689 2014-08-04 Roland McGrath <roland@hack.frob.com>
10691 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10693 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10694 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10696 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10697 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10698 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10699 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10700 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10701 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10702 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10703 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10704 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10705 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10706 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10707 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10708 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10709 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10710 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10711 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10712 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10713 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10714 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10715 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10716 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10717 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10718 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10719 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10720 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10721 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10722 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10723 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10724 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10725 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10726 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10727 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10728 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10729 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10730 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10731 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10732 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10733 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10734 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10735 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10736 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10737 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10738 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10739 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10740 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10741 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10742 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10743 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10744 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10745 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10746 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10747 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10748 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10750 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10751 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10753 2014-08-04 Roland McGrath <roland@hack.frob.com>
10755 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10756 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10757 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10758 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10759 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10760 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10762 2014-08-04 Roland McGrath <roland@hack.frob.com>
10764 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10765 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10766 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10767 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10769 2014-08-04 Roland McGrath <roland@hack.frob.com>
10771 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10772 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10773 (__libc_vfork): Define function under this name.
10774 (__vfork): Define as an alias.
10775 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10776 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10778 2014-08-04 Roland McGrath <roland@hack.frob.com>
10780 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10781 that was previously under [RESET_PID].
10782 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10784 2014-08-04 Andreas Schwab <schwab@suse.de>
10786 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10788 2014-08-03 Mike Frysinger <vapier@gentoo.org>
10790 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10793 2014-08-01 Roland McGrath <roland@hack.frob.com>
10795 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10797 2014-08-01 Richard Henderon <rth@redhat.com>
10799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10800 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10801 typo in exact zero test.
10802 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10803 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10806 2014-08-01 Roland McGrath <roland@hack.frob.com>
10808 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10809 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10810 * sysdeps/arm/sysdep.h: ... here.
10811 [!__ASSEMBLER__]: Include <stdint.h>.
10813 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10815 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10816 (HAVE_WCTYPE_H): Likewise.
10817 (HAVE_ISWCTYPE): Likewise.
10818 (ENABLE_NLS): Likewise.
10819 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10820 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10822 * posix/regex_internal.c: Check if DEBUG is defined and is
10825 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10826 (HAVE_MBSRTOWCS): Likewise.
10827 * posix/fnmatch.c: Include string.h unconditionally.
10829 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10831 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10834 2014-07-31 Roland McGrath <roland@hack.frob.com>
10836 * sysdeps/generic/safe-fatal.h: New file.
10837 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10838 * nptl/forward.c: Include it.
10839 (__pthread_unwind): Use __safe_fatal as default action, rather
10840 than a bogus use of INTERNAL_SYSCALL that could never work.
10842 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10843 * configure.ac (libc_cv_builtin_trap): New test.
10844 * configure: Regenerated.
10845 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10846 (ABORT_INSTRUCTION): Define using __builtin_trap.
10848 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10849 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10850 * sysdeps/nptl/nptl-signals.h: New file.
10851 * nptl/pthreadP.h: Include <nptl-signals.h>.
10853 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10855 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10856 (ONE_DIRECTION): Define.
10857 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10858 (ONE_DIRECTION): Define.
10859 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10860 (ONE_DIRECTION): Define.
10862 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10864 * sysdeps/s390/Makefile: Delete file.
10865 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10866 * sysdeps/s390/__longjmp.c: Delete file.
10867 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10868 Remove fields __flags and __reserved.
10869 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10870 and add versioning.
10871 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10872 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10873 * sysdeps/s390/rtld-setjmp.S: Likewise.
10874 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10875 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10876 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10877 * sysdeps/s390/s390-32/setjmp.S: ... here.
10879 (__sigsetjmp): Remove setting __flags field.
10880 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10881 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10882 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10883 * sysdeps/s390/s390-64/setjmp.S: ... here.
10885 (__sigsetjmp): Remove setting __flags field.
10886 * sysdeps/s390/setjmp.S: Delete file.
10887 * sysdeps/s390/sigjmp.c: Likewise.
10888 * sysdeps/s390/v1-longjmp.c: Likewise.
10889 * sysdeps/s390/v1-setjmp.h: Likewise.
10890 * sysdeps/s390/v1-sigjmp.c: Likewise.
10891 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10892 Remove v1-longjmp_chk.
10893 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10894 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10895 Include debug/longjmp_chk.c and add versioning.
10896 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10897 Include nptl/pt-longjmp.c and add versioning.
10898 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10899 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10900 Include __longjmp.c.
10901 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10903 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10904 (__getcontext): Remove setting __flags field.
10906 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10907 Don't restore upper high grps.
10908 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10910 (__swapcontext): Remove setting uc_flags field.
10911 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10913 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10914 Include __longjmp.c.
10915 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10918 (__getcontext): Remove setting __flags field.
10920 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10921 (__swapcontext): Remove setting uc_flags field.
10922 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10923 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10924 Remove fields uc_high_gprs and __reserved.
10925 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10926 New file with reverted content.
10927 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10928 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10930 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10933 2014-07-31 Andreas Schwab <schwab@suse.de>
10935 * config.h.in (HAVE_IFUNC): Define to 0.
10936 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10939 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10942 memmove-avx-unaligned, memcpy-avx-unaligned and
10943 mempcpy-avx-unaligned.
10944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10945 Add tests for AVX memcpy functions.
10946 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10947 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10949 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10950 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10952 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10953 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10955 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10956 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10957 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10959 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10962 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10965 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
10968 * manual/llio.texi: Add section about open file description locks.
10969 * manual/examples/ofdlocks.c: Example of open file description
10971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10972 F_OFD_SETLK, and F_OFD_SETLKW.
10974 2014-07-23 Allan McRae <allan@archlinux.org>
10976 * po/es.po: Update Spanish translation from translation project.
10978 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10980 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10982 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10985 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10986 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10987 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10989 2014-07-17 Joseph Myers <joseph@codesourcery.com>
10992 * math/fesetenv.c (__fesetenv)
10993 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10994 * math/feupdateenv.c (__feupdateenv)
10995 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10997 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10998 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10999 (__ASSUME_SOCKETCALL): Do not define.
11001 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11002 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11003 (__ASSUME_SOCKETCALL): Do not define.
11004 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11005 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11006 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11007 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11008 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11009 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11010 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11011 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11013 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11014 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11015 (__ASSUME_SOCKETCALL): Do not define.
11016 (__ASSUME_IPC64): Define unconditionally.
11017 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11018 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11019 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11020 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11021 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11022 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11023 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11026 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11027 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11028 (__ASSUME_SOCKETCALL): Do not define.
11029 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11030 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11031 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11032 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11033 (__ASSUME_REQUEUE_PI): Define unconditionally.
11034 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11035 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11036 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11037 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11038 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11039 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11041 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11042 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11043 (__ASSUME_SOCKETCALL): Do not define.
11044 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11045 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11046 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11047 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11048 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11049 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11051 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11052 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11053 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11054 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11055 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11056 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11057 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11058 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11059 (__ASSUME_GETCPU_SYSCALL): Likewise.
11061 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11062 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
11063 cases for individual architectures.
11064 * sysdeps/gnu/configure: Regenerated.
11065 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11066 LIBC_SLIBDIR_RTLDDIR.
11067 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11068 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11069 LIBC_SLIBDIR_RTLDDIR.
11070 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11072 LIBC_SLIBDIR_RTLDDIR.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11075 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11076 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11078 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11079 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11081 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11082 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11083 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11084 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11086 * sysdeps/aarch64/shlib-versions: Move to ...
11087 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11088 * sysdeps/alpha/shlib-versions: Move to ...
11089 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11090 * sysdeps/arm/shlib-versions: Move to ...
11091 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11092 * sysdeps/hppa/shlib-versions: Move all contents except for
11093 libgcc_s entry to ...
11094 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11096 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11097 * sysdeps/ia64/shlib-versions: Move to ...
11098 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11100 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11101 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11102 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11103 * sysdeps/microblaze/shlib-versions: Move to ...
11104 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11105 * sysdeps/mips/shlib-versions: Move to ...
11106 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11108 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11109 * sysdeps/tile/shlib-versions: Move to ...
11110 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11111 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11113 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11114 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11116 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11118 2014-07-17 Will Newton <will.newton@linaro.org>
11120 * sysdeps/arm/bits/atomic.h
11121 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11122 (__arch_compare_and_exchange_bool_16_int): Likewise.
11123 (__arch_compare_and_exchange_bool_64_int): Likewise.
11125 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11126 into an #else block.
11128 2014-07-16 Roland McGrath <roland@hack.frob.com>
11130 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11131 just Linux configurations. Test empirically that the compiler sets
11132 __ARM_EABI__, rather than using the tuple to decide.
11133 * sysdeps/arm/preconfigure: Regenerated.
11134 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11135 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11136 contents appended ...
11137 * sysdeps/arm/configure.ac: ... here.
11138 * sysdeps/arm/configure: Regenerated.
11140 2014-07-15 Roland McGrath <roland@hack.frob.com>
11142 * nptl/pthread_kill.c: New file.
11143 * nptl/pthread_sigmask.c: New file.
11144 * nptl/pthread_sigqueue.c: New file.
11146 * sysdeps/nptl/lowlevellock.h: New file.
11147 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11148 * sysdeps/nptl/lowlevellock-futex.h: New file.
11150 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11151 Remove dead declarations.
11153 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11155 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11156 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11157 config-cflags-avx2.
11158 * sysdeps/x86_64/configure.ac: Likewise.
11159 * sysdeps/i386/configure: Regenerated.
11160 * sysdeps/x86_64/configure: Likewise.
11161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11162 memset-avx2 only if config-cflags-avx2 is yes.
11163 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11164 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11166 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11167 only if HAVE_AVX2_SUPPORT is defined.
11168 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11170 2014-07-14 Alan Modra <amodra@gmail.com>
11173 * elf/elf.h (DT_PPC64_NUM): Correct value.
11174 * NEWS: Add to fixed bug list.
11176 2014-07-13 Jim Meyering <meyering@fb.com>
11179 regex: don't deref NULL upon heap allocation failure
11180 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11181 failure in one more place.
11182 To trigger the segfault, configure grep -with-included-regex,
11183 build it, and run these commands:
11184 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11186 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11188 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11190 2014-07-11 Richard Henderson <rth@redhat.com>
11192 * sysdeps/aarch64/libm-test-ulps: Update.
11194 2014-07-10 Florian Weimer <fweimer@redhat.com>
11197 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11198 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11199 (__nptl_setxid): Initialize error member. Call
11200 __nptl_setxid_error.
11201 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11202 * nptl/descr.h (struct xid_command): Add error member.
11203 * nptl/tst-setuid3.c: New file.
11204 * nptl/Makefile (tests): Add it.
11206 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11208 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11210 (__lll_trylock): Use __lll_base_trylock.
11211 (__lll_cond_trylock): Likewise.
11213 2014-07-10 Roland McGrath <roland@hack.frob.com>
11215 * nptl/pthread_create.c (start_thread): Use atomic_or and
11216 lll_futex_wake directly rather than lll_robust_dead.
11217 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11218 (lll_robust_dead): Macro removed.
11219 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11220 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11221 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11222 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11223 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11224 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11225 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11226 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11227 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11228 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11229 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11230 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11231 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11232 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11233 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11235 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11236 Use atomic_compare_and_exchange_val_acq directly rather than
11237 lll_robust_trylock.
11238 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11239 (__lll_robust_trylock, lll_robust_trylock): Removed.
11240 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11241 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11242 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11243 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11244 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11245 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11246 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11247 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11248 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11249 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11250 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11251 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11252 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11253 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11255 2014-07-02 Florian Weimer <fweimer@redhat.com>
11257 * manual/locale.texi (Locale Names): New section documenting
11258 locale name syntax. Adjust menu and node chaining accordingly.
11259 (Choosing Locale): Reference Locale Names, Locale Categories.
11260 Mention setting LC_ALL=C. Reflect that name syntax is now
11262 (Locale Categories): New section title. Reference Locale Names.
11263 LC_ALL is an environment variable, but not a category.
11264 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11265 description, now in Locale Name. Reference that section. Locale
11266 name syntax is now documented.
11268 2014-07-02 Florian Weimer <fweimer@redhat.com>
11271 * locale/findlocale.c (name_present, valid_locale_name): New
11273 (_nl_find_locale): Use the loc_name variable to store name
11274 candidates. Call name_present and valid_locale_name to check and
11275 validate locale names. Return an error if the locale is invalid.
11277 2014-07-02 Florian Weimer <fweimer@redhat.com>
11279 * locale/setlocale.c (setlocale): Use strdup for allocating
11280 composite name copy.
11282 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11284 Sync up with gnulib.
11285 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11286 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11287 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11288 and _GL_ARG_NONNULL.
11289 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11290 [!_LIBC]: Include code for Windows and Cygwin.
11291 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11292 Include prototype for int strerror_r.
11293 [!_LIBC] (is_open): New function.
11294 (flush_stdout): New function.
11295 (print_errno_message): Use it.
11297 (error_at_line): Likewise.
11298 (error_tail) Add function attribute macros. Use
11301 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11303 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11305 * io/ftw.c: Include sys/param.h unconditionally.
11307 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11310 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11312 (freecache): New function to free CACHE on exit.
11314 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11317 2014-07-09 David S. Miller <davem@davemloft.net>
11319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11321 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11322 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11323 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11324 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11325 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11326 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11327 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11328 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11329 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11330 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11331 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11332 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11333 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11335 2014-07-09 Andreas Schwab <schwab@suse.de>
11337 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11339 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11340 (do_test): Likewise.
11342 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11344 2014-07-09 Will Newton <will.newton@linaro.org>
11346 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11347 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11348 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11349 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11350 * sysdeps/hppa/start.S (_start): Likewise.
11352 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11354 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11356 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11359 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11361 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11362 after checking that it is non-NULL.
11364 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11366 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11368 * sysdeps/powerpc/memmove.c: Remove file.
11369 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11370 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11371 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11372 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11373 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11374 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11375 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11376 string memmove instead of removed powerpc one.
11378 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11379 [weak_alias]: Fix compiler warning due trailing data.
11380 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11381 [weak_alias]: Likewise.
11382 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11383 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11386 (__libc_ifunc_impl_list): Add memmove functions.
11388 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11390 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11392 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11394 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11396 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11398 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11400 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11402 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11404 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11406 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11408 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11410 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11412 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11414 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11416 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11418 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11420 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11422 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11425 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11427 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11428 to avoid alignment traps in non-cacheable memory.
11429 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11433 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11434 file: multiarch power7 memmove.
11435 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11436 multiarch default memmove.
11437 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11438 multiarch memove for powerpc32/power4.
11440 * string/bcopy.c: Use full path to include memmove.c.
11441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11443 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11444 bcopy for powerpc64.
11445 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11446 bcopy for powerpc64.
11447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11448 and memmove implementations.
11449 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11450 optimized multiarch memmove for POWER7/powerpc64.
11451 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11452 default multiarch memmove for powerpc64.
11453 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11454 multiarch for powerpc64.
11455 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11456 for POWER7/powerpc64.
11457 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11458 memmove for POWER7/powerpc64.
11460 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11463 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11464 __ELF_NATIVE_CLASS equal to 64.
11466 2014-07-07 Roland McGrath <roland@hack.frob.com>
11468 * sysdeps/nptl/lowlevellock.h: File removed.
11470 * NEWS: NPTL is no longer an add-on!
11471 * nptl/internaltypes.h: Moved ...
11472 * sysdeps/nptl/internaltypes.h: ... here.
11473 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11474 * sysdeps/nptl/fork.c: Likewise.
11475 * sysdeps/nptl/gai_misc.h: Likewise.
11476 * sysdeps/nptl/librt-cancellation.c: Likewise.
11477 * sysdeps/nptl/jmp-unwind.c: Likewise.
11478 * sysdeps/nptl/setxid.h: Likewise.
11479 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11480 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11481 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11482 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11483 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11484 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11485 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11486 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11487 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11488 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11489 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11490 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11491 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11492 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11493 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11494 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11495 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11496 * nptl/Makeconfig: Moved ...
11497 * sysdeps/nptl/Makeconfig: ... here.
11498 * nptl/configure: File removed.
11499 * nptl/ANNOUNCE: File removed.
11500 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11501 * sysdeps/unix/sysv/linux/configure: Regenerated.
11503 * nptl/Makefile (routines): Add libc_pthread_init,
11504 libc_multiple_threads, register-atfork and unregister-atfork.
11505 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11506 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11507 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11508 pthread-pi-defines.sym, structsem.sym.
11509 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11510 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11511 [$(subdir) = nptl] (tests): Add tst-setgetname.
11512 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11513 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11514 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11515 [!LIBC_SIGACTION]: Remove aliases.
11516 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11517 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11518 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11519 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11520 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11521 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11524 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11525 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11526 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11527 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11528 __libc_allocate_rtsig_private.
11529 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11530 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11531 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11532 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11533 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11534 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11535 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11536 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11537 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11538 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11539 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11540 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11541 * nptl/internaltypes.h: ... here.
11542 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11543 * sysdeps/nptl/jmp-unwind.c: ... here.
11544 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11545 * nptl/libc-lowlevellock.c: ... here.
11546 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11547 * nptl/libc_multiple_threads.c: ... here.
11548 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11549 * nptl/libc_pthread_init.c: ... here.
11550 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11551 * nptl/lowlevelbarrier.sym: ... here.
11552 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11553 * nptl/lowlevelcond.sym: ... here.
11554 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11555 * nptl/lowlevellock.c: ... here.
11556 * nptl/lowlevellock.h: Moved ...
11557 * sysdeps/nptl/lowlevellock.h: ... here.
11558 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11559 * nptl/lowlevelrobustlock.c: ... here.
11560 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11561 * nptl/lowlevelrobustlock.sym: ... here.
11562 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11563 * nptl/lowlevelrwlock.sym: ... here.
11564 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11565 * nptl/pt-fork.c: ... here.
11566 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11567 * nptl/pthread-pi-defines.sym: ... here.
11568 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11569 * nptl/pthread_attr_getaffinity.c: ... here.
11570 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11571 * nptl/pthread_attr_setaffinity.c: ... here.
11572 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11573 * nptl/pthread_mutex_cond_lock.c: ... here.
11574 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11576 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11577 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11578 * nptl/pthread_once.c: ... here, replacing old file.
11579 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11580 * nptl/pthread_yield.c: ... here.
11581 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11582 * nptl/register-atfork.c: ... here.
11583 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11584 * nptl/sem_post.c: ... here.
11585 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11586 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11587 * nptl/sem_timedwait.c: ... here.
11588 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11589 * nptl/sem_trywait.c: ... here.
11590 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11591 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11592 * nptl/sem_wait.c: ... here.
11593 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11594 * nptl/structsem.sym: ... here.
11595 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11596 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11597 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11598 * nptl/unregister-atfork.c: ... here.
11599 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11600 * nptl/unwindbuf.sym: ... here.
11601 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11602 * sysdeps/nptl/fork.c: ... here.
11603 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11604 * sysdeps/nptl/fork.h: ... here.
11605 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11606 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11607 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11608 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11609 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11610 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11611 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11612 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11613 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11614 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11615 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11616 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11617 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11618 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11619 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11620 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11621 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11622 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11623 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11624 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11625 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11626 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11627 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11628 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11629 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11630 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11631 * sysdeps/unix/sysv/linux/raise.c: ... here.
11632 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11633 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11634 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11635 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11636 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11637 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11638 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11639 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11640 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11641 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11642 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11643 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11644 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11645 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11646 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11648 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11650 * sysdeps/generic/memcopy.h: Add comment for
11651 MEMCPY_OK_FOR_FWD_MEMMOVE.
11653 2014-07-04 Will Newton <will.newton@linaro.org>
11655 * string/memchr.c: Merge from gnulib.
11656 [_LIBC]: Remove conditionals.
11657 (__ptr_t): Remove define.
11658 (LONG_MAX_32_BITS): Likewise.
11659 (LONG_MAX): Likewise.
11660 (MEMCHR): Use ANSI prototype and optimize algorithm.
11662 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11664 2014-07-03 Roland McGrath <roland@hack.frob.com>
11666 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11667 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11669 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11670 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11671 in a bare environment with no <stdlib.h> installed.
11672 * sysdeps/nptl/configure: Regenerated.
11674 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11676 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11677 AC_EGREP_CPP for kernel header checks, so they only succeed if
11678 including <linux/version.h> actually works right.
11679 * sysdeps/unix/sysv/linux/configure: Regenerated.
11681 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11682 value so it's not diagnosed as unused.
11684 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11685 thing) with "ifeq ($(subdir),rt)".
11687 2014-07-03 Richard Henderson <rth@redhat.com>
11689 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11690 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11691 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11693 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11694 (math_force_eval): New.
11696 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11697 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11699 * sysdeps/alpha/fpu/s_round.c: Remove file.
11700 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11702 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11703 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11704 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11705 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11706 (_dl_start, print_statistics): Likewise.
11707 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11708 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11710 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11711 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11712 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11713 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11714 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11715 (HP_SMALL_TIMING_AVAIL): Define.
11716 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11717 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11718 (HP_SMALL_TIMING_AVAIL): Define.
11719 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11720 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11722 * sysdeps/aarch64/hp-timing.h: New file.
11724 * sysdeps/generic/hp-timing.h: Remove dead comment.
11725 * sysdeps/generic/hp-timing-common.h: New file.
11726 * sysdeps/alpha/hp-timing.h: Include it.
11727 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11728 * sysdeps/i386/i686/hp-timing.h: Likewise.
11729 * sysdeps/ia64/hp-timing.h: Likewise.
11730 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11731 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11732 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11733 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11734 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11735 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11736 (hp_timing_t): New.
11738 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11739 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11740 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11741 * elf/rtld.c (_dl_start_final): Likewise.
11742 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11743 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11744 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11745 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11746 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11747 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11748 (HP_TIMING_DIFF_INIT): Remove.
11749 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11750 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11751 (HP_TIMING_DIFF_INIT): Remove.
11752 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11753 * sysdeps/i386/i686/hp-timing.c: Remove file.
11754 * sysdeps/x86_64/hp-timing.c: Remove file.
11755 * sysdeps/ia64/hp-timing.c: Remove file.
11756 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11757 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11758 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11759 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11761 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11762 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11763 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11764 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11765 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11766 (HP_TIMING_ACCUM): Remove.
11767 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11768 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11769 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11771 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11772 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11773 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11774 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11775 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11776 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11777 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11778 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11780 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11782 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11784 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11786 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11788 Sync up with gettext.
11789 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11790 [_MSC_VER]: Include malloc.h
11791 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11792 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11793 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11794 TEMP_FAILURE_RETRY. Cast return of alloca.
11795 [!_LIBC] Call gl_rwlock_init.
11796 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11798 2014-07-02 Roland McGrath <roland@hack.frob.com>
11800 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11801 before checking its value.
11803 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11805 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11807 * debug/memcpy_chk.c: Don't include pagecopy.h.
11808 * debug/mempcpy_chk.c: Likewise.
11809 * string/memcpy.c: Likewise.
11810 * string/memmove.c: Likewise.
11811 * sysdeps/powerpc/memmove.c: Likewise.
11812 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11813 definition of PAGE_COPY_FWD_MAYBE here...
11814 * sysdeps/generic/pagecopy.h: ... from here.
11815 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11817 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11818 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11820 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11824 (__libc_ifunc_impl_list): Likewise.
11825 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11826 multiarch strcat for PPC64.
11827 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11828 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11830 2014-07-02 Roland McGrath <roland@hack.frob.com>
11832 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11834 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11836 * intl/loadmsgcat.c: Remove declaration of
11837 get_sysdep_segment_value.
11838 (get_sysdep_segment_value): Use ISO C style.
11839 (_nl_load_domain): Use ISO C style. Get rid of redundant
11840 semicolon. Fix typo and formatting in comment.
11841 (_nl_unload_domain): Use ISO C style.
11843 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11845 2014-07-02 Will Newton <will.newton@linaro.org>
11847 * malloc/obstack.c: Merge from gnulib master.
11848 [HAVE_CONFIG_H]: Remove conditional code.
11849 [!_LIBC]: Include config.h.
11850 [!ELIDE_CODE]: Don't include inttypes.h, include
11851 stdint.h unconditionally.
11852 (print_and_abort): Mark as _Noreturn.
11853 (_obstack_allocated_p): Mark as __attribute_pure__.
11854 (obstack_free): Rename to __obstack_free.
11855 [!__attribute__]: Remove conditional code.
11856 * malloc/obstack.h: Merge from gnulib master.
11857 [__cplusplus]: Move conditional down.
11858 [!__attribute_pure__]: Define __attribute_pure__ here
11859 if it is not already defined.
11860 (_obstack_memory_used): Mark as __attribute_pure__.
11861 [!__obstack_free]: Define as obstack_free.
11862 [__GNUC__]: Remove check for ancient NeXT gcc.
11864 2014-07-02 Will Newton <will.newton@linaro.org>
11865 Paul Eggert <eggert@cs.ucla.edu>
11867 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11869 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11871 * resolv/gethnamaddr.c: Add comment warning that the file is
11874 2014-07-01 Carlos O'Donell <carlos@redhat.com>
11876 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11879 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11880 entry for aio_cancel and aio_cancel64.
11881 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11882 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11883 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11884 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11885 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11886 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11887 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11888 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11889 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11890 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11891 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11892 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11893 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11895 2014-07-01 Roland McGrath <roland@hack.frob.com>
11897 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11898 * nptl/pthread_mutex_lock.c: Likewise.
11899 * nptl/pthread_mutex_timedlock.c: Likewise.
11900 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11902 2014-07-01 Richard henderson <rth@redhat.com>
11904 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11905 (__isnan, __isnanl): Remove.
11906 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11908 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11910 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11912 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11914 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11916 * resolv/nss_dns/dns-host.c (getanswer_r)
11917 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11919 2014-07-01 Joseph Myers <joseph@codesourcery.com>
11921 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11922 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11924 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11925 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11927 2014-07-01 Roland McGrath <roland@hack.frob.com>
11929 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11930 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11932 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11933 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11935 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11936 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11938 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11939 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11941 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11942 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11943 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11944 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11946 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11947 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11948 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11949 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11950 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11952 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11954 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11955 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11956 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11957 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11958 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11959 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11960 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11961 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11962 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11963 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11964 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11965 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11966 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11967 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11968 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11969 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11970 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11971 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11972 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11973 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11975 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11976 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11977 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11978 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11979 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11980 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11981 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11982 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11984 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11986 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11987 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11988 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11991 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11995 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11997 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11998 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12000 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12002 * sysdeps/arm/libm-test-ulps: Regenerated.
12004 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12005 Roland McGrath <roland@hack.frob.com>
12007 * test-skeleton.c (signal_handler): Kill the whole process group
12008 before killing the child individually.
12009 (main): Report any failure on `setpgid'.
12011 2014-06-30 Roland McGrath <roland@hack.frob.com>
12013 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12014 from _TLS_H to _ARM_NPTL_TLS_H.
12015 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12016 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12018 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12021 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12022 (__expm1l): Return argument unchanged when small but not
12025 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12026 include macro name.
12027 (_FP_UNPACK_RAW_1_P): Likewise.
12028 (_FP_PACK_RAW_1): Likewise.
12029 (_FP_PACK_RAW_1_P): Likewise.
12030 (_FP_MUL_MEAT_1_wide): Likewise.
12031 (_FP_MUL_MEAT_DW_1_hard): Likewise.
12032 (_FP_MUL_MEAT_1_hard): Likewise.
12033 (_FP_DIV_MEAT_1_imm): Likewise.
12034 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12035 (_FP_DIV_MEAT_1_udiv): Likewise.
12036 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12037 (_FP_UNPACK_RAW_2): Likewise.
12038 (_FP_UNPACK_RAW_2_P): Likewise.
12039 (_FP_PACK_RAW_2): Likewise.
12040 (_FP_PACK_RAW_2_P): Likewise.
12041 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12042 (_FP_MUL_MEAT_2_wide): Likewise.
12043 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12044 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12045 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12046 (_FP_MUL_MEAT_2_gmp): Likewise.
12047 (_FP_DIV_MEAT_2_udiv): Likewise.
12048 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12049 (_FP_FRAC_SRL_4): Likewise.
12050 (_FP_FRAC_SRST_4): Likewise.
12051 (_FP_FRAC_SRS_4): Likewise.
12052 (_FP_UNPACK_RAW_4): Likewise.
12053 (_FP_UNPACK_RAW_4_P): Likewise.
12054 (_FP_PACK_RAW_4): Likewise.
12055 (_FP_PACK_RAW_4_P): Likewise.
12056 (_FP_MUL_MEAT_DW_4_wide): Likewise.
12057 (_FP_MUL_MEAT_4_wide): Likewise.
12058 (_FP_MUL_MEAT_4_gmp): Likewise.
12059 (umul_ppppmnnn): Likewise.
12060 (_FP_DIV_MEAT_4_udiv): Likewise.
12061 (__FP_FRAC_ADD_4): Likewise.
12062 (__FP_FRAC_SUB_3): Likewise.
12063 (__FP_FRAC_SUB_4): Likewise.
12064 (__FP_FRAC_DEC_3): Likewise.
12065 (__FP_FRAC_DEC_4): Likewise.
12066 (__FP_FRAC_ADDI_4): Likewise.
12067 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12068 (_FP_FRAC_SRL_8): Likewise.
12069 (_FP_FRAC_SRS_8): Likewise.
12071 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12072 include macro name.
12073 (FP_UNPACK_RAW_EP): Likewise.
12074 (FP_PACK_RAW_E): Likewise.
12075 (FP_PACK_RAW_EP): Likewise.
12076 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12077 (_FP_ISSIGNAN): Likewise.
12078 (_FP_ADD_INTERNAL): Likewise.
12079 (_FP_FMA): Likewise.
12080 (_FP_CMP): Likewise.
12081 (_FP_SQRT): Likewise.
12082 (_FP_TO_INT): Likewise.
12083 (_FP_FROM_INT): Likewise.
12084 (FP_EXTEND): Likewise.
12085 (_FP_DIV_MEAT_N_loop): Likewise.
12087 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12089 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12092 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12095 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12096 result with correct sign in case of exponents that produce
12097 overflow except for X very close to 1.
12099 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12101 mktime: merge #if/#ifdef usage from glibc
12102 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12103 as that works with both Glibc's and Gnulib's style.
12104 See thread starting at Siddhesh Poyarekar's bug report at:
12105 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12107 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12109 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12110 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12111 * sysdeps/tile/tilegx/memmove.c: Remove file.
12113 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12115 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12116 abi-name definition.
12117 * scripts/soversions.awk: Do not handle or generate ABI lines.
12118 * shlib-versions: Remove ABI entries.
12119 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12120 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12122 2014-06-27 Roland McGrath <roland@hack.frob.com>
12124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12125 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12126 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12127 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12129 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12130 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12132 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12134 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12135 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12136 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12137 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12138 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12139 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12140 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12141 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12143 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12144 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12145 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12146 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12148 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12149 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12150 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12151 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12152 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12153 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12155 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12158 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12160 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12161 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12163 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12165 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12166 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12167 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12168 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12169 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12170 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12172 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12173 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12174 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12175 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12177 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12180 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12181 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12182 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12185 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12187 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12188 Identical file removed.
12189 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12191 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12192 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12193 Identical file removed.
12194 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12195 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12196 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12198 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12199 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12200 Identical file removed.
12201 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12202 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12203 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12204 Identical file removed.
12205 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12206 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12207 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12208 Identical file removed.
12209 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12210 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12211 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12212 Identical file removed.
12213 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12215 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12216 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12217 Identical file removed.
12218 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12220 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12221 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12222 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12223 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12224 Identical file removed.
12225 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12227 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12229 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12230 Identical file removed.
12231 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12233 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12234 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12235 Identical file removed.
12236 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12238 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12239 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12240 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12241 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12242 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12243 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12245 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12246 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12247 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12249 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12250 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12251 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12252 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12253 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12255 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12258 * nscd/nscd.c (monitor_child): Return exit status of child
12259 instead of return value from wait syscall.
12261 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12263 * configure.ac (libc_commonpagesize): Remove variable.
12264 (libc_relro_required): Likewise.
12265 (libc_cv_z_relro): Remove configure test.
12266 * configure: Regenerated.
12267 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12269 (libc_relro_required): Likewise.
12270 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12271 (libc_relro_required): Likewise.
12272 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12273 (libc_relro_required): Likewise.
12274 * sysdeps/arm/preconfigure: Regenerated.
12275 * sysdeps/ia64/preconfigure: Remove file.
12276 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12278 (libc_relro_required): Likewise.
12282 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12283 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12284 recompute overflowing results in original rounding mode.
12285 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12286 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12287 recompute overflowing results in original rounding mode.
12288 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12289 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12290 recompute overflowing results in original rounding mode.
12291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12292 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12293 recompute overflowing results in original rounding mode.
12294 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12295 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12296 recompute overflowing results in original rounding mode.
12297 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12298 (libc_feholdsetround_ctx): New macro.
12299 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12300 * sysdeps/i386/fpu/libm-test-ulps: Update.
12301 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12303 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12305 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12306 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12307 corresponding .cpsetup call.
12309 2014-06-26 Roland McGrath <roland@hack.frob.com>
12311 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12312 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12313 * sysdeps/arm/Makefile [$(subdir) = csu]
12314 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12315 (static-only-routines): Add aeabi_read_tp here.
12316 (shared-only-routines): Add libc-aeabi_read_tp here.
12317 (CFLAGS-libc-start.c): Add -fexceptions here.
12318 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12319 (sysdep_routines, static-only-routines, shared-only-routines):
12320 Don't add to these here.
12321 (CFLAGS-libc-start.c): Likewise.
12323 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12324 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12325 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12326 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12327 * sysdeps/arm/Makefile [$(subdir) = rt]
12328 (librt-sysdep_routines, librt-shared-only-routines):
12329 Append rt-aeabi_unwind_cpp_pr1 here.
12330 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12331 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12332 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12333 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12334 Append nptl-aeabi_unwind_cpp_pr1 here.
12335 (tests): Filter out tst-cleanupx4 here.
12336 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12337 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12338 Don't do those here.
12340 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12342 * scripts/list-sources.sh: Do not handle ports specially.
12344 2014-06-26 Roland McGrath <roland@hack.frob.com>
12346 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12347 * sysdeps/arm/feupdateenv.c: Likewise.
12349 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12351 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12353 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12354 trailing whitespace removed.
12355 * scripts/config.guess: Update to version 2014-03-23.
12356 * scripts/config.sub: Update to version 2014-05-01
12357 * scripts/install-sh: Update to version 2013-12-25.23.
12358 * scripts/move-if-change: Update from gnulib.
12360 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12362 * debug/memmove_chk.c: Remove pagecopy.h include.
12364 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12366 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12367 identical to gnulib mktime.
12369 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12371 * configure.ac: Do not test for machine being rs6000. Do not test
12372 for powerpc*-*soft.
12373 * configure: Regenerated.
12376 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12378 * configure: Regenerated.
12379 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12380 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12381 Remove configure test.
12382 * sysdeps/arm/configure: Regenerated.
12383 * sysdeps/nptl/configure.ac: Do not check
12384 libc_cv_asm_cfi_directives.
12385 * sysdeps/nptl/configure: Regenerated.
12386 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12387 * sysdeps/x86_64/nptl/configure: Remove generated file.
12388 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12390 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12392 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12394 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12395 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12396 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12399 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12400 instead of whether it is defined.
12401 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12402 * sysdeps/hppa/dl-machine.h: Likewise.
12403 * sysdeps/ia64/dl-machine.h: Likewise.
12404 * sysdeps/m68k/dl-machine.h: Likewise.
12405 * sysdeps/microblaze/dl-machine.h: Likewise.
12406 * sysdeps/mips/dl-machine.: Likewise.
12407 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12408 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12409 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12410 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12411 * sysdeps/sh/dl-machine.h: Likewise.
12412 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12413 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12414 * sysdeps/tile/dl-machine.h: Likewise.
12415 * sysdeps/x86_64/dl-machine.h: Likewise.
12417 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12419 (verify_persistent_db): Likewise.
12421 2014-06-26 Roland McGrath <roland@hack.frob.com>
12423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12424 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12426 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12429 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12432 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12434 Identical file removed.
12435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12436 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12438 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12440 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12442 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12444 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12447 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12449 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12451 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12454 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12456 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12458 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12460 Identical file removed.
12461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12462 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12464 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12467 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12470 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12472 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12474 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12476 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12478 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12481 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12484 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12486 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12489 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12491 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12493 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12495 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12496 * sysdeps/unix/sysv/linux/s390/Versions
12497 (libpthread: GLIBC_2.19): New version set.
12498 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12499 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12500 (librt: GLIBC_2.3.3): New version set.
12501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12502 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12503 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12504 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12505 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12506 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12507 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12508 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12509 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12511 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12512 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12513 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12515 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12517 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12519 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12521 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12523 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12524 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12525 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12526 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12527 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12528 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12529 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12530 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12531 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12532 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12533 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12535 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12537 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12538 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12539 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12541 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12543 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12545 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12548 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12549 (__libc_vfork): Define the function under this name.
12550 [!NOT_IN_libc] (__vfork): Make this an alias.
12551 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12553 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12554 (__libc_vfork): Define the function under this name.
12555 [!NOT_IN_libc] (__vfork): Make this an alias.
12556 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12557 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12558 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12559 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12560 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12561 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12563 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12564 code that was previously under [RESET_PID].
12565 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12566 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12567 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12569 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12570 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12571 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12572 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12573 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12574 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12575 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12576 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12577 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12578 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12579 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12581 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12582 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12583 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12584 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12585 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12586 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12587 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12588 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12589 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12590 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12591 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12592 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12593 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12594 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12595 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12596 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12597 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12598 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12599 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12600 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12601 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12602 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12603 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12604 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12605 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12606 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12607 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12608 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12609 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12611 2014-06-25 Roland McGrath <roland@hack.frob.com>
12613 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12614 that was previously under [RESET_PID].
12615 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12617 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12619 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12620 not undefine and redefine.
12621 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12622 [O_CLOEXEC]: Make code unconditional.
12623 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12624 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12625 <kernel-features.h>.
12626 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12627 conditional variable definition.
12628 (shm_open) [O_CLOEXEC]: Make code unconditional.
12629 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12632 * configure.ac (USE_REGPARMS): Don't define here.
12633 * configure: Regenerated.
12634 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12635 * sysdeps/i386/configure: Regenerated.
12637 * nptl/createthread.c: Don't include kernel-features.h.
12638 * nptl/pthread_cancel.c: Likewise.
12639 * nptl/pthread_condattr_setclock.c: Likewise.
12640 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12641 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12642 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12643 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12644 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12645 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12646 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12647 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12649 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12650 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12651 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12652 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12653 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12654 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12655 * nscd/gai.c: Likewise.
12656 * nss/nss_db/db-open.c: Likewise.
12657 * sysdeps/generic/ldsodefs.h: Likewise.
12658 * sysdeps/sh/nptl/tls.h: Likewise.
12659 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12660 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12661 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12662 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12663 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12664 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12665 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12666 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12668 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12669 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12670 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12671 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12672 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12673 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12674 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12675 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12676 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12677 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12678 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12679 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12680 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12681 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12682 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12683 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12684 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12685 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12686 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12687 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12688 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12689 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12690 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12691 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12692 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12693 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12694 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12695 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12696 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12697 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12698 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12699 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12700 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12701 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12702 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12703 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12704 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12705 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12706 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12707 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12708 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12709 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12710 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12711 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12712 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12713 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12714 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12715 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12716 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12739 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12740 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12741 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12742 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12743 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12744 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12745 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12746 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12747 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12748 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12749 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12750 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12751 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12752 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12753 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12754 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12755 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12756 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12757 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12758 * sysdeps/unix/sysv/linux/system.c: Likewise.
12759 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12760 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12761 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12762 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12763 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12764 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12765 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12767 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12768 * configure: Regenerated.
12769 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12771 * configure.ac (base_machine): Do not set specially for particular
12773 * configure: Regenerated.
12774 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12775 settings from configure.ac.
12776 * sysdeps/i386/preconfigure: New file.
12777 * sysdeps/s390/preconfigure: Likewise.
12778 * sysdeps/sh/preconfigure: Likewise.
12779 * sysdeps/sparc/preconfigure: Likewise.
12781 2014-06-25 Roland McGrath <roland@hack.frob.com>
12783 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12784 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12785 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12786 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12787 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12788 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12789 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12790 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12791 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12792 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12793 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12794 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12795 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12796 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12797 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12798 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12799 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12800 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12801 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12803 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12804 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12805 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12806 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12807 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12808 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12809 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12810 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12811 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12812 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12813 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12814 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12815 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12816 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12817 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12818 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12819 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12820 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12821 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12822 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12823 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12824 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12825 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12826 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12827 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12828 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12829 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12830 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12831 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12832 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12833 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12834 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12835 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12836 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12837 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12838 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12839 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12840 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12843 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12845 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12848 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12851 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12853 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12856 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12858 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12860 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12862 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12865 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12868 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12870 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12873 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12875 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12877 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12879 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12881 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12884 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12887 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12889 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12892 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12894 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12896 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12898 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12901 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12904 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12906 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12909 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12911 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12913 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12915 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12917 * timezone/checktab.awk: Update from tzcode 2014e.
12918 * timezone/private.h: Likewise.
12919 * timezone/tzfile.h: Likewise.
12920 * timezone/zdump.c: Likewise.
12921 * timezone/zic.c: Likewise.
12923 * sysdeps/unix/sysv/linux/kernel-features.h
12924 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12925 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12926 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12927 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12928 Remove conditional code.
12930 2014-06-25 Will Newton <will.newton@linaro.org>
12932 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12933 (_dl_arm_cap_flags): Add HWCAP2 values.
12934 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12935 (_DL_HWCAP_COUNT): Increase to 37.
12936 (_DL_HWCAP_LAST): New define.
12937 (_DL_HWCAP2_LAST): New define.
12938 (_dl_procinfo): Add support for printing
12940 (_dl_string_hwcap): Use _dl_hwcap_string.
12942 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12946 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12948 * README: Do not mention ports directory.
12950 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12952 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12953 <kernel-features.h>.
12954 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12955 conditional variable definition.
12956 (__futimes): Update comment.
12957 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12958 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12961 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12962 arguments close to 0.
12963 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12965 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12967 * math/auto-libm-test-in: Add more tests of exp10.
12968 * math/auto-libm-test-out: Regenerated.
12969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12971 * sysdeps/unix/sysv/linux/kernel-features.h
12972 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12973 * sysdeps/unix/sysv/linux/readv.c: Do not include
12974 <kernel-features.h>.
12975 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12976 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12977 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12979 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12981 * sysdeps/unix/sysv/linux/writev.c: Do not include
12982 <kernel-features.h>.
12983 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12984 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12985 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12987 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12990 2014-06-25 Will Newton <will.newton@linaro.org>
12992 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12993 comment changes throughout the file. Remove checks
12994 for HAVE_*_H definitions that are not required.
12995 (__gen_tempname): Call abort if an unknown kind value is
12998 2014-06-25 Andreas Schwab <schwab@suse.de>
13001 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13002 scalbln, scalblnf, scalblnl in libc.
13004 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13007 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13008 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13009 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13011 2014-06-24 Roland McGrath <roland@hack.frob.com>
13013 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13014 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13015 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13016 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13018 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13019 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13021 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13022 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13023 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13024 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13025 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13026 * sysdeps/x86/bits/pthreadtypes.h: ... here.
13027 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13028 * sysdeps/x86/bits/semaphore.h: ... here.
13029 * sysdeps/x86/nptl/elide.h: Moved ...
13030 * sysdeps/x86/elide.h: ... here.
13031 * sysdeps/x86_64/nptl/Implies: File removed.
13032 * sysdeps/i386/nptl/Implies: File removed.
13034 2014-06-24 Joseph Myers <joseph@codesourcery.com>
13037 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13038 return the argument for normal arguments with exponent below -64.
13039 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13041 * math/auto-libm-test-in: Add another test of expm1.
13042 * math/auto-libm-test-out: Regenerated.
13045 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13046 calling __erfcl for arguments at least 16.
13047 * math/auto-libm-test-in: Add more tests of erf.
13048 * math/auto-libm-test-out: Regenerated.
13050 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13051 individual architectures.
13052 * sysdeps/unix/sysv/linux/configure: Regenerated.
13053 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13054 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13055 * sysdeps/unix/sysv/linux/powerpc/configure.ac
13056 (ldd_rewrite_script): Define variable.
13057 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13062 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13063 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13064 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13065 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13066 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13067 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13068 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13069 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13071 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13074 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13075 Rename member __data.d to __data.__elision_data.
13077 2014-06-24 Wilco <wdijkstr@arm.com>
13079 * NEWS: Add 16918 to fixed bug list.
13081 2014-06-24 Wilco <wdijkstr@arm.com>
13083 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13085 2014-06-24 Wilco <wdijkstr@arm.com>
13087 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13088 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13089 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13090 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13091 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13092 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13093 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13096 2014-06-24 Wilco <wdijkstr@arm.com>
13098 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13100 2014-06-24 Wilco <wdijkstr@arm.com>
13102 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13103 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13104 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13105 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13107 2014-06-24 Wilco <wdijkstr@arm.com>
13110 * sysdeps/arm/feupdateenv.c (feupdateenv):
13111 Rewrite to reduce FPSCR accesses and fix return value.
13113 2014-06-24 Wilco <wdijkstr@arm.com>
13115 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13116 Optimize to avoid unnecessary FPSCR writes.
13117 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13118 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13119 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13120 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13122 2014-06-24 Wilco <wdijkstr@arm.com>
13124 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13125 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13126 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13127 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13128 Call libc_fetestexcept_vfp.
13129 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13130 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13131 __SOFTFP__ ifdef so that they can be built for softfp.
13133 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13135 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13136 argument type signed char.
13138 * Makerules (check-abi): Dump diff of symlist if the test
13141 2014-06-23 Roland McGrath <roland@hack.frob.com>
13143 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13146 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13147 Remove unused variable ST.
13149 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13153 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13154 small arguments before calling __expm1.
13155 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13156 small arguments before calling __expm1f.
13157 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13158 small arguments before calling __expm1l.
13159 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13161 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13162 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13163 spurious underflow for some cosh tests.
13164 * math/auto-libm-test-out: Regenerated.
13165 * sysdeps/i386/fpu/libm-test-ulps: Update.
13168 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13169 (__ieee754_y1): Set errno if return value overflows.
13170 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13171 (__ieee754_y1f): Set errno if return value overflows.
13172 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13173 (__ieee754_y1l): Set errno if return value overflows.
13174 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13175 (__ieee754_y1l): Set errno if return value overflows.
13176 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13177 * math/auto-libm-test-out: Regenerated.
13179 * math/gen-auto-libm-tests.c: Document use of
13180 ignore-zero-inf-sign.
13181 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13182 (input_flags): Add ignore-zero-inf-sign.
13183 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13184 * math/gen-libm-test.pl (generate_testfile): Handle
13185 ignore-zero-inf-sign.
13186 * math/auto-libm-test-in: Mark some cpow tests with
13187 ignore-zero-inf-sign and some with xfail-rounding.
13188 * math/auto-libm-test-out: Regenerated.
13189 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13190 * sysdeps/i386/fpu/libm-test-ulps: Update.
13191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13194 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13195 overflowing or underflowing operations take place with sign of
13197 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13198 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13199 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13200 (__ieee754_pow): Recompute overflowing and underflowing results in
13201 original rounding mode.
13202 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13203 (__powl_helper): Allow negative argument X and scale negated value
13204 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13205 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13206 overflowing or underflowing operations take place with sign of
13208 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13210 * math/auto-libm-test-in: Add more tests of pow.
13211 * math/auto-libm-test-out: Regenerated.
13212 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13213 (pow_tonearest_test_data): Remove.
13214 (pow_test_tonearest): Likewise.
13215 (pow_towardzero_test_data): Likewise.
13216 (pow_test_towardzero): Likewise.
13217 (pow_downward_test_data): Likewise.
13218 (pow_test_downward): Likewise.
13219 (pow_upward_test_data): Likewise.
13220 (pow_test_upward): Likewise.
13221 (main): Don't call removed functions.
13222 * sysdeps/i386/fpu/libm-test-ulps: Update.
13223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13225 2014-06-23 Roland McGrath <roland@hack.frob.com>
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13401 2014-06-23 Will Newton <will.newton@linaro.org>
13402 Wilco <wdijkstr@arm.com>
13404 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13405 implementation. Include get-rounding-mode.h.
13406 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13407 [!libc_feholdsetround_noex_ctx]: Define
13408 libc_feholdsetround_noex_ctx.
13409 [!libc_feholdsetround_noexf_ctx]: Define
13410 libc_feholdsetround_noexf_ctx.
13411 [!libc_feholdsetround_noexl_ctx]: Define
13412 libc_feholdsetround_noexl_ctx.
13413 (libc_feholdsetround_ctx): New function.
13414 (libc_feresetround_ctx): New function.
13415 (libc_feholdsetround_noex_ctx): New function.
13416 (libc_feresetround_noex_ctx): New function.
13418 2014-06-23 Roland McGrath <roland@hack.frob.com>
13420 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13421 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13422 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13423 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13424 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13425 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13427 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13428 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13429 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13430 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13431 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13432 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13433 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13434 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13436 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13439 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13441 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13442 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13443 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13444 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13445 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13447 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13448 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13449 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13450 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13451 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13452 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13453 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13454 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13456 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13457 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13459 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13460 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13461 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13462 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13464 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13465 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13466 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13467 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13468 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13469 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13470 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13471 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13472 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13473 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13475 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13477 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13478 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13479 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13480 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13481 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13482 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13483 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13484 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13485 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13486 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13487 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13488 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13489 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13491 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13492 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13493 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13494 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13495 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13496 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13498 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13499 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13500 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13501 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13502 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13504 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13505 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13506 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13507 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13508 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13509 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13510 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13511 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13512 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13513 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13514 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13515 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13516 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13517 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13518 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13519 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13520 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13521 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13522 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13523 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13524 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13525 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13526 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13527 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13528 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13529 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13530 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13531 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13533 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13535 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13536 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13537 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13538 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13539 (IPV6_PMTUDISC_INTERFACE): Likewise.
13540 (IPV6_PMTUDISC_OMIT): Likewise.
13542 2014-06-23 Andreas Schwab <schwab@suse.de>
13544 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13545 Remove unused errout label.
13547 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13549 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13550 macro: hardware supports Vector Crypto instructions.
13552 2014-06-23 Will Newton <will.newton@linaro.org>
13554 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13555 rather than __builtin_expect.
13557 * elf/dl-lookup.c (undefined_msg): Remove variable.
13558 (_dl_lookup_symbol_x): Replace undefined_msg with string
13561 * elf/dl-lookup.c (do_lookup_unique): New function.
13562 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13563 to a separate function.
13565 2014-06-23 Andreas Schwab <schwab@suse.de>
13568 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13569 before reading the next line.
13571 2014-06-23 Will Newton <will.newton@linaro.org>
13573 * test-skeleton.c (signal_handler): Use printf and %m
13574 rather than perror. Use printf rather than fprintf to
13575 stderr. Use puts rather than fputs to stderr.
13578 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13580 * nscd/nscd.c (thread_info_t): Remove typedef.
13581 (thread_info): Remove variable.
13583 2014-06-21 Allan McRae <allan@archlinux.org>
13585 * NEWS: Mention CVE-2014-4043.
13587 2014-06-20 Roland McGrath <roland@hack.frob.com>
13589 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13590 * nptl/smp.h: ... here.
13592 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13594 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13595 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13596 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13597 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13599 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13600 * nptl/stack-aliasing.h: New file.
13601 * sysdeps/i386/i686/stack-aliasing.h: New file.
13602 * sysdeps/i386/i686/nptl/Makefile: File removed.
13603 * sysdeps/x86_64/stack-aliasing.h: New file.
13604 * sysdeps/x86_64/nptl/Makefile
13605 (CFLAGS-pthread_create.c): Variable removed.
13607 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13608 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13610 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13611 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13614 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13616 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13617 (__ASSUME_SIGFRAME_V2): Remove macro.
13618 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13619 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13620 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13621 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13622 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13623 Declare as function. Remove conditional macro definitions.
13624 (__default_rt_sa_restorer): Likewise.
13625 (__default_sa_restorer_v1): Remove declaration.
13626 (__default_sa_restorer_v2): Likewise.
13627 (__default_rt_sa_restorer_v1): Likewise.
13628 (__default_rt_sa_restorer_v2): Likewise.
13629 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13630 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13631 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13633 2014-06-20 Roland McGrath <roland@hack.frob.com>
13635 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13636 (libpthread-routines): Add sysdep.
13637 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13638 * sysdeps/unix/sysv/linux/sparc/Versions
13639 (libpthread: GLIBC_2.3.3): New version set.
13640 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13641 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13642 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13643 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13644 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13645 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13647 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13648 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13649 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13650 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13651 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13652 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13653 * sysdeps/sparc/nptl/sem_init.c: ... here.
13654 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13655 * sysdeps/sparc/nptl/sem_post.c: ... here.
13656 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13657 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13658 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13659 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13660 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13661 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13662 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13663 (libpthread-routines): Add cpu_relax.
13664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13666 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13667 (librt: GLIBC_2.3.3): New version set.
13668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13669 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13670 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13671 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13674 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13677 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13679 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13681 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13683 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13685 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13688 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13692 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13696 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13700 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13704 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13708 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13711 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13717 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13719 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13722 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13724 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13726 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13728 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13730 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13731 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13732 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13733 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13734 * nscd/nscd.c: Likewise.
13735 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13736 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13737 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13738 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13740 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13741 <kernel-features.h>.
13742 (init_mq_netlink): Remove conditional have_sock_cloexec
13743 definitions. Remove code conditional on have_sock_cloexec < 0.
13744 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13745 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13746 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13747 <kernel-features.h>.
13748 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13749 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13751 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13753 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13754 Add tests for memset_chk and memset.
13756 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13759 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13762 * elf/tst-dl-iter-static.c: New file.
13763 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13765 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13768 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13770 * sysdeps/unix/sysv/linux/kernel-features.h
13771 (__ASSUME_F_GETOWN_EX): Remove macro.
13772 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13773 <kernel-features.h>.
13774 (miss_F_GETOWN_EX): Remove variable or macro.
13775 (do_fcntl): Do not check miss_F_GETOWN_EX.
13776 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13778 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13781 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13782 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13784 * sysdeps/unix/sysv/linux/kernel-features.h
13785 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13786 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13787 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13788 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13790 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13793 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13794 Fix calculation of the symbol's value.
13795 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13796 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13797 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13798 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13799 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13800 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13801 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13802 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13803 (modules-names): Add `tst-armtlsdescmod',
13804 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13805 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13806 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13807 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13808 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13809 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13810 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13811 ($(objpfx)tst-armtlsdescloc): New dependency.
13812 ($(objpfx)tst-armtlsdescextnow): Likewise.
13813 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13814 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13815 TLS scheme support.
13816 * sysdeps/arm/configure: Regenerate.
13818 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13820 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13821 (__atfct_seterrno_2): Likewise.
13822 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13823 <kernel-features.h>.
13824 (__ASSUME_ATFCTS): Do not undefine and redefine.
13825 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13826 (__have_atfcts): Remove conditional definition.
13827 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13828 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13829 unreachable if [__ASSUME_ATFCTS].
13830 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13831 not undefine and redefine.
13832 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13833 <kernel-features.h>.
13834 (faccessat) [__NR_faccessat]: Make code unconditional.
13835 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13836 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13837 <kernel-features.h>.
13838 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13839 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13840 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13841 <kernel-features.h>.
13842 (fchownat) [__NR_fchownat]: Make code unconditional.
13843 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13844 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13845 <kernel-features.h>.
13846 (futimesat) [__NR_futimesat]: Make code unconditional.
13847 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13848 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13849 <kernel-features.h>.
13850 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13851 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13852 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13853 <kernel-features.h>.
13854 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13855 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13856 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13857 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13858 <kernel-features.h>.
13859 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13860 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13861 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13862 <kernel-features.h>.
13863 (linkat) [__NR_linkat]: Make code unconditional.
13864 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13865 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13866 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13867 <kernel-features.h>.
13868 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13869 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13870 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13871 <kernel-features.h>.
13872 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13873 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13874 * sysdeps/unix/sysv/linux/openat.c: Do not include
13875 <kernel-features.h>.
13876 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13877 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13878 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13879 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13880 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13881 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13882 <kernel-features.h>.
13883 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13884 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13885 result of INLINE_SYSCALL directly, not via int variable.
13886 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13887 <kernel-features.h>.
13888 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13889 (renameat) [__NR_renameat]: Make code unconditional.
13890 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13891 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13892 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13893 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13894 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13895 (__ASSUME_ATFCTS): Do not undefine and redefine.
13896 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13897 <kernel-features.h>.
13898 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13899 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13900 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13901 <kernel-features.h>.
13902 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13903 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13904 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13905 (__ASSUME_ATFCTS): Do not undefine and redefine.
13906 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13907 <kernel-features.h>.
13908 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13909 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13910 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13911 <kernel-features.h>.
13912 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13913 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13915 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13917 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13919 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13922 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13923 constructed tree before returning error.
13924 * posix/bug-regexp36.c: Expand test case.
13926 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13929 * math/libm-test.inc (scalbln_test_date):
13930 Add errno expectations.
13931 * math/w_scalblnf.c: New File.
13932 Add wrapper which checks for setting errno to ERANGE.
13933 Add weak_alias for corresponding scalbln function.
13934 * math/w_scalbln.c: Likewise.
13935 * math/w_scalblnl.c: Likewise.
13936 * math/Makefile (libm-calls): Add w_scalbln.
13937 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13938 Remove weak_alias for corresponding scalbln function.
13939 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13941 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13943 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13944 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13945 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13946 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13947 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13948 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13949 Remove long_double_symbol for scalblnl function in libm, libc.
13950 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13951 Add wrapper which checks for setting errno to ERANGE.
13952 Add long_double_symbol for scalblnl function in libm, libc.
13953 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13954 Remove long_double_symbol for scalblnl in libm.
13955 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13956 Add wrapper which checks for setting errno to ERANGE.
13957 Add long_double_symbol for scalblnl function in libm.
13958 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13959 Do not use wrapper because of own implementation.
13961 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13963 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13964 3 bytes for __pad1 for x32.
13965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13967 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13968 H.J. Lu <hongjiu.lu@intel.com>
13970 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13971 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13972 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13973 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13974 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13976 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13979 * posix/regcomp.c (parse_expression): Deallocate partially
13980 constructed tree before returning error.
13981 * posix/Makefile.c (tests): Add bug-regex36.
13982 (generated): Add bug-regex36.mtrace.
13983 (tests-special): Add $(objpfx)bug-regex36-mem.out
13984 (bug-regex36-ENV): New variable.
13985 ($(objpfx)bug-regex36-mem.out): New rule.
13986 * posix/bug-regex36.c: New file.
13988 2014-06-19 Will Newton <will.newton@linaro.org>
13990 * malloc/malloc.c (systrim): If extra is zero then return
13993 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13995 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13997 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
13999 * sysdeps/aarch64/strchr.S: New file.
14001 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14004 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14005 from arguments -2 or below.
14006 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14007 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14009 2014-06-18 Andreas Schwab <schwab@suse.de>
14012 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14013 of a bracket expr not to run off the end of the string.
14014 * posix/Makefile (tests): Add tst-fnmatch3.
14015 * posix/tst-fnmatch3.c: New file.
14017 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14019 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14020 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14021 [$(cross-compiling) = no]: Likewise.
14022 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14023 [$(cross-compiling) = no]: Likewise.
14025 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14028 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14029 double, adjusted for any remainder from the high double.
14030 * math/libm-test.inc (nearbyint): Add tests.
14033 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14035 * nptl/sysdeps/powerpc/Makefile: Moved ...
14036 * sysdeps/powerpc/nptl/Makefile: ... here.
14037 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14038 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14039 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14040 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14041 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14042 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14043 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14044 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14045 * nptl/sysdeps/powerpc/tls.h: Moved ...
14046 * sysdeps/powerpc/nptl/tls.h: ... here.
14048 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14051 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14052 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14053 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14054 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14055 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14056 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14057 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14058 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14059 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14061 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
14063 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14065 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
14067 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14070 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14073 2014-06-16 Florian Weimer <fweimer@redhat.com>
14076 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14077 non-executed part of the test.
14079 2014-06-16 Andreas Schwab <schwab@suse.de>
14081 * string/bits/string2.h (strdup, strndup): Update feature guard.
14083 2014-06-14 David S. Miller <davem@davemloft.net>
14085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14087 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14089 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14090 that was previously under [RESET_PID].
14091 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14093 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14094 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14095 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14096 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14097 (__libc_vfork): New strong alias.
14098 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14100 2014-06-14 Andi Kleen <ak@linux.intel.com>
14102 * sysdeps/generic/elide.h: New file.
14104 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14106 * Makefile (installed-headers): Adjust path of pthread.h header.
14108 2014-06-13 Roland McGrath <roland@hack.frob.com>
14110 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14111 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14112 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14113 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14115 * nptl/sysdeps/s390/Makefile: Moved ...
14116 * sysdeps/s390/nptl/Makefile: ... here.
14117 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14118 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14119 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14120 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14121 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14122 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14123 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14124 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14125 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14126 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14127 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14128 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14129 * nptl/sysdeps/s390/tls.h: Moved ...
14130 * sysdeps/s390/nptl/tls.h: ... here.
14132 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14133 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14135 2014-06-13 David S. Miller <davem@davemloft.net>
14137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14140 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14144 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14145 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14146 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14147 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14148 Remove RESET_PID cpp guards.
14149 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14150 Remove RESET_PID cpp guards.
14151 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14153 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14155 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14158 2014-06-13 Andi Kleen <ak@linux.intel.com>
14160 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14161 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14162 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14163 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14164 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14165 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14166 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14167 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14168 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14169 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14170 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14171 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14172 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14173 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14174 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14175 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14176 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14177 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14178 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14179 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14181 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14182 (pthread_rwlock_rdlock): Add elision.
14183 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14184 (pthread_rwlock_wrlock): Add elision.
14185 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14186 (pthread_rwlock_trywrlock): Add elision.
14187 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14188 (pthread_rwlock_tryrdlock): Add elision.
14189 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14190 (pthread_rwlock_tryrdlock): Add elision unlock.
14191 * nptl/sysdeps/pthread/pthread.h:
14192 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14193 (PTHREAD_RWLOCK_INITIALIZER,
14194 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14195 Handle new elision field.
14196 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14197 * sysdeps/arm/nptl/bits/pthreadtypes.h
14198 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14199 * sysdeps/sh/nptl/bits/pthreadtypes.h
14200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14201 * sysdeps/tile/nptl/bits/pthreadtypes.h
14202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14203 * sysdeps/a/nptl/bits/pthreadtypes.h
14204 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14205 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14206 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14207 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14208 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14209 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14211 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14212 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14213 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14214 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14215 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14216 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14217 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14219 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14220 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14221 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14222 (elision_init): Set try_xbegin to zero when no RTM.
14223 * sysdeps/x86/nptl/bits/pthreadtypes.h
14224 (pthread_rwlock_t): Change __pad1 to __rwelision.
14225 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14227 2014-06-13 Andi Kleen <ak@linux.intel.com>
14229 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14230 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14231 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14232 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14234 2014-06-13 Meador Inge <meadori@codesourcery.com>
14237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14238 that the cached result has been set before returning it.
14240 2014-06-12 Roland McGrath <roland@hack.frob.com>
14242 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14243 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14244 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14245 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14246 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14247 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14249 * nptl/sysdeps/sparc/Makefile: Moved ...
14250 * sysdeps/sparc/nptl/Makefile: ... here.
14251 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14252 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14253 * nptl/sysdeps/sparc/tls.h: Moved ...
14254 * sysdeps/sparc/nptl/tls.h: ... here.
14255 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14256 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14257 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14258 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14259 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14260 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14261 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14262 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14263 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14264 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14265 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14266 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14267 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14268 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14269 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14270 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14271 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14272 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14274 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14275 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14277 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14278 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14280 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14281 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14284 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14286 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14287 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14289 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14290 (struct list_links): Type removed.
14291 (struct thread_node, struct timer_node): Replace struct list_links
14292 with struct list_head.
14293 (list_unlink_ip): Likewise.
14294 * sysdeps/pthread/timer_routines.c
14295 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14296 (list_append, list_insbefore): Likewise.
14297 (list_init): Function removed.
14298 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14299 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14300 * sysdeps/pthread/Makefile: ... here, new file.
14302 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14303 * sysdeps/nptl/Implies: ... here.
14304 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14305 * nptl/sysdeps/pthread/list.h: Moved ...
14306 * include/list.h: ... here.
14307 * nptl/sysdeps/pthread/createthread.c: Moved ...
14308 * nptl/createthread.c: ... here.
14309 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14310 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14311 * nptl/pt-longjmp.c: ... here.
14312 * nptl/sysdeps/pthread/Makefile: Moved ...
14313 * sysdeps/nptl/Makefile: ... here.
14314 * nptl/sysdeps/pthread/Subdirs: Moved ...
14315 * sysdeps/nptl/Subdirs: ... here.
14316 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14317 * sysdeps/nptl/aio_misc.h: ... here.
14318 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14319 * sysdeps/nptl/bits/libc-lock.h: ... here.
14320 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14321 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14322 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14323 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14324 * nptl/sysdeps/pthread/configure: Moved ...
14325 * sysdeps/nptl/configure: ... here.
14326 * nptl/sysdeps/pthread/configure.ac: Moved ...
14327 * sysdeps/nptl/configure.ac: ... here.
14328 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14329 * sysdeps/nptl/gai_misc.h: ... here.
14330 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14331 * sysdeps/nptl/librt-cancellation.c: ... here.
14332 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14333 * sysdeps/nptl/malloc-machine.h: ... here.
14334 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14335 * sysdeps/nptl/pthread-functions.h: ... here.
14336 * nptl/sysdeps/pthread/pthread.h: Moved ...
14337 * sysdeps/nptl/pthread.h: ... here.
14338 * nptl/sysdeps/pthread/setxid.h: Moved ...
14339 * sysdeps/nptl/setxid.h: ... here.
14340 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14341 * sysdeps/nptl/sigfillset.c: ... here.
14342 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14343 * sysdeps/nptl/tcb-offsets.h: ... here.
14344 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14345 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14346 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14347 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14348 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14349 * sysdeps/pthread/allocalim.h: ... here.
14350 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14351 * sysdeps/pthread/bits/sigthread.h: ... here.
14352 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14353 * sysdeps/pthread/flockfile.c: ... here.
14354 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14355 * sysdeps/pthread/ftrylockfile.c: ... here.
14356 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14357 * sysdeps/pthread/funlockfile.c: ... here.
14358 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14359 * sysdeps/pthread/posix-timer.h: ... here.
14360 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14361 * sysdeps/pthread/timer_create.c: ... here.
14362 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14363 * sysdeps/pthread/timer_delete.c: ... here.
14364 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14365 * sysdeps/pthread/timer_getoverr.c: ... here.
14366 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14367 * sysdeps/pthread/timer_gettime.c: ... here.
14368 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14369 * sysdeps/pthread/timer_routines.c: ... here.
14370 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14371 * sysdeps/pthread/timer_settime.c: ... here.
14372 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14373 * sysdeps/pthread/tst-timer.c: ... here.
14374 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14375 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14377 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14378 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14380 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14381 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14382 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14383 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14384 Update #include target.
14385 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14386 * sysdeps/i386/i686/nptl/Makefile: ... here.
14387 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14388 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14389 Update #include target.
14390 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14391 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14392 * nptl/sysdeps/i386/Makefile: Moved ...
14393 * sysdeps/i386/nptl/Makefile: ... here.
14394 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14395 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14396 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14397 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14398 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14399 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14400 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14401 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14402 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14403 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14404 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14405 * nptl/sysdeps/i386/tls.h: Moved ...
14406 * sysdeps/i386/nptl/tls.h: ... here.
14408 * sysdeps/sh/Makefile [$(subdir) = csu]
14409 (gen-as-const-headers): Add tcb-offsets.sym.
14410 * nptl/sysdeps/sh/Makefile: File removed.
14411 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14412 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14413 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14414 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14415 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14416 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14417 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14418 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14419 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14420 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14421 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14422 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14423 * nptl/sysdeps/sh/tls.h: Moved ...
14424 * sysdeps/sh/nptl/tls.h: ... here.
14425 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14426 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14427 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14428 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14429 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14430 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14431 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14432 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14433 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14434 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14435 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14436 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14437 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14438 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14439 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14440 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14441 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14442 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14443 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14444 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14445 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14446 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14447 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14448 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14449 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14451 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14452 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14454 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14455 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14456 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14457 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14458 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14459 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14460 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14461 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14462 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14463 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14464 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14465 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14466 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14467 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14468 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14469 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14470 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14471 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14472 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14474 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14476 * posix/spawn_faction_addopen.c: Include string.h.
14478 2014-06-11 Roland McGrath <roland@hack.frob.com>
14480 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14481 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14482 * nptl/sysdeps/x86_64/Makefile: Moved ...
14483 * sysdeps/x86_64/nptl/Makefile: ... here.
14484 * nptl/sysdeps/x86_64/configure: Moved ...
14485 * sysdeps/x86_64/nptl/configure: ... here.
14486 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14487 * sysdeps/x86_64/nptl/configure.ac: ... here.
14488 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14489 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14490 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14491 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14492 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14493 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14494 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14495 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14496 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14497 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14498 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14499 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14500 * nptl/sysdeps/x86_64/tls.h: Moved ...
14501 * sysdeps/x86_64/nptl/tls.h: ... here.
14502 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14503 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14504 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14505 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14507 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14509 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14513 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14515 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14517 [POSIX] (off_t): Likewise.
14518 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14519 [POSIX] (S_ISBLK): Require macro.
14520 [POSIX] (S_ISCHR): Likewise.
14521 [POSIX] (S_ISDIR): Likewise.
14522 [POSIX] (S_ISFIFO): Likewise.
14523 [POSIX] (S_ISREG): Likewise.
14524 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14526 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14528 [POSIX] (time_t): Likewise.
14529 [POSIX] (timer_t): Likewise.
14531 2014-06-11 Florian Weimer <fweimer@redhat.com>
14534 * posix/spawn_int.h (struct __spawn_action): Make the path string
14535 non-const to support deallocation.
14536 * posix/spawn_faction_addopen.c
14537 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14538 * posix/spawn_faction_destroy.c
14539 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14540 path in all spawn_do_open actions.
14541 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14542 posix_spawn_file_actions_addopen.
14544 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14546 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14547 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14548 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14549 conditional code always true.
14550 (__libc_vfork): New alias.
14552 2014-06-11 Roland McGrath <roland@hack.frob.com>
14554 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14555 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14557 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14559 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14560 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14562 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14563 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14565 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14566 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14568 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14570 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14571 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14572 multiarch strcmp for PPC64.
14573 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14574 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14576 multiarch optimizations.
14577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14578 (__libc_ifunc_impl_list): Likewise.
14580 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14582 * benchtests/scripts/validate_benchout.py: New script.
14583 * benchtests/Makefile (bench-func): Call it.
14584 * benchtests/scripts/benchout.schema.json: New file.
14586 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14588 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14589 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14590 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14591 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14592 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14593 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14594 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14595 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14596 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14597 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14598 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14599 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14600 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14601 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14602 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14603 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14707 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14708 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14709 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14710 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14711 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14713 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14715 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14716 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14717 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14718 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14719 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14720 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14721 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14722 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14723 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14724 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14726 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14729 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14730 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14732 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14733 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14734 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14737 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14738 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14739 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14740 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14741 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14742 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14743 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14745 2014-06-10 Wilco <wdijkstr@arm.com>
14747 * math/test-fenv-return.c: New file.
14748 * math/Makefile: Add new test test-fenv-return.
14750 2014-06-10 Joseph Myers <joseph@codesourcery.com>
14753 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14754 when x - 1 is zero.
14755 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14756 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14757 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14758 0.0L for an argument of 1.0L.
14759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14761 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14762 value when x - 1 is zero.
14763 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14764 * sysdeps/i386/fpu/libm-test-ulps: Update.
14765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14767 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14770 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14772 2014-06-09 Roland McGrath <roland@hack.frob.com>
14774 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14775 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14777 2014-06-09 Roland McGrath <roland@hack.frob.com>
14779 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14780 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14782 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14783 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14785 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14786 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14788 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14789 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14791 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14792 if not already defined.
14793 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14794 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14795 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14796 (TLS_INIT_TP): Use it.
14797 (TLS_DEFINE_INIT_TP): New macro.
14798 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14800 2014-06-09 Joseph Myers <joseph@codesourcery.com>
14802 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14804 [POSIX] (IXANY): Likewise.
14805 [POSIX] (OLCUC): Likewise.
14806 [POSIX || POSIX2008] (CBAUD): Do not allow.
14807 [POSIX || POSIX2008] (DEFECHO): Likewise.
14808 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14809 [POSIX || POSIX2008] (ECHOKE): Likewise.
14810 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14811 [POSIX || POSIX2008] (EXTA): Likewise.
14812 [POSIX || POSIX2008] (EXTB): Likewise.
14813 [POSIX || POSIX2008] (FLUSHO): Likewise.
14814 [POSIX || POSIX2008] (LOBLK): Likewise.
14815 [POSIX || POSIX2008] (PENDIN): Likewise.
14816 [POSIX || POSIX2008] (SWTCH): Likewise.
14817 [POSIX || POSIX2008] (VDISCARD): Likewise.
14818 [POSIX || POSIX2008] (VDSUSP): Likewise.
14819 [POSIX || POSIX2008] (VLNEXT): Likewise.
14820 [POSIX || POSIX2008] (VREPRINT): Likewise.
14821 [POSIX || POSIX2008] (VSTATUS): Likewise.
14822 [POSIX || POSIX2008] (VWERASE): Likewise.
14823 (B*): Change to B[0123456789]*.
14824 * conform/data/time.h-data [POSIX || UNIX98]
14825 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14826 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14827 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14828 [POSIX] (tm_*): Do not allow.
14830 2014-06-07 Joseph Myers <joseph@codesourcery.com>
14832 * Makefile (install): Don't set LANGUAGE.
14833 * Makefile.in (install): Likewise.
14834 * assert/Makefile (test-assert-ENV): Remove variable.
14835 (test-assert-perr-ENV): Likewise.
14836 * elf/Makefile (neededtest4-ENV): Likewise.
14837 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14838 [$(cross-compiling) = no]: Don't set LANGUAGE.
14839 * io/ftwtest-sh (LANG): Remove variable.
14840 * libio/Makefile (tst-widetext-ENV): Likewise.
14841 * manual/install.texi (Running make install): Don't refer to
14842 environment settings for make install.
14843 * INSTALL: Regenerated.
14844 * nptl/tst-tls6.sh: Don't set LANG.
14845 * posix/globtest.sh (LANG): Remove variable.
14846 * string/Makefile (tester-ENV): Likewise.
14847 (inl-tester-ENV): Likewise.
14848 (noinl-tester-ENV): Likewise.
14849 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14850 [$(cross-compiling) = no]: Don't set LANGUAGE.
14851 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14852 without explicit environment settings.
14854 2014-06-06 Roland McGrath <roland@hack.frob.com>
14856 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14857 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14858 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14859 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14861 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14863 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14864 other files in the crypt directory.
14865 * crypt/crypt.c: Remove duplicate includes.
14866 * crypt/crypt-entry.c: Likewise.
14867 * crypt/crypt_util.c: Likewise.
14869 2014-06-06 Joseph Myers <joseph@codesourcery.com>
14871 * Makeconfig (run-program-env): New variable.
14872 (run-program-prefix-before-env): Likewise.
14873 (run-program-prefix-after-env): Likewise.
14874 (run-program-prefix): Define in terms of new variables.
14875 (built-program-cmd-before-env): New variable.
14876 (built-program-cmd-after-env): Likewise.
14877 (built-program-cmd): Define in terms of new variables.
14878 (test-program-prefix-before-env): New variable.
14879 (test-program-prefix-after-env): Likewise.
14880 (test-program-prefix): Define in terms of new variables.
14881 (test-program-cmd-before-env): New variable.
14882 (test-program-cmd-after-env): Likewise.
14883 (test-program-cmd): Define in terms of new variables.
14884 * Rules (make-test-out): Use $(run-program-env).
14885 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14886 (help): Do not mention environment variables. Mention
14887 --timeoutfactor option.
14888 (timeoutfactor): New variable.
14889 (blacklist_exports): Remove function.
14890 (exports): Remove variable.
14891 (command): Do not include ${exports}.
14892 * manual/install.texi (Configuring and compiling): Do not mention
14893 test wrappers preserving environment variables. Mention that last
14894 assignment to a variable must take precedence.
14895 * INSTALL: Regenerated.
14896 * benchtests/Makefile (run-bench): Use $(run-program-env).
14897 * catgets/Makefile ($(objpfx)test1.cat): Use
14898 $(built-program-cmd-before-env), $(run-program-env) and
14899 $(built-program-cmd-after-env).
14900 ($(objpfx)test2.cat): Do not specify environment variables
14902 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14903 $(run-program-env) and $(built-program-cmd-after-env).
14904 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14905 $(run-program-env) and $(test-program-cmd-after-env).
14906 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14908 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14909 run_program_env and test_program_cmd_after_env arguments.
14910 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14911 * elf/tst-pathopt.sh: Use run_program_env argument.
14912 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14913 $(test-wrapper-env) and $(run-program-env).
14914 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14915 run_program_env arguments.
14916 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14917 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14918 $(test-program-prefix-before-env), $(run-program-env) and
14919 $(test-program-prefix-after-env).
14920 ($(objpfx)tst-gettext2.out): Likewise.
14921 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14922 run_program_env and test_program_prefix_after_env arguments.
14923 * intl/tst-gettext2.sh: Likewise.
14924 * intl/tst-gettext4.sh: Do not set environment variables
14926 * intl/tst-gettext6.sh: Likewise.
14927 * intl/tst-translit.sh: Likewise.
14928 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14929 $(test-program-prefix-before-env), $(run-program-env) and
14930 $(test-program-prefix-after-env).
14931 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14932 run_program_env and test_program_prefix_after_env arguments.
14933 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14934 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14935 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14936 explicitly with each use of ${test_wrapper_env}.
14937 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14938 $(test-program-prefix-before-env), $(run-program-env) and
14939 $(test-program-prefix-after-env).
14940 * posix/tst-getconf.sh: Do not set environment variables
14942 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14943 run_program_env and test_program_prefix_after_env arguments.
14944 * stdio-common/tst-printf.sh: Do not set environment variables
14946 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14947 $(test-program-prefix-before-env), $(run-program-env) and
14948 $(test-program-prefix-after-env).
14949 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14950 run_program_env and test_program_prefix_after_env arguments.
14951 Split $test calls into $test_pre and $test.
14952 * timezone/Makefile (build-testdata): Use
14953 $(built-program-cmd-before-env), $(run-program-env) and
14954 $(built-program-cmd-after-env).
14956 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14958 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14959 strlen for non SHARED builds.
14961 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14963 * nptl/allocatestack.c (check_list): Inlined function...
14964 (__reclaim_stacks): ... here.
14966 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14969 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14972 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14974 * Rules (make-test-out): Include
14975 LOCPATH=$(common-objpfx)localedata in default environment.
14976 * debug/Makefile (tst-chk1-ENV): Remove variable.
14977 (tst-chk2-ENV): Likewise.
14978 (tst-chk3-ENV): Likewise.
14979 (tst-chk4-ENV): Likewise.
14980 (tst-chk5-ENV): Likewise.
14981 (tst-chk6-ENV): Likewise.
14982 (tst-lfschk1-ENV): Likewise.
14983 (tst-lfschk2-ENV): Likewise.
14984 (tst-lfschk3-ENV): Likewise.
14985 (tst-lfschk4-ENV): Likewise.
14986 (tst-lfschk5-ENV): Likewise.
14987 (tst-lfschk6-ENV): Likewise.
14988 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14989 (tst-iconv7-ENV): Likewise.
14990 * intl/Makefile (LOCPATH-ENV): Likewise.
14991 (tst-codeset-ENV): Likewise.
14992 (tst-gettext3-ENV): Likewise.
14993 (tst-gettext5-ENV): Likewise.
14994 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14995 (tst-fopenloc-ENV): Likewise.
14996 (tst-fgetws-ENV): Remove variable.
14997 (tst-ungetwc1-ENV): Likewise.
14998 (tst-ungetwc2-ENV): Likewise.
14999 (bug-ungetwc2-ENV): Likewise.
15000 (tst-swscanf-ENV): Likewise.
15001 (bug-ftell-ENV): Likewise.
15002 (tst-fgetwc-ENV): Likewise.
15003 (tst-fseek-ENV): Likewise.
15004 (tst-ftell-partial-wide-ENV): Likewise.
15005 (tst-ftell-active-handler-ENV): Likewise.
15006 (tst-ftell-append-ENV): Likewise.
15007 * posix/Makefile (tst-fnmatch-ENV): Likewise.
15008 (tst-regexloc-ENV): Likewise.
15009 (bug-regex1-ENV): Likewise.
15010 (tst-regex-ENV): Likewise.
15011 (tst-regex2-ENV): Likewise.
15012 (bug-regex5-ENV): Likewise.
15013 (bug-regex6-ENV): Likewise.
15014 (bug-regex17-ENV): Likewise.
15015 (bug-regex18-ENV): Likewise.
15016 (bug-regex19-ENV): Likewise.
15017 (bug-regex20-ENV): Likewise.
15018 (bug-regex22-ENV): Likewise.
15019 (bug-regex23-ENV): Likewise.
15020 (bug-regex25-ENV): Likewise.
15021 (bug-regex26-ENV): Likewise.
15022 (bug-regex30-ENV): Likewise.
15023 (bug-regex32-ENV): Likewise.
15024 (bug-regex33-ENV): Likewise.
15025 (bug-regex34-ENV): Likewise.
15026 (bug-regex35-ENV): Likewise.
15027 (tst-rxspencer-ENV): Likewise.
15028 (tst-rxspencer-no-utf8-ENV): Likewise.
15029 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15030 (tst-sscanf-ENV): Likewise.
15031 (tst-swprintf-ENV): Likewise.
15032 (tst-swscanf-ENV): Likewise.
15033 (test-vfprintf-ENV): Likewise.
15034 (scanf13-ENV): Likewise.
15035 (bug14-ENV): Likewise.
15036 (tst-grouping-ENV): Likewise.
15037 * stdlib/Makefile (tst-strtod-ENV): Likewise.
15038 (tst-strtod3-ENV): Likewise.
15039 (tst-strtod4-ENV): Likewise.
15040 (tst-strtod5-ENV): Likewise.
15041 (testmb2-ENV): Likewise./
15042 * string/Makefile (tst-strxfrm-ENV): Likewise.
15043 (tst-strxfrm2-ENV): Likewise.
15044 (bug-strcoll1-ENV): Likewise.
15045 (test-strcasecmp-ENV): Likewise.
15046 (test-strncasecmp-ENV): Likewise.
15047 * time/Makefile (tst-strptime-ENV): Likewise.
15048 (tst-ftime_l-ENV): Likewise.
15049 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15050 (tst-mbrtowc-ENV): Likewise.
15051 (tst-wcrtomb-ENV): Likewise.
15052 (tst-mbrtowc2-ENV): Likewise.
15053 (tst-c16c32-1-ENV): Likewise.
15054 (tst-mbsnrtowcs-ENV): Likewise.
15056 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15058 * manual/resource.texi (How to get information about the memory
15059 subsystem?): Fix typo.
15060 Reported by Peon de la Parra Ivan <peon@keba.com>
15062 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
15065 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15066 (pthread_spin_lock): Branch out of spin loop to proper location.
15067 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15068 (pthread_spin_lock): Likewise.
15070 * nptl/tst-spin4.c: New test.
15071 * nptl/Makefile (tests): Add tst-spin4.
15073 2014-06-03 Andreas Schwab <schwab@suse.de>
15076 * resolv/res_send.c (send_dg): Reload file descriptor after
15079 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15081 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15083 2014-06-03 Richard Henderson <rth@redhat.com>
15085 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15086 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15087 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15088 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15089 in the SAVE_PID block.
15090 (__libc_vfork): New alias.
15091 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15093 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15094 child in registers, not on the stack. Remove RESET_PID conditionals.
15095 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15097 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15099 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15101 2014-06-03 Wilco <wdijkstr@arm.com>
15103 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15104 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15105 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15106 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15107 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15110 2014-06-03 Wilco <wdijkstr@arm.com>
15112 * sysdeps/aarch64/fpu/math_private.h
15113 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15114 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15115 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15116 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15119 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15121 * crypt/crypt-private.h: Include ufc-crypt.h.
15122 (__b64_from_24bit): Declare extern.
15123 * crypt/crypt_util.c(__b64_from_24bit): New function.
15124 (b64t): New static const variable.
15125 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15126 (b64t): Remove variable.
15127 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15128 * crypt/sha256-crypt.c: Include crypt-private.h.
15129 (b64t): Remove variable.
15130 (__sha256_crypt_r): Remove b64_from_24bit and replace
15131 with __b64_from_24bit.
15132 * crypt/sha512-crypt.c: Likewise.
15134 2014-06-02 Roland McGrath <roland@hack.frob.com>
15136 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15137 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15138 Label the code __libc_vfork rather than __vfork.
15139 [!NOT_IN_libc] (vfork): Define as weak alias.
15140 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15141 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15142 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15144 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15146 * malloc/malloc.c (malloc_info): Fix format specifier for
15149 2014-06-02 Wilco <wdijkstr@arm.com>
15151 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15154 2014-06-02 Wilco <wdijkstr@arm.com>
15157 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15158 Rewrite to reduce FPCR/FPSR accesses.
15160 2014-06-01 David S. Miller <davem@davemloft.net>
15162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15164 2014-05-31 David S. Miller <davem@davemloft.net>
15166 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15167 to occur in round to nearest mode when |x| >= 2.0
15169 2014-05-30 Richard Henderson <rth@twiddle.net>
15171 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15172 (PSEUDO_RET_NOERRNO): Remove.
15173 (ret): Don't redefine.
15174 (ret_NOERRNO): Define in terms of ret.
15175 (ret_ERRVAL): Likewise.
15177 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15178 use of PSEUDO_RET; perform the error check directly.
15180 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15182 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15185 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15187 * malloc/malloc (malloc_info): Fix formatting.
15189 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15190 Roland McGrath <roland@hack.frob.com>
15192 * malloc/malloc (malloc_info): Also print mmapped statistics.
15194 2014-05-30 Roland McGrath <roland@hack.frob.com>
15196 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15197 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15199 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15201 * malloc/malloc.c (malloc_info): Inline mi_arena.
15203 2014-05-29 Richard Henderson <rth@twiddle.net>
15205 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15206 Remove comma before expanding ASM_ARGS_##nr.
15207 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15208 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15210 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15211 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15212 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15213 (ASM_ARGS_1): Add leading comma.
15215 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15216 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15217 to __errno_location.
15218 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15219 Remove the expected plt for __errno_location.
15221 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15222 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15225 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15226 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15227 it and break it down.
15228 (DOCARGS_0, DOCARGS_1): Do nothing.
15229 (DOCARGS_2): Update to store into the new stack frame.
15230 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15231 (UNDOCARGS_1): Update to restore from the new stack frame.
15232 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15233 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15235 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15236 (SINGLE_THREAD_P): New parameter for result regno.
15237 (PSEUDO): Update to match; use cbz instead of beq.
15239 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15240 Use ENTRY to define the _nocancel entry point. Share the syscall
15241 and syscall error check paths with the cancel path.
15244 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15245 whitespace; tabs before and after asm mnemonics.
15247 2014-05-29 Eric Wong <normalperson@yhbt.net>
15250 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15251 Call fstat64 or stat64 internally, depending on arguments passed.
15252 Replace stat buffer argument with file descriptor argument.
15253 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15254 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15255 Pass fd to __internal_statvfs instead of calling fstat64.
15256 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15257 Pass fd to __internal_statvfs64 instead of calling fstat64.
15258 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15259 Pass -1 to __internal_statvfs instead of calling stat64.
15260 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15261 Pass -1 to __internal_statvfs64 instead of calling stat64.
15263 2014-05-28 Roland McGrath <roland@hack.frob.com>
15265 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15266 that was previously under [RESET_PID].
15267 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15269 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15270 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15272 2014-05-27 Roland McGrath <roland@hack.frob.com>
15274 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15276 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15277 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15279 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15281 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15283 2014-05-27 Andreas Schwab <schwab@suse.de>
15285 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15287 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15288 * elf/rtld.c (init_tls, dl_main): Likewise.
15289 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15290 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15291 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15292 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15293 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15294 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15295 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15296 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15297 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15298 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15299 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15300 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15301 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15302 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15303 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15304 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15305 * sysdeps/generic/tls.h: Update description.
15307 2014-05-27 Will Newton <will.newton@linaro.org>
15310 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15311 and restore r2 rather than just restoring.
15313 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15316 * libio/tst-ftell-append.c: New test case.
15317 * libio/Makefile (tests): Add test case.
15318 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15320 * libio/wfileops.c (do_ftell_wide): Likewise.
15322 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15326 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15330 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15331 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15332 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15333 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15334 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15335 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15342 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15343 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15344 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15345 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15346 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15348 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15349 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15351 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15353 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15355 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15356 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15357 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15359 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15360 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15361 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15362 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15367 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15370 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15373 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15377 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15385 conditional [RESET_PID].
15386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15387 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15394 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15395 (__libc_vfork): New strong alias.
15396 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15403 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15404 (__libc_vfork): New strong alias.
15405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15410 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15412 * malloc/malloc.c (mi_arena): New function.
15413 (malloc_info): Remove nested function mi_arena. Call non-nosted
15416 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15418 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15420 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15421 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15422 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15423 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15424 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15425 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15426 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15428 2014-05-26 Andreas Schwab <schwab@suse.de>
15431 * locale/programs/repertoire.c (repertoire_read): Add slash
15432 between I18NPATH element and file name.
15433 * locale/programs/locfile.c (locfile_read): Likewise.
15435 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15437 * nptl/pthread_mutexattr_settype.c
15438 (__pthread_mutexattr_settype):
15439 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15441 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15443 * nptl/tst-mutex5 (do_test):
15444 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15446 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15448 * benchtests/README: Document 'init' directive.
15449 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15451 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15452 (parse_file): Recognize 'init' directive.
15454 2014-05-26 Kyle McMartin <kyle@redhat.com>
15457 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15458 alignment of struct pthread.
15460 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15463 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15464 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15465 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15466 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15468 2014-05-25 Richard Henderson <rth@twiddle.net>
15470 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15471 (SINGLE_THREAD_P_PIC): Remove.
15472 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15473 (SINGLE_THREAD_P_PIC): Remove.
15475 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15476 branch to syscall error ...
15477 (PSEUDO): ... here.
15478 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15479 from __local_syscall_error to .Lsyscall_error.
15480 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15481 (SYSCALL_ERROR): Update label name.
15483 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15484 Do not use DOARGS/UNDOARGS.
15485 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15486 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15487 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15488 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15489 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15491 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15494 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15495 define if !NOT_IN_libc.
15496 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15497 define with non-default symbol versions.
15499 2014-05-23 Richard Henderson <rth@twiddle.net>
15501 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15502 (vfork, __vfork): Define via compat_symbol.
15504 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15505 [!HAVE_IFUNC] (vfork_compat): Remove.
15506 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15508 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15511 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15512 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15515 2014-05-23 Richard Henderson <rth@twiddle.net>
15517 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15518 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15519 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15520 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15522 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15523 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15524 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15525 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15526 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15527 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15528 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15529 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15530 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15531 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15532 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15533 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15534 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15535 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15536 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15537 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15538 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15539 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15540 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15541 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15542 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15543 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15544 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15545 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15546 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15547 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15548 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15549 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15550 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15551 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15552 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15553 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15554 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15555 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15556 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15557 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15558 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15559 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15560 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15561 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15562 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15563 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15564 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15565 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15566 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15567 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15568 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15569 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15570 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15571 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15572 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15573 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15574 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15575 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15576 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15577 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15579 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15580 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15581 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15582 before exiting on error.
15583 (__libc_vfork): New strong alias.
15584 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15585 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15587 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15588 that was previously under [RESET_PID].
15589 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15591 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15593 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15596 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15597 value when x - 1 is zero.
15598 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15599 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15600 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15601 0.0L for an argument of 1.0L.
15602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15604 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15605 value when x - 1 is zero.
15606 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15607 * sysdeps/i386/fpu/libm-test-ulps: Update.
15608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15610 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15612 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15613 alphasort and versionsort.
15615 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15617 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15619 [copysignf]: Likewise.
15621 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15623 * crypt/md5-crypt.c: Fix formatting.
15625 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15627 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15628 (b64_from_24bit): New function.
15630 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15632 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15633 libc_hidden_builtin_def to ifunc.
15634 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15635 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15637 2014-05-21 Roland McGrath <roland@hack.frob.com>
15639 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15640 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15642 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15644 * nscd/Depend (linuxthreads): Remove.
15646 * resolv/Depend (linuxthreads): Remove.
15647 * rt/Depend (linuxthreads): Remove.
15649 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15650 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15651 $(common-objpfx)elf/.
15652 (link-libc-before-gnulib): Likewise.
15653 (elfobjdir): Remove variable.
15654 * Makefile (install): Use $(elf-objpfx) instead of
15655 $(common-objpfx)elf/.
15656 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15658 (link-libc-deps): Likewise.
15659 ($(common-objpfx)libc.so): Likewise.
15660 ($(common-objpfx)linkobj/libc.so): Likewise.
15661 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15662 instead of $(common-objpfx)elf/.
15663 (symbolic-link-list): Likewise.
15664 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15665 [$(cross-compiling) = no]: Likewise.
15666 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15668 (static-gnulib-arch): Likewise.
15669 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15670 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15671 $(common-objpfx)elf/.
15673 2014-05-21 Richard Henderson <rth@redhat.com>
15675 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15676 (SINGLE_THREAD_P): Use the correct width load. Fold
15677 into the ldr offset.
15679 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15680 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15682 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15684 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15685 (libgcc_s_resume): Use __attribute_used__.
15686 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15689 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15691 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15692 optimization when used with float constants.
15694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15696 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15699 * locale/nl_langinfo_l.c: Make direct reference to every
15700 _nl_current_CATEGORY symbol.
15701 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15702 (tests-static): Add tst-langinfo-static.
15703 (tests-special): Add tst-langinfo-static.out.
15704 ($(objpfx)tst-langinfo.out): Redirect output.
15705 ($(objpfx)tst-langinfo-static.out): New.
15706 * localedata/tst-langinfo.sh: Send output to stdout.
15707 * localedata/tst-langinfo-static.c: New file.
15710 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15711 when the shift amount is modulo the limb size.
15713 2014-05-20 Richard Henderson <rth@redhat.com>
15716 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15717 Change type of sa_flags from unsigned int to int.
15720 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15722 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15724 2014-05-20 Will Newton <will.newton@linaro.org>
15726 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15727 Test the return value of the system call in the nocancel case.
15729 2014-05-20 Will Newton <will.newton@linaro.org>
15730 Yvan Roux <yvan.roux@linaro.org>
15732 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15733 #include of asm/ptrace.h.
15734 (PTRACE_GET_THREAD_AREA): Remove #undef.
15735 (PTRACE_GETHBPREGS): Likewise.
15736 (PTRACE_SETHBPREGS): Likewise.
15737 (struct user_regs_struct): New structure.
15738 (struct user_fpsimd_struct): New structure.
15739 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15740 #include of asm/ptrace.h and second #include of sys/user.h.
15741 (PTRACE_GET_THREAD_AREA): Remove #undef.
15742 (PTRACE_GETHBPREGS): Likewise.
15743 (PTRACE_SETHBPREGS): Likewise.
15744 (ELF_NGREG): Use new struct user_regs_struct.
15745 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15747 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15749 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15750 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15752 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15755 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15756 membar to avoid block loads/stores to overlap previous stores.
15758 2014-05-17 Richard Henderson <rth@redhat.com>
15760 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15761 Create the __##syscall_name##_nocancel entry point.
15762 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15763 Remove; let the sysdep-cancel.h code create it.
15765 2014-05-17 David S. Miller <davem@davemloft.net>
15767 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15768 Protect with __USE_GNU.
15769 (TIOCSET_TEMPT): Likewise.
15770 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15771 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15772 these are already provided in bits/ioctl-types.h
15774 2014-05-16 Roland McGrath <roland@hack.frob.com>
15776 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15777 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15779 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15780 Use wait4 regardless of [__NR_waitpid].
15782 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15785 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15786 (_FP_NANSIGN_Q): Set the quiet bit.
15788 2014-05-16 Joseph Myers <joseph@codesourcery.com>
15790 * benchtests/Makefile
15791 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15792 not $(common-objpfx)math/libm.so.
15793 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15794 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15795 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15796 $(common-objpfx)dlfcn/libdl.so.
15797 ($(objpfx)tst-audit8): Depend on $(libm), not
15798 $(common-objpfx)math/libm.so.
15799 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15800 not $(common-objpfx)dlfcn/libdl.so.
15802 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15803 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15804 [$(build-shared) = yes].
15805 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15806 $(common-objpfx)nptl/libpthread.so.
15807 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15808 $(common-objpfx)math/libm.so$(libm.so-version) or
15809 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15810 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15811 $(common-objpfx)dlfcn/libdl.so.
15812 * setjmp/Makefile (link-libm): Remove variable.
15813 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15814 * stdio-common/Makefile (link-libm): Remove variable.
15815 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15816 * stdlib/Makefile (link-libm): Remove variable.
15817 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15818 ($(objpfx)tst-strtod-round): Likewise.
15819 ($(objpfx)tst-tininess): Likewise.
15820 ($(objpfx)tst-strtod-underflow): Likewise.
15821 ($(objpfx)tst-strtod6): Likewise.
15822 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15823 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15824 $(common-objpfx)dlfcn/libdl.so.
15826 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15828 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15829 BSD terminal modes definitions.
15831 2014-05-16 Roland McGrath <roland@hack.frob.com>
15833 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15834 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15836 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15837 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15838 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15839 Don't do #include_next.
15840 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15841 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15842 Don't do #include_next.
15843 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15844 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15845 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15846 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15848 2014-05-16 Allan McRae <allan@archlinux.org>
15850 * po/sv.po: Update Swedish translation from translation project.
15852 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15855 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15858 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15859 errno if the TIOCGPTN ioctl fails with an error different than
15861 * login/tst-ptsname.c: New file.
15862 * login/Makefile (tests): Add tst-ptsname.
15865 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15868 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15872 herrno to return EAI_AGAIN.
15874 2014-05-14 Roland McGrath <roland@hack.frob.com>
15876 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15877 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15878 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15879 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15880 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15881 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15882 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15883 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15885 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15886 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15887 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15888 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15889 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15890 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15891 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15892 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15893 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15894 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15895 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15896 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15897 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15898 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15899 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15900 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15901 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15902 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15903 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15904 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15905 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15907 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15909 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15912 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15914 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15916 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15918 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15920 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15922 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15924 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15926 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15928 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15930 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15932 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15934 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15936 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15938 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15941 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15943 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15945 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15947 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15949 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15951 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15953 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15955 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15957 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15959 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15962 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15964 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15966 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15967 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15968 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15969 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15970 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15971 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15972 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15973 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15974 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15975 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15976 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15977 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15978 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15979 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15980 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15981 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15982 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15983 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15984 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15985 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15986 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15987 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15988 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15989 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15990 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15991 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15992 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15993 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15994 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15995 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15996 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15998 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15999 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16001 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16002 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16003 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16004 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16005 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16006 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16008 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16009 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16011 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16012 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16014 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16015 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16017 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16018 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16019 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16020 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16022 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16023 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16024 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16025 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16026 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16027 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16028 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16029 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16031 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16032 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16034 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16036 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16037 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16038 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16039 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16040 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16042 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16044 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16046 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16047 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16048 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16049 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16050 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16051 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16053 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16054 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16056 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16057 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16059 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16060 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16062 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16063 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16064 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16065 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16067 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16068 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16069 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16070 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16071 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16072 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16073 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16074 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16076 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16077 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16079 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16081 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16082 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16083 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16084 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16085 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16087 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16089 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16091 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16092 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16093 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16094 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16095 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16096 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16097 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16098 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16099 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16100 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16102 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16103 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16105 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16106 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16108 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16109 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16111 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16112 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16113 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16114 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16115 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16116 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16118 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16119 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16120 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16121 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16122 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16123 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16124 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16125 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16127 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16128 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16130 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16132 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16133 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16134 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16135 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16136 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16138 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16140 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16142 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16143 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16144 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16145 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16146 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16147 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16148 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16149 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16150 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16151 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16152 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16154 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16155 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16157 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16158 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16160 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16161 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16162 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16163 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16164 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16165 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16166 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16167 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16168 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16169 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16170 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16171 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16172 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16173 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16174 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16175 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16176 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16177 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16179 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16180 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16181 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16182 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16184 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16185 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16186 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16187 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16188 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16189 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16190 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16193 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16194 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16196 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16197 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16198 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16199 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16200 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16202 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16203 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16204 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16205 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16206 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16207 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16208 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16209 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16210 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16211 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16212 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16214 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16215 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16216 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16217 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16218 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16220 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16221 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16222 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16223 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16224 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16225 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16226 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16227 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16228 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16229 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16231 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16232 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16234 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16235 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16236 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16237 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16238 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16239 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16240 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16241 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16242 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16243 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16244 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16245 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16246 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16247 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16248 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16254 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16260 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16269 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16273 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16274 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16275 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16276 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16278 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16279 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16280 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16281 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16282 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16284 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16285 that was previously under [RESET_PID].
16286 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16287 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16288 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16290 * sysdeps/i386/nptl/Implies: New file.
16291 * sysdeps/x86_64/nptl/Implies: New file.
16292 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16293 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16294 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16295 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16297 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16298 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16299 (__libc_vfork): New strong alias.
16300 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16301 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16303 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16304 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16305 (__libc_vfork): New strong alias.
16306 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16307 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16309 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16310 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16311 (__libc_vfork): New strong alias.
16312 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16313 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16314 * nptl/pt-vfork.c: New file.
16315 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16316 (libpthread: GLIBC_2.20): New version set (empty).
16318 2014-05-14 Will Newton <will.newton@linaro.org>
16320 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16323 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16326 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16327 arguments with exponent 65 or above.
16328 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16329 arguments 0x1p113L or above.
16330 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16331 to arguments 0x1p107L or above.
16332 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16333 positive arguments with exponent 65 or above.
16334 * math/auto-libm-test-in: Add more tests of log1p.
16335 * math/auto-libm-test-out: Regenerated.
16338 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16339 non-finite arguments is +0.
16340 * math/s_cacosf.c (__cacosf): Likewise.
16341 * math/s_cacosl.c (__cacosl): Likewise.
16342 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16347 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16349 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16350 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16351 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16352 for explicit high bit of mantissa when testing for argument equal
16354 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16355 * sysdeps/i386/fpu/libm-test-ulps: Update.
16356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16359 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16360 (__erf): Scale by 16 instead of 8 in potentially underflowing
16361 case. Ensure exception if result actually underflows.
16362 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16363 (__erff): Scale by 16 instead of 8 in potentially underflowing
16364 case. Ensure exception if result actually underflows.
16365 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16366 (efx8): Remove variable.
16367 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16368 case. Ensure exception if result actually underflows.
16369 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16370 (efx8): Remove variable.
16371 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16372 case. Ensure exception if result actually underflows.
16373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16374 (efx8): Remove variable.
16375 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16376 case. Ensure exception if result actually underflows.
16377 * math/auto-libm-test-in: Add more tests of erf.
16378 * math/auto-libm-test-out: Regenerated.
16380 2014-05-14 Andreas Schwab <schwab@suse.de>
16382 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16383 Remove code conditionalized on USE___THREAD.
16385 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16386 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16389 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16391 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16392 Define unconditionally.
16393 (__ASSUME_O_CLOEXEC): Likewise.
16394 (__ASSUME_SOCK_CLOEXEC): Likewise.
16395 (__ASSUME_IN_NONBLOCK): Likewise.
16396 (__ASSUME_PIPE2): Likewise.
16397 (__ASSUME_EVENTFD2): Likewise.
16398 (__ASSUME_SIGNALFD4): Likewise.
16399 (__ASSUME_DUP3): Likewise.
16400 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16401 (__ASSUME_DUP3): Do not define.
16402 (__ASSUME_EVENTFD2): Likewise.
16403 (__ASSUME_IN_NONBLOCK): Likewise.
16404 (__ASSUME_O_CLOEXEC): Likewise.
16405 (__ASSUME_PIPE2): Likewise.
16406 (__ASSUME_SIGNALFD4): Likewise.
16407 (__ASSUME_SOCK_CLOEXEC): Likewise.
16408 (__ASSUME_UTIMES): Undefine.
16409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16410 (__ASSUME_UTIMES): Do not define.
16411 (__ASSUME_O_CLOEXEC): Likewise.
16412 (__ASSUME_SOCK_CLOEXEC): Likewise.
16413 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16414 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16416 (__ASSUME_PIPE2): Likewise.
16417 (__ASSUME_EVENTFD2): Likewise.
16418 (__ASSUME_SIGNALFD4): Likewise.
16419 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16420 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16422 (__ASSUME_EVENTFD2): Likewise.
16423 (__ASSUME_SIGNALFD4): Likewise.
16424 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16425 (__ASSUME_32BITUIDS): Likewise.
16426 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16427 (__ASSUME_IPC64): Likewise.
16428 (__ASSUME_ST_INO_64_BIT): Likewise.
16429 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16430 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16431 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16432 (__ASSUME_UTIMES): Do not define.
16433 (__ASSUME_PSELECT): Likewise.
16434 (__ASSUME_PPOLL): Likewise.
16435 (__ASSUME_O_CLOEXEC): Likewise.
16436 (__ASSUME_SOCK_CLOEXEC): Likewise.
16437 (__ASSUME_IN_NONBLOCK): Likewise.
16438 (__ASSUME_PIPE2): Likewise.
16439 (__ASSUME_EVENTFD2): Likewise.
16440 (__ASSUME_SIGNALFD4): Likewise.
16441 (__ASSUME_DUP3): Likewise.
16442 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16443 (__ASSUME_UTIMES): Likewise.
16444 (__ASSUME_O_CLOEXEC): Likewise.
16445 (__ASSUME_SOCK_CLOEXEC): Likewise.
16446 (__ASSUME_IN_NONBLOCK): Likewise.
16447 (__ASSUME_PIPE2): Likewise.
16448 (__ASSUME_EVENTFD2): Likewise.
16449 (__ASSUME_SIGNALFD4): Likewise.
16450 (__ASSUME_DUP3): Likewise.
16451 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16452 (__ASSUME_UTIMES): Likewise.
16453 (__ASSUME_O_CLOEXEC): Likewise.
16454 (__ASSUME_SOCK_CLOEXEC): Likewise.
16455 (__ASSUME_IN_NONBLOCK): Likewise.
16456 (__ASSUME_PIPE2): Likewise.
16457 (__ASSUME_EVENTFD2): Likewise.
16458 (__ASSUME_SIGNALFD4): Likewise.
16459 (__ASSUME_DUP3): Likewise.
16460 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16462 (__ASSUME_UTIMES): Likewise.
16463 (__ASSUME_EVENTFD2): Likewise.
16464 (__ASSUME_SIGNALFD4): Likewise.
16465 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16466 (__ASSUME_O_CLOEXEC): Likewise.
16467 (__ASSUME_SOCK_CLOEXEC): Likewise.
16468 (__ASSUME_IN_NONBLOCK): Likewise.
16469 (__ASSUME_PIPE2): Likewise.
16470 (__ASSUME_EVENTFD2): Likewise.
16471 (__ASSUME_SIGNALFD4): Likewise.
16472 (__ASSUME_DUP3): Likewise.
16473 (__ASSUME_UTIMES): Undefine.
16475 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16476 feclearexcept. Remove symbol versioning code.
16477 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16478 symbol versioning code.
16479 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16480 symbol versioning code.
16481 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16482 feupdateenv. Remove symbol versioning code.
16483 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16484 fegetexceptflag. Remove symbol versioning code.
16485 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16486 fesetexceptflag. Remove symbol versioning code.
16487 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16488 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16489 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16490 (__posix_fadvise64_l32): Remove prototype.
16491 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16494 2014-05-13 Roland McGrath <roland@hack.frob.com>
16496 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16497 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16498 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16499 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16501 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16503 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16504 current working directory
16506 2014-05-13 Roland McGrath <roland@hack.frob.com>
16508 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16509 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16510 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16511 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16512 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16513 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16514 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16515 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16516 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16517 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16518 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16519 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16520 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16521 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16522 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16523 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16524 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16525 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16526 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16527 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16528 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16529 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16530 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16531 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16532 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16533 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16534 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16535 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16536 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16537 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16538 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16539 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16540 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16541 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16542 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16543 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16544 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16545 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16546 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16547 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16548 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16549 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16551 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16552 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16554 * sysdeps/unix/sysv/linux/arm/Makefile
16555 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16556 Add rt-aeabi_unwind_cpp_pr1.
16557 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16558 Add nptl-aeabi_unwind_cpp_pr1.
16559 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16560 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16561 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16562 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16563 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16564 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16566 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16567 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16568 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16569 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16571 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16572 Deconditionalize the code that was previously under [RESET_PID].
16573 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16575 * sysdeps/generic/exit-thread.h: New file.
16576 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16577 * include/unistd.h (__exit_thread): Remove declaration.
16578 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16579 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16580 * csu/libc-start.c: Include <exit-thread.h>.
16581 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16582 * nptl/pthread_create.c: Include <exit-thread.h>.
16583 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16584 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16585 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16586 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16587 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16588 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16589 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16590 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16591 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16592 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16593 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16594 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16595 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16596 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16597 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16598 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16599 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16601 2014-05-13 Andreas Schwab <schwab@suse.de>
16603 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16605 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16607 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16608 (__ASSUME_UTIMES): Do not condition on kernel version.
16609 (__ASSUME_PSELECT): Define unconditionally.
16610 (__ASSUME_PPOLL): Likewise.
16611 (__ASSUME_ATFCTS): Likewise.
16612 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16613 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16614 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16615 (__ASSUME_UTIMENSAT): Define unconditionally.
16616 (__ASSUME_PRIVATE_FUTEX): Likewise.
16617 (__ASSUME_FALLOCATE): Likewise.
16618 (__ASSUME_O_CLOEXEC): Likewise.
16619 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16620 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16621 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16622 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16623 (__ASSUME_IN_NONBLOCK): Likewise.
16624 (__ASSUME_PIPE2): Likewise.
16625 (__ASSUME_EVENTFD2): Likewise.
16626 (__ASSUME_SIGNALFD4): Likewise.
16627 (__ASSUME_DUP3): Likewise.
16628 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16629 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16630 (__ASSUME_AT_RANDOM): Likewise.
16631 (__ASSUME_PREADV): Likewise.
16632 (__ASSUME_PWRITEV): Likewise.
16633 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16634 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16635 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16636 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16637 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16638 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16639 (__ASSUME_O_CLOEXEC): Define unconditionally.
16640 (__ASSUME_PSELECT): Do not undefine conditionally.
16641 (__ASSUME_PPOLL): Likewise.
16642 (__ASSUME_ATFCTS): Likewise.
16643 (__ASSUME_SET_ROBUST_LIST): Likewise.
16644 (__ASSUME_UTIMENSAT): Likewise.
16645 (__ASSUME_FDATASYNC): Define unconditionally.
16646 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16647 (__ASSUME_SIGFRAME_V2): Likewise.
16648 )__ASSUME_EVENTFD2): Likewise.
16649 (__ASSUME_SIGNALFD4): Likewise.
16650 (__ASSUME_PSELECT): Do not undefine conditionally.
16651 (__ASSUME_PPOLL): Likewise.
16652 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16653 (__ASSUME_PSELECT): Define unconditionally.
16654 (__ASSUME_PPOLL): Likewise.
16655 (__ASSUME_O_CLOEXEC): Likewise.
16656 (__ASSUME_SOCK_CLOEXEC): Likewise.
16657 (__ASSUME_IN_NONBLOCK): Likewise.
16658 (__ASSUME_PIPE2): Likewise.
16659 (__ASSUME_EVENTFD2): Likewise.
16660 (__ASSUME_SIGNALFD4): Likewise.
16661 (__ASSUME_DUP3): Likewise.
16662 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16663 (__ASSUME_O_CLOEXEC): Likewise.
16664 (__ASSUME_SOCK_CLOEXEC): Likewise.
16665 (__ASSUME_IN_NONBLOCK): Likewise.
16666 (__ASSUME_PIPE2): Likewise.
16667 (__ASSUME_EVENTFD2): Likewise.
16668 (__ASSUME_SIGNALFD4): Likewise.
16669 (__ASSUME_DUP3): Likewise.
16670 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16671 (__ASSUME_EVENTFD2): Likewise.
16672 (__ASSUME_SIGNALFD4): Likewise.
16673 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16675 2014-05-12 Andreas Schwab <schwab@suse.de>
16678 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16679 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16680 than maximum RPC packet size.
16681 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16682 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16683 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16684 (_nss_nis_getservbyport_r): Likewise.
16686 2014-05-12 Will Newton <will.newton@linaro.org>
16688 * malloc/Makefile (tests): Add tst-mallopt.
16689 * malloc/tst-mallopt.c: New file.
16691 2014-05-09 Roland McGrath <roland@hack.frob.com>
16693 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16694 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16696 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16698 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16699 (tst-tlsmod6.so): Likewise.
16701 2014-05-09 Roland McGrath <roland@hack.frob.com>
16703 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16705 2014-05-09 Joseph Myers <joseph@codesourcery.com>
16708 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16709 and <dl-procinfo.h>.
16710 (__fegetenv): Save SSE state in envp->__eip if supported.
16711 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16712 envp->__eip if supported.
16713 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16714 and <dl-procinfo.h>.
16715 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16716 __data_offset and __data_selector in environment to 0. Set SSE
16717 state if supported.
16718 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16720 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16722 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16724 2014-05-09 Will Newton <will.newton@linaro.org>
16726 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16727 and libc_relro_required for ARM.
16728 * sysdeps/arm/preconfigure: Regenerate.
16730 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16731 Stefan Liebler <stli@linux.vnet.ibm.com>
16733 * config.make.in (enable-lock-elision): New Makefile variable.
16734 * configure.ac: Likewise.
16735 * configure: Regenerate.
16736 * sysdeps/s390/configure.ac:
16737 Add check for gcc transactions support.
16738 * sysdeps/s390/configure: Regenerate.
16739 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16740 Build elision files if enabled.
16741 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16742 Add lock elision support for s390.
16743 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16744 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16745 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16746 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16747 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16748 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16749 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16751 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16753 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16755 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16757 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16758 (__lll_timedlock_elision, __lll_lock_elision)
16759 (__lll_unlock_elision, __lll_trylock_elision)
16760 (lll_timedlock_elision, lll_lock_elision)
16761 (lll_unlock_elision, lll_trylock_elision): Add.
16762 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16763 (pthread_mutex_t): Add lock elision support for s390.
16765 2014-05-14 Wilco <wdijkstr@arm.com>
16767 * sysdeps/arm/fclrexcpt.c: Cleanup.
16768 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16769 * sysdeps/arm/feenablxcpt.c: Cleanup.
16770 * sysdeps/arm/fegetenv.c: Cleanup.
16771 * sysdeps/arm/fegetexcept.c: Cleanup.
16772 * sysdeps/arm/fegetround.c: Cleanup.
16773 * sysdeps/arm/feholdexcpt.c: Cleanup.
16774 * sysdeps/arm/fesetenv.c: Cleanup.
16775 * sysdeps/arm/fesetround.c: Cleanup.
16776 * sysdeps/arm/feupdateenv.c: Cleanup.
16777 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16778 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16779 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16780 * sysdeps/arm/ftestexcept.c: Cleanup.
16781 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16782 * sysdeps/arm/setfpucw.c: Cleanup.
16784 2014-05-09 Will Newton <will.newton@linaro.org>
16786 * sysdeps/arm/armv7/strcmp.S: New file.
16787 * NEWS: Mention addition of ARMv7 optimized strcmp.
16789 2014-05-08 Roland McGrath <roland@hack.frob.com>
16791 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16792 look for %.ac rather than %.in.
16794 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16795 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16796 * sysdeps/mach/hurd/configure: Regenerated.
16797 * sysdeps/unix/sysv/linux/configure: Regenerated.
16799 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16801 2014-05-07 Steve Ellcey <sellcey@mips.com>
16804 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16808 2014-05-07 Andreas Schwab <schwab@suse.de>
16810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16811 when skipping over non-matching result from nscd.
16813 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
16816 * nptl/sockperf.c (client): Check socket return value.
16819 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16820 nscd security class.
16822 2014-05-06 Roland McGrath <roland@hack.frob.com>
16824 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16825 * sysdeps/arm/unwind.h: ... here.
16827 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16830 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16833 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16835 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16836 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16837 multiarch strncpy for PPC64.
16838 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16839 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16841 multiarch optimizations.
16842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16843 (__libc_ifunc_impl_list): Likewise.
16844 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16845 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16846 multiarch stpncpy for PPC64.
16847 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16848 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16850 2014-05-06 Andreas Schwab <schwab@suse.de>
16853 * gmon/mcount.c (_MCOUNT_DECL): Use
16854 atomic_compare_and_exchange_bool_acq instead of
16855 catomic_compare_and_exchange_bool_acq.
16857 2014-05-05 Roland McGrath <roland@hack.frob.com>
16859 * elf/Makefile (others, install-bin): Remove pldd.
16860 (pldd-modules): Variable removed.
16861 ($(objpfx)pldd): Target removed.
16862 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16863 (others, install-bin): Append pldd here.
16864 ($(objpfx)pldd): New target.
16866 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16867 to 0, so the first #if test emitted later doesn't see it undefined.
16868 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16869 * sysdeps/gnu/errlist.c: Regenerated.
16871 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16873 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16874 [libc_hidden_builtin_def]: Define to empty value.
16875 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16876 [libc_hidden_builtin_def]: Likewise.
16877 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16878 [libc_hidden_builtin_def]: Likewise.
16879 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16880 [libc_hidden_builtin_def]: Likewise.
16881 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16882 __redirect_memcpy and define ifunc as default hidden symbol.
16883 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16884 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16886 2014-05-04 Adam Conrad <adconrad@0c3.net>
16888 * locale/iso-4217.def: Reintroduce XDR currency.
16890 2014-05-04 Allan McRae <allan@archlinux.org>
16892 * po/eo.po: Update Esperanto translation from translation project.
16894 2014-05-02 Carlos O'Donell <carlos@redhat.com>
16896 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16897 and FEATURE_INDEX_MAX to 1.
16898 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16900 2014-05-01 Steve Ellcey <sellcey@mips.com>
16902 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16903 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16904 * iconvdata/big5.c (ONE_DIRECTION): Define.
16905 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16906 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16907 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16908 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16909 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16910 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16911 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16912 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16913 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16914 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16915 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16916 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16917 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16918 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16919 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16920 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16921 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16922 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16923 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16924 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16925 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16926 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16927 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16928 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16929 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16930 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16931 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16932 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16933 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16934 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16935 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16936 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16937 * iconvdata/johab.c (ONE_DIRECTION): Define.
16938 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16939 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16940 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16941 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16942 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16943 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16944 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16945 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16946 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16947 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16949 2014-05-01 Roland McGrath <roland@hack.frob.com>
16951 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16952 (_IO_JUMPS_OFFSET): Define to 0.
16954 * nptl/sysdeps/pthread/bits/libc-lock.h
16955 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16956 (__libc_lock_define_initialized_recursive): Always define using
16957 initializer. Modern compilers treat uninitialized (implicit zero) and
16958 explicit zero initializers the same (i.e. put the datum in bss).
16960 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16962 * nscd/nscd-client.h: Include <string.h>.
16964 2014-05-01 David S. Miller <davem@davemloft.net>
16967 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16968 multiple zero bytes exist at the end of a string.
16969 Reported by Aurelien Jarno <aurelien@aurel32.net>
16971 * string/test-strcmp.c (check): Add explicit test for situations where
16972 there are multiple zero bytes after the first.
16974 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16977 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16978 when compiling wprintf.
16979 * stdio-common/tstdiomisc.c (t3): New function.
16982 2014-05-01 Steve Ellcey <sellcey@mips.com>
16984 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16985 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16986 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16987 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16989 2014-05-01 Steve Ellcey <sellcey@mips.com>
16991 * stdlib/longlong.h: Updated from GCC.
16993 2014-05-01 Will Newton <will.newton@linaro.org>
16994 Bernard Ogden <bernie.ogden@linaro.org>
16996 * NEWS: Update fixed bug list.
16999 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17001 2014-04-30 David S. Miller <davem@davemloft.net>
17003 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17004 (libc_feholdexcept_setround_sparc_ctx): New function.
17005 (libc_fesetenv_sparc_ctx): Likewise.
17006 (libc_feupdateenv_sparc_ctx): Likewise.
17007 (libc_feholdsetround_sparc_ctx): Likewise.
17008 (libc_feholdexcept_setround_ctx): Define.
17009 (libc_feholdexcept_setroundf_ctx): Likewise.
17010 (libc_feholdexcept_setroundl_ctx): Likewise.
17011 (libc_fesetenv_ctx): Likewise.
17012 (libc_fesetenvf_ctx): Likewise.
17013 (libc_fesetenvl_ctx): Likewise.
17014 (libc_feupdateenv_ctx): Likewise.
17015 (libc_feupdateenvf_ctx): Likewise.
17016 (libc_feupdateenvl_ctx): Likewise.
17017 (libc_feresetround_ctx): Likewise.
17018 (libc_feresetroundf_ctx): Likewise.
17019 (libc_feresetroundl_ctx): Likewise.
17020 (libc_feholdsetround_ctx): Likewise.
17021 (libc_feholdsetroundf_ctx): Likewise.
17022 (libc_feholdsetroundl_ctx): Likewise.
17024 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17025 with __USE_GNU instead of XOPEN cpp guards.
17027 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17030 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17031 with XOPEN cpp guards.
17033 2014-04-30 Julian Brown <julian@codesourcery.com>
17036 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17039 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17042 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17044 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17045 * sysdeps/unix/sysv/linux/configure: Regenerated.
17046 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17047 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17048 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17049 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17050 * README: Update reference to required Linux kernel version.
17051 * manual/install.texi (Linux): Update reference to required Linux
17052 kernel headers version.
17053 * INSTALL: Regenerated.
17055 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17057 [POSIX] (limits.h): Likewise.
17058 [POSIX] (math.h): Likewise.
17059 [POSIX] (sys/wait.h): Likewise.
17060 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17062 [POSIX] (stddef.h): Do not allow header inclusion.
17064 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17066 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17068 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
17070 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17071 Return immediately after lll_futex_wake.
17073 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17076 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17078 (datahead_init_pos): Call datahead_init_common early.
17079 (datahead_init_neg): Likewise.
17081 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17082 datahead_init_neg): New functions.
17083 * nscd/aicache.c (addhstaiX): Use them.
17084 * nscd/grpcache.c (cache_addgr): Likewise.
17085 * nscd/hstcache.c (cache_addhst): Likewise.
17086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17087 * nscd/netgroupcache.c (do_notfound): Likewise.
17088 (addgetnetgrentX): Likewise.
17089 (addinnetgrX): Likewise.
17090 * nscd/pwdcache.c (cache_addpw): Likewise.
17091 * nscd/servicescache.c (cache_addserv): Likewise.
17093 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17094 Atsushi Onoe <atsushi@onoe.org>
17099 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17100 one response is valid.
17101 * resolv/res_send.c (send_dg): Check for validity of other
17102 response if the current response is a referral.
17104 2014-04-29 Steve Ellcey <sellcey@mips.com>
17106 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17108 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17111 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17112 Always divide by positive zero when computing -Inf result.
17113 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17114 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17116 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17118 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17119 FPSCR if value do not change.
17120 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17121 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17122 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17123 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17124 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17125 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17128 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17130 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17131 * sysdeps/unix/sysv/linux/hppa: Move directory from
17132 ports/systeps/unix/sysv/linux/hppa.
17133 * README: Update listing for hppa-*-linux-gnu.
17135 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17138 * manual/stdio.texi (Hook functions): Fix types of stream hook
17141 * socket/sys/socket.h: Fix typo in comment.
17143 2014-04-28 Wilco <wdijkstr@arm.com>
17145 * sysdeps/arm/fenv_private.h: New file.
17146 * sysdeps/arm/math_private.h: New file.
17147 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17149 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17151 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17153 (La_x86_64_retval): Likewise.
17155 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17157 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17158 fpsr if value didn't change.
17159 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17160 to fpcr if value didn't change.
17161 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17162 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17163 fpsr or fpcr if value didn't change.
17164 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17165 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17166 fpcr if value didn't change.
17167 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17168 to fpsr if value didn't change.
17170 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17172 * nptl/tst-sem3.c: Use test-skeleton.c
17173 (main): Rename to do_test. Use return instead of
17175 * nptl/tst-sem4.c: Use test-skeleton.c
17176 (main): Rename to do_test.
17178 2014-04-22 David S. Miller <davem@davemloft.net>
17180 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17181 (struct sigaction): New struct member __glibc_reserved0, change
17182 type of sa_flags to int.
17184 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17186 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17187 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17189 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17191 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17192 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17194 2014-04-22 Will Newton <will.newton@linaro.org>
17195 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17197 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17198 (__longjmp): Add longjmp and longjmp_target SystemTap
17200 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17201 (__sigsetjmp): Add setjmp SystemTap probe.
17203 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17205 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17206 match manual order.
17208 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17210 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17212 * sysdeps/powerpc/fpu/fenv_private.h
17213 (libc_feholdexcept_setroundl_ctx): Define to
17214 libc_feholdexcept_setround_ppc_ctx.
17215 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17216 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17217 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17218 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17220 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17222 * sysdeps/aarch64/math-tests.h: New file.
17224 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17226 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17229 Check and set bit_AVX2_Usable.
17230 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17232 (bit_AVX2): Likewise.
17233 (index_AVX2_Usable): Likewise.
17234 (CPUID_AVX2): Likewise.
17235 (HAS_AVX2): Likewise.
17237 2014-04-17 Will Newton <will.newton@linaro.org>
17239 * manual/setjmp.texi (System V contexts): Add note that
17240 calling setcontext on a context created by a call to a
17241 signal handler is undefined. Update text to note that
17242 setcontext from a signal handler is possible but not
17246 * stdlib/tst-setcontext.c: Include signal.h.
17247 (main): Check that the signal stack before and
17248 after swapcontext is the same.
17250 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17251 Re-implement to restore registers in user code and avoid
17252 rt_sigreturn system call.
17254 2014-04-17 Wilco <wdijkstr@arm.com>
17256 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17257 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17258 * math/test-fenv.c: Skip exception trap tests on targets which only
17259 support non-stop mode.
17261 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17262 Wilco Dijkstra <wilco.dijkstra@arm.com>
17264 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17265 (libc_feholdsetround_aarch64_ctx)
17266 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17267 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17268 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17269 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17270 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17271 (libc_feresetround_noexl_ctx): Define.
17273 2014-04-16 Richard Henderson <rth@redhat.com>
17275 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17277 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17280 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17281 const from the non-libc, non-ldso copy.
17283 * sysdeps/alpha/libm-test-ulps: Regenerate.
17285 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17286 Wilco Dijkstra <wilco.dijkstra@arm.com>
17288 * sysdeps/aarch64/fpu/math_private.h: New file.
17290 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17292 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17294 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17297 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17298 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17299 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17300 Intel MPX bound registers before _dl_profile_fixup.
17301 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17302 registers after _dl_profile_fixup. Save and restore bound
17303 registers bnd0/bnd1 when calling _dl_call_pltexit.
17304 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17305 (LR_BND_OFFSET): Likewise.
17306 (LRV_BND0_OFFSET): Likewise.
17307 (LRV_BND1_OFFSET): Likewise.
17309 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17311 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17313 * sysdeps/mach/hurd/i386/tls.h: ... here.
17314 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17315 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17318 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17320 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17322 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17324 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17326 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17329 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17330 * sysdeps/s390/configure: Regenerate.
17333 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17334 Set round-to-nearest internally to reduce error accumulation.
17336 2014-04-16 Alan Modra <amodra@gmail.com>
17340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17341 * math/libm-test.inc (frexp_test_data): Add tests.
17342 * NEWS: Update fixed bug list.
17344 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17346 * benchtests/Makefile: Depend on libraries in build directory.
17347 (bench-math): Separate out math tests.
17348 (bench-pthread): Separate out pthread tests.
17349 (bench): Include math and pthread tests.
17351 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17354 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17355 _dl_debug_initialize.
17357 * configure.ac: Remove SELinux header check.
17358 * configure: Regenerate.
17359 * nscd/selinux.c (perms): Array of const char* to permission names.
17360 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17361 default policy. Call string_to_security_class and string_to_av_perm to
17362 translate strings. Enforce default policy and call avs_has_perm with
17363 results of translated strings.
17365 2014-04-13 David S. Miller <davem@davemloft.net>
17367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17369 2014-04-12 Allan McRae <allan@archlinux.org>
17372 * manual/string.texi (Collation Functions): Fix qsort argument
17374 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17376 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17378 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17379 Make the test a no-op if there are no exceptions defined.
17381 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17383 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17384 enable-hardcoded-path-in-tests
17386 2014-04-11 Will Newton <will.newton@linaro.org>
17388 * benchtests/Makefile (extra-objs): Add json-lib.o.
17389 (bench-func): Tidy up JSON output.
17390 * benchtests/bench-skeleton.c: Include json-lib.h.
17391 (main): Use JSON library functions to do output of
17393 * benchtests/bench-timing-type.c (main): Output the
17394 timing type simply, leaving formatting to the user.
17395 * benchtests/json-lib.c: New file.
17396 * benchtests/json-lib.h: Likewise.
17398 2014-04-11 Torvald Riegel <triegel@redhat.com>
17401 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17402 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17403 memory barriers. Add comments.
17404 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17405 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17406 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17407 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17408 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17409 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17411 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17413 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17414 * sysdeps/s390/s390-64/configure.ac: ... this ...
17415 * sysdeps/s390/configure.ac: ... to here.
17416 * sysdeps/s390/s390-32/configure: Delete file.
17417 * sysdeps/s390/s390-64/configure: Delete file.
17418 * sysdeps/s390/configure: Regenerate.
17420 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17422 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17424 2014-04-11 Will Newton <will.newton@linaro.org>
17426 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17427 to zero if it is not defined elsewhere. (mtrim): Test
17428 the value of MALLOC_DEBUG with #if rather than #ifdef.
17430 2014-04-10 Torvald Riegel <triegel@redhat.com>
17432 * benchtests/pthread_once-inputs: New file.
17433 * benchtests/pthread_once-source.c: New file.
17434 * benchtests/README: Update documentation.
17436 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17437 H.J. Lu <hongjiu.lu@intel.com>
17440 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17441 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17442 * sysdeps/x86_64/configure: Regenerated.
17443 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17445 (REGISTER_SAVE_RAX): Likewise.
17446 (REGISTER_SAVE_RCX): Likewise.
17447 (REGISTER_SAVE_RDX): Likewise.
17448 (REGISTER_SAVE_RSI): Likewise.
17449 (REGISTER_SAVE_RDI): Likewise.
17450 (REGISTER_SAVE_R8): Likewise.
17451 (REGISTER_SAVE_R9): Likewise.
17452 (REGISTER_SAVE_BND0): Likewise.
17453 (REGISTER_SAVE_BND1): Likewise.
17454 (REGISTER_SAVE_BND2): Likewise.
17455 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17456 bound registers when calling _dl_fixup.
17458 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17460 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17461 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17463 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17464 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17465 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17466 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17467 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17468 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17469 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17471 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17474 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17475 pathconf(_PC_NAME_MAX).
17477 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17479 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17480 Remove macro usage.
17481 (__PTHREAD_SPINS): Move definition to ...
17482 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17483 (__PTHREAD_SPINS): ... here.
17484 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17485 (__PTHREAD_SPIN): Likewise.
17486 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17487 (__PTHREAD_SPIN): Likewise.
17488 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17489 (__PTHREAD_SPIN): Likewise.
17490 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17491 (__PTHREAD_SPIN): Likewise.
17492 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17493 (__PTHREAD_SPIN): Likewise.
17494 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17495 (__PTHREAD_SPIN): Likewise.
17496 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17497 (__PTHREAD_SPIN): Likewise.
17498 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17499 (__PTHREAD_SPIN): Likewise.
17500 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17501 (__PTHREAD_SPIN): Likewise.
17502 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17503 (__PTHREAD_SPIN): Likewise.
17504 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17505 (__PTHREAD_SPIN): Likewise.
17506 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17507 (__PTHREAD_SPIN): Likewise.
17509 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17510 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17511 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17512 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17514 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17515 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17516 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17517 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17518 correct imply path.
17519 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17520 strlen symbol for non multi-arch builds.
17521 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17522 missing hidden_def and weak_alias.
17524 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17526 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17528 2014-04-07 Will Newton <will.newton@linaro.org>
17530 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17531 and contents. [!_LIBC] Remove #ifndef and contents.
17532 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17533 * string/memccpy.c (__memccpy): Use ANSI prototype.
17534 * string/memfrob.c (memfrob): Likewise.
17535 * string/strcoll.c (STRCOLL): Likewise.
17536 * string/strlen.c (strlen): Likewise.
17537 * string/strtok.c (STRTOK): Likewise.
17538 * string/strcat.c: Remove unused #include of memcopy.h.
17539 (strcat): Use ANSI prototype.
17540 * string/strchr.c: Remove unused #include of memcopy.h.
17541 (strchr): Use ANSI prototype.
17542 * string/strcmp.c: Remove unused #include of memcopy.h.
17543 (strcmp): Use ANSI prototype.
17544 * string/strcpy.c: Remove unused #include of memcopy.h.
17545 (strcpy): Use ANSI prototype.
17547 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17549 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17550 * config.make.in (config-extra-cppflags): Set it from
17551 libc_extra_cppflags.
17552 * configure.ac (libc_extra_cflags): Make it accumulate over
17553 configure fragments.
17554 (libc_extra_cppflags): New flag.
17555 * configure. Regenerate.
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17557 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17558 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17562 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17563 result for FE_DOWNWARD rounding mode.
17564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17568 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17570 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17571 in function argument name.
17573 2014-04-03 David Svoboda <svoboda@cert.org>
17576 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17579 2014-04-03 Roland McGrath <roland@hack.frob.com>
17581 * elf/dl-unmap-segments.h: New file.
17582 * sysdeps/generic/ldsodefs.h
17583 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17584 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17585 * elf/dl-fptr.c: Likewise.
17586 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17587 * sysdeps/aarch64/tlsdesc.c: Likewise.
17588 * sysdeps/arm/tlsdesc.c: Likewise.
17589 * sysdeps/i386/tlsdesc.c: Likewise.
17590 * sysdeps/tile/dl-runtime.c: Likewise.
17591 * sysdeps/x86_64/tlsdesc.c: Likewise.
17592 * elf/dl-load.h: New file.
17593 * elf/dl-load.c: Include it.
17594 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17595 Macros moved to dl-load.h.
17596 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17597 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17598 Use _dl_unmap_segments in place of __munmap.
17599 Break out segment-mapping loop into ...
17600 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17602 2014-04-03 Will Newton <will.newton@linaro.org>
17604 * elf/dl-lookup.c (do_lookup_x): Remove comment
17605 referring to nested function and move variable
17606 declarations down to before first use.
17608 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17612 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17614 * math/s_catanf.c (__catanf): Likewise.
17615 * math/s_catanh.c (__catanh): Likewise.
17616 * math/s_catanhf.c (__catanhf): Likewise.
17617 * math/s_catanhl.c (__catanhl): Likewise.
17618 * math/s_catanl.c (__catanl): Likewise.
17619 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17620 by positive zero when computing -Inf result.
17621 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17622 (catanh_test): Likewise.
17623 * sysdeps/i386/fpu/libm-test-ulps: Update.
17624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17627 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17628 instead of using underflowing value in computing result.
17629 * math/s_clog10.c (__clog10): Likewise.
17630 * math/s_clog10f.c (__clog10f): Likewise.
17631 * math/s_clog10l.c (__clog10l): Likewise.
17632 * math/s_clogf.c (__clogf): Likewise.
17633 * math/s_clogl.c (__clogl): Likewise.
17634 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17635 (clog10_test): Likewise.
17636 * sysdeps/i386/fpu/libm-test-ulps: Update.
17637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17639 2014-04-02 Alan Modra <amodra@gmail.com>
17642 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17643 output when value is near a power of two. Use int64_t for lx and
17644 remove casts. Use decimal rather than hex exponent constants.
17645 Don't use long double multiplication when double will suffice.
17646 * math/libm-test.inc (nextafter_test_data): Add tests.
17647 * NEWS: Add 16739 and 16786 to bug list.
17649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17651 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17653 2014-04-01 Will Newton <will.newton@linaro.org>
17655 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17656 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17658 2014-04-01 Florian Weimer <fweimer@redhat.com>
17661 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17662 * nptl/tst-setuid2.c: New file.
17663 * nptl/Makefile (xtests): Add tst-setuid2.
17665 2014-04-01 Alan Modra <amodra@gmail.com>
17668 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17670 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17674 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17675 set errno as appropriate.
17676 * math/w_scalbf.c (__scalbf): Likewise.
17677 * math/w_scalbl.c (__scalbl): Likewise.
17678 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17679 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17680 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17681 Add more NaN tests.
17684 * math/w_atan2.c: Include <errno.h>.
17685 (__atan2): Set errno for result underflowing to zero.
17686 * math/w_atan2f.c: Include <errno.h>.
17687 (__atan2f): Set errno for result underflowing to zero.
17688 * math/w_atan2l.c: Include <errno.h>.
17689 (__atan2l): Set errno for result underflowing to zero.
17690 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17692 * math/auto-libm-test-out: Regenerated.
17694 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17696 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17697 Encode instruction correctly in little endian.
17698 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17700 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17702 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17707 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17710 * sysdeps/unix/sysv/linux/kernel-features.h
17711 [__sparc__ && !__arch64__ && !__sparc_v9__]
17712 (__ASSUME_SET_ROBUST_LIST): Do not define.
17713 [__sparc__ && !__arch64__ && !__sparc_v9__]
17714 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17715 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17717 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17718 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17719 (__ASSUME_REQUEUE_PI): Likewise.
17720 (__ASSUME_SET_ROBUST_LIST): Likewise.
17721 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17722 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17724 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17725 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17727 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17729 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17731 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17732 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17734 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17735 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17739 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17740 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17741 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17743 2014-03-31 Will Newton <will.newton@linaro.org>
17745 * benchtests/Makefile (bench): Add ffs and ffsll to list
17747 * benchtests/ffs-inputs: New file.
17748 * benchtests/ffsll-inputs: Likewise.
17750 2014-03-29 Joseph Myers <joseph@codesourcery.com>
17753 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17754 too large before casting to int.
17755 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17756 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17757 * math/libm-test.inc (scalb_test_data): Add more tests.
17759 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17761 * benchtests/Makefile (DETAILED_OPT): New make option.
17762 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17764 * benchtests/bench-skeleton.c: Include stdbool.h.
17765 (main): Store and print timings per input.
17766 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17767 member to each argument value.
17768 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17769 (_print_arg_data): Initialize per-input timing to 0.
17771 * benchtests/Makefile (timing-type): New binary.
17772 (bench-clean): Also remove bench-timing-type.
17773 (bench): New target for timing-type.
17774 (bench-func): Print output in JSON format.
17775 * benchtests/bench-skeleton.c (main): Print output in JSON
17777 * benchtests/bench-timing-type.c: New file.
17778 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17779 (TIMING_PRINT_STATS): Remove.
17780 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17783 * benchtests/bench-modf.c: Remove.
17784 * benchtests/modf-inputs: New inputs file.
17786 2014-03-28 Joseph Myers <joseph@codesourcery.com>
17789 * math/s_clog10.c (M_PI_LOG10E): New macro.
17790 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17791 imaginary parts are 0.
17792 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17793 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17794 imaginary parts are 0.
17795 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17796 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17797 imaginary parts are 0.
17798 * math/libm-test.inc (clog10_test_data): Update expected results
17799 for when real and imaginary parts are 0.
17801 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17803 * elf/dl-load.c: Finish conversion of __builtin_expect into
17804 __glibc_{un}likely.
17806 2014-03-27 Joseph Myers <joseph@codesourcery.com>
17809 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17810 1+x for argument with exponent below -67.
17811 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17813 * math/auto-libm-test-in: Add more tests of exp.
17814 * math/auto-libm-test-out: Regenerated.
17816 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17819 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17820 (nscd_getnetgrent): Use it.
17823 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17826 2014-03-27 Andi Kleen <ak@linux.intel.com>
17828 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17829 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17830 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17831 (lll_robust_unlock): Remove out of line section. Use cfi
17833 (LLL_STUB_UNWIND_INFO*): Remove.
17834 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17835 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17836 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17837 (lll_robust_unlock): Remove out of line section. Use cfi
17839 (LLL_STUB_UNWIND_INFO*): Remove.
17841 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17844 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17847 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17849 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17851 2014-03-26 Joseph Myers <joseph@codesourcery.com>
17854 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17856 * math/test-fenv-preserve.c: New file.
17857 * math/Makefile (tests): Add test-fenv-preserve.
17859 2014-03-26 Will Newton <will.newton@linaro.org>
17861 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17863 2014-03-25 Roland McGrath <roland@hack.frob.com>
17865 * scripts/versionlist.awk: Partition the version sets and emit all
17866 GLIBC_* (sorted) before all others (sorted).
17868 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17870 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17871 GLIBC_2.2.5 version.
17873 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17875 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17878 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17883 2014-03-25 Andreas Schwab <schwab@suse.de>
17885 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17886 label to be used after in6ailist is initialized.
17888 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17890 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17891 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17893 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17897 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17899 (fp_formats): Update initializers.
17900 (init_fp_formats): Initialize new field.
17901 (output_for_one_input_case): Allow underflow for results up to
17903 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17904 * math/auto-libm-test-in: Don't mark some underflows from asin and
17906 * math/auto-libm-test-out: Regenerated.
17907 * sysdeps/i386/fpu/libm-test-ulps: Update.
17908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17910 2014-03-25 Andreas Schwab <schwab@suse.de>
17912 * libio/Makefile (tst-ftell-partial-wide-ENV)
17913 (tst-ftell-active-handler-ENV): Define.
17915 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17917 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17919 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17921 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17923 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17925 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17926 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17927 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17929 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17932 * elf/dl-load.c (open_verify): Add mode parameter.
17933 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17934 (open_path): Change from boolean 'secure' to complete flag 'mode'
17935 (_dl_map_object): Adjust.
17936 * elf/Makefile (tests): Add tst-dlopen-aout.
17937 * elf/tst-dlopen-aout.c: New test.
17939 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17942 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17943 (struct stat): Rename member pad0 to __glibc_reserved0.
17946 * sysdeps/s390/s390-32/bits/wordsize.h
17947 (__WORDSIZE32_SIZE_ULONG): New define.
17948 * sysdeps/s390/s390-64/bits/wordsize.h
17949 (__WORDSIZE32_SIZE_ULONG): Likewise.
17950 * sysdeps/generic/stdint.h (SIZE_MAX):
17951 Define as UL if __WORDSIZE32_SIZE_ULONG.
17954 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17955 (__glibc_reserved0): New variable.
17956 (sa_flags): Change type to int.
17958 * posix/Makefile (before-compile): Use += before-compile instead
17961 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17962 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17964 2014-03-20 Andreas Schwab <schwab@suse.de>
17967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17968 non-matching result from nscd.
17970 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17972 * scripts/bench.py: Moved to ...
17973 * benchtests/scripts/bench.py: ... here.
17974 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17976 2014-03-24 Andreas Schwab <schwab@suse.de>
17979 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17980 alloca_account and account alloca use for struct in6ailist.
17982 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17985 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17986 rounding mode to recompute results that overflow to infinity or
17988 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17990 * math/auto-libm-test-out: Regenerated.
17991 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17992 (ccosh_test): Likewise.
17993 (csin_test_data): Use plus_oflow.
17994 (csin_test): Use ALL_RM_TEST.
17995 (csinh_test_data): Use plus_oflow.
17996 (csinh_test): Use ALL_RM_TEST.
17997 * sysdeps/i386/fpu/libm-test-ulps: Update.
17998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18000 2014-03-21 Joseph Myers <joseph@codesourcery.com>
18002 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18003 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18004 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18007 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18008 when x - 1 is zero.
18009 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18010 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18011 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18014 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18015 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18017 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18018 * sysdeps/i386/fpu/libm-test-ulps: Update.
18019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18021 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18023 * scripts/bench.pl: Remove file.
18024 * scripts/bench.py: New benchmark script.
18025 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18026 * benchtests/README: Mention python dependency.
18027 * scripts/pylintrc: New file.
18028 * scripts/pylint: New file.
18030 * bits/mathdef.h: Use #ifdef instead of #if.
18031 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18032 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18033 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18034 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18035 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18036 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18038 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18039 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18041 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18043 and strpbrk-ppc64 objects.
18044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18045 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18046 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18047 multiarch strpbrk for POWER7.
18048 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18049 multiarch strpbrk for PPC64.
18050 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18052 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18053 strpbrk for POWER7.
18055 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18057 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18058 (atan_test): Likewise.
18059 (atanh_test_data): Use NO_TEST_INLINE for two tests.
18060 (atanh_test): Use ALL_RM_TEST.
18061 (atan2_test_data): Likewise.
18062 (cabs_test): Likewise.
18063 (cacosh_test): Likewise.
18064 (carg_test): Likewise.
18065 (casin_test): Likewise.
18066 (casinh_test): Likewise.
18067 (cbrt_test): Likewise.
18068 (csqrt_test): Likewise.
18069 (erf_test): Likewise.
18070 (erfc_test): Likewise.
18071 (pow10_test): Likewise.
18072 (exp2_test): Likewise.
18073 (hypot_test): Likewise.
18074 (j0_test): Likewise.
18075 (j1_test): Likewise.
18076 (lgamma_test): Likewise.
18077 (gamma_test): Likewise.
18078 (sincos_test): Likewise.
18079 (tanh_test): Likewise.
18080 (y0_test): Likewise.
18081 (y1_test): Likewise.
18082 * sysdeps/i386/fpu/libm-test-ulps: Update.
18083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18085 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18087 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18089 and strcspn-ppc64 objects.
18090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18091 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18092 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18093 multiarch strcspn for POWER7.
18094 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18095 multiarch strcspn for PPC64.
18096 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18098 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18099 strcspn for POWER7.
18101 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18103 * math/gen-libm-test.pl (generate_testfile): Expect only function
18104 name as argument to AUTO_TESTS_* and pass results for all rounding
18105 modes to parse_args.
18106 (parse_auto_input): Separate inputs of automatic tests from
18107 outputs before storing in %auto_tests.
18108 * math/libm-test.inc (acos_test_data): Update call to
18110 (acos_test): Use ALL_RM_TEST.
18111 (acos_tonearest_test_data): Remove.
18112 (acos_test_tonearest): Likewise.
18113 (acos_towardzero_test_data): Likewise.
18114 (acos_test_towardzero): Likewise.
18115 (acos_downward_test_data): Likewise.
18116 (acos_test_downward): Likewise.
18117 (acos_upward_test_data): Likewise.
18118 (acos_test_upward): Likewise.
18119 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18120 (asin_test_data): Likewise.
18121 (asin_test): Use ALL_RM_TEST.
18122 (asin_tonearest_test_data): Remove.
18123 (asin_test_tonearest): Likewise.
18124 (asin_towardzero_test_data): Likewise.
18125 (asin_test_towardzero): Likewise.
18126 (asin_downward_test_data): Likewise.
18127 (asin_test_downward): Likewise.
18128 (asin_upward_test_data): Likewise.
18129 (asin_test_upward): Likewise.
18130 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18131 (atan_test_data): Likewise.
18132 (atanh_test_data): Likewise.
18133 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18134 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18135 (carg_test_data): Likewise.
18136 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18137 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18138 (ccosh_test_data): Likewise.
18139 (cexp_test_data): Likewise.
18140 (clog_test_data): Likewise.
18141 (clog10_test_data): Likewise.
18142 (cos_test_data): Update call to AUTO_TESTS_f_f.
18143 (cos_test): Use ALL_RM_TEST.
18144 (cos_tonearest_test_data): Remove.
18145 (cos_test_tonearest): Likewise.
18146 (cos_towardzero_test_data): Likewise.
18147 (cos_test_towardzero): Likewise.
18148 (cos_downward_test_data): Likewise.
18149 (cos_test_downward): Likewise.
18150 (cos_upward_test_data): Likewise.
18151 (cos_test_upward): Likewise.
18152 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18153 (cosh_test): Use ALL_RM_TEST.
18154 (cosh_tonearest_test_data): Remove.
18155 (cosh_test_tonearest): Likewise.
18156 (cosh_towardzero_test_data): Likewise.
18157 (cosh_test_towardzero): Likewise.
18158 (cosh_downward_test_data): Likewise.
18159 (cosh_test_downward): Likewise.
18160 (cosh_upward_test_data): Likewise.
18161 (cosh_test_upward): Likewise.
18162 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18163 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18164 (ctan_test_data): Likewise.
18165 (ctan_test): Use ALL_RM_TEST.
18166 (ctan_tonearest_test_data): Remove.
18167 (ctan_test_tonearest): Likewise.
18168 (ctan_towardzero_test_data): Likewise.
18169 (ctan_test_towardzero): Likewise.
18170 (ctan_downward_test_data): Likewise.
18171 (ctan_test_downward): Likewise.
18172 (ctan_upward_test_data): Likewise.
18173 (ctan_test_upward): Likewise.
18174 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18175 (ctanh_test): Use ALL_RM_TEST.
18176 (ctanh_tonearest_test_data): Remove.
18177 (ctanh_test_tonearest): Likewise.
18178 (ctanh_towardzero_test_data): Likewise.
18179 (ctanh_test_towardzero): Likewise.
18180 (ctanh_downward_test_data): Likewise.
18181 (ctanh_test_downward): Likewise.
18182 (ctanh_upward_test_data): Likewise.
18183 (ctanh_test_upward): Likewise.
18184 (erf_test_data): Update call to AUTO_TESTS_f_f.
18185 (erfc_test_data): Likewise.
18186 (exp_test_data): Likewise.
18187 (exp_test): Use ALL_RM_TEST.
18188 (exp_tonearest_test_data): Remove.
18189 (exp_test_tonearest): Likewise.
18190 (exp_towardzero_test_data): Likewise.
18191 (exp_test_towardzero): Likewise.
18192 (exp_downward_test_data): Likewise.
18193 (exp_test_downward): Likewise.
18194 (exp_upward_test_data): Likewise.
18195 (exp_test_upward): Likewise.
18196 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18197 (exp10_test): Use ALL_RM_TEST.
18198 (exp10_tonearest_test_data): Remove.
18199 (exp10_test_tonearest): Likewise.
18200 (exp10_towardzero_test_data): Likewise.
18201 (exp10_test_towardzero): Likewise.
18202 (exp10_downward_test_data): Likewise.
18203 (exp10_test_downward): Likewise.
18204 (exp10_upward_test_data): Likewise.
18205 (exp10_test_upward): Likewise.
18206 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18207 (expm1_test_data): Likewise.
18208 (expm1_test): Use ALL_RM_TEST.
18209 (expm1_tonearest_test_data): Remove.
18210 (expm1_test_tonearest): Likewise.
18211 (expm1_towardzero_test_data): Likewise.
18212 (expm1_test_towardzero): Likewise.
18213 (expm1_downward_test_data): Likewise.
18214 (expm1_test_downward): Likewise.
18215 (expm1_upward_test_data): Likewise.
18216 (expm1_test_upward): Likewise.
18217 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18218 (fma_test): Use ALL_RM_TEST.
18219 (fma_towardzero_test_data): Remove.
18220 (fma_test_towardzero): Likewise.
18221 (fma_downward_test_data): Likewise.
18222 (fma_test_downward): Likewise.
18223 (fma_upward_test_data): Likewise.
18224 (fma_test_upward): Likewise.
18225 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18226 (j0_test_data): Update call to AUTO_TESTS_f_f.
18227 (j1_test_data): Likewise.
18228 (jn_test_data): Update call to AUTO_TESTS_if_f.
18229 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18230 (log_test_data): Update call to AUTO_TESTS_f_f.
18231 (log10_test_data): Likewise.
18232 (log1p_test_data): Likewise.
18233 (log2_test_data): Likewise.
18234 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18235 (pow_tonearest_test_data): Likewise.
18236 (sin_test_data): Update call to AUTO_TESTS_f_f.
18237 (sin_test): Use ALL_RM_TEST.
18238 (sin_tonearest_test_data): Remove.
18239 (sin_test_tonearest): Likewise.
18240 (sin_towardzero_test_data): Likewise.
18241 (sin_test_towardzero): Likewise.
18242 (sin_downward_test_data): Likewise.
18243 (sin_test_downward): Likewise.
18244 (sin_upward_test_data): Likewise.
18245 (sin_test_upward): Likewise.
18246 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18247 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18248 (sinh_test): Use ALL_RM_TEST.
18249 (sinh_tonearest_test_data): Remove.
18250 (sinh_test_tonearest): Likewise.
18251 (sinh_towardzero_test_data): Likewise.
18252 (sinh_test_towardzero): Likewise.
18253 (sinh_downward_test_data): Likewise.
18254 (sinh_test_downward): Likewise.
18255 (sinh_upward_test_data): Likewise.
18256 (sinh_test_upward): Likewise.
18257 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18258 (sqrt_test): Use ALL_RM_TEST.
18259 (sqrt_tonearest_test_data): Remove.
18260 (sqrt_test_tonearest): Likewise.
18261 (sqrt_towardzero_test_data): Likewise.
18262 (sqrt_test_towardzero): Likewise.
18263 (sqrt_downward_test_data): Likewise.
18264 (sqrt_test_downward): Likewise.
18265 (sqrt_upward_test_data): Likewise.
18266 (sqrt_test_upward): Likewise.
18267 (tan_test_data): Update call to AUTO_TESTS_f_f.
18268 (tan_test): Use ALL_RM_TEST.
18269 (tan_tonearest_test_data): Remove.
18270 (tan_test_tonearest): Likewise.
18271 (tan_towardzero_test_data): Likewise.
18272 (tan_test_towardzero): Likewise.
18273 (tan_downward_test_data): Likewise.
18274 (tan_test_downward): Likewise.
18275 (tan_upward_test_data): Likewise.
18276 (tan_test_upward): Likewise.
18277 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18278 (tgamma_test_data): Likewise.
18279 (y0_test_data): Likewise.
18280 (y1_test_data): Likewise.
18281 (yn_test_data): Update call to AUTO_TESTS_if_f.
18282 (main): Do not call removed functions.
18284 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18286 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18287 (ldexp_test_data): Remove.
18288 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18290 (scalb_test): Use ALL_RM_TEST.
18292 2014-03-19 Andreas Schwab <schwab@suse.de>
18294 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18296 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18299 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18300 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18301 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18303 (__ASSUME_PREADV): Undefine.
18304 (__ASSUME_PWRITEV): Likewise.
18306 2014-03-18 Roland McGrath <roland@hack.frob.com>
18308 * bits/mman-linux.h: Add comment about non-Linux use.
18309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18310 bits/mman-linux.h resting place.
18312 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18313 * bits/mman-linux.h: ... here.
18315 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18317 * conform/conformtest.pl: Add standard definition when calling C
18318 preprocessor on data files.
18319 (checknamespace): Remove unused variable.
18321 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18323 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18324 minus_oflow, plus_uflow and minus_uflow in expected results.
18325 * math/libm-test.inc (scalbn_test_data): Add more tests of
18326 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18328 (scalbn_test): Use ALL_RM_TEST.
18329 (scalbln_test_data): Add more tests of negative arguments. Use
18330 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18331 (scalbln_test): Use ALL_RM_TEST.
18333 2014-03-18 Roland McGrath <roland@hack.frob.com>
18335 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18337 2014-03-18 Will Newton <will.newton@linaro.org>
18339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18340 inaccurate comment.
18342 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18344 * Makerules [!subdir] (check-abi): Exit with error status if a
18347 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18349 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18350 for rint. Include results for all rounding modes.
18351 (nearbyint_test): Use ALL_RM_TEST.
18352 (rint_test_data): Include all tests used for nearbyint.
18354 2014-03-17 Will Newton <will.newton@linaro.org>
18356 * nptl/sysdeps/pthread/pthread.h: Revert previous
18359 * sysdeps/generic/ldsodefs.h: Revert previous
18362 * libio/genops.c: Revert previous change.
18363 * libio/libioP.h: Likewise.
18364 * stdio-common/vfprintf.c: Likewise.
18366 * sysdeps/generic/math_private.h: Revert previous
18369 * sysdeps/generic/math_private.h: Check whether
18370 HAVE_RM_CTX is defined with #ifdef rather
18373 * argp/argp-fmtstream.h: Check whether
18374 __STRICT_ANSI__ is defined with #ifdef rather
18376 * argp/argp.h: Likewise.
18378 * libio/genops.c: Check whether
18379 _IO_JUMPS_OFFSET is defined with #ifdef rather
18381 * libio/libioP.h: Likewise.
18382 * stdio-common/vfprintf.c: Likewise.
18384 * sysdeps/generic/ldsodefs.h: Check whether
18385 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18388 * nptl/sysdeps/pthread/pthread.h: Check
18389 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18392 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18394 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18396 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18400 * libio/fileops.c (_IO_file_open): Seek to end of file but
18401 don't cache the offset.
18402 (get_file_offset): Remove function.
18403 (do_ftell): Use cached offset when available.
18404 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18405 don't cache the offset.
18406 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18408 (do_one_test): Call it.
18409 (do_ftell_test): Fix up expected old offset for a+ mode.
18410 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18413 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18414 up test status with function return status.
18415 (do_write_test): Likewise.
18416 (do_append_test): Likewise.
18418 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18419 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18422 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18424 * math/gen-libm-test.pl (parse_args): Handle results specified for
18425 each rounding mode separately.
18426 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18427 tests and results from lrint_tonearest_test_data,
18428 lrint_towardzero_test_data, lrint_downward_test_data and
18429 lrint_upward_test_data.
18430 (lrint_test): Use ALL_RM_TEST.
18431 (lrint_tonearest_test_data): Remove.
18432 (lrint_test_tonearest): Likewise.
18433 (lrint_towardzero_test_data): Likewise.
18434 (lrint_test_towardzero): Likewise.
18435 (lrint_downward_test_data): Likewise.
18436 (lrint_test_downward): Likewise.
18437 (lrint_upward_test_data): Likewise.
18438 (lrint_test_upward): Likewise.
18439 (llrint_test_data): Merge in per-rounding-mode tests and results
18440 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18441 llrint_downward_test_data and llrint_upward_test_data.
18442 (llrint_test): Use ALL_RM_TEST.
18443 (llrint_tonearest_test_data): Remove.
18444 (llrint_test_tonearest): Likewise.
18445 (llrint_towardzero_test_data): Likewise.
18446 (llrint_test_towardzero): Likewise.
18447 (llrint_downward_test_data): Likewise.
18448 (llrint_test_downward): Likewise.
18449 (llrint_upward_test_data): Likewise.
18450 (llrint_test_upward): Likewise.
18451 (rint_test_data): Merge in per-rounding-mode tests and results
18452 from rint_tonearest_test_data, rint_towardzero_test_data,
18453 rint_downward_test_data and rint_upward_test_data. Add
18454 per-rounding-mode results for tests not in those arrays.
18455 (rint_test): Use ALL_RM_TEST.
18456 (rint_tonearest_test_data): Remove.
18457 (rint_test_tonearest): Likewise.
18458 (rint_towardzero_test_data): Likewise.
18459 (rint_test_towardzero): Likewise.
18460 (rint_downward_test_data): Likewise.
18461 (rint_test_downward): Likewise.
18462 (rint_upward_test_data): Likewise.
18463 (rint_test_upward): Likewise.
18464 (main): Don't call removed functions.
18466 2014-03-14 Roland McGrath <roland@hack.frob.com>
18468 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18469 "Compiled on ..." crapola. It is anti-useful.
18471 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18473 * scripts/evaluate-test.sh: Handle fourth argument to determine
18474 whether test run should stop on failure.
18475 * Makeconfig (stop-on-test-failure): New variable.
18476 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18477 $(stop-on-test-failure).
18478 * Makefile (tests): Give a summary of results from testing and
18479 exit with failure status if they include an ERROR or FAIL.
18480 (xtests): Likewise.
18481 * manual/install.texi (Configuring and compiling): Mention
18482 stop-on-test-failure=y.
18483 * INSTALL: Regenerated.
18485 2014-03-14 Roland McGrath <roland@hack.frob.com>
18487 * scripts/versionlist.awk: New file.
18488 * Makerules [$(build-shared) = yes]
18489 (postclean-generated): Add Versions.def, not Versions.def.v and
18491 ($(common-objpfx)Versions.def.v.i): Target removed.
18492 ($(common-objpfx)Versions.def): New target.
18493 ($(common-objpfx)Versions.all): Depend on that rather that
18494 $(common-objpfx)Versions.def.v.
18495 * Versions.def: File removed.
18497 * Makeconfig (+gccwarn): Add -Wundef.
18498 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18499 a dl-sysdep.h breaking its contract.
18500 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18501 * include/stackinfo.h: New file.
18502 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18503 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18504 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18505 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18506 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18507 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18508 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18509 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18510 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18511 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18512 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18513 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18514 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18515 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18516 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18518 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18521 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18523 * math/libm-test.inc (round_test_data): Add more tests.
18526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18528 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18531 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18533 * math/libm-test.inc (ceil_test_data): Add more tests.
18535 * math/libm-test.inc (trunc_test_data): Add more tests related to
18538 2014-03-14 Roland McGrath <roland@hack.frob.com>
18540 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18541 with #if rather than #ifdef.
18542 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18544 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18546 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18547 first. Disable AVX-512 GCC support if assembler doesn't support
18549 * sysdeps/x86_64/configure: Regenerated.
18551 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18553 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18554 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18555 (__old_pthread_attr_setstack): Likewise.
18556 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18557 [!_STACK_GROWS_DOWN]: Likewise.
18559 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18561 * config.make.in (have-bash2): Delete.
18562 * configure.ac (libc_cv_have_bash2): Delete.
18563 * configure: Regenerate.
18564 * elf/Makefile (common-ldd-rewrite): Rename to ...
18565 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18566 (sh-ldd-rewrite): Delete.
18567 (bash-ldd-rewrite): Delete.
18568 (have-bash2): Delete checks.
18569 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18572 * config.make.in (have-ksh): Delete.
18574 * configure.ac (libc_cv_have_ksh): Delete.
18575 * configure: Regenerate.
18577 * elf/Makefile: Delete $(have-ksh) check.
18578 ($(objpfx)sotruss): Change KSH to BASH.
18579 * elf/sotruss.ksh: Rename to ...
18580 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18581 function style to match POSIX. Drop ksh vim mode setting.
18583 * manual/time.texi (Specifying the Time Zone with TZ): Change
18584 Tuesday to Thursday.
18586 * debug/tst-longjmp_chk2.c: Update header comment.
18587 (stackoverflow_handler): Add comment. Call assert on pass value.
18589 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18592 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18593 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18594 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18595 (La_x86_64_vector): Add zmm.
18596 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18597 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18598 ($(objpfx)tst-audit10): New target.
18599 ($(objpfx)tst-audit10.out): Likewise.
18600 (tst-audit10-ENV): New.
18601 (AVX512-CFLAGS): Likewise.
18602 (CFLAGS-tst-audit10.c): Likewise.
18603 (CFLAGS-tst-auditmod10a.c): Likewise.
18604 (CFLAGS-tst-auditmod10b.c): Likewise.
18605 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18606 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18607 * sysdeps/x86_64/configure: Regenerated.
18608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18609 AVX-512 zmm register support.
18610 (_dl_x86_64_save_sse): Likewise.
18611 (_dl_x86_64_restore_sse): Likewise.
18612 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18613 size vector registers.
18614 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18615 (ZMM_SIZE): Likewise.
18616 * sysdeps/x86_64/tst-audit10.c: New file.
18617 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18618 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18620 2014-03-13 Roland McGrath <roland@hack.frob.com>
18622 * configure.ac (HAVE_EHDR_START): New check.
18623 * configure: Regenerated.
18624 * config.h.in (HAVE_EHDR_START): New #undef.
18625 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18626 assuming the lowest-addressed segment maps the start of the file.
18628 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18630 * INSTALL: Regenerated.
18632 2014-03-13 Will Newton <will.newton@linaro.org>
18634 * manual/setjmp.texi (System V contexts): Improve
18635 clarity and grammar of documentation.
18637 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18640 * elf/Makefile (tests): Add tst-pie2.
18641 (tests-pie): Add tst-pie2.
18642 * elf/tst-pie2.c: New file.
18643 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18645 * elf/rtld.c (map_doit): Load executable as lt_executable.
18646 (dl_main): Likewise.
18648 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18651 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18652 (__ASSUME_PSELECT): Undefine.
18654 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18657 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18658 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18660 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18661 selector for static builds.
18663 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18666 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18669 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18671 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18672 IFUNC selector for static builds.
18674 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18676 * sysdeps/mips/math_private.h [__mips_hard_float]
18677 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18678 libc_feresetround_mips_ctx.
18679 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18680 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18681 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18684 * math/s_nextafter.c (__nextafter): Do not return value from
18685 overflowing computation.
18686 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18687 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18690 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18692 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18693 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18695 2014-03-11 Roland McGrath <roland@hack.frob.com>
18697 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18698 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18699 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18700 the new mov targetting sp.
18702 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18705 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18706 Define it for static builds as well.
18707 (NO_BZERO_IMPL): Likewise.
18709 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18711 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18712 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18713 multiarch strspn for PPC64.
18714 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18715 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18717 (__libc_ifunc_impl_list): Likewise.
18718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18719 multiarch optimizations
18720 * string/strspn.c (strspn): Using macro to redefine symbol name.
18722 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18723 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18725 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18726 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18727 multiarch strncat for PPC64.
18728 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18729 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18731 (__libc_ifunc_impl_list): Likewise.
18732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18733 multiarch optimizations
18735 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18738 * nscd/nscd.service: Make service type forking.
18740 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18742 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18743 sign in non default rounding modes.
18744 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18746 2014-03-08 Joseph Myers <joseph@codesourcery.com>
18748 * math/libm-test.inc (ALL_RM_TEST): New macro.
18749 (ceil_test): Use ALL_RM_TEST.
18750 (cimag_test): Likewise.
18751 (conj_test): Likewise.
18752 (copysign_test): Likewise.
18753 (cproj_test): Likewise.
18754 (creal_test): Likewise.
18755 (fabs_test): Likewise.
18756 (floor_test): Likewise.
18757 (fmax_test): Likewise.
18758 (fmin_test): Likewise.
18759 (fmod_test): Likewise.
18760 (fpclassify_test): Likewise.
18761 (frexp_test): Likewise.
18762 (ilogb_test): Likewise.
18763 (isfinite_test): Likewise.
18764 (finite_test): Likewise.
18765 (isgreater_test): Likewise.
18766 (isgreaterequal_test): Likewise.
18767 (isinf_test): Likewise.
18768 (isless_test): Likewise.
18769 (islessequal_test): Likewise.
18770 (islessgreater_test): Likewise.
18771 (isnan_test): Likewise.
18772 (isnormal_test): Likewise.
18773 (issignaling_test): Likewise.
18774 (isunordered_test): Likewise.
18775 (logb_test): Likewise.
18776 (logb_downward_test_data): Remove.
18777 (logb_test_downward): Likewise.
18778 (lround_test): Use ALL_RM_TEST.
18779 (llround_test): Likewise.
18780 (modf_test): Likewise.
18781 (nexttoward_test): Likewise.
18782 (remainder_test): Likewise.
18783 (drem_test): Likewise.
18784 (remainder_tonearest_test_data): Likewise.
18785 (remainder_test_tonearest): Likewise.
18786 (drem_test_tonearest): Likewise.
18787 (remainder_towardzero_test_data): Likewise.
18788 (remainder_test_towardzero): Likewise.
18789 (drem_test_towardzero): Likewise.
18790 (remainder_downward_test_data): Likewise.
18791 (remainder_test_downward): Likewise.
18792 (drem_test_downward): Likewise.
18793 (remainder_upward_test_data): Likewise.
18794 (remainder_test_upward): Likewise.
18795 (drem_test_upward): Likewise.
18796 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18797 (round_test): Use ALL_RM_TEST.
18798 (signbit_test): Likewise.
18799 (trunc_test): Likewise.
18800 (significand_test): Likewise.
18801 (main): Don't call removed functions.
18803 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18806 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18807 || __USE_XOPEN2K8].
18808 (ILL_ILLOPN): Likewise.
18809 (ILL_ILLADR): Likewise.
18810 (ILL_ILLTRP): Likewise.
18811 (ILL_PRVOPC): Likewise.
18812 (ILL_PRVREG): Likewise.
18813 (ILL_COPROC): Likewise.
18814 (ILL_BADSTK): Likewise.
18815 (FPE_INTDIV): Likewise.
18816 (FPE_INTOVF): Likewise.
18817 (FPE_FLTDIV): Likewise.
18818 (FPE_FLTOVF): Likewise.
18819 (FPE_FLTUND): Likewise.
18820 (FPE_FLTRES): Likewise.
18821 (FPE_FLTINV): Likewise.
18822 (FPE_FLTSUB): Likewise.
18823 (SEGV_MAPERR): Likewise.
18824 (SEGV_ACCERR): Likewise.
18825 (BUS_ADRALN): Likewise.
18826 (BUS_ADRERR): Likewise.
18827 (BUS_OBJERR): Likewise.
18828 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18829 (TRAP_TRACE): Likewise.
18830 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18832 (CLD_KILLED): Likewise.
18833 (CLD_DUMPED): Likewise.
18834 (CLD_TRAPPED): Likewise.
18835 (CLD_STOPPED): Likewise.
18836 (CLD_CONTINUED): Likewise.
18837 (POLL_IN): Likewise.
18838 (POLL_OUT): Likewise.
18839 (POLL_MSG): Likewise.
18840 (POLL_ERR): Likewise.
18841 (POLL_PRI): Likewise.
18842 (POLL_HUP): Likewise.
18843 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18845 (ILL_ILLOPN): Likewise.
18846 (ILL_ILLADR): Likewise.
18847 (ILL_ILLTRP): Likewise.
18848 (ILL_PRVOPC): Likewise.
18849 (ILL_PRVREG): Likewise.
18850 (ILL_COPROC): Likewise.
18851 (ILL_BADSTK): Likewise.
18852 (FPE_INTDIV): Likewise.
18853 (FPE_INTOVF): Likewise.
18854 (FPE_FLTDIV): Likewise.
18855 (FPE_FLTOVF): Likewise.
18856 (FPE_FLTUND): Likewise.
18857 (FPE_FLTRES): Likewise.
18858 (FPE_FLTINV): Likewise.
18859 (FPE_FLTSUB): Likewise.
18860 (SEGV_MAPERR): Likewise.
18861 (SEGV_ACCERR): Likewise.
18862 (BUS_ADRALN): Likewise.
18863 (BUS_ADRERR): Likewise.
18864 (BUS_OBJERR): Likewise.
18865 (BUS_MCEERR_AR): Likewise.
18866 (BUS_MCEERR_AO): Likewise.
18867 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18868 (TRAP_TRACE): Likewise.
18869 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18871 (CLD_KILLED): Likewise.
18872 (CLD_DUMPED): Likewise.
18873 (CLD_TRAPPED): Likewise.
18874 (CLD_STOPPED): Likewise.
18875 (CLD_CONTINUED): Likewise.
18876 (POLL_IN): Likewise.
18877 (POLL_OUT): Likewise.
18878 (POLL_MSG): Likewise.
18879 (POLL_ERR): Likewise.
18880 (POLL_PRI): Likewise.
18881 (POLL_HUP): Likewise.
18882 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18883 (ILL_ILLOPN): Likewise.
18884 (ILL_ILLADR): Likewise.
18885 (ILL_ILLTRP): Likewise.
18886 (ILL_PRVOPC): Likewise.
18887 (ILL_PRVREG): Likewise.
18888 (ILL_COPROC): Likewise.
18889 (ILL_BADSTK): Likewise.
18890 (FPE_INTDIV): Likewise.
18891 (FPE_INTOVF): Likewise.
18892 (FPE_FLTDIV): Likewise.
18893 (FPE_FLTOVF): Likewise.
18894 (FPE_FLTUND): Likewise.
18895 (FPE_FLTRES): Likewise.
18896 (FPE_FLTINV): Likewise.
18897 (FPE_FLTSUB): Likewise.
18898 (SEGV_MAPERR): Likewise.
18899 (SEGV_ACCERR): Likewise.
18900 (BUS_ADRALN): Likewise.
18901 (BUS_ADRERR): Likewise.
18902 (BUS_OBJERR): Likewise.
18903 (BUS_MCEERR_AR): Likewise.
18904 (BUS_MCEERR_AO): Likewise.
18905 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18906 (TRAP_TRACE): Likewise.
18907 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18909 (CLD_KILLED): Likewise.
18910 (CLD_DUMPED): Likewise.
18911 (CLD_TRAPPED): Likewise.
18912 (CLD_STOPPED): Likewise.
18913 (CLD_CONTINUED): Likewise.
18914 (POLL_IN): Likewise.
18915 (POLL_OUT): Likewise.
18916 (POLL_MSG): Likewise.
18917 (POLL_ERR): Likewise.
18918 (POLL_PRI): Likewise.
18919 (POLL_HUP): Likewise.
18920 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18922 (ILL_ILLOPN): Likewise.
18923 (ILL_ILLADR): Likewise.
18924 (ILL_ILLTRP): Likewise.
18925 (ILL_PRVOPC): Likewise.
18926 (ILL_PRVREG): Likewise.
18927 (ILL_COPROC): Likewise.
18928 (ILL_BADSTK): Likewise.
18929 (ILL_BADIADDR): Likewise.
18930 (ILL_BREAK): Likewise.
18931 (FPE_INTDIV): Likewise.
18932 (FPE_INTOVF): Likewise.
18933 (FPE_FLTDIV): Likewise.
18934 (FPE_FLTOVF): Likewise.
18935 (FPE_FLTUND): Likewise.
18936 (FPE_FLTRES): Likewise.
18937 (FPE_FLTINV): Likewise.
18938 (FPE_FLTSUB): Likewise.
18939 (FPE_DECOVF): Likewise.
18940 (FPE_DECDIV): Likewise.
18941 (FPE_DECERR): Likewise.
18942 (FPE_INVASC): Likewise.
18943 (FPE_INVDEC): Likewise.
18944 (SEGV_MAPERR): Likewise.
18945 (SEGV_ACCERR): Likewise.
18946 (SEGV_PSTKOVF): Likewise.
18947 (BUS_ADRALN): Likewise.
18948 (BUS_ADRERR): Likewise.
18949 (BUS_OBJERR): Likewise.
18950 (BUS_MCEERR_AR): Likewise.
18951 (BUS_MCEERR_AO): Likewise.
18952 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18953 (TRAP_TRACE): Likewise.
18954 (TRAP_BRANCH): Likewise.
18955 (TRAP_HWBKPT): Likewise.
18956 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18958 (CLD_KILLED): Likewise.
18959 (CLD_DUMPED): Likewise.
18960 (CLD_TRAPPED): Likewise.
18961 (CLD_STOPPED): Likewise.
18962 (CLD_CONTINUED): Likewise.
18963 (POLL_IN): Likewise.
18964 (POLL_OUT): Likewise.
18965 (POLL_MSG): Likewise.
18966 (POLL_ERR): Likewise.
18967 (POLL_PRI): Likewise.
18968 (POLL_HUP): Likewise.
18969 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18970 (ILL_ILLOPN): Likewise.
18971 (ILL_ILLADR): Likewise.
18972 (ILL_ILLTRP): Likewise.
18973 (ILL_PRVOPC): Likewise.
18974 (ILL_PRVREG): Likewise.
18975 (ILL_COPROC): Likewise.
18976 (ILL_BADSTK): Likewise.
18977 (FPE_INTDIV): Likewise.
18978 (FPE_INTOVF): Likewise.
18979 (FPE_FLTDIV): Likewise.
18980 (FPE_FLTOVF): Likewise.
18981 (FPE_FLTUND): Likewise.
18982 (FPE_FLTRES): Likewise.
18983 (FPE_FLTINV): Likewise.
18984 (FPE_FLTSUB): Likewise.
18985 (SEGV_MAPERR): Likewise.
18986 (SEGV_ACCERR): Likewise.
18987 (BUS_ADRALN): Likewise.
18988 (BUS_ADRERR): Likewise.
18989 (BUS_OBJERR): Likewise.
18990 (BUS_MCEERR_AR): Likewise.
18991 (BUS_MCEERR_AO): Likewise.
18992 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18993 (TRAP_TRACE): Likewise.
18994 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18996 (CLD_KILLED): Likewise.
18997 (CLD_DUMPED): Likewise.
18998 (CLD_TRAPPED): Likewise.
18999 (CLD_STOPPED): Likewise.
19000 (CLD_CONTINUED): Likewise.
19001 (POLL_IN): Likewise.
19002 (POLL_OUT): Likewise.
19003 (POLL_MSG): Likewise.
19004 (POLL_ERR): Likewise.
19005 (POLL_PRI): Likewise.
19006 (POLL_HUP): Likewise.
19007 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19008 (ILL_ILLOPN): Likewise.
19009 (ILL_ILLADR): Likewise.
19010 (ILL_ILLTRP): Likewise.
19011 (ILL_PRVOPC): Likewise.
19012 (ILL_PRVREG): Likewise.
19013 (ILL_COPROC): Likewise.
19014 (ILL_BADSTK): Likewise.
19015 (FPE_INTDIV): Likewise.
19016 (FPE_INTOVF): Likewise.
19017 (FPE_FLTDIV): Likewise.
19018 (FPE_FLTOVF): Likewise.
19019 (FPE_FLTUND): Likewise.
19020 (FPE_FLTRES): Likewise.
19021 (FPE_FLTINV): Likewise.
19022 (FPE_FLTSUB): Likewise.
19023 (SEGV_MAPERR): Likewise.
19024 (SEGV_ACCERR): Likewise.
19025 (BUS_ADRALN): Likewise.
19026 (BUS_ADRERR): Likewise.
19027 (BUS_OBJERR): Likewise.
19028 (BUS_MCEERR_AR): Likewise.
19029 (BUS_MCEERR_AO): Likewise.
19030 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19031 (TRAP_TRACE): Likewise.
19032 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19034 (CLD_KILLED): Likewise.
19035 (CLD_DUMPED): Likewise.
19036 (CLD_TRAPPED): Likewise.
19037 (CLD_STOPPED): Likewise.
19038 (CLD_CONTINUED): Likewise.
19039 (POLL_IN): Likewise.
19040 (POLL_OUT): Likewise.
19041 (POLL_MSG): Likewise.
19042 (POLL_ERR): Likewise.
19043 (POLL_PRI): Likewise.
19044 (POLL_HUP): Likewise.
19045 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19046 (ILL_ILLOPN): Likewise.
19047 (ILL_ILLADR): Likewise.
19048 (ILL_ILLTRP): Likewise.
19049 (ILL_PRVOPC): Likewise.
19050 (ILL_PRVREG): Likewise.
19051 (ILL_COPROC): Likewise.
19052 (ILL_BADSTK): Likewise.
19053 (FPE_INTDIV): Likewise.
19054 (FPE_INTOVF): Likewise.
19055 (FPE_FLTDIV): Likewise.
19056 (FPE_FLTOVF): Likewise.
19057 (FPE_FLTUND): Likewise.
19058 (FPE_FLTRES): Likewise.
19059 (FPE_FLTINV): Likewise.
19060 (FPE_FLTSUB): Likewise.
19061 (SEGV_MAPERR): Likewise.
19062 (SEGV_ACCERR): Likewise.
19063 (BUS_ADRALN): Likewise.
19064 (BUS_ADRERR): Likewise.
19065 (BUS_OBJERR): Likewise.
19066 (BUS_MCEERR_AR): Likewise.
19067 (BUS_MCEERR_AO): Likewise.
19068 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19069 (TRAP_TRACE): Likewise.
19070 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19072 (CLD_KILLED): Likewise.
19073 (CLD_DUMPED): Likewise.
19074 (CLD_TRAPPED): Likewise.
19075 (CLD_STOPPED): Likewise.
19076 (CLD_CONTINUED): Likewise.
19077 (POLL_IN): Likewise.
19078 (POLL_OUT): Likewise.
19079 (POLL_MSG): Likewise.
19080 (POLL_ERR): Likewise.
19081 (POLL_PRI): Likewise.
19082 (POLL_HUP): Likewise.
19083 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19084 (ILL_ILLOPN): Likewise.
19085 (ILL_ILLADR): Likewise.
19086 (ILL_ILLTRP): Likewise.
19087 (ILL_PRVOPC): Likewise.
19088 (ILL_PRVREG): Likewise.
19089 (ILL_COPROC): Likewise.
19090 (ILL_BADSTK): Likewise.
19091 (ILL_DBLFLT): Likewise.
19092 (ILL_HARDWALL): Likewise.
19093 (FPE_INTDIV): Likewise.
19094 (FPE_INTOVF): Likewise.
19095 (FPE_FLTDIV): Likewise.
19096 (FPE_FLTOVF): Likewise.
19097 (FPE_FLTUND): Likewise.
19098 (FPE_FLTRES): Likewise.
19099 (FPE_FLTINV): Likewise.
19100 (FPE_FLTSUB): Likewise.
19101 (SEGV_MAPERR): Likewise.
19102 (SEGV_ACCERR): Likewise.
19103 (BUS_ADRALN): Likewise.
19104 (BUS_ADRERR): Likewise.
19105 (BUS_OBJERR): Likewise.
19106 (BUS_MCEERR_AR): Likewise.
19107 (BUS_MCEERR_AO): Likewise.
19108 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19109 (TRAP_TRACE): Likewise.
19110 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19112 (CLD_KILLED): Likewise.
19113 (CLD_DUMPED): Likewise.
19114 (CLD_TRAPPED): Likewise.
19115 (CLD_STOPPED): Likewise.
19116 (CLD_CONTINUED): Likewise.
19117 (POLL_IN): Likewise.
19118 (POLL_OUT): Likewise.
19119 (POLL_MSG): Likewise.
19120 (POLL_ERR): Likewise.
19121 (POLL_PRI): Likewise.
19122 (POLL_HUP): Likewise.
19123 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19124 (ILL_ILLOPN): Likewise.
19125 (ILL_ILLADR): Likewise.
19126 (ILL_ILLTRP): Likewise.
19127 (ILL_PRVOPC): Likewise.
19128 (ILL_PRVREG): Likewise.
19129 (ILL_COPROC): Likewise.
19130 (ILL_BADSTK): Likewise.
19131 (FPE_INTDIV): Likewise.
19132 (FPE_INTOVF): Likewise.
19133 (FPE_FLTDIV): Likewise.
19134 (FPE_FLTOVF): Likewise.
19135 (FPE_FLTUND): Likewise.
19136 (FPE_FLTRES): Likewise.
19137 (FPE_FLTINV): Likewise.
19138 (FPE_FLTSUB): Likewise.
19139 (SEGV_MAPERR): Likewise.
19140 (SEGV_ACCERR): Likewise.
19141 (BUS_ADRALN): Likewise.
19142 (BUS_ADRERR): Likewise.
19143 (BUS_OBJERR): Likewise.
19144 (BUS_MCEERR_AR): Likewise.
19145 (BUS_MCEERR_AO): Likewise.
19146 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19147 (TRAP_TRACE): Likewise.
19148 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19150 (CLD_KILLED): Likewise.
19151 (CLD_DUMPED): Likewise.
19152 (CLD_TRAPPED): Likewise.
19153 (CLD_STOPPED): Likewise.
19154 (CLD_CONTINUED): Likewise.
19155 (POLL_IN): Likewise.
19156 (POLL_OUT): Likewise.
19157 (POLL_MSG): Likewise.
19158 (POLL_ERR): Likewise.
19159 (POLL_PRI): Likewise.
19160 (POLL_HUP): Likewise.
19161 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19162 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19165 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19166 before #include of <time.h>.
19167 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19168 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19169 (test-xfail-UNIX98/sched.h/conform): Likewise.
19171 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19173 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19174 error absence of trapping exception support.
19175 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19177 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19179 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19180 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19181 * timezone/Makefile (testdata): Move definition above include of
19183 (test-zones): New variable.
19184 (tests-special): Add zone files.
19185 (build-testdata): Use $(evaluate-test).
19187 * elf/Makefile (tests-special): Rename tests to end with .out.
19188 ($(objpfx)noload-mem): Likewise.
19189 ($(objpfx)tst-leaks1-mem): Likewise.
19190 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19191 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19192 $(objpfx)test-iconvconfig.out.
19193 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19194 set -e inside subshell and redirect output to file.
19195 * iconvdata/Makefile (generated): Rename tests to end with .out.
19197 (tests-special): Rename tests to end with .out.
19198 ($(objpfx)mtrace-tst-loading): Likewise.
19199 * intl/Makefile (generated): Likewise.
19200 (tests-special): Likewise.
19201 ($(objpfx)mtrace-tst-gettext): Likewise.
19202 * misc/Makefile (generated): Likewise.
19203 (tests-special): Likewise.
19204 ($(objpfx)tst-error1-mem): Likewise.
19205 * nptl/Makefile (tests-special): Likewise.
19206 ($(objpfx)tst-stack3-mem): Likewise.
19207 (generated): Likewise.
19208 * posix/Makefile (generated): Likewise.
19209 (tests-special): Likewise.
19210 (xtests-special): Likewise.
19211 ($(objpfx)tst-fnmatch-mem): Likewise.
19212 ($(objpfx)bug-regex2-mem): Likewise.
19213 ($(objpfx)bug-regex14-mem): Likewise.
19214 ($(objpfx)bug-regex21-mem): Likewise.
19215 ($(objpfx)bug-regex31-mem): Likewise.
19216 ($(objpfx)tst-vfork3-mem): Likewise.
19217 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19218 ($(objpfx)tst-pcre-mem): Likewise.
19219 ($(objpfx)tst-boost-mem): Likewise.
19220 ($(objpfx)bug-ga2-mem): Likewise.
19221 ($(objpfx)bug-glob2-mem): Likewise.
19222 * resolv/Makefile (generate): Likewise.
19223 (tests-special): Likewise.
19224 (xtests-special): Likewise.
19225 (generated): Likewise.
19226 ($(objpfx)mtrace-tst-leaks): Likewise.
19227 ($(objpfx)mtrace-tst-leaks2): Likewise.
19229 * scripts/merge-test-results.sh: New file.
19230 * Makefile (tests-special-notdir): New variable.
19231 (tests): Run merge-test-results.sh.
19232 (xtests): Likewise.
19233 * Rules (tests-special-notdir): New variable.
19234 (xtests-special-notdir): Likewise.
19235 (tests): Run merge-test-results.sh
19236 (xtests): Likewise.
19238 * Makeconfig (test-xfail-name): New variable.
19239 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19240 compute variable name for expected failures.
19241 * conform/Makefile (conformtest-headers-data): New variable.
19242 (conformtest-standards): Likewise.
19243 (conformtest-headers-ISO): Likewise.
19244 (conformtest-headers-ISO99): Likewise.
19245 (conformtest-headers-ISO11): Likewise.
19246 (conformtest-headers-POSIX): Likewise.
19247 (conformtest-headers-XPG3): Likewise.
19248 (conformtest-headers-XPG4): Likewise.
19249 (conformtest-headers-UNIX98): Likewise.
19250 (conformtest-headers-XOPEN2K): Likewise.
19251 (conformtest-headers-POSIX2008): Likewise.
19252 (conformtest-headers-XOPEN2K8): Likewise.
19253 (conformtest-header-list-base): Likewise.
19254 (conformtest-header-list-tests): Likewise.
19255 (conformtest-header-base): Likewise.
19256 (conformtest-header-tests): Likewise.
19257 (tests-special): Add $(conformtest-header-list-tests). If
19258 [$(fast-check) && !$(cross-compiling)], add
19259 $(conformtest-header-tests) instead of
19260 $(objpfx)run-conformtest.out.
19261 (generated): Add $(conformtest-header-list-base). If
19262 [$(fast-check) && !$(cross-compiling)], add
19263 $(conformtest-header-base). Remove previous setting.
19264 ($(conformtest-header-list-tests)): New target.
19265 (test-xfail-run-conformtest): Remove variable.
19266 ($(objpfx)run-conformtest.out): Remove target.
19267 (test-xfail-ISO11/complex.h/conform): New variable.
19268 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19269 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19270 (test-xfail-XPG3/varargs.h/conform): Likewise.
19271 (test-xfail-XPG4/varargs.h/conform): Likewise.
19272 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19273 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19274 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19275 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19276 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19277 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19278 (test-xfail-XPG3/ftw.h/conform): Likewise.
19279 (test-xfail-XPG3/grp.h/conform): Likewise.
19280 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19281 (test-xfail-XPG3/limits.h/conform): Likewise.
19282 (test-xfail-XPG3/pwd.h/conform): Likewise.
19283 (test-xfail-XPG3/search.h/conform): Likewise.
19284 (test-xfail-XPG3/signal.h/conform): Likewise.
19285 (test-xfail-XPG3/stdio.h/conform): Likewise.
19286 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19287 (test-xfail-XPG3/string.h/conform): Likewise.
19288 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19289 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19290 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19291 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19292 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19293 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19294 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19295 (test-xfail-XPG3/termios.h/conform): Likewise.
19296 (test-xfail-XPG3/time.h/conform): Likewise.
19297 (test-xfail-XPG3/unistd.h/conform): Likewise.
19298 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19299 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19300 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19301 (test-xfail-XPG4/netdb.h/conform): Likewise.
19302 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19303 (test-xfail-XPG4/signal.h/conform): Likewise.
19304 (test-xfail-XPG4/stdio.h/conform): Likewise.
19305 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19306 (test-xfail-XPG4/stropts.h/conform): Likewise.
19307 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19308 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19309 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19310 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19311 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19312 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19313 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19314 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19315 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19316 (test-xfail-XPG4/termios.h/conform): Likewise.
19317 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19318 (test-xfail-XPG4/unistd.h/conform): Likewise.
19319 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19320 (test-xfail-POSIX/sched.h/conform): Likewise.
19321 (test-xfail-POSIX/signal.h/conform): Likewise.
19322 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19323 (test-xfail-POSIX/tar.h/conform): Likewise.
19324 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19325 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19326 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19327 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19328 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19329 (test-xfail-UNIX98/sched.h/conform): Likewise.
19330 (test-xfail-UNIX98/signal.h/conform): Likewise.
19331 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19332 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19333 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19334 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19335 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19336 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19337 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19338 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19339 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19340 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19341 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19342 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19343 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19344 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19345 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19346 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19347 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19348 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19349 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19350 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19351 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19352 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19353 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19354 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19355 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19356 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19357 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19358 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19359 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19360 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19361 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19362 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19363 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19364 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19365 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19366 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19367 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19368 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19369 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19370 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19371 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19372 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19373 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19374 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19375 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19376 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19377 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19378 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19379 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19380 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19381 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19382 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19383 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19384 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19385 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19386 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19387 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19388 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19389 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19390 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19391 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19392 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19393 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19394 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19395 (conformtest-cc-flags): Likewise.
19396 ($(conformtest-header-tests): New target.
19397 * conform/check-header-lists.sh: New file.
19398 * conform/run-conformtest.sh: Remove.
19400 * conform/conformtest.pl: Allow ' and \ in values given for
19402 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19404 [POSIX] (sys/types.h): Likewise.
19405 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19407 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19409 * conform/data/signal.h-data (SIGIO): Remove expectation.
19410 [XPG3] (SIGBUS): Do not expect.
19411 [POSIX || XPG3] (SIGPOLL): Likewise.
19412 [POSIX || XPG3] (SIGPROF): Likewise.
19413 [POSIX || XPG3] (SIGSYS): Likewise.
19414 [XPG3] (SIGTRAP): Likewise.
19415 [POSIX || XPG3] (SIGURG): Likewise.
19416 [POSIX || XPG3] (SIGVTALRM): Likewise.
19417 [POSIX || XPG3] (SIGXCPU): Likewise.
19418 [POSIX || XPG3] (SIGXFSZ): Likewise.
19419 [POSIX] (SA_SIGINFO): Expect.
19420 [XPG3] (siginfo_t): Do not expect type or contents.
19421 [POSIX] (si_pid): Do not expect element.
19422 [POSIX] (si_uid): Likewise.
19423 [POSIX] (si_addr): Likewise.
19424 [POSIX] (si_status): Likewise.
19425 [POSIX] (si_band): Likewise.
19426 [XPG4] (si_value): Likewise.
19427 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19428 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19429 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19430 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19431 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19432 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19433 [POSIX || XPG3] (ILL_COPROC): Likewise.
19434 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19435 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19436 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19437 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19438 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19439 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19440 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19441 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19442 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19443 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19444 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19445 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19446 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19447 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19448 [POSIX || XPG3] (CLD_EXITED): Likewise.
19449 [POSIX || XPG3] (CLD_KILLED): Likewise.
19450 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19451 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19452 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19453 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19454 [POSIX || XPG3] (POLL_IN): Likewise.
19455 [POSIX || XPG3] (POLL_OUT): Likewise.
19456 [POSIX || XPG3] (POLL_MSG): Likewise.
19457 [POSIX || XPG3] (POLL_ERR): Likewise.
19458 [POSIX || XPG3] (POLL_PRI): Likewise.
19459 [POSIX || XPG3] (POLL_HUP): Likewise.
19460 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19461 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19462 (SIG*): Do not allow.
19463 [XPG3] (si_*): Likewise.
19464 [XPG3] (SI_*): Likewise.
19465 [XPG3 || XPG4] (sigev_*): Likewise.
19466 [XPG3 || XPG4] (SIGEV_*): Likewise.
19467 [XPG3 || XPG4] (sival_*): Likewise.
19468 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19469 [POSIX || XPG3] (BUS_*): Likewise.
19470 [POSIX || XPG3] (CLD_*): Likewise.
19471 [POSIX || XPG3] (FPE_*): Likewise.
19472 [POSIX || XPG3] (ILL_*): Likewise.
19473 [POSIX || XPG3] (POLL_*): Likewise.
19474 [POSIX || XPG3] (SEGV_*): Likewise.
19475 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19476 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19477 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19478 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19479 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19480 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19481 Specify type and value.
19482 (TVERSLEN): Likewise.
19483 (REGTYPE): Likewise.
19484 (AREGTYPE): Likewise.
19485 (LNKTYPE): Likewise.
19486 (SYMTYPE): Likewise.
19487 (CHRTYPE): Likewise.
19488 (BLKTYPE): Likewise.
19489 (DIRTYPE): Likewise.
19490 (FIFOTYPE): Likewise.
19491 (CONTTYPE): Likewise.
19495 (TUREAD): Likewise.
19496 (TUWRITE): Likewise.
19497 (TUEXEC): Likewise.
19498 (TGREAD): Likewise.
19499 (TGWRITE): Likewise.
19500 (TGEXEC): Likewise.
19501 (TOREAD): Likewise.
19502 (TOWRITE): Likewise.
19503 (TOEXEC): Likewise.
19504 [POSIX] (TSVTX): Expect constant.
19506 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19508 * Makefile (tests): Change dependencies to ....
19509 (tests-special): ... additions to this variable.
19510 (tests): Depend on $(tests-special).
19511 * Makerules (check-abi-list): New variable.
19512 (check-abi): Depend on $(check-abi-list).
19513 [$(subdir) = elf] (tests-special): Add
19514 $(objpfx)check-abi-libc.out.
19515 [$(build-shared) = yes && subdir] (tests-special): Add
19517 [$(build-shared) = yes && subdir] (tests): Do not depend on
19519 * Rules (tests): Depend on $(tests-special).
19520 (xtests): Depend on $(xtests-special).
19521 * catgets/Makefile (tests): Change dependencies to ....
19522 (tests-special): ... additions to this variable.
19523 * conform/Makefile (tests): Change dependencies to ....
19524 (tests-special): ... additions to this variable.
19525 * elf/Makefile (tests): Change dependencies to ....
19526 (tests-special): ... additions to this variable.
19527 * grp/Makefile (tests): Change dependencies to ....
19528 (tests-special): ... additions to this variable.
19529 * iconv/Makefile (xtests): Change dependencies to ....
19530 (xtests-special): ... additions to this variable.
19531 * iconvdata/Makefile (tests): Change dependencies to ....
19532 (tests-special): ... additions to this variable.
19533 * intl/Makefile (tests): Change dependencies to ....
19534 (tests-special): ... additions to this variable. Also add
19535 $(objpfx)tst-gettext.out.
19536 * io/Makefile (tests): Change dependencies to ....
19537 (tests-special): ... additions to this variable.
19538 * libio/Makefile (tests): Change dependencies to ....
19539 (tests-special): ... additions to this variable.
19540 * malloc/Makefile (tests): Change dependencies to ....
19541 (tests-special): ... additions to this variable.
19542 * misc/Makefile (tests): Change dependencies to ....
19543 (tests-special): ... additions to this variable.
19544 * nptl/Makefile (tests): Change dependencies to ....
19545 (tests-special): ... additions to this variable.
19546 * nptl_db/Makefile (tests): Change dependencies to ....
19547 (tests-special): ... additions to this variable.
19548 * posix/Makefile (tests): Change dependencies to ....
19549 (tests-special): ... additions to this variable.
19550 (xtests): Change dependencies to ....
19551 (xtests-special): ... additions to this variable.
19552 * resolv/Makefile (tests): Change dependencies to ....
19553 (tests-special): ... additions to this variable.
19554 (xtests): Change dependencies to ....
19555 (xtests-special): ... additions to this variable.
19556 * stdio-common/Makefile (tests): Change dependencies to ....
19557 (tests-special): ... additions to this variable.
19558 (do-tst-unbputc): Remove target.
19559 (do-tst-printf): Likewise.
19560 * stdlib/Makefile (tests): Change dependencies to ....
19561 (tests-special): ... additions to this variable.
19562 * string/Makefile (tests): Change dependencies to ....
19563 (tests-special): ... additions to this variable.
19564 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19565 (tests-special): ... additions to this variable.
19567 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19569 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19571 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19572 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19574 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19575 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19576 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19577 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19578 * conform/data/libgen.h-data [XPG3]: Likewise.
19579 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19580 * conform/data/ndbm.h-data [XPG3]: Likewise.
19581 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19582 * conform/data/netdb.h-data [XPG3]: Likewise.
19583 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19584 * conform/data/poll.h-data [XPG3]: Likewise.
19585 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19586 * conform/data/strings.h-data [XPG3]: Likewise.
19587 * conform/data/stropts.h-data [XPG3]: Likewise.
19588 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19589 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19590 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19592 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19593 * conform/data/sys/time.h-data [XPG3]: Likewise.
19594 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19595 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19596 * conform/data/sys/un.h-data [XPG3]: Likewise.
19597 * conform/data/syslog.h-data [XPG3]: Likewise.
19598 * conform/data/ucontext.h-data [XPG3]: Likewise.
19599 * conform/data/utmpx.h-data [XPG3]: Likewise.
19600 * conform/data/varargs.h-data [UNIX98]: Enable file.
19602 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19604 * math/libm-test.inc (struct test_f_f_data): Move expected results
19605 into structure for each rounding mode.
19606 (struct test_ff_f_data): Likewise.
19607 (struct test_ff_f_data_nexttoward): Likewise.
19608 (struct test_fi_f_data): Likewise.
19609 (struct test_fl_f_data): Likewise.
19610 (struct test_if_f_data): Likewise.
19611 (struct test_fff_f_data): Likewise.
19612 (struct test_c_f_data): Likewise.
19613 (struct test_f_f1_data): Likewise.
19614 (struct test_fF_f1_data): Likewise.
19615 (struct test_ffI_f1_data): Likewise.
19616 (struct test_c_c_data): Likewise.
19617 (struct test_cc_c_data): Likewise.
19618 (struct test_f_i_data): Likewise.
19619 (struct test_ff_i_data): Likewise.
19620 (struct test_f_l_data): Likewise.
19621 (struct test_f_L_data): Likewise.
19622 (struct test_fFF_11_data): Likewise.
19624 (RM_FE_DOWNWARD): Likewise.
19625 (RM_FE_TONEAREST): Likewise.
19626 (RM_FE_TOWARDZERO): Likewise.
19627 (RM_FE_UPWARD): Likewise.
19628 (RUN_TEST_LOOP_f_f): Update references to expected results.
19629 (RUN_TEST_LOOP_2_f): Likewise.
19630 (RUN_TEST_LOOP_fff_f): Likewise.
19631 (RUN_TEST_LOOP_c_f): Likewise.
19632 (RUN_TEST_LOOP_f_f1): Likewise.
19633 (RUN_TEST_LOOP_fF_f1): Likewise.
19634 (RUN_TEST_LOOP_fI_f1): Likewise.
19635 (RUN_TEST_LOOP_ffI_f1): Likewise.
19636 (RUN_TEST_LOOP_c_c): Likewise.
19637 (RUN_TEST_LOOP_cc_c): Likewise.
19638 (RUN_TEST_LOOP_f_i): Likewise.
19639 (RUN_TEST_LOOP_f_i_tg): Likewise.
19640 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19641 (RUN_TEST_LOOP_f_b): Likewise.
19642 (RUN_TEST_LOOP_f_b_tg): Likewise.
19643 (RUN_TEST_LOOP_f_l): Likewise.
19644 (RUN_TEST_LOOP_f_L): Likewise.
19645 (RUN_TEST_LOOP_fFF_11): Likewise.
19646 * math/gen-libm-test.pl (parse_args): Output four copies of
19647 expected results for each test.
19649 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19650 (__ASSUME_UTIMES): Remove.
19651 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19652 (__ASSUME_UTIMES): Likewise.
19654 * math/gen-auto-libm-tests.c: Update comment on output format.
19655 (output_for_one_input_case): Generate before-rounding and
19656 after-rounding information as conditions on output flags not
19657 floating-point format.
19658 * math/auto-libm-test-out: Regenerated.
19659 * math/gen-libm-test.pl (cond_value): New function.
19660 (or_cond_value): Use cond_value.
19661 (generate_testfile): Handle conditional exceptions.
19663 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19665 * math/libm-test.inc (max_valid_error): New variable.
19666 (init_max_error): Take new argument specifying whether function
19667 results are exactly determined. Set max_valid_error and bound
19668 other variables for errors based on this argument.
19669 (set_max_error): Do not record results above max_valid_error.
19670 (check_float_internal): Only accept errors of up to 0.5ulps if
19671 also at most max_valid_error.
19672 (START): Take new argument EXACT and pass it to init_max_error.
19673 (acos_test): Update call to START.
19674 (acos_test_tonearest): Likewise.
19675 (acos_test_towardzero): Likewise.
19676 (acos_test_downward): Likewise.
19677 (acos_test_upward): Likewise.
19678 (acosh_test): Likewise.
19679 (asin_test): Likewise.
19680 (asin_test_tonearest): Likewise.
19681 (asin_test_towardzero): Likewise.
19682 (asin_test_downward): Likewise.
19683 (asin_test_upward): Likewise.
19684 (asinh_test): Likewise.
19685 (atan_test): Likewise.
19686 (atanh_test): Likewise.
19687 (atan2_test): Likewise.
19688 (cabs_test): Likewise.
19689 (cacos_test): Likewise.
19690 (cacosh_test): Likewise.
19691 (carg_test): Likewise.
19692 (casin_test): Likewise.
19693 (casinh_test): Likewise.
19694 (catan_test): Likewise.
19695 (catanh_test): Likewise.
19696 (cbrt_test): Likewise.
19697 (ccos_test): Likewise.
19698 (ccosh_test): Likewise.
19699 (ceil_test): Likewise.
19700 (cexp_test): Likewise.
19701 (cimag_test): Likewise.
19702 (clog_test): Likewise.
19703 (clog10_test): Likewise.
19704 (conj_test): Likewise.
19705 (copysign_test): Likewise.
19706 (cos_test): Likewise.
19707 (cos_test_tonearest): Likewise.
19708 (cos_test_towardzero): Likewise.
19709 (cos_test_downward): Likewise.
19710 (cos_test_upward): Likewise.
19711 (cosh_test): Likewise.
19712 (cosh_test_tonearest): Likewise.
19713 (cosh_test_towardzero): Likewise.
19714 (cosh_test_downward): Likewise.
19715 (cosh_test_upward): Likewise.
19716 (cpow_test): Likewise.
19717 (cproj_test): Likewise.
19718 (creal_test): Likewise.
19719 (csin_test): Likewise.
19720 (csinh_test): Likewise.
19721 (csqrt_test): Likewise.
19722 (ctan_test): Likewise.
19723 (ctan_test_tonearest): Likewise.
19724 (ctan_test_towardzero): Likewise.
19725 (ctan_test_downward): Likewise.
19726 (ctan_test_upward): Likewise.
19727 (ctanh_test): Likewise.
19728 (ctanh_test_tonearest): Likewise.
19729 (ctanh_test_towardzero): Likewise.
19730 (ctanh_test_downward): Likewise.
19731 (ctanh_test_upward): Likewise.
19732 (erf_test): Likewise.
19733 (erfc_test): Likewise.
19734 (exp_test): Likewise.
19735 (exp_test_tonearest): Likewise.
19736 (exp_test_towardzero): Likewise.
19737 (exp_test_downward): Likewise.
19738 (exp_test_upward): Likewise.
19739 (exp10_test): Likewise.
19740 (exp10_test_tonearest): Likewise.
19741 (exp10_test_towardzero): Likewise.
19742 (exp10_test_downward): Likewise.
19743 (exp10_test_upward): Likewise.
19744 (pow10_test): Likewise.
19745 (exp2_test): Likewise.
19746 (expm1_test): Likewise.
19747 (expm1_test_tonearest): Likewise.
19748 (expm1_test_towardzero): Likewise.
19749 (expm1_test_downward): Likewise.
19750 (expm1_test_upward): Likewise.
19751 (fabs_test): Likewise.
19752 (fdim_test): Likewise.
19753 (floor_test): Likewise.
19754 (fma_test): Likewise.
19755 (fma_test_towardzero): Likewise.
19756 (fma_test_downward): Likewise.
19757 (fma_test_upward): Likewise.
19758 (fmax_test): Likewise.
19759 (fmin_test): Likewise.
19760 (fmod_test): Likewise.
19761 (fpclassify_test): Likewise.
19762 (frexp_test): Likewise.
19763 (hypot_test): Likewise.
19764 (ilogb_test): Likewise.
19765 (isfinite_test): Likewise.
19766 (finite_test): Likewise.
19767 (isgreater_test): Likewise.
19768 (isgreaterequal_test): Likewise.
19769 (isinf_test): Likewise.
19770 (isless_test): Likewise.
19771 (islessequal_test): Likewise.
19772 (islessgreater_test): Likewise.
19773 (isnan_test): Likewise.
19774 (isnormal_test): Likewise.
19775 (issignaling_test): Likewise.
19776 (isunordered_test): Likewise.
19777 (j0_test): Likewise.
19778 (j1_test): Likewise.
19779 (jn_test): Likewise.
19780 (ldexp_test): Likewise.
19781 (lgamma_test): Likewise.
19782 (gamma_test): Likewise.
19783 (lrint_test): Likewise.
19784 (lrint_test_tonearest): Likewise.
19785 (lrint_test_towardzero): Likewise.
19786 (lrint_test_downward): Likewise.
19787 (lrint_test_upward): Likewise.
19788 (llrint_test): Likewise.
19789 (llrint_test_tonearest): Likewise.
19790 (llrint_test_towardzero): Likewise.
19791 (llrint_test_downward): Likewise.
19792 (llrint_test_upward): Likewise.
19793 (log_test): Likewise.
19794 (log10_test): Likewise.
19795 (log1p_test): Likewise.
19796 (log2_test): Likewise.
19797 (logb_test): Likewise.
19798 (logb_test_downward): Likewise.
19799 (lround_test): Likewise.
19800 (llround_test): Likewise.
19801 (modf_test): Likewise.
19802 (nearbyint_test): Likewise.
19803 (nextafter_test): Likewise.
19804 (nexttoward_test): Likewise.
19805 (pow_test): Likewise.
19806 (pow_test_tonearest): Likewise.
19807 (pow_test_towardzero): Likewise.
19808 (pow_test_downward): Likewise.
19809 (pow_test_upward): Likewise.
19810 (remainder_test): Likewise.
19811 (drem_test): Likewise.
19812 (remainder_test_tonearest): Likewise.
19813 (drem_test_tonearest): Likewise.
19814 (remainder_test_towardzero): Likewise.
19815 (drem_test_towardzero): Likewise.
19816 (remainder_test_downward): Likewise.
19817 (drem_test_downward): Likewise.
19818 (remainder_test_upward): Likewise.
19819 (drem_test_upward): Likewise.
19820 (remquo_test): Likewise.
19821 (rint_test): Likewise.
19822 (rint_test_tonearest): Likewise.
19823 (rint_test_towardzero): Likewise.
19824 (rint_test_downward): Likewise.
19825 (rint_test_upward): Likewise.
19826 (round_test): Likewise.
19827 (scalb_test): Likewise.
19828 (scalbn_test): Likewise.
19829 (scalbln_test): Likewise.
19830 (signbit_test): Likewise.
19831 (sin_test): Likewise.
19832 (sin_test_tonearest): Likewise.
19833 (sin_test_towardzero): Likewise.
19834 (sin_test_downward): Likewise.
19835 (sin_test_upward): Likewise.
19836 (sincos_test): Likewise.
19837 (sinh_test): Likewise.
19838 (sinh_test_tonearest): Likewise.
19839 (sinh_test_towardzero): Likewise.
19840 (sinh_test_downward): Likewise.
19841 (sinh_test_upward): Likewise.
19842 (sqrt_test): Likewise.
19843 (sqrt_test_tonearest): Likewise.
19844 (sqrt_test_towardzero): Likewise.
19845 (sqrt_test_downward): Likewise.
19846 (sqrt_test_upward): Likewise.
19847 (tan_test): Likewise.
19848 (tan_test_tonearest): Likewise.
19849 (tan_test_towardzero): Likewise.
19850 (tan_test_downward): Likewise.
19851 (tan_test_upward): Likewise.
19852 (tanh_test): Likewise.
19853 (tgamma_test): Likewise.
19854 (trunc_test): Likewise.
19855 (y0_test): Likewise.
19856 (y1_test): Likewise.
19857 (yn_test): Likewise.
19858 (significand_test): Likewise.
19860 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19861 individual tests in comment.
19862 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19863 (prev_max_error): New variable.
19864 (prev_real_max_error): Likewise.
19865 (prev_imag_max_error): Likewise.
19866 (compare_ulp_data): Don't refer to test names in comment.
19867 (find_test_ulps): Remove function.
19868 (find_function_ulps): Likewise.
19869 (find_complex_function_ulps): Likewise.
19870 (init_max_error): Take function name as argument. Look up ulps
19872 (print_ulps): Remove function.
19873 (print_max_error): Use prev_max_error instead of calling
19874 find_function_ulps.
19875 (print_complex_max_error): Use prev_real_max_error and
19876 prev_imag_max_error instead of calling find_complex_function_ulps.
19877 (check_float_internal): Take max_ulp parameter instead of calling
19878 find_test_ulps. Don't call print_ulps.
19879 (check_float): Update call to check_float_internal.
19880 (check_complex): Update calls to check_float_internal.
19881 (START): Pass argument to init_max_error.
19882 * math/gen-libm-test.pl (%results): Don't include "kind"
19884 (parse_ulps): Don't handle ulps of individual tests.
19885 (print_ulps_file): Likewise.
19886 (output_ulps): Likewise.
19887 * math/README.libm-test: Update.
19888 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19890 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19891 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19892 * sysdeps/arm/libm-test-ulps: Likewise.
19893 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19894 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19895 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19896 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19897 * sysdeps/microblaze/libm-test-ulps: Likewise.
19898 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19899 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19900 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19901 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19902 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19903 * sysdeps/sh/libm-test-ulps: Likewise.
19904 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19905 * sysdeps/tile/libm-test-ulps: Likewise.
19906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19908 2014-03-04 Joseph Myers <joseph@codesourcery.com>
19910 * math/libm-test.inc (print_complex_max_error): Check separately
19911 whether real and imaginary errors are within allowed range and
19912 pass 0 to print_complex_function_ulps instead of value within
19915 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19917 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19919 (get_handles_fopen): Likewise.
19920 (do_write_test): Likewise.
19922 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19924 * libio/fileops.c (do_ftell): Use cached offset when
19926 * libio/iofwide.c (do_ftell_wide): Likewise.
19927 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19929 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19932 * libio/libioP.h (get_file_offset): New function.
19933 * libio/fileops.c (get_file_offset): Likewise.
19934 (do_ftell): Likewise.
19935 (_IO_new_file_seekoff): Split out ftell logic.
19936 * libio/wfileops.c (do_ftell_wide): Likewise.
19937 (_IO_wfile_seekoff): Split out ftell logic.
19938 * libio/tst-ftell-active-handler.c: New test case.
19939 * libio/Makefile (tests): Add it.
19941 2014-03-03 Roland McGrath <roland@hack.frob.com>
19943 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19944 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19946 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19949 * nscd/connections.c (nscd_init): Call do_exit.
19950 (start_threads): Call do_exit and notify_parent.
19951 (begin_drop_privileges): Call do_exit.
19952 (finish_drop_privileges): Likewise.
19953 * nscd/selinux.c (preserve_capabilities): Likewise.
19954 (install_real_capabilities): Likewise.
19955 (nscd_selinux_enabled): Likewise.
19956 (avc_create_thread): Likewise.
19957 (avc_alloc_lock): Likewise.
19958 (nscd_avc_init): Likewise.
19959 * nscd/nscd.c (parent_fd): New static variable.
19960 (main): Create a pipe between parent and child processes.
19961 Skip closing parent_fd.
19962 (monitor_child): New function.
19963 (do_exit): Likewise.
19964 (notify_parent): Likewise.
19965 * nscd/nscd.h (notify_parent): Likewise.
19966 (do_exit): Likewise.
19968 2014-03-03 Carlos O'Donell <carlos@redhat.com>
19970 * malloc/malloc.c (__libc_calloc): Revert last change.
19972 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19976 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19978 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19982 (__libc_ifunc_impl_list): Likewise.
19983 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19984 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19985 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19986 * string/strrchr.c: Define STRRCHR.
19988 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
19990 * benchtest/bench-strtok.c (simple_strtok): Delete.
19991 (strtok_string): Use as benchmark.
19992 * string/strtok (STRTOK): New macro.
19994 2014-02-28 Carlos O'Donell <carlos@redhat.com>
19996 * manual/threads.texi: Add header and standard comments to all
19999 * elf/dl-lookup.c (check_match): New function.
20000 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20001 (do_lookup_x): Remove nested function check_match. Use non-nested
20002 function check_match.
20004 2014-02-28 Roland McGrath <roland@hack.frob.com>
20006 * csu/Makefile (generated, before-compile): Use += rather than =.
20007 * catgets/Makefile (generated, generated-dirs): Likewise.
20008 * debug/Makefile (generated): Likewise.
20009 * dlfcn/Makefile (generated): Likewise.
20010 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20011 * iconvdata/Makefile (before-compile, generated): Likewise.
20012 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20013 * libio/Makefile (generated): Likewise.
20014 * malloc/Makefile (generated): Likewise.
20015 * manual/Makefile (generated, generated-dirs): Likewise.
20016 * misc/Makefile (generated): Likewise.
20017 * posix/Makefile (generated): Likewise.
20018 * resolv/Makefile (generated): Likewise.
20019 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20020 * timezone/Makefile (generated, generated-dirs): Likewise.
20022 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20024 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20027 power8 implementation.
20028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20029 file: POWER8 llround ifunc implementation.
20030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20031 (__lllround): Add POWER8 implementation.
20032 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20033 POWER8 llround implementation.
20035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20036 power8 implementation.
20037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20038 file: POWER8 llrint ifunc implementation.
20039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20040 Add POWER8 implementation.
20041 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20042 POWER8 llrint implementation.
20044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20045 power8 implementation.
20046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20047 file: POWER8 finite ifunc implementation.
20048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20049 Add POWER8 implementation.
20050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20052 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20053 POWER8 finite implementation.
20054 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20057 power8 implementation.
20058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20059 file: POWER8 isinf ifunc implementation.
20060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20061 POWER8 implementation.
20062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20064 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20065 isinf implementation.
20066 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20068 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20069 (INIT_ARCH): Add hwcap2 initialization.
20070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20071 power8 implementation.
20072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20073 file: POWER8 isnan ifunc implementation.
20074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20075 POWER8 implementation.
20076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20078 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20079 isnan implementation.
20080 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20082 2014-02-27 Joey Ye <joey.ye@arm.com>
20084 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20085 (_FP_NANFRAC_Q): Set to zero.
20087 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20090 * math/auto-libm-test-in: New test inputs.
20091 * math/auto-libm-test-out: Regenerate.
20092 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20095 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20097 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20099 * scripts/evaluate-test.sh: Take new argument indicating whether
20100 failure is expected.
20101 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20102 indicating whether failure is expected.
20103 * conform/Makefile (test-xfail-run-conformtest): New variable.
20104 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20106 * posix/Makefile (test-xfail-annexc): New variable.
20107 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20109 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20111 * argp/Makefile: Include Makeconfig immediately after defining
20113 * assert/Makefile: Likewise.
20114 * benchtests/Makefile: Likewise.
20115 * catgets/Makefile: Likewise.
20116 * conform/Makefile: Likewise.
20117 * crypt/Makefile: Likewise.
20118 * csu/Makefile: Likewise.
20119 (all): Remove target.
20120 * ctype/Makefile: Include Makeconfig immediately after defining
20122 * debug/Makefile: Likewise.
20123 * dirent/Makefile: Likewise.
20124 * dlfcn/Makefile: Likewise.
20125 * gmon/Makefile: Likewise.
20126 * gnulib/Makefile: Likewise.
20127 * grp/Makefile: Likewise.
20128 * gshadow/Makefile: Likewise.
20129 * hesiod/Makefile: Likewise.
20130 * hurd/Makefile: Likewise.
20131 (all): Remove target.
20132 * iconvdata/Makefile: Include Makeconfig immediately after
20134 * inet/Makefile: Likewise.
20135 * intl/Makefile: Likewise.
20136 * io/Makefile: Likewise.
20137 * libio/Makefile: Likewise.
20138 (all): Remove target.
20139 * locale/Makefile: Include Makeconfig immediately after defining
20141 * login/Makefile: Likewise.
20142 * mach/Makefile: Likewise.
20143 (all): Remove target.
20144 * malloc/Makefile: Include Makeconfig immediately after defining
20146 (all): Remove target.
20147 * manual/Makefile: Include Makeconfig immediately after defining
20149 * math/Makefile: Likewise.
20150 * misc/Makefile: Likewise.
20151 * nis/Makefile: Likewise.
20152 * nss/Makefile: Likewise.
20153 * po/Makefile: Likewise.
20154 (all): Remove target.
20155 * posix/Makefile: Include Makeconfig immediately after defining
20157 * pwd/Makefile: Likewise.
20158 * resolv/Makefile: Likewise.
20159 * resource/Makefile: Likewise.
20160 * rt/Makefile: Likewise.
20161 * setjmp/Makefile: Likewise.
20162 * shadow/Makefile: Likewise.
20163 * signal/Makefile: Likewise.
20164 * socket/Makefile: Likewise.
20165 * soft-fp/Makefile: Likewise.
20166 * stdio-common/Makefile: Likewise.
20167 * stdlib/Makefile: Likewise.
20168 * streams/Makefile: Likewise.
20169 * string/Makefile: Likewise.
20170 * sunrpc/Makefile: Likewise.
20171 (all): Remove target.
20172 * sysvipc/Makefile: Include Makeconfig immediately after defining
20174 * termios/Makefile: Likewise.
20175 * time/Makefile: Likewise.
20176 * timezone/Makefile: Likewise.
20177 (all): Remove target.
20178 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20180 * wctype/Makefile: Likewise.
20182 2014-02-26 Steve Ellcey <sellcey@mips.com>
20184 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20185 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20186 (libc_feholdexcept_setround_mips): Ditto.
20187 (libc_feholdsetround): New.
20188 (libc_feholdsetroundf): New.
20189 (libc_feholdsetroundl): New.
20190 (libc_feupdateenv_test_mips): New.
20191 (libc_feupdateenv_test): New.
20192 (libc_feupdateenv_testf): New.
20193 (libc_feupdateenv_testl): New.
20194 (libc_feresetround): New.
20195 (libc_feresetroundf): New.
20196 (libc_feresetroundl): New.
20197 (libc_fetestexcept_mips): New.
20198 (libc_fetestexcept): New.
20199 (libc_fetestexceptf): New.
20200 (libc_fetestexceptl): New.
20201 (HAVE_RM_CTX): New.
20202 (libc_feholdexcept_setround_mips_ctx): New.
20203 (libc_feholdexcept_setround_ctx): New.
20204 (libc_feholdexcept_setroundf_ctx): New.
20205 (libc_feholdexcept_setroundl_ctx): New.
20206 (libc_fesetenv_mips_ctx): New.
20207 (libc_fesetenv_ctx): New.
20208 (libc_fesetenv_ctxf): New.
20209 (libc_fesetenv_ctxl): New.
20210 (libc_feupdateenv_mips_ctx): New.
20211 (libc_feupdateenv_ctx): New.
20212 (libc_feupdateenvf_ctx): New.
20213 (libc_feupdateenvl_ctx): New.
20214 (libc_feholdsetround_mips_ctx): New.
20215 (libc_feholdsetround_ctx): New.
20216 (libc_feholdsetroundf_ctx): New.
20217 (libc_feholdsetroundl_ctx): New.
20218 (libc_feresetround_mips_ctx): New.
20219 (libc_feresetround_ctx): New.
20220 (libc_feresetroundf_ctx): New.
20221 (libc_feresetroundl_ctx): New.
20223 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20225 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20227 * manual/ipc.texi: New file.
20228 * manual/Makefile (chapters): Add ipc.
20229 * manual/job.texi: Add "Inter-Process Communication" to next.
20230 * manual/process.texi: Add "Inter-Process Communication" to prev.
20232 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20236 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20238 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20240 * manual/arith.texi: Fix spaces after sentences.
20241 * manual/charset.texi: Likewise.
20242 * manual/errno.texi: Likewise.
20243 * manual/install.texi: Likewise.
20244 * manual/llio.texi: Likewise.
20245 * manual/locale.texi: Likewise.
20246 * manual/maint.texi: Likewise.
20247 * manual/math.texi: Likewise.
20248 * manual/memory.texi: Likewise.
20249 * manual/message.texi: Likewise.
20250 * manual/probes.texi: Likewise.
20251 * manual/resource.texi: Likewise.
20252 * manual/signal.texi: Likewise.
20253 * manual/socket.texi: Likewise.
20254 * manual/stdio.texi: Likewise.
20255 * manual/string.texi: Likewise.
20256 * manual/time.texi: Likewise.
20257 * manual/users.texi: Likewise.
20259 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20262 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20263 _DEFAULT_SOURCE is defined.
20265 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20266 Carlos O'Donell <carlos@redhat.com>
20269 * elf/dl-tls.c (_dl_count_modids): New function.
20270 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20271 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20272 audit library and increment generation counter.
20273 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20274 * elf/tst-audit9.c: New file.
20275 * elf/tst-auditmod9a.c: New file.
20276 * elf/tst-auditmod9b.c: New file.
20277 * elf/Makefile: Add rules to build and run tst-audit9.
20279 2014-02-25 Florian Weimer <fweimer@redhat.com>
20282 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20284 2014-02-25 Will Newton <will.newton@linaro.org>
20286 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20287 (__longjmp): Restore sp and lr before restoring callee
20288 saved registers. Add longjmp and longjmp_target
20289 SystemTap probe point.
20290 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20291 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20292 Define to zero to match jmpbuf layout.
20293 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20294 (__sigsetjmp): Save sp and lr before saving callee
20295 saved registers. Add setjmp SystemTap probe point.
20297 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20299 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20301 2014-02-24 Andreas Schwab <schwab@suse.de>
20304 * elf/pldd.c (wait_for_ptrace_stop): New function.
20305 (main): Call it after attaching.
20307 2014-02-22 Roland McGrath <roland@hack.frob.com>
20309 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20310 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20311 Versions files is now verboten.
20312 * hurd/Versions (libc: GLIBC_2.0):
20313 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20314 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20315 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20316 * mach/Versions: Likewise.
20318 * csu/Versions: Remove unused %include.
20319 * resolv/Versions: Likewise.
20321 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20323 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20324 ($(objpfx)check-local-headers.out): Likewise.
20325 ($(objpfx)begin-end-check.out): Likewise.
20326 * Makerules (check-abi-%.out): Likewise.
20327 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20328 ($(objpfx)test2.cat): Likewise.
20329 ($(objpfx)de/libc.cat): Likewise.
20330 ($(objpfx)test-gencat.out): Likewise.
20331 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20332 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20333 ($(objpfx)noload-mem): Likewise.
20334 ($(objpfx)tst-pathopt.out): Likewise.
20335 ($(objpfx)tst-rtld-load-self.out): Likewise.
20336 ($(objpfx)tst-array1-cmp.out): Likewise.
20337 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20338 ($(objpfx)tst-array2-cmp.out): Likewise.
20339 ($(objpfx)tst-array3-cmp.out): Likewise.
20340 ($(objpfx)tst-array4-cmp.out): Likewise.
20341 ($(objpfx)tst-array5-cmp.out): Likewise.
20342 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20343 ($(objpfx)check-textrel.out): Likewise.
20344 ($(objpfx)check-execstack.out): Likewise.
20345 ($(objpfx)check-localplt.out): Likewise.
20346 ($(objpfx)order2-cmp.out): Likewise.
20347 ($(objpfx)tst-leaks1-mem): Likewise.
20348 ($(objpfx)tst-leaks1-static-mem): Likewise.
20349 ($(objpfx)tst-initorder-cmp.out): Likewise.
20350 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20351 ($(objpfx)tst-unused-dep.out): Likewise.
20352 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20353 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20354 * iconv/Makefile (test-iconvconfig): Likewise.
20355 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20356 ($(objpfx)iconv-test.out): Likewise.
20357 ($(objpfx)tst-tables.out): Likewise.
20358 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20359 ($(objpfx)tst-gettext.out): Likewise.
20360 ($(objpfx)tst-translit.out): Likewise.
20361 ($(objpfx)tst-gettext2.out): Likewise.
20362 ($(objpfx)tst-gettext4.out): Likewise.
20363 ($(objpfx)tst-gettext6.out): Likewise.
20364 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20365 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20366 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20367 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20368 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20369 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20370 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20371 ($(objpfx)wordexp-tst.out): Likewise.
20372 ($(objpfx)annexc.out): Likewise.
20373 ($(objpfx)tst-fnmatch-mem): Likewise.
20374 ($(objpfx)bug-regex2-mem): Likewise.
20375 ($(objpfx)bug-regex14-mem): Likewise.
20376 ($(objpfx)bug-regex21-mem): Likewise.
20377 ($(objpfx)bug-regex31-mem): Likewise.
20378 ($(objpfx)tst-vfork3-mem): Likewise.
20379 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20380 ($(objpfx)tst-pcre-mem): Likewise.
20381 ($(objpfx)tst-boost-mem): Likewise.
20382 ($(objpfx)tst-getconf.out): Likewise.
20383 ($(objpfx)bug-ga2-mem): Likewise.
20384 ($(objpfx)bug-glob2-mem): Likewise.
20385 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20386 ($(objpfx)mtrace-tst-leaks2): Likewise.
20387 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20388 ($(objpfx)tst-printf.out): Likewise.
20389 ($(objpfx)tst-setvbuf1.out): Likewise.
20390 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20391 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20392 ($(objpfx)tst-fmtmsg.out): Likewise.
20393 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20394 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20396 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20397 * bits/sigaction.h [__USE_MISC]: Likewise.
20398 * bits/waitstatus.h: Update #endif comments.
20399 * ctype/ctype.h: Likewise.
20400 * dirent/dirent.h: Likewise.
20401 [__USE_MISC]: Remove redundant conditionals.
20402 * grp/grp.h: Update #endif comments.
20403 [__USE_GNU]: Remove redundant conditionals.
20404 [__USE_MISC]: Likewise.
20405 * inet/netinet/in.h [__USE_GNU]: Likewise.
20406 * io/sys/stat.h [__USE_MISC]: Likewise.
20407 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20408 * libio/bits/stdio.h: Update #endif comments.
20409 [__USE_MISC]: Remove redundant conditionals.
20410 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20411 * libio/stdio.h: Update #endif comments.
20412 [__USE_MISC]: Remove redundant conditionals.
20413 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20414 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20415 * math/math.h: Update #else and #endif comments.
20416 [__USE_MISC]: Remove redundant conditionals.
20417 * misc/sys/uio.h: Update #endif comments.
20418 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20419 * posix/glob.h [__USE_MISC]: Likewise.
20420 * posix/sys/types.h: Update #endif comments.
20421 [__USE_MISC]: Remove redundant conditionals.
20422 * posix/sys/wait.h: Update #endif comments.
20423 [__USE_MISC]: Remove redundant conditionals.
20424 * posix/unistd.h: Update #endif comments.
20425 [__USE_MISC]: Remove redundant conditionals.
20426 * pwd/pwd.h [__USE_GNU]: Likewise.
20427 [__USE_MISC]: Likewise.
20428 * resolv/netdb.h [__USE_GNU]: Likewise.
20429 * signal/signal.h: Update #endif comments.
20430 [__USE_MISC]: Remove redundant conditionals.
20431 * stdlib/stdlib.h: Update #else and #endif comments.
20432 [__USE_MISC]: Remove redundant conditionals.
20433 [__USE_GNU]: Likewise.
20434 * string/bits/string2.h [__USE_MISC]: Likewise.
20435 * string/string.h: Update #endif comments.
20436 [__USE_MISC]: Remove redundant conditionals.
20437 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20439 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20440 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20441 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20443 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20445 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20447 [__USE_MISC]: Remove redundant conditionals.
20448 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20449 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20450 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20451 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20452 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20454 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20455 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20457 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20458 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20460 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20462 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20463 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20465 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20467 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20468 * sysdeps/x86/bits/string.h: Update #endif comments.
20469 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20471 * time/sys/time.h: Update #endif comments.
20472 * time/time.h: Likewise.
20473 [__USE_MISC]: Remove redundant conditionals.
20475 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20478 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20480 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20482 * Versions.def (librt): Add GLIBC_2.17.
20484 2014-02-21 Adam Conrad <adconrad@0c3.net>
20486 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20487 synonym for _SYS_AUXV_H to allow direct inclusion.
20488 * sysdeps/sparc/bits/hwcap.h: Likewise.
20489 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20490 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20491 * sysdeps/sparc/sysdep.h: Likewise.
20493 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20495 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20497 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20499 * benchtests/bench-strrchr.c: Print length instead of position.
20501 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20504 * sysdeps/unix/sysv/linux/kernel-features.h
20505 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20506 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20507 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20508 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20510 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20511 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20512 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20513 (__ASSUME_SENDMMSG): Define instead of using previous
20514 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20515 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20516 (__ASSUME_SENDMMSG_SYSCALL): Define.
20517 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20518 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20520 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20521 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20523 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20524 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20526 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20527 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20528 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20529 [__ASSUME_SENDMMSG]: Change conditionals to
20530 [__ASSUME_SENDMMSG_SOCKETCALL].
20531 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20532 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20534 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20535 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20537 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20538 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20539 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20540 [!__ASSUME_SENDMMSG]: Change conditional to
20541 [!__ASSUME_SENDMMSG_SOCKETCALL].
20542 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20543 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20547 * sysdeps/unix/sysv/linux/kernel-features.h
20548 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20549 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20550 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20551 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20552 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20553 [__i386__ || __sparc__]
20554 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20555 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20556 (__ASSUME_RECVMMSG): Define instead of using previous
20557 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20558 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20559 (__ASSUME_RECVMMSG_SYSCALL): Define.
20560 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20561 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20564 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20566 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20567 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20569 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20570 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20571 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20572 [__ASSUME_RECVMMSG]: Change condition to
20573 [__ASSUME_RECVMMSG_SOCKETCALL].
20574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20575 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20577 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20578 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20579 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20581 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20582 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20583 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20584 [!__ASSUME_RECVMMSG]: Change condition to
20585 [!__ASSUME_RECVMMSG_SOCKETCALL].
20586 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20587 (__ASSUME_RECVMMSG_SYSCALL): Define.
20590 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20591 __powerpc__ || __s390__ || __sh__ || __sparc__]
20592 (__ASSUME_SOCKETCALL): Define.
20593 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20594 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20595 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20596 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20597 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20598 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20599 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20600 (__ASSUME_ACCEPT4): Define instead of using previous
20601 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20602 __powerpc__ || __sparc__ || __s390__)] condition.
20603 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20604 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20605 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20606 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20607 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20608 [!__ASSUME_ACCEPT4]: Change condition to
20609 [!__ASSUME_ACCEPT4_SOCKETCALL].
20610 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20611 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20612 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20613 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20614 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20615 __ASSUME_ACCEPT4_SYSCALL.
20616 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20617 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20618 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20619 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20620 __ASSUME_ACCEPT4_SYSCALL.
20621 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20622 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20623 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20624 [__ASSUME_ACCEPT4]: Change condition to
20625 [__ASSUME_ACCEPT4_SOCKETCALL].
20626 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20627 (__ASSUME_SOCKETCALL): Define.
20628 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20629 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20630 (__ASSUME_SOCKETCALL): Define.
20631 (__ASSUME_ACCEPT4): Remove.
20632 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20634 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20635 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20637 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20638 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20640 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20642 (HWCAP_ARM_LPAE): Likewise.
20643 (HWCAP_ARM_EVTSTRM): Likewise.
20644 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20645 Add vpfd32, lpae and evtstrm.
20646 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20649 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20651 * math/auto-libm-test-in: Add tests of clog10.
20652 * math/auto-libm-test-out: Regenerated.
20653 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20654 * sysdeps/i386/fpu/libm-test-ulps: Update.
20655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20657 2014-02-18 Andreas Schwab <schwab@suse.de>
20660 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20661 Store non-zero if the second buffer was newly allocated.
20662 (send_dg): Likewise.
20663 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20664 to send_vc and send_dg.
20665 (res_nsend): Pass NULL for ansp2_malloced.
20666 * resolv/res_query.c (__libc_res_nquery): Add parameter
20667 answerp2_malloced and pass it down to __libc_res_nsend.
20668 (res_nquery): Pass additional NULL to __libc_res_nquery.
20669 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20670 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20671 second answer buffer if answerp2_malloced was set.
20672 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20673 (__libc_res_nquerydomain): Add parameter
20674 answerp2_malloced and pass it down to __libc_res_nquery.
20675 (res_nquerydomain): Pass additional NULL to
20676 __libc_res_nquerydomain.
20677 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20678 additional NULL to __libc_res_nsend and __libc_res_nquery.
20679 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20680 additional NULL to __libc_res_nsearch.
20681 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20682 parameter of __libc_res_nsearch to check for separately allocated
20684 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20686 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20687 additional NULL to __libc_res_nquery.
20688 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20689 __libc_res_nsearch.
20690 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20691 * include/resolv.h: Update prototypes of __libc_res_nquery,
20692 __libc_res_nsearch, __libc_res_nsend.
20694 2014-02-18 Joseph Myers <joseph@codesourcery.com>
20696 * math/auto-libm-test-in: Add tests of fma.
20697 * math/auto-libm-test-out: Regenerated.
20698 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20699 (fma_towardzero_test_data): Likewise.
20700 (fma_downward_test_data): Likewise.
20701 (fma_upward_test_data): Likewise.
20702 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20704 (rounding_modes): Add values for new field.
20705 (func_calc_method): Add value mpfr_fff_f.
20706 (func_calc_desc): Add mpfr_fff_f union field.
20707 (test_function): Add field exact_args.
20708 (FUNC): Add macro argument EXACT_ARGS.
20709 (FUNC_mpfr_f_f): Update call to FUNC.
20710 (FUNC_mpfr_f_f): Likewise.
20711 (FUNC_mpfr_ff_f): Likewise.
20712 (FUNC_mpfr_if_f): Likewise.
20713 (FUNC_mpc_c_f): Likewise.
20714 (FUNC_mpc_c_c): Likewise.
20715 (test_functions): Add fma. Update calls to FUNC.
20716 (handle_input_arg): Add argument exact_args.
20717 (add_test): Update call to handle_input_arg.
20718 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20719 (output_for_one_input_case): Update call to calc_generic_results.
20720 Recalculate exact zero results in each rounding mode.
20722 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20723 non-negative before setting low bit.
20724 * math/auto-libm-test-in: Mark one asin test possibly having
20725 spurious underflow.
20726 * math/auto-libm-test-out: Regenerated.
20727 * sysdeps/i386/fpu/libm-test-ulps: Update.
20728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20730 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20732 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20733 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20734 ports/sysdeps/unix/sysv/linux/microblaze.
20735 * README: Add missing listing for microblaze*-*-linux-gnu.
20737 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
20739 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20742 2014-02-16 Mike Frysinger <vapier@gentoo.org>
20744 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20745 * sysdeps/unix/sysv/linux/ia64: Move directory from
20746 ports/sysdeps/unix/sysv/linux/ia64.
20747 * README: Update listing for ia64-*-linux-gnu.
20749 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20750 Joseph Myers <joseph@codesourcery.com>
20752 * Makeconfig (test-name): New variable.
20753 (evaluate-test): Likewise.
20754 * Makerules (do-test-clean): Remove .test-result files.
20755 (common-mostlyclean): Likewise.
20756 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20757 * scripts/evaluate-test.sh: New file.
20759 2014-02-14 Joseph Myers <joseph@codesourcery.com>
20761 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20762 separate $(objpfx)tst-fopenloc-cmp.out and
20763 $(objpfx)tst-fopenloc-mem.out targets.
20764 (tests): Update dependencies.
20765 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20766 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20767 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20768 (tst-rxspencer-no-utf8-ARGS): New variable.
20769 (tst-rxspencer-no-utf8-ENV): Likewise.
20770 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20771 instead of $(objpfx)tst-rxspencer-mem.
20772 ($(objpfx)tst-rxspencer-mem): Change target to
20773 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20774 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20775 * posix/tst-rxspencer-no-utf8.c: New file.
20777 * elf/Makefile ($(objpfx)order.out): Remove rule.
20778 [$(run-built-tests) = yes] (tests): Depend on
20779 $(objpfx)order-cmp.out.
20780 ($(objpfx)order-cmp.out): New rule.
20781 [$(run-built-tests) = yes] (tests): Depend on
20782 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20783 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20784 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20785 $(objpfx)tst-array5-static-cmp.out.
20786 ($(objpfx)tst-array1.out): Remove rule.
20787 ($(objpfx)tst-array1-cmp.out): New rule.
20788 ($(objpfx)tst-array1-static.out): Remove rule.
20789 ($(objpfx)tst-array1-static-cmp.out): New rule.
20790 ($(objpfx)tst-array2.out): Remove rule.
20791 ($(objpfx)tst-array2-cmp.out): New rule.
20792 ($(objpfx)tst-array3.out): Remove rule.
20793 ($(objpfx)tst-array3-cmp.out): New rule.
20794 ($(objpfx)tst-array4.out): Remove rule.
20795 ($(objpfx)tst-array4-cmp.out): New rule.
20796 ($(objpfx)tst-array5.out): Remove rule.
20797 ($(objpfx)tst-array5-cmp.out): New rule.
20798 ($(objpfx)tst-array5-static.out): Remove rule.
20799 ($(objpfx)tst-array5-static-cmp.out): New rule.
20800 [$(run-built-tests) = yes] (tests): Depend on
20801 $(objpfx)order2-cmp.out.
20802 ($(objpfx)order2.out): Remove rule.
20803 ($(objpfx)order2-cmp.out): New rule.
20804 ($(objpfx)tst-initorder.out): Remove rule.
20805 [$(run-built-tests) = yes] (tests): Depend on
20806 $(objpfx)tst-initorder-cmp.out.
20807 ($(objpfx)tst-initorder-cmp.out): New rule.
20808 ($(objpfx)tst-initorder2.out): Remove rule.
20809 [$(run-built-tests) = yes] (tests): Depend on
20810 $(objpfx)tst-initorder2-cmp.out.
20811 ($(objpfx)tst-initorder2-cmp.out): New rule.
20812 [$(run-built-tests) = yes] (tests): Depend on
20813 $(objpfx)tst-unused-dep-cmp.out.
20814 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20815 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20816 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20817 on $(objpfx)tst-setvbuf1-cmp.out.
20818 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20819 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20820 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20821 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20822 ($(objpfx)tst-svc.out): Remove rule.
20823 ($(objpfx)tst-svc-cmp.out): New rule.
20825 2014-02-13 Joseph Myers <joseph@codesourcery.com>
20827 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20828 * ctype/ctype.h [__USE_MISC]: Likewise.
20829 * dirent/dirent.h [__USE_MISC]: Likewise.
20830 * grp/grp.h [__USE_MISC]: Likewise.
20831 * io/fcntl.h [__USE_MISC]: Likewise.
20832 * io/sys/stat.h [__USE_MISC]: Likewise.
20833 * libio/stdio.h [__USE_MISC]: Likewise.
20834 * posix/unistd.h [__USE_MISC]: Likewise.
20835 * pwd/pwd.h [__USE_MISC]: Likewise.
20836 * stdlib.h [__USE_MISC]: Likewise.
20837 * string/bits/string2.h [__USE_MISC]: Likewise.
20838 * string/string.h [__USE_MISC]: Likewise.
20839 * time/time.h [__USE_MISC]: Likewise.
20841 2014-02-13 Andreas Schwab <schwab@suse.de>
20844 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20845 second answer buffer if it was separately allocated.
20847 2014-02-12 Joseph Myers <joseph@codesourcery.com>
20849 * sysdeps/mips/math-tests.h: Include <features.h>.
20850 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20851 (ROUNDING_TESTS_long_double): Do not define.
20852 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20853 (EXCEPTION_TESTS_long_double): Likewise.
20854 * sysdeps/mips/mips64/libm-test-ulps: Update.
20856 * include/features.h (__USE_BSD): Remove macro definitions.
20857 (__USE_SVID): Likewise.
20858 (_BSD_SOURCE): Likewise.
20859 (_SVID_SOURCE): Likewise.
20860 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20861 from definition of _DEFAULT_SOURCE.
20862 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20864 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20865 * bits/mman.h [__USE_BSD]: Likewise.
20866 * bits/termios.h [__USE_BSD]: Likewise.
20867 * bits/waitstatus.h [__USE_BSD]: Likewise.
20868 * ctype/ctype.h [__USE_SVID]: Likewise.
20869 * dirent/dirent.h [__USE_BSD]: Likewise.
20870 * grp/grp.h [__USE_SVID]: Likewise.
20871 [__USE_BSD]: Likewise.
20872 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20873 * io/fcntl.h [__USE_BSD]: Likewise.
20874 * io/ftw.h [__USE_BSD]: Likewise.
20875 * io/sys/stat.h [__USE_BSD]: Likewise.
20876 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20877 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20878 * libio/stdio.h [__USE_SVID]: Likewise.
20879 [__USE_BSD]: Likewise.
20880 * math/math.h [__USE_SVID]: Likewise.
20881 [__USE_BSD]: Likewise.
20882 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20883 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20884 * misc/search.h [__USE_SVID]: Likewise.
20885 * misc/sys/mman.h [__USE_BSD]: Likewise.
20886 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20887 * misc/sys/uio.h [__USE_BSD]: Likewise.
20888 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20889 * posix/glob.h [__USE_BSD]: Likewise.
20890 * posix/regex.h [__USE_BSD]: Likewise.
20891 * posix/sys/types.h [__USE_BSD]: Likewise.
20892 [__USE_SVID]: Likewise.
20893 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20894 * posix/sys/wait.h [__USE_BSD]: Likewise.
20895 [__USE_SVID]: Likewise.
20896 * posix/unistd.h [__USE_BSD]: Likewise.
20897 [__USE_SVID]: Likewise.
20898 * pwd/pwd.h [__USE_SVID]: Likewise.
20899 * resolv/netdb.h [__USE_BSD]: Likewise.
20900 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20901 * signal/signal.h [__USE_BSD]: Likewise.
20902 [__USE_SVID]: Likewise.
20903 * socket/sys/socket.h [__USE_BSD]: Likewise.
20904 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20905 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20906 [__USE_SVID]: Likewise.
20907 * string/bits/string2.h [__USE_BSD]: Likewise.
20908 [__USE_SVID]: Likewise.
20909 * string/bits/string3.h [__USE_BSD]: Likewise.
20910 * string/endian.h [__USE_BSD]: Likewise.
20911 * string/string.h [__USE_SVID]: Likewise.
20912 [__USE_BSD]: Likewise.
20913 * string/strings.h [__USE_BSD]: Likewise.
20914 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20915 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20916 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20917 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20918 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20919 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20923 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20924 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20926 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20927 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20929 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20931 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20932 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20933 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20935 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20937 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20938 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20939 * termios/termios.h [__USE_BSD]: Likewise.
20940 * time/sys/time.h [__USE_BSD]: Likewise.
20941 * time/time.h [__USE_BSD]: Likewise.
20942 [__USE_SVID]: Likewise.
20944 * Makefile (subdir_targets): Remove subdir_lint.out.
20946 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20947 (do-tst-printf): Likewise.
20948 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20949 $(objpfx)tst-printf.out.
20951 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20953 * Makerules (check-abi-%): Change target to
20954 $(objpfx)check-abi-%.out.
20955 (check-abi target): Update dependencies.
20956 (check-abi-pattern variable): Redirect output of diff to $@.
20957 (check-abi variable): Likewise.
20958 * elf/Makefile (check-abi): Update dependencies.
20960 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20962 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20963 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20965 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20966 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20967 value has largest subnormal exponent.
20968 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20969 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20970 * sysdeps/aarch64/soft-fp/sfp-machine.h
20971 (_FP_TININESS_AFTER_ROUNDING): New macro.
20972 * sysdeps/alpha/soft-fp/sfp-machine.h
20973 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20974 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20976 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20977 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20978 * sysdeps/mips/soft-fp/sfp-machine.h
20979 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20980 * sysdeps/powerpc/soft-fp/sfp-machine.h
20981 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20982 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20984 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20985 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20986 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20987 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20988 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20991 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
20994 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20997 2014-02-12 Richard Henderson <rth@redhat.com>
20999 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21000 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21001 * sysdeps/unix/sysv/linux/alpha: Move directory from
21002 ports/sysdeps/unix/sysv/linux/alpha.
21003 * README: Update listing for alpha-*-linux-gnu.
21005 2014-02-11 Joseph Myers <joseph@codesourcery.com>
21007 * include/features.h: Update comment documenting feature test
21009 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
21011 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21012 (_SVID_SOURCE): Likewise.
21013 (_DEFAULT_SOURCE): Update description of default features.
21014 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21016 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21017 (S_ISVTX): Likewise.
21018 * manual/math.texi (Mathematical Constants): Likewise.
21019 * manual/signal.texi (Interrupted Primitives): Likewise.
21020 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21021 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21022 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21023 Don't refer to _SVID_SOURCE in warning text.
21025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21027 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21029 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21030 * sysdeps/mips/dl-lookup.c: Remove.
21031 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21033 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21036 * math/auto-libm-test-in: Add testcase for expl.
21037 * math/auto-libm-test-out: Regenerate.
21038 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21039 calculation of unsafe.
21040 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21042 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21044 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21045 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21046 ports/sysdeps/unix/sysv/linux/aarch64.
21047 * README: Update listing for aarch64*-*-linux-gnu.
21049 2014-02-11 Will Newton <will.newton@linaro.org>
21051 * manual/probes.texi (Mathematical Function Probes): Use
21052 "triggered" instead of "hit".
21054 * manual/probes.texi (Internal Probes): Add documentation
21055 of setjmp, longjmp and longjmp_target probes.
21057 * include/stap-probe.h: Add comment about probe argument
21060 * malloc/mtrace.c (attribute_hidden): Remove unused macro
21061 definition. (tr_where, tr_freehook, tr_mallochook,
21062 tr_reallochook, tr_memalignhook): Use ANSI protoype.
21064 2014-02-11 David S. Miller <davem@davemloft.net>
21066 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21067 processing int_tests.
21069 2014-02-10 Joseph Myers <joseph@codesourcery.com>
21071 * sysdeps/mips: Move directory from ports/sysdeps/mips.
21072 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21073 * sysdeps/unix/sysv/linux/mips: Move directory from
21074 ports/sysdeps/unix/sysv/linux/mips.
21075 * README: Update listing for mips-*-linux-gnu and
21076 mips64-*-linux-gnu.
21078 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21080 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21081 * sysdeps/unix/sysv/linux/m68k: Move directory from
21082 ports/sysdeps/unix/sysv/linux/m68k.
21083 * README: Update listing for m68k-*-linux-gnu.
21085 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21087 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21088 * sysdeps/unix/sysv/linux/generic: Move directory from
21089 ports/sysdeps/unix/sysv/linux/generic.
21090 * sysdeps/unix/sysv/linux/tile: Move directory from
21091 ports/sysdeps/unix/sysv/linux/tile.
21092 * README: Update listing for tile*-*-linux-gnu.
21094 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21096 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21098 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21099 * catgets/open_catalog.c (__open_catalog): Likewise.
21100 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21101 * debug/confstr_chk.c: Likewise.
21102 * debug/fread_chk.c (__fread_chk): Likewise.
21103 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21104 * debug/getgroups_chk.c: Likewise.
21105 * debug/mbsnrtowcs_chk.c: Likewise.
21106 * debug/mbsrtowcs_chk.c: Likewise.
21107 * debug/mbstowcs_chk.c: Likewise.
21108 * debug/memcpy_chk.c: Likewise.
21109 * debug/memmove_chk.c: Likewise.
21110 * debug/mempcpy_chk.c: Likewise.
21111 * debug/memset_chk.c: Likewise.
21112 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21113 * debug/strcat_chk.c (__strcat_chk): Likewise.
21114 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21115 * debug/strncat_chk.c (__strncat_chk): Likewise.
21116 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21117 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21118 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21119 * debug/wcpncpy_chk.c: Likewise.
21120 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21121 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21122 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21123 * debug/wcsncpy_chk.c: Likewise.
21124 * debug/wcsnrtombs_chk.c: Likewise.
21125 * debug/wcsrtombs_chk.c: Likewise.
21126 * debug/wcstombs_chk.c: Likewise.
21127 * debug/wmemcpy_chk.c: Likewise.
21128 * debug/wmemmove_chk.c: Likewise.
21129 * debug/wmempcpy_chk.c: Likewise.
21130 * debug/wmemset_chk.c: Likewise.
21131 * dirent/scandirat.c (SCANDIRAT): Likewise.
21132 * dlfcn/dladdr1.c (dladdr1): Likewise.
21133 * dlfcn/dladdr.c (dladdr): Likewise.
21134 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21135 * dlfcn/dlerror.c (__dlerror): Likewise.
21136 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21137 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21138 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21139 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21140 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21141 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21142 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21143 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21145 * elf/dl-conflict.c: Likewise.
21146 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21147 * elf/dl-dst.h: Likewise.
21148 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21149 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21150 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21151 * elf/dl-init.c (call_init, _dl_init): Likewise.
21152 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21153 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21154 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21156 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21158 * elf/dl-minimal.c (__libc_memalign): Likewise.
21159 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21160 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21161 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21162 * elf/dl-sym.c (do_sym): Likewise.
21163 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21164 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21165 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21166 * elf/dl-writev.h (_dl_writev): Likewise.
21167 * elf/ldconfig.c (search_dir): Likewise.
21168 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21169 (dl_main): Likewise.
21170 * elf/setup-vdso.h (setup_vdso): Likewise.
21171 * grp/compat-initgroups.c (compat_call): Likewise.
21172 * grp/fgetgrent.c (fgetgrent): Likewise.
21173 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21174 * grp/putgrent.c (putgrent): Likewise.
21175 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21177 * hurd/hurdinit.c: Likewise.
21178 * iconvdata/8bit-gap.c (struct): Likewise.
21179 * iconvdata/ansi_x3.110.c : Likewise.
21180 * iconvdata/big5.c : Likewise.
21181 * iconvdata/big5hkscs.c : Likewise.
21182 * iconvdata/cp1255.c: Likewise.
21183 * iconvdata/cp1258.c : Likewise.
21184 * iconvdata/cp932.c : Likewise.
21185 * iconvdata/euc-cn.c: Likewise.
21186 * iconvdata/euc-jisx0213.c : Likewise.
21187 * iconvdata/euc-jp.c: Likewise.
21188 * iconvdata/euc-jp-ms.c : Likewise.
21189 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21190 * iconvdata/gb18030.c : Likewise.
21191 * iconvdata/gbbig5.c (const): Likewise.
21192 * iconvdata/gbgbk.c: Likewise.
21193 * iconvdata/gbk.c : Likewise.
21194 * iconvdata/ibm1364.c : Likewise.
21195 * iconvdata/ibm930.c : Likewise.
21196 * iconvdata/ibm932.c: Likewise.
21197 * iconvdata/ibm933.c : Likewise.
21198 * iconvdata/ibm935.c : Likewise.
21199 * iconvdata/ibm937.c : Likewise.
21200 * iconvdata/ibm939.c : Likewise.
21201 * iconvdata/ibm943.c: Likewise.
21202 * iconvdata/iso_11548-1.c: Likewise.
21203 * iconvdata/iso-2022-cn.c : Likewise.
21204 * iconvdata/iso-2022-cn-ext.c : Likewise.
21205 * iconvdata/iso-2022-jp-3.c: Likewise.
21206 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21207 * iconvdata/iso-2022-kr.c : Likewise.
21208 * iconvdata/iso646.c (gconv_end): Likewise.
21209 * iconvdata/iso_6937-2.c : Likewise.
21210 * iconvdata/iso_6937.c : Likewise.
21211 * iconvdata/iso8859-1.c: Likewise.
21212 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21213 * iconvdata/shift_jisx0213.c : Likewise.
21214 * iconvdata/sjis.c : Likewise.
21215 * iconvdata/t.61.c : Likewise.
21216 * iconvdata/tcvn5712-1.c : Likewise.
21217 * iconvdata/tscii.c: Likewise.
21218 * iconvdata/uhc.c : Likewise.
21219 * iconvdata/unicode.c (gconv_end): Likewise.
21220 * iconvdata/utf-16.c (gconv_end): Likewise.
21221 * iconvdata/utf-32.c (gconv_end): Likewise.
21222 * iconvdata/utf-7.c (base64): Likewise.
21223 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21224 * iconv/gconv_close.c (__gconv_close): Likewise.
21225 * iconv/gconv_open.c (__gconv_open): Likewise.
21226 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21227 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21228 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21229 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21230 (ucs4le_internal_loop_single): Likewise.
21231 * iconv/iconv.c (iconv): Likewise.
21232 * iconv/iconv_close.c: Likewise.
21233 * iconv/loop.c (SINGLE): Likewise.
21234 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21235 * include/atomic.h: Likewise.
21236 * inet/inet6_option.c (option_alloc): Likewise.
21237 * intl/bindtextdom.c (set_binding_values): Likewise.
21238 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21239 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21240 * intl/localealias.c (read_alias_file): Likewise.
21241 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21242 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21243 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21244 * libio/fmemopen.c (fmemopen): Likewise.
21245 * libio/iofgets.c (_IO_fgets): Likewise.
21246 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21247 * libio/iofgetws.c (fgetws): Likewise.
21248 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21249 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21250 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21251 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21252 * locale/findlocale.c (_nl_find_locale): Likewise.
21253 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21254 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21256 * locale/setlocale.c (setlocale): Likewise.
21257 * login/programs/pt_chown.c (main): Likewise.
21258 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21259 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21260 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21261 (mmap, mmap64, mremap, munmap): Likewise.
21262 * math/e_exp2l.c: Likewise.
21263 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21264 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21265 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21266 * math/s_catan.c (__catan): Likewise.
21267 * math/s_catanf.c (__catanf): Likewise.
21268 * math/s_catanh.c (__catanh): Likewise.
21269 * math/s_catanhf.c (__catanhf): Likewise.
21270 * math/s_catanhl.c (__catanhl): Likewise.
21271 * math/s_catanl.c (__catanl): Likewise.
21272 * math/s_ccosh.c (__ccosh): Likewise.
21273 * math/s_ccoshf.c (__ccoshf): Likewise.
21274 * math/s_ccoshl.c (__ccoshl): Likewise.
21275 * math/s_cexp.c (__cexp): Likewise.
21276 * math/s_cexpf.c (__cexpf): Likewise.
21277 * math/s_cexpl.c (__cexpl): Likewise.
21278 * math/s_clog10.c (__clog10): Likewise.
21279 * math/s_clog10f.c (__clog10f): Likewise.
21280 * math/s_clog10l.c (__clog10l): Likewise.
21281 * math/s_clog.c (__clog): Likewise.
21282 * math/s_clogf.c (__clogf): Likewise.
21283 * math/s_clogl.c (__clogl): Likewise.
21284 * math/s_csin.c (__csin): Likewise.
21285 * math/s_csinf.c (__csinf): Likewise.
21286 * math/s_csinh.c (__csinh): Likewise.
21287 * math/s_csinhf.c (__csinhf): Likewise.
21288 * math/s_csinhl.c (__csinhl): Likewise.
21289 * math/s_csinl.c (__csinl): Likewise.
21290 * math/s_csqrt.c (__csqrt): Likewise.
21291 * math/s_csqrtf.c (__csqrtf): Likewise.
21292 * math/s_csqrtl.c (__csqrtl): Likewise.
21293 * math/s_ctan.c (__ctan): Likewise.
21294 * math/s_ctanf.c (__ctanf): Likewise.
21295 * math/s_ctanh.c (__ctanh): Likewise.
21296 * math/s_ctanhf.c (__ctanhf): Likewise.
21297 * math/s_ctanhl.c (__ctanhl): Likewise.
21298 * math/s_ctanl.c (__ctanl): Likewise.
21299 * math/w_pow.c: Likewise.
21300 * math/w_powf.c: Likewise.
21301 * math/w_powl.c: Likewise.
21302 * math/w_scalb.c (sysv_scalb): Likewise.
21303 * math/w_scalbf.c (sysv_scalbf): Likewise.
21304 * math/w_scalbl.c (sysv_scalbl): Likewise.
21305 * misc/error.c (error_tail): Likewise.
21306 * misc/pselect.c (__pselect): Likewise.
21307 * nis/nis_callback.c (__nis_create_callback): Likewise.
21308 * nis/nis_call.c (__nisfind_server): Likewise.
21309 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21310 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21311 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21312 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21313 * nis/nis_lookup.c (nis_lookup): Likewise.
21314 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21315 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21316 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21317 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21318 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21319 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21320 * nis/nss_compat/compat-initgroups.c (add_group)
21321 (internal_getgrent_r): Likewise.
21322 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21323 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21324 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21325 (internal_getspnam_r): Likewise.
21326 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21327 (_nss_nis_getaliasbyname_r): Likewise.
21328 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21329 (_nss_nis_getntohost_r): Likewise.
21330 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21331 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21332 (_nss_nis_getgrgid_r): Likewise.
21333 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21334 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21335 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21336 (_nss_nis_gethostbyname4_r): Likewise.
21337 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21338 (initgroups_netid): Likewise.
21339 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21340 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21341 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21342 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21343 (_nss_nis_getprotobynumber_r): Likewise.
21344 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21345 (_nss_nis_getsecretkey): Likewise.
21346 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21347 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21348 (_nss_nis_getpwuid_r): Likewise.
21349 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21350 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21351 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21352 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21353 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21354 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21355 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21357 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21358 (_nss_nisplus_getntohost_r): Likewise.
21359 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21360 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21361 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21362 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21364 * nis/nss_nisplus/nisplus-initgroups.c
21365 (_nss_nisplus_initgroups_dyn): Likewise.
21366 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21367 (_nss_nisplus_getnetbyaddr_r): Likewise.
21368 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21369 (_nss_nisplus_getprotobynumber_r): Likewise.
21370 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21371 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21372 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21374 * nis/nss_nisplus/nisplus-service.c
21375 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21376 (_nss_nisplus_getservbyport_r): Likewise.
21377 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21378 (_nss_nisplus_getspnam_r): Likewise.
21379 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21381 * nscd/aicache.c (addhstaiX): Likewise.
21382 * nscd/cache.c (cache_search, prune_cache): Likewise.
21383 * nscd/connections.c (register_traced_file, send_ro_fd)
21384 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21385 (main_loop_epoll): Likewise.
21386 * nscd/grpcache.c (addgrbyX): Likewise.
21387 * nscd/hstcache.c (addhstbyX): Likewise.
21388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21389 * nscd/mem.c (gc, mempool_alloc): Likewise.
21390 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21391 (addinnetgrX): Likewise.
21392 * nscd/nscd-client.h (__nscd_acquire_maplock)
21393 (__nscd_drop_map_ref): Likewise.
21394 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21395 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21396 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21398 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21400 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21401 (__nscd_get_map_ref): Likewise.
21402 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21403 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21405 * nscd/pwdcache.c (addpwbyX): Likewise.
21406 * nscd/selinux.c (preserve_capabilities): Likewise.
21407 * nscd/servicescache.c (addservbyX): Likewise.
21408 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21409 * posix/fnmatch.c (fnmatch): Likewise.
21410 * posix/getopt.c (_getopt_internal_r): Likewise.
21411 * posix/glob.c (glob, glob_in_dir): Likewise.
21412 * posix/wordexp.c (exec_comm_child): Likewise.
21413 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21414 (getanswer_r, gaih_getanswer_slice): Likewise.
21415 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21416 * resolv/res_init.c: Likewise.
21417 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21418 * resolv/res_query.c (__libc_res_nquery): Likewise.
21419 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21421 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21422 * stdio-common/perror.c (perror): Likewise.
21423 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21424 * stdio-common/tmpnam.c (tmpnam): Likewise.
21425 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21426 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21427 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21429 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21430 * stdlib/putenv.c (putenv): Likewise.
21431 * stdlib/setenv.c (__add_to_environ): Likewise.
21432 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21433 * stdlib/strtol_l.c (INTERNAL): Likewise.
21434 * string/memmem.c (memmem): Likewise.
21435 * string/strerror.c (strerror): Likewise.
21436 * string/strnlen.c (__strnlen): Likewise.
21437 * string/test-memmem.c (simple_memmem): Likewise.
21438 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21439 * sunrpc/pm_getport.c (__get_socket): Likewise.
21440 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21441 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21442 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21443 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21445 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21446 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21447 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21448 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21449 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21450 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21452 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21454 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21455 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21456 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21457 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21458 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21460 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21461 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21462 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21463 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21464 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21465 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21467 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21471 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21474 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21475 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21476 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21477 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21480 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21481 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21482 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21483 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21484 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21486 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21488 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21490 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21492 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21494 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21495 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21496 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21498 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21499 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21500 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21501 * sysdeps/posix/sleep.c: Likewise.
21502 * sysdeps/posix/tempname.c: Likewise.
21503 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21504 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21506 * sysdeps/powerpc/powerpc32/dl-machine.h
21507 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21508 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21510 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21511 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21513 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21515 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21517 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21518 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21519 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21520 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21521 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21522 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21524 (elf_machine_lazy_rel): Likewise.
21525 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21526 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21527 (elf_machine_lazy_rel): Likewise.
21528 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21529 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21530 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21531 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21532 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21533 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21534 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21537 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21538 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21539 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21540 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21541 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21542 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21543 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21544 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21545 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21546 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21547 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21549 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21550 (__posix_fallocate64_l64): Likewise.
21551 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21552 (posix_fallocate): Likewise.
21553 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21555 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21556 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21557 (getifaddrs_internal): Likewise.
21558 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21559 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21560 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21561 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21562 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21563 (__posix_fallocate64_l64): Likewise.
21564 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21566 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21567 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21568 (__get_clockfreq): Likewise.
21569 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21570 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21571 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21573 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21574 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21575 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21576 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21578 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21579 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21580 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21581 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21582 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21583 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21584 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21586 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21587 (posix_fallocate): Likewise.
21588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21589 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21590 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21591 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21592 (elf_machine_rela, elf_machine_rela_relative)
21593 (elf_machine_lazy_rel): Likewise.
21594 * time/asctime.c (asctime_internal): Likewise.
21595 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21596 * time/tzset.c (__tzset_parse_tz): Likewise.
21597 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21598 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21599 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21600 * wcsmbs/wcsmbsload.h: Likewise.
21603 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21605 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21606 (arena_get2): Remove THREAD_STATS conditionals.
21607 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21608 (__malloc_stats, int): Likewise.
21610 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21612 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21613 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21615 * manual/setjmp.texi: Fix typos/grammar errors.
21617 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21618 Only return early when n is <= 0. Delete unused return statement.
21620 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21621 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21622 * debug/tst-longjmp_chk3.c: New file.
21624 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21625 (test_main): Replace code with set_fortify_handler call.
21626 * debug/test-strcpy_chk.c: Likewise.
21627 * debug/tst-chk1.c: Likewise.
21628 * debug/tst-longjmp_chk.c: Likewise.
21629 * test-skeleton.c: Include fcntl.h & paths.h
21630 (set_fortify_handler): Define.
21632 * debug/tst-longjmp_chk.c: Add header comment and include
21633 ../test-skeleton.c.
21634 (do_test): Mark static.
21635 (TEST_FUNCTION): Define.
21637 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21638 (IP_PMTUDISC_INTERFACE): Likewise.
21639 (IP_MULTICAST_IF): Likewise.
21640 (IP_MULTICAST_TTL): Likewise.
21641 (IP_MULTICAST_LOOP): Likewise.
21642 (IP_ADD_MEMBERSHIP): Likewise.
21643 (IP_DROP_MEMBERSHIP): Likewise.
21644 (IP_UNBLOCK_SOURCE): Likewise.
21645 (IP_BLOCK_SOURCE): Likewise.
21646 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21647 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21648 (IP_MSFILTER): Likewise.
21649 (MCAST_JOIN_GROUP): Likewise.
21650 (MCAST_BLOCK_SOURCE): Likewise.
21651 (MCAST_UNBLOCK_SOURCE): Likewise.
21652 (MCAST_LEAVE_GROUP): Likewise.
21653 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21654 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21655 (MCAST_MSFILTER): Likewise.
21656 (IP_MULTICAST_ALL): Likewise.
21657 (IP_UNICAST_IF): Likewise.
21659 * timezone/Makefile: Delete $(have-ksh) check.
21660 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21661 * timezone/tzselect.ksh: Add +x mode bits.
21663 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21664 (ANON_INODE_FS_MAGIC): Likewise.
21665 (BDEVFS_MAGIC): Likewise.
21666 (BINFMTFS_MAGIC): Likewise.
21667 (BTRFS_TEST_MAGIC): Likewise.
21668 (CRAMFS_MAGIC_WEND): Likewise.
21669 (DEBUGFS_MAGIC): Likewise.
21670 (ECRYPTFS_SUPER_MAGIC): Likewise.
21671 (EXT3_SUPER_MAGIC): Likewise.
21672 (EXT4_SUPER_MAGIC): Likewise.
21673 (FUTEXFS_SUPER_MAGIC): Likewise.
21674 (HOSTFS_SUPER_MAGIC): Likewise.
21675 (HUGETLBFS_MAGIC): Likewise.
21676 (MINIX3_SUPER_MAGIC): Likewise.
21677 (MTD_INODE_FS_MAGIC): Likewise.
21678 (NILFS_SUPER_MAGIC): Likewise.
21679 (OPENPROM_SUPER_MAGIC): Likewise.
21680 (PIPEFS_MAGIC): Likewise.
21681 (PSTOREFS_MAGIC): Likewise.
21682 (QNX6_SUPER_MAGIC): Likewise.
21683 (RAMFS_MAGIC): Likewise.
21684 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21685 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21686 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21687 (SECURITYFS_MAGIC): Likewise.
21688 (SELINUX_MAGIC): Likewise.
21689 (SMACK_MAGIC): Likewise.
21690 (SOCKFS_MAGIC): Likewise.
21691 (SQUASHFS_MAGIC): Likewise.
21692 (STACK_END_MAGIC): Likewise.
21693 (TMPFS_MAGIC): Likewise.
21694 (USBDEVICE_SUPER_MAGIC): Likewise.
21695 (V9FS_MAGIC): Likewise.
21696 (XENFS_SUPER_MAGIC): Likewise.
21697 (CRAMFS_MAGIC): Fix typo in comment.
21698 (EXT2_SUPER_MAGIC): Update comment.
21699 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21701 2014-02-08 Joseph Myers <joseph@codesourcery.com>
21703 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21704 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21705 * sysdeps/unix/sysv/linux/arm: Move directory from
21706 ports/sysdeps/unix/sysv/linux/arm.
21707 * README: Update listing for arm-*-linux-gnueabi.
21709 * README: Remove mention of am33.
21711 2014-02-07 Roland McGrath <roland@hack.frob.com>
21713 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21714 than the comma operator, to avoid "rhs of comma has no effect"
21716 (__sigfillset, __sigandset, __sigorset): Likewise.
21717 * include/signal.h (__sigemptyset): Likewise.
21718 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21720 2014-02-07 Allan McRae <allan@archlinux.org>
21722 * version.h (RELEASE): Set to "development".
21723 (VERSION): Set to "2.19.90"
21724 * NEWS: Add 2.20 section.
21726 2014-02-06 Carlos O'Donell <carlos@redhat.com>
21729 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21731 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21733 * manual/contrib.texi: Update entry for Carlos O'Donell,
21734 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21736 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
21738 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21740 * sysdeps/unix/sysv/linux/kernel-features.h
21741 [__LINUX_KERNEL_VERSION >= 0x020621]
21742 (__ASSUME_PROC_PID_TASK_COMM): Define.
21744 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21747 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21748 conversion when destination buffer does not have enough space.
21749 * libio/tst-ftell-partial-wide.c: New test case.
21750 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21752 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21753 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21754 Leonard and Allan McRae.
21756 2014-02-04 David S. Miller <davem@davemloft.net>
21758 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21761 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21790 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21792 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21793 * shlib-versions: Likewise.
21795 2014-02-04 Roland McGrath <roland@hack.frob.com>
21796 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21798 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21799 (abilist-pattern): New variable, set to %-le.abilist.
21801 * Makerules (abilist-pattern): New variable.
21802 (vpath): Use $(abilist-pattern) in place of %.abilist.
21803 (check-abi-% pattern rule): Likewise.
21804 (check-abi, update-abi): Likewise.
21806 2014-02-04 Eric Wong <normalperson@yhbt.net>
21808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21810 2014-02-03 Carlos O'Donell <carlos@redhat.com>
21812 * manual/startup.texi: Add next, previous, and top entries for
21813 the `Program Arguments' and `Environment Variables' nodes.
21815 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
21817 * manual/macros.texi: Add comments before MTASC-safety macros.
21819 * manual/users.texi: Document MTASC-safety properties.
21821 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21822 (pthread_getspecific, pthread_setspecific): Format with
21823 @deftypefun, and add @safety note.
21824 * manual/signal.texi: Move comments that analyze the above
21825 functions to their home place.
21827 2014-02-03 Allan McRae <allan@archlinux.org>
21829 * po/sl.po: Update Slovenian translation from translation project.
21831 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
21833 * manual/time.texi (timegm): Add missing blank after @c.
21834 Reported by Joseph Myers <joseph@codesourcery.com>.
21836 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
21838 * manual/check-safety.sh: New.
21839 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21841 * manual/terminal.texi: Document MTASC-safety properties.
21843 * manual/filesys.texi: Document MTASC-safety properties.
21845 * manual/errno.texi: Document MTASC-safety properties.
21847 * manual/intro.texi: Document safety identifiers and
21850 * manual/string.texi (wcstok): Fix prototype.
21851 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21853 * manual/time.texi: Document MTASC-safety properties.
21855 * manual/string.texi: Document MTASC-safety properties.
21857 * manual/threads.texi: Document MTASC-safety properties.
21859 * manual/stdio.texi: Document MTASC-safety properties.
21861 * manual/syslog.texi: Document MTASC-safety properties.
21863 * manual/sysinfo.texi: Document MTASC-safety properties.
21865 * manual/startup.texi: Document MTASC-safety properties.
21867 * manual/socket.texi: Document MTASC-safety properties.
21869 * manual/signal.texi: Document MTASC-safety properties.
21871 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
21873 * manual/setjmp.texi: Document MTASC-safety properties.
21875 * manual/search.texi: Document MTASC-safety properties.
21877 * manual/resource.texi: Document MTASC-safety properties.
21879 * manual/process.texi: Document MTASC-safety properties.
21881 * manual/platform.texi: Document MTASC-safety properties.
21883 * manual/pipe.texi: Document MTASC-safety properties.
21885 * manual/pattern.texi: Document MTASC-safety properties.
21887 * manual/message.texi: Document MTASC-safety properties.
21890 * manual/memory.texi: Document MTASC-safety properties.
21892 * manual/math.texi: Document MTASC-safety properties.
21894 * manual/locale.texi: Document MTASC-safety properties.
21896 * manual/llio.texi: Document MTASC-safety properties.
21898 * manual/libdl.texi: New.
21900 * manual/lang.texi: Document MTASC-safety properties.
21902 * manual/job.texi: Document MTASC-safety properties.
21904 * manual/getopt.texi: Document MTASC-safety properties.
21906 * manual/ctype.texi: Document MTASC-safety properties.
21908 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21911 * csu/libc-tls.c (static_map): Remove variable.
21912 (__libc_setup_tls): Use main executable's link map for TLS data.
21913 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21914 casing for LM_ID_BASE and GL(dl_nns).
21915 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21916 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21917 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21918 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21919 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21921 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21924 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
21926 * manual/debug.texi: Document MTASC-safety properties.
21928 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21931 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21932 of __x86_64__ when disabling x87 inline functions.
21934 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
21936 * manual/charset.texi: Document MTASC-safety properties.
21938 * manual/crypt.texi: Document MTASC-safety properties.
21940 * manual/conf.texi: Document MTASC-safety properties.
21942 * manual/arith.texi: Document MTASC-safety properties.
21944 * manual/argp.texi: Document MTASC-safety properties.
21946 * manual/macros.texi: Introduce macros to document multi
21947 thread, asynchronous signal and asynchronous cancellation
21949 * manual/intro.texi: Introduce the properties themselves.
21951 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21953 * sysdeps/sh/sh4/Makefile: New file.
21955 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21957 * math/gen-libm-test.pl ($srcdir): New variable.
21958 ($auto_input): Use it.
21960 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21963 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21964 access beyond array bounds when parsing netgroups file.
21966 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21967 the old buffer before realloc.
21969 2014-01-27 Allan McRae <allan@archlinux.org>
21971 * po/fr.po: Update French translation from translation project.
21973 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21975 * sysdeps/sh/libm-test-ulps: Regenerate.
21977 2014-01-24 David S. Miller <davem@davemloft.net>
21979 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21981 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21983 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21984 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21986 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21989 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21990 string pointers after reallocation.
21992 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21994 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21995 __SH4A__ instead of __SH_FPU_ANY__.
21997 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21999 * sysdeps/sh/fpu_control.h: New file.
22000 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22001 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22002 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22003 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22004 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22005 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22006 * sysdeps/sh/sys/ucontext.h: Remove.
22007 * sysdeps/sh/sys: Remove directory.
22009 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22011 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22012 s390/sys/ucontext.h.
22013 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22014 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22016 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22019 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22021 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22024 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22025 Adjust the vDSO correctly for internal calls.
22026 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22028 2014-01-20 Allan McRae <allan@archlinux.org>
22030 * po/ca.po: Update Catalan translation from translation project.
22032 2014-01-16 Mike Frysinger <vapier@gentoo.org>
22034 * sysdeps/s390/sotruss-lib.c: New file.
22036 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22039 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22040 (__GI___gettimeofday): Alias for a different internal symbol to avoid
22041 local calls issues by not having a PLT stub required for IFUNC calls.
22042 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22044 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22046 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22047 * math/test-fpucw-static.c: Likewise.
22049 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22052 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22054 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22056 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22057 implementation for powerpc.
22059 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
22062 * sysdeps/posix/system.c (__libc_system): Do not enable
22063 asynchronous cancellation.
22065 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22068 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22069 handling only for numbers special also in the IEEE case.
22071 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22073 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22075 2014-01-11 Allan McRae <allan@archlinux.org>
22077 * po/bg.po: Update Bulgarian translation from translation project.
22079 * po/de.po: Update German translation from translation project.
22081 2014-01-10 Roland McGrath <roland@hack.frob.com>
22083 * sysdeps/generic/gcc-compat.h: New file.
22085 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22087 * benchtests/asin-inputs: Correct slow inputs.
22088 * benchtests/acos-inputs: Likewise.
22090 2014-01-10 Allan McRae <allan@archlinux.org>
22092 * po:sv.po: Update Swedish translation from translation project.
22094 * po/vi.po: Update Vietnamese translation from translation project.
22096 * po/eo.po: Update Esperanto translation from translation project.
22098 * po/cs.po: Update Czech translation from translation project.
22100 * po/nl.po: Update Dutch translation from translation project.
22102 * po/pl.po: Update Polish translation from translation project.
22104 * po/ru.po: Update Russian translation from translation project.
22106 * po/uk.po: Update Ukrainian translation from translation project.
22108 2014-01-08 Brooks Moses <bmoses@google.com>
22110 * elf/dl-load.c: Fix comment typo.
22112 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22114 * po/header.pot: Rename to...
22115 * po/pot.header: ... this.
22116 * po/Makefile: Use pot.header.
22118 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22119 Maxim Kuvyrkov <maxim@kugelworks.com>
22122 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22123 SRC and DEST against LEN.
22125 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22128 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22130 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22132 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22136 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22139 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22140 for large positive arguments.
22142 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22144 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22146 * math/auto-libm-test-in: Mark various tests with
22147 xfail-rounding:ldbl-128ibm.
22148 * math/auto-libm-test-out: Regenerated.
22151 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22152 Increase overflow threshold.
22154 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22157 * stdio-common/vfprintf.c: Check for integer overflow.
22159 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22161 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22162 the first argument and return value of __tls_get_addr_internal.
22164 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22166 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22167 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22169 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22171 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22172 * sysdeps/s390/rtld-global-offsets.sym: New file.
22173 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22175 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22176 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22177 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22179 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22180 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22186 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22187 halfs of GPRs for high_gprs contexts.
22188 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22189 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22191 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22193 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22195 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22196 for high GPRs (uc_high_gprs) and for future extensions
22198 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22199 for future extensions (__reserved).
22200 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22202 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22203 SC_HIGHGPRS offset definition.
22204 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22205 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22207 * Versions.def: Add GLIBC_2.19 for libpthread.
22208 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22209 siglongjmp for libpthread with GLIBC_2.19 symver.
22210 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22211 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22212 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22213 * sysdeps/s390/__longjmp.c: New file.
22214 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22215 * sysdeps/s390/longjmp.c: New file.
22216 * sysdeps/s390/setjmp.S: New file.
22217 * sysdeps/s390/sigjmp.S: New file.
22218 * sysdeps/s390/v1-longjmp.c: New file.
22219 * sysdeps/s390/v1-setjmp.h: New file.
22220 * sysdeps/s390/v1-sigjmp.c: New file.
22221 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22222 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22223 GLIBC_2.19 version.
22224 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22225 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22226 versioned symbols for ____longjmp_chk.
22227 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22237 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22238 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22239 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22240 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22241 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22242 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22243 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22244 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22245 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22246 * sysdeps/s390/rtld-__longjmp.c: New file.
22247 * sysdeps/s390/rtld-setjmp.S: New file.
22249 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22252 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22253 Return -__logl (x) for small positive arguments without evaluating
22256 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22258 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22260 (__ptrace_peeksiginfo_args): ... this.
22261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22262 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22265 2014-01-06 Allan McRae <allan@archlinux.org>
22267 * inet/netinet/in.h: Fix typo in comment.
22269 2014-01-05 Andreas Jaeger <aj@suse.de>
22271 * sysdeps/i386/fpu/libm-test-ulps: Update.
22273 2014-01-05 Allan McRae <allan@archlinux.org>
22275 * po/libc.pot: Regenerated.
22277 * malloc/memusagestat.c: Fix gettext call formatting.
22279 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22281 * nscd/nscd.c: Improve usage() output.
22283 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22285 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22286 * sysdeps/unix/sysv/linux/configure: Regenerated.
22287 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22288 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22290 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22293 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22294 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22296 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22298 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22299 extra tokens at end of #undef directive.
22300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22301 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22302 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22304 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22306 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22308 * math/auto-libm-test-in: Mark various tests with
22309 xfail-rounding:ldbl-128ibm.
22310 * math/auto-libm-test-out: Regenerated.
22312 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22316 numbers with subnormal high part when calculating exponent.
22319 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22323 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22325 (__ieee754_acoshl): Use __log1pl not __log1p.
22327 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22329 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22330 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22331 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22332 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22333 (reused_arena, arena_get2): Convert to GNU style.
22334 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22335 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22336 (memalign_check, __malloc_set_state): Likewise.
22337 * malloc/mallocbug.c (main): Likewise.
22338 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22339 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22340 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22341 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22342 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22343 (__posix_memalign, malloc_info): Likewise.
22344 * malloc/malloc.h: Likewise.
22345 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22346 (mallochook, memalignhook, reallochook, mabort): Likewise.
22347 * malloc/mcheck.h: Likewise.
22348 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22349 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22350 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22351 * malloc/morecore.c (__default_morecore): Likewise.
22352 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22353 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22354 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22355 (print_and_abort): Likewise.
22356 * malloc/obstack.h: Likewise.
22357 * malloc/set-freeres.c (__libc_freeres): Likewise.
22358 * malloc/tst-mallocstate.c (main): Likewise.
22359 * malloc/tst-mtrace.c (main): Likewise.
22360 * malloc/tst-realloc.c (do_test): Likewise.
22362 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22365 * nscd/netgroupcache.c (do_notfound): New function.
22366 (addgetnetgrentX): Use it.
22369 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22370 NSS_STATUS_NOTFOUND.
22372 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22374 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22377 2014-01-01 Allan McRae <allan@archlinux.org>
22379 * scripts/update-copyrights: Update configure input file suffix.
22381 * NEWS: Update copyright year.
22382 * catgets/gencat.c: Likewise.
22383 * csu/version.c: Likewise.
22384 * debug/catchsegv.sh: Likewise.
22385 * debug/pcprofiledump.c: Likewise.
22386 * debug/xtrace.sh: Likewise.
22387 * elf/ldconfig.c: Likewise.
22388 * elf/ldd.bash.in: Likewise.
22389 * elf/pldd.c: Likewise.
22390 * elf/sotruss.ksh: Likewise.
22391 * elf/sprof.c: Likewise.
22392 * iconv/iconv_prog.c: Likewise.
22393 * iconv/iconvconfig.c: Likewise.
22394 * locale/programs/locale.c: Likewise.
22395 * locale/programs/localedef.c: Likewise.
22396 * login/programs/pt_chown.c: Likewise.
22397 * malloc/memusage.sh: Likewise.
22398 * malloc/memusagestat.c: Likewise.
22399 * malloc/mtrace.pl: Likewise.
22400 * manual/libc.texinfo: Likewise.
22401 * nscd/nscd.c: Likewise.
22402 * nss/getent.c: Likewise.
22403 * nss/makedb.c: Likewise.
22404 * posix/getconf.c: Likewise.
22405 * scripts/test-installation.pl: Likewise.
22407 * All files with FSF copyright notices: Update copyright dates
22408 using scripts/update-copyrights.
22409 * intl/plural.c: Regenerated.
22410 * locale/programs/charmap-kw.h: Likewise.
22411 * locale/programs/locfile-kw.h: Likewise.
22413 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22415 * sysdeps/unix/sysv/linux/configure: Regenerated.
22416 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22417 the linux/fanotify.h header.
22418 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22419 HAVE_LINUX_FANOTIFY_H is defined.
22421 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22423 * benchtests/cos-inputs: New inputs.
22424 * benchtests/sin-inputs: Likewise.
22426 * benchtests/atan-inputs: New inputs. Fix name of multiple
22427 precision fallback inputs.
22429 * benchtests/atanh-inputs: New inputs.
22430 * benchtests/tanh-inputs: Likewise.
22432 * benchtests/acosh-inputs: New inputs.
22433 * benchtests/asinh-inputs: Likewise.
22435 * benchtests/cosh-inputs: New inputs.
22436 * benchtests/sinh-inputs: Likewise.
22438 * benchtests/acos-inputs: Add more inputs.
22439 * benchtests/asin-inputs: Likewise.
22441 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22444 * manual/arith.texi: Fix spelling.
22445 * manual/charset.texi: Likewise.
22446 * manual/errno.texi: Likewise.
22447 * manual/filesys.texi: Likewise.
22448 * manual/lang.texi: Likewise.
22449 * manual/llio.texi: Likewise.
22450 * manual/locale.texi: Likewise.
22451 * manual/message.texi: Likewise.
22452 * manual/resource.texi: Likewise.
22453 * manual/search.texi: Likewise.
22454 * manual/setjmp.texi: Likewise.
22455 * manual/stdio.texi: Likewise.
22456 * manual/string.texi: Likewise.
22457 * manual/sysinfo.texi: Likewise.
22458 * manual/time.texi: Likewise.
22460 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22462 * po/sl.po: New file.
22464 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22466 * .gitignore: Add core/.gdbinit/.gdb_history.
22468 2013-12-27 Allan McRae <allan@archlinux.org>
22471 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22472 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22474 2013-12-24 Brooks Moses <bmoses@google.com>
22476 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22477 all compilers that claim C++98 compliance, not just GCC.
22478 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22481 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22483 * NEWS: Restore accidentally deleted bug-fix entries.
22485 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22486 Ondřej Bílka <neleai@seznam.cz>
22489 * malloc/malloc.c (_int_free): Perform sanity check only if we
22492 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22495 * manual/stdio.texi (String Input Conversions): Clarify that character
22496 classes are not supported.
22498 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22502 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22505 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22506 Calculate results for small negative arguments directly rather
22507 than using reflection formula with special underflow handling.
22509 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22510 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22511 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22512 (fchflags): Likewise.
22513 (revoke): Likewise.
22514 (setlogin): Likewise.
22515 (sigaltstack): Likewise.
22517 (sigblock): Remove.
22518 (sigsetmask): Likewise.
22520 (waitpid): Likewise.
22521 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22522 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22524 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22525 * sysdeps/unix/bsd/Makefile: ... here.
22526 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22527 * sysdeps/unix/bsd/Versions: ... here.
22528 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22529 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22530 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22531 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22532 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22533 * sysdeps/unix/bsd/sigblock.c: ... here.
22534 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22535 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22536 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22537 * sysdeps/unix/bsd/sigvec.c: ... here.
22538 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22539 * sysdeps/unix/bsd/tcdrain.c: ... here.
22540 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22541 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22542 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22543 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22544 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22545 * sysdeps/unix/bsd/wait.c: ... here.
22546 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22547 * sysdeps/unix/bsd/wait3.c: ... here.
22548 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22549 * sysdeps/unix/bsd/waitpid.c: ... here.
22551 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22554 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22555 round-to-nearest for [!USE_AS_EXPM1L].
22556 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22557 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22558 more tests of exp and exp10. Expect some exp10 tests to miss
22559 exceptions or fail in directed rounding modes.
22560 * math/auto-libm-test-out: Regenerated.
22561 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22562 (exp10_test_tonearest): New function.
22563 (exp10_towardzero_test_data): New array.
22564 (exp10_test_towardzero): New function.
22565 (exp10_downward_test_data): New array.
22566 (exp10_test_downward): New function.
22567 (exp10_upward_test_data): New array.
22568 (exp10_test_upward): New function.
22569 (main): Call the new functions.
22570 * sysdeps/i386/fpu/libm-test-ulps: Update.
22571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22573 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22575 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22576 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22577 * math/auto-libm-test-out: Regenerated.
22578 * math/libm-test.inc (acosh_test_data): Add more tests.
22579 (atanh_test_data): Likewise.
22580 (ceil_test_data): Likewise.
22581 (copysign_test_data): Likewise.
22582 * sysdeps/i386/fpu/libm-test-ulps: Update.
22583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22585 * timezone/checktab.awk: Update from tzcode 2013i.
22586 * timezone/private.h: Likewise.
22587 * timezone/scheck.c: Likewise.
22588 * timezone/tzfile.h: Likewise.
22589 * timezone/tzselect.ksh: Likewise.
22590 * timezone/zdump.c: Likewise.
22591 * timezone/zic.c: Likewise.
22593 * math/auto-libm-test-in: Add tests of cpow.
22594 * math/auto-libm-test-out: Regenerated.
22595 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22596 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22598 (func_calc_desc): Add mpc_cc_c union field.
22599 (test_functions): Add cpow.
22600 (special_fill_2pi): New function.
22601 (special_real_inputs): Add 2pi.
22602 (calc_generic_results): Handle mpc_cc_c.
22603 * sysdeps/i386/fpu/libm-test-ulps: Update.
22604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22606 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22607 csqrt, ctan and ctanh.
22608 * math/auto-libm-test-out: Regenerated.
22609 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22610 (TEST_COND_x86): Likewise.
22611 (ccos_test_data): Use AUTO_TESTS_c_c.
22612 (ccosh_test_data): Likewise.
22613 (cexp_test_data): Likewise.
22614 (clog_test_data): Likewise.
22615 (csqrt_test_data): Likewise.
22616 (ctan_test_data): Likewise.
22617 (ctan_tonearest_test_data): Likewise.
22618 (ctan_towardzero_test_data): Likewise.
22619 (ctan_downward_test_data): Likewise.
22620 (ctan_upward_test_data): Likewise.
22621 (ctanh_test_data): Likewise.
22622 (ctanh_tonearest_test_data): Likewise.
22623 (ctanh_towardzero_test_data): Likewise.
22624 (ctanh_downward_test_data): Likewise.
22625 (ctanh_upward_test_data): Likewise.
22626 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22628 (func_calc_desc): Add mpc_c_c union field.
22629 (FUNC_mpc_c_c): New macro.
22630 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22631 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22633 (special_fill_min_subnorm_p120): New function.
22634 (special_real_inputs): Add min_subnorm_p120.
22635 (calc_generic_results): Handle mpc_c_c.
22636 * sysdeps/i386/fpu/libm-test-ulps: Update.
22637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22639 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22641 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22642 (do_sin_slow): New functions.
22643 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22644 (cslow2, csloww1, csloww2): Use the new functions.
22646 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22647 Use M to change sign of result instead of X. Assume X is
22649 (csloww1): Likewise.
22653 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22654 arguments A and DA.
22658 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22660 (sloww1): Don't adjust sign of DX.
22661 (csloww1): Likewise.
22662 (sloww2): Use X directly and don't adjust sign of DX.
22663 (csloww2): Likewise.
22665 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22667 * math/auto-libm-test-in: Add tests of cabs and carg.
22668 * math/auto-libm-test-out: Regenerated.
22669 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22670 (carg_test_data): Likewise.
22671 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22673 (func_calc_desc): Add mpc_c_f union field.
22674 (test_functions): Add cabs and carg.
22675 (calc_generic_results): Handle mpc_c_f.
22677 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22678 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22679 as a macro and a compat symbol.
22680 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22681 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22682 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22683 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22684 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22685 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22687 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22689 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22691 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22693 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22695 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22697 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22698 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22701 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22705 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22707 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22708 trailing whitespace removed.
22709 * scripts/config.guess: Update to version 2013-11-29.
22710 * scripts/config.sub: Update to version 2013-10-01.
22712 * math/auto-libm-test-in: Add tests of sincos.
22713 * math/auto-libm-test-out: Regenerated.
22714 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22715 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22717 (func_calc_desc): Add mpfr_f_11 union field.
22718 (test_functions): Add sincos.
22719 (calc_generic_results): Handle mpfr_f_11.
22720 * sysdeps/i386/fpu/libm-test-ulps: Update.
22721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22723 2013-12-19 Andreas Schwab <schwab@suse.de>
22725 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22727 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22728 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22729 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22731 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22733 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22734 * sysdeps/i386/fpu/libm-test-ulps: Update.
22735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22738 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22739 round-to-nearest mode when using frndint.
22740 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22741 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22742 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22744 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22746 * math/auto-libm-test-out: Regenerated.
22747 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22748 (TEST_COND_x86): Likewise.
22749 (expm1_tonearest_test_data): New array.
22750 (expm1_test_tonearest): New function.
22751 (expm1_towardzero_test_data): New array.
22752 (expm1_test_towardzero): New function.
22753 (expm1_downward_test_data): New array.
22754 (expm1_test_downward): New function.
22755 (expm1_upward_test_data): New array.
22756 (expm1_test_upward): New function.
22757 (main): Run the new test functions.
22758 * sysdeps/i386/fpu/libm-test-ulps: Update.
22759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22761 * include/features.h: Update comment documenting feature test
22762 macros. Mention _DEFAULT_SOURCE in comment.
22763 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22764 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22765 _BSD_SOURCE and _SVID_SOURCE.
22766 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22767 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22768 !_SVID_SOURCE]: Likewise.
22769 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22770 (__USE_POSIX_IMPLICITLY): Define.
22771 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22772 (_POSIX_SOURCE): Undefine and redefine.
22773 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22774 (_POSIX_C_SOURCE): Likewise.
22775 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22776 (Feature Test Macros): Update documentation of default features.
22778 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22780 * benchtests/Makefile: Add bench-strtok.
22781 * benchtests/bench-strtok.c: New file: strtok benchtest.
22783 2013-12-19 Allan McRae <allan@archlinux.org>
22785 * manual/install.texi: Suppress menu for plain text output.
22786 * INSTALL: Regenerated.
22788 2013-12-18 Brooks Moses <bmoses@google.com>
22791 * misc/getauxval.c: Include errno.h.
22792 (__getauxval): Set errno to ENOENT if the requested type is not
22794 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22795 don't declare with __attribute_const__.
22796 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22797 * manual/startup.texi: Document that getauxval sets errno.
22799 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22801 * math/auto-libm-test-in: Add tests of jn and yn.
22802 * math/auto-libm-test-out: Regenerated.
22803 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22804 (yn_test_data): Likewise.
22805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22807 (func_calc_desc): Add mpfr_if_f union field.
22808 (FUNC_mpfr_if_f): New macro.
22809 (test_functions): Add jn and yn.
22810 (calc_generic_results): Assert type of second input for
22811 mpfr_ff_f. Handle mpfr_if_f.
22812 (output_for_one_input_case): Disable all checking for arguments
22813 fitting floating-point types in case of an integer argument.
22814 * sysdeps/i386/fpu/libm-test-ulps: Update.
22815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22818 Don't expect fegetround reference in libm.so.
22820 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22822 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22823 $(config-cflags-nofma).
22825 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22827 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22828 * math/auto-libm-test-out: Regenerated.
22831 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22832 to determine exponent and adjust argument to have exponent of -1.
22833 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22835 * math/auto-libm-test-out: Regenerated.
22836 * sysdeps/i386/fpu/libm-test-ulps: Update.
22837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22839 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
22841 * manual/probes.texi: Remove cases when per-thread arenas are
22844 2013-12-18 Andreas Schwab <schwab@suse.de>
22846 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22847 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22848 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22849 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22850 * sysdeps/i386/i686/multiarch/Makefile: Update.
22851 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22853 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22855 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22856 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22858 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22861 Support TZ transition times < 00:00:00.
22862 This is needed for version-3 tz-format files; it supports time
22863 stamps past 2037 for America/Godthab (the only entry in the tz
22864 database for which this change is relevant).
22865 * manual/time.texi (TZ Variable): Document transition times
22866 from -167:59:59 through -00:00:01.
22867 * time/tzset.c (tz_rule): Time of day is now signed.
22868 (__tzset_parse_tz): Parse negative time of day.
22870 Document TZ transition times >= 25:00:00.
22871 * manual/time.texi (TZ Variable): Document transition times from
22872 25:00:00 through 167:59:59. These are already supported, and this
22873 support will help with version-3 tz-format files.
22875 * manual/time.texi (TZ Variable): Modernize North America example
22876 to reflect current (i.e., 2007-and-later) daylight saving rules.
22878 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22880 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22882 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22883 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22886 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22887 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22888 * sysdeps/unix/bsd/clock.c: Likewise.
22889 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22890 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22891 * sysdeps/unix/bsd/init-posix.c: Likewise.
22892 * sysdeps/unix/bsd/poll.c: Likewise.
22893 * sysdeps/unix/bsd/ptsname.c: Likewise.
22894 * sysdeps/unix/bsd/seekdir.c: Likewise.
22895 * sysdeps/unix/bsd/setegid.c: Likewise.
22896 * sysdeps/unix/bsd/seteuid.c: Likewise.
22897 * sysdeps/unix/bsd/setgid.c: Likewise.
22898 * sysdeps/unix/bsd/setrgid.c: Likewise.
22899 * sysdeps/unix/bsd/setruid.c: Likewise.
22900 * sysdeps/unix/bsd/setsid.c: Likewise.
22901 * sysdeps/unix/bsd/setuid.c: Likewise.
22902 * sysdeps/unix/bsd/sigaction.c: Likewise.
22903 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22904 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22905 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22906 * sysdeps/unix/bsd/telldir.c: Likewise.
22907 * sysdeps/unix/bsd/times.c: Likewise.
22908 * sysdeps/unix/bsd/usleep.c: Likewise.
22910 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22911 ($(objpfx)libbsd-compat.a): Remove rule.
22913 * include/features.h (__FAVOR_BSD): Do not define.
22914 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22915 features conflicting with POSIX.
22916 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22917 (_BSD_SOURCE): Remove description of not being a subset of other
22918 feature test macros.
22919 * manual/job.texi (getpgrp): Do not document BSD version.
22920 (getpgid): Do not document by reference to BSD getpgrp.
22921 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22922 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22923 * signal/signal.h [__FAVOR_BSD]: Likewise.
22924 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22925 instead of making contents conditional on [__FAVOR_BSD].
22926 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22928 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22932 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22935 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22936 values below 2**-450, not 2**-500.
22937 * math/auto-libm-test-in: Don't allow spurious underflow from
22939 * math/auto-libm-test-out: Regenerated.
22943 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22944 values of ha and hb and sort them after adjusting subnormal
22946 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22948 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22949 values of ea and eb and sort them after adjusting subnormal
22951 * math/auto-libm-test-in: Do not expect some hypot tests of
22952 subnormals to fail. Add more hypot tests.
22953 * math/auto-libm-test-out: Regenerated.
22955 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22958 * sysdeps/sh/s_fma.c: New file.
22959 * sysdeps/sh/s_fmaf.c: New file.
22960 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22962 * sysdeps/sh/Implies: Add sh/soft-fp.
22964 2013-12-16 Roland McGrath <roland@hack.frob.com>
22966 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22967 level of indirection to members `objname', `errstring', `malloced'.
22968 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22969 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22970 it as the __longjmp argument (just pass 1 instead).
22971 (_dl_catch_error): Initialize C with argument pointers and address of
22972 volatile local ERRCODE rather than copying values out of C at return.
22974 2013-12-16 Joseph Myers <joseph@codesourcery.com>
22976 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22977 * math/auto-libm-test-out: Regenerated.
22978 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22979 (hypot_test_data): Likewise.
22980 (pow_test_data): Likewise.
22981 (pow_tonearest_test_data): Likewise.
22982 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22984 (func_calc_desc): Add mpfr_ff_f union field.
22985 (FUNC_mpfr_ff_f): New macro.
22986 (test_functions): Add atan2, hypot and pow.
22987 (special_fill_min): New function.
22988 (special_fill_minus_min): Likewise.
22989 (special_fill_min_subnorm): Likewise.
22990 (special_fill_minus_min_subnorm): Likewise.
22991 (special_real_inputs): Add min, -min, min_subnorm and
22993 (calc_generic_results): Handle mpfr_ff_f.
22994 * sysdeps/i386/fpu/libm-test-ulps: Update.
22995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22997 2013-12-16 Will Newton <will.newton@linaro.org>
22999 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23000 (Aligned Memory Blocks): Add documentation for aligned_alloc
23001 and suggest it as an alternative to posix_memalign.
23002 (Hooks for Malloc): Document __memalign_hook is also called
23003 for aligned_alloc. (Summary of Malloc): Add summary for
23004 aligned alloc. Document __memalign_hook is also called
23007 2013-12-16 Will Newton <will.newton@linaro.org>
23009 * manual/memory.texi (Malloc Examples): Clarify default
23010 alignment documentation. Suggest posix_memalign rather
23011 than memalign or valloc.
23012 (Aligned Memory Blocks): Remove suggestion to use memalign
23013 or valloc. Remove obsolete comment about BSD.
23014 Document memalign errno values and mark the function obsolete.
23015 Document posix_memalign returned error codes. Mark valloc
23016 as obsolete. (Hooks for Malloc): __memalign_hook is also
23017 called for posix_memalign and valloc.
23018 (Summary of Malloc): Add posix_memalign to function summary.
23019 __memalign_hook is also called for posix_memalign and valloc.
23021 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23023 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23027 (sloww): Use mynumber union. Expand ternary operator into
23028 if-else statements.
23029 (cslow): use mynumber union.
23031 2013-12-16 Allan McRae <allan@archlinux.org>
23033 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23034 * configure: Regenerated.
23036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23039 * configure.ac: Added --enable-maintainer-mode. Check for
23040 autoconf when enabled.
23041 * configure: Regenerated.
23043 * nscd/nscd.service: New file.
23044 * nscd/nscd.tmpfiles: New file.
23046 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23049 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23050 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23051 * sysdeps/x86_64/multiarch/strstr.c: ... here.
23052 (strstr): Add __strstr_sse2_unaligned ifunc.
23053 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23054 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23055 (strcasestr): Remove __strcasestr_sse42 ifunc.
23056 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23057 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23060 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23062 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23063 * sysdeps/sh/bits/fenv.h: ... here.
23064 * sysdeps/sh/sh4/fpu/bits: Remove directory.
23066 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23068 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23071 hypotf multiarch implementations.
23072 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23073 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23075 multiarch hypot for PPC64.
23076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23079 multiarch hypotf for PPC64.
23081 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23082 modff multiarch implementations.
23083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23086 multiarch modf for PPC64.
23087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23090 multiarch modff for PPC64.
23092 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23093 and logl multiarch implementations.
23094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23097 multiarch logb for PPC64.
23098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23101 multiarch logb for PPC64.
23102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23105 multiarch logb for PPC64.
23107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23108 isinff multiarch implementation.
23109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23113 multiarch isinf for PPC64.
23114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23117 multiarch isinff for PPC64.
23119 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23120 finitef multiarch implementation.
23121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23125 multiarch finite for PPC64.
23126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23129 multiarch finitef for PPC64.
23131 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23132 lrint multiarch implementation.
23133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23137 multiarch llrint for PPC64.
23138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23139 multiarch lrint for PPC64.
23141 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23142 copysignf multiarch implementation.
23143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23148 multiarch copysign for PPC64.
23149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23150 multiarch copysignf for PPC64.
23152 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23153 multiarch implementation.
23154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23162 multiarch llround for PPC64.
23163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23164 multiarch trunc for PPC64.
23165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23166 multiarch truncf for PPC64.
23168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23169 multiarch implementation.
23170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23178 multiarch llround for PPC64.
23179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23180 multiarch round for PPC64.
23181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23182 multiarch roundf for PPC64.
23184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23185 multiarch implementation.
23186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23194 multiarch llround for PPC64.
23195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23196 multiarch floor for PPC64.
23197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23198 multiarch floorf for PPC64.
23200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23201 multiarch implementation.
23202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23210 multiarch llround for PPC64.
23211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23212 multiarch ceil for PPC64.
23213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23214 multiarch ceilf for PPC64.
23216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23217 multiarch implementation.
23218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23225 multiarch llround for PPC64.
23226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23227 multiarch lround for PPC64.
23229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23230 multiarch implementation.
23231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23238 multiarch isnan for PPC64.
23239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23240 multiarch isnanf for PPC64.
23242 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23243 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23244 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23245 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23246 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23249 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23250 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23251 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23252 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23255 multiarch implementations.
23256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23257 (__libc_ifunc_impl_list): Likewise.
23258 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23259 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23260 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23261 multiarch stpcpy for PPC64.
23263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23264 multiarch implementations.
23265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23266 (__libc_ifunc_impl_list): Likewise.
23267 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23268 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23269 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23270 multiarch strcpy for PPC64.
23272 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23273 redefine function name.
23274 (_wordcopy_fwd_dest_aligned): Likewise.
23275 (_wordcopy_bwd_aligned): Likewise.
23276 (_wordcopy_bwd_dest_aligned): Likewise.
23277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23278 multiarch implementations.
23279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23280 (__libc_ifunc_impl_list): Likewise.
23281 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23282 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23283 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23284 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23285 multiarch wcscpy for PPC64.
23287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23288 multiarch implementations.
23289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23290 (__libc_ifunc_impl_list): Likewise.
23291 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23292 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23293 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23294 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23295 multiarch wcscpy for PPC64.
23297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23298 multiarch implementations.
23299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23300 (__libc_ifunc_impl_list): Likewise.
23301 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23302 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23303 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23304 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23305 multiarch wcsrchr for PPC64.
23307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23308 multiarch implementations.
23309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23310 (__libc_ifunc_impl_list): Likewise.
23311 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23312 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23313 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23314 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23315 multiarch wcschr for PPC64.
23317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23318 multiarch implementations.
23319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23320 (__libc_ifunc_impl_list): Likewise.
23321 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23322 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23323 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23324 multiarch strchrnul for PPC64.
23326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23329 (__libc_ifunc_impl_list): Likewise.
23330 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23331 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23332 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23333 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23339 (__libc_ifunc_impl_list): Likewise.
23340 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23341 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23342 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23343 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23347 multiarch implementations.
23348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23349 (__libc_ifunc_impl_list): Likewise.
23350 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23351 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23352 strncasecmp for PPC64.
23353 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23354 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23355 multiarch strncasecmp_l for PPC64.
23357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23358 multiarch implementations.
23359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23360 (__libc_ifunc_impl_list): Likewise.
23361 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23362 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23363 multiarch strcasecmp for PPC64.
23364 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23366 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23367 multiarch strcasecmp_l for PPC64.
23369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23372 (__libc_ifunc_impl_list): Likewise.
23373 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23374 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23375 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23381 (__libc_ifunc_impl_list): Likewise.
23382 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23383 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23384 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23390 (__libc_ifunc_impl_list): Likewise.
23391 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23392 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23393 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23394 rawmemrchr for PPC64.
23396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23399 (__libc_ifunc_impl_list): Likewise.
23400 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23401 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23402 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23408 (__libc_ifunc_impl_list): Likewise.
23409 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23410 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23411 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23417 (__libc_ifunc_impl_list): Likewise.
23418 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23419 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23420 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23423 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23424 avoid cretion of __bzero symbol.
23425 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23427 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23429 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23432 multiarch implementations.
23433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23434 (__libc_ifunc_impl_list): Likewise.
23435 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23436 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23437 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23438 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23440 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23441 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23442 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23443 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23444 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23446 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23448 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23452 (__libc_ifunc_impl_list): Likewise.
23453 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23454 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23455 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23456 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23460 multiarch for POWER/PPC64.
23461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23462 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23463 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23464 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23465 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23467 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23469 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23472 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23473 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23474 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23475 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23476 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23477 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23478 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23479 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23480 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23481 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23482 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23483 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23484 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23485 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23486 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23495 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23497 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23499 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23501 * benchtests/Makefile (bench): Add exp2 and log2.
23502 (LDLIBS-bench-exp2): Add -lm.
23503 (LDLIBS-bench-log2): Likewise.
23504 * benchtests/exp2-inputs: New inputs file.
23505 * benchtests/log2-inputs: New inputs file.
23506 * benchtests/log-inputs: Add new inputs.
23507 * benchtests/tan-inputs: Likewise.
23509 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23511 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23513 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23514 (csloww2): ... from here.
23516 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23517 instead of structures.
23518 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23519 (POLYNOMIAL): Likewise.
23520 (TAYLOR_SLOW): Likewise.
23526 (sloww1); Likewise.
23527 (sloww2): Likewise.
23528 (bsloww1): Likewise.
23529 (bsloww2): Likewise.
23530 (cslow2): Likewise.
23531 (csloww): Likewise.
23532 (csloww1): Likewise.
23533 (csloww2): Likewise.
23535 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23537 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23538 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23539 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23540 * malloc/hooks.c (realloc_check): Likewise.
23542 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23543 * malloc/arena.c: Remove PER_THREAD conditional.
23544 [!PER_THREAD]: Remove code.
23545 (ptmalloc_unlock_all2): Likewise.
23546 (ptmalloc_init): Likewise.
23547 (_int_new_arena): Likewise.
23548 (arena_get2): Likewise.
23549 * malloc/hooks.c (__malloc_get_state): Likewise.
23550 (__malloc_set_state): Likewise.
23551 * malloc/malloc.c: Likewise.
23552 (struct malloc_state): Likewise.
23553 (struct malloc_par): Likewise.
23554 (__libc_realloc): Likewise.
23555 (__libc_mallopt): Likewise.
23557 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23559 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23561 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23563 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23564 macro to a function. Check for zero perturb_byte.
23565 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23567 * malloc/malloc.c: (force_reg): Remove.
23568 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23569 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23570 force_reg by atomic_forced_read.
23571 * malloc/arena.c (ptmalloc_init): Likewise.
23572 * malloc/hooks.c (top_check): Likewise.
23574 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23578 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23582 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23584 * math/auto-libm-test-in: Add tests of lgamma.
23585 * math/auto-libm-test-out: Regenerated.
23586 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23587 (M_LOG_2_SQRT_PIl): Likewise.
23588 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23589 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23591 (func_calc_desc): Add mpfr_f_f1 union field.
23592 (ARGS1): New macro.
23600 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23601 (test_functions): Add lgamma.
23602 (calc_generic_results): Handle mpfr_f_f1.
23603 * sysdeps/i386/fpu/libm-test-ulps: Update.
23604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23606 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23608 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23609 __mpn_add_n for PowerPC64/POWER7.
23610 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23611 __mpn_sub_n for PowerPC64/POWER7.
23613 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23614 __mpn_addmul_1 for PowerPC64.
23615 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23616 __mpn_submul_1 for PowerPC64.
23617 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23619 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23622 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23625 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23627 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23629 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23631 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23632 add multiarch folders.
23633 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23634 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23635 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23636 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23637 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23638 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23639 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23640 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23641 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23642 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23643 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23652 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23658 multiarch __ieee754_hypot for PowerPC32.
23659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23664 multiarch __ieee754_hypotf for PowerPC32.
23666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23667 long_double_symbol only if __logbl is defined.
23668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23669 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23670 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23671 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23673 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23674 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23675 path for implementation.
23676 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23677 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23679 logb, and logbl multiarch implementations for PowerPC32.
23680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23685 multiarch logb for PowerPC32.
23686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23691 multiarch logbf for PowerPC32.
23692 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23696 multiarch logbl implementation for PowerPC32.
23698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23699 and modff multiarch implementations.
23700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23705 multiarch modf for PowerPC32.
23706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23711 multiarch modff for PowerPC32.
23713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23714 and lrintf multiarch implementations.
23715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23720 multiarch lrint for PowerPC32.
23721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23722 file: multiarch lrintf for PowerPC32.
23724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23725 and lroundf multiarch implementations.
23726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23733 multiarch lround for PowerPC32.
23734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23735 file: multiarch lroundf for PowerPC32.
23737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23738 copysign and copysignf multiarch implementations.
23739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23744 file: multiarch copysign for PowerPC32.
23745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23746 file: multiarch copysignf for PowerPC32.
23748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23749 and truncf multiarch implementations.
23750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23755 multiarch trunc for PowerPC32.
23756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23761 multiarch truncf for PowerPC32.
23763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23764 and roundf multiarch implementations.
23765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23770 multiarch round for PowerPC32.
23771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23776 multiarch roundf for PowerPC32.
23778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23779 and floorf multiarch implementations.
23780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23785 multiarch floor for PowerPC32.
23786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23791 multiarch floorf for PowerPC32.
23793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23794 and ceilf multiarch implementations.
23795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23800 multiarch ceil for PowerPC32.
23801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23806 multiarch ceilf for PowerPC32.
23808 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23810 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23811 FINITEF is defined.
23812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23813 and finitef multiarch implementations.
23814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23819 multiarch finite for PowerPC32.
23820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23823 file: multiarch finitef for PowerPC32.
23825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23826 and isinff multiarch implementations.
23827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23832 multiarch isinf for PowerPC32.
23833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23836 multiarch isinff for PowerPC32.
23838 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23839 alias when __isnan is defined.
23840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23841 and isnanf multiarch implementations.
23842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23851 multiarch isnan for PowerPC32.
23852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23857 multiarch isnanf for PowerPC32.
23859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23860 and sqrtf multiarch implementations.
23861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23866 multiarch sqrt for PowerPC32.
23867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23872 multiarch sqrtf for PowerPC32.
23874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23875 and llroundf multiarch implementations.
23876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23883 file: multiarch llround for PowerPC32.
23884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23885 file: multiarch llroundf for PowerPC32.
23887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23888 multiarch PowerPC32 fpu implementations.
23889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23894 multiarch llrint for PowerPC32.
23895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23904 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23906 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23908 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23910 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23911 multiarch wordcopy for PPC32.
23912 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23914 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23915 (__libc_ifunc_impl_list): Likewise.
23916 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23917 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23918 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23919 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23920 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23921 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23923 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23924 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23926 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23931 multiarch wcscpy for PPC32.
23932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23935 (__libc_ifunc_impl_list): Likewise.
23936 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23937 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23938 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23939 sysdeps/powerpc/power6/wcscpy.c.
23941 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23949 multiarch wcsrchr for PPC32.
23950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23953 (__libc_ifunc_impl_list): Likewise.
23954 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23955 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23956 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23957 sysdeps/powerpc/power6/wcsrchr.c.
23959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23965 multiarch wcschr for PPc32.
23966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23969 (__libc_ifunc_impl_list): Likewise.
23970 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23971 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23972 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23973 sysdeps/powerpc/power6/wcschr.c.
23975 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23976 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23978 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23979 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23980 file: multiarch strchr for PPC32.
23981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23984 (__libc_ifunc_impl_list): Likewise.
23986 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23988 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23990 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23992 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23993 multiarch strchrnul for PPC32.
23994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23997 (__libc_ifunc_impl_list): Likewise.
23999 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24001 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24002 multiarch strncasecmp for PPC32.
24003 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24005 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24006 multiarch strncasecmp_l for PPC32.
24007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24008 strncasecmp multiarch objects.
24009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24010 (__libc_ifunc_impl_list): Likewise.
24012 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24014 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24015 multiarch strncasecmp for PPC32.
24016 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24018 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24019 multiarch strcasecmp_l for PPC32.
24020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24023 (__libc_ifunc_impl_list): Likewise.
24025 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24027 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24029 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24030 multiarch strncmp for PPC32.
24031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24034 (__libc_ifunc_impl_list): Likewise.
24036 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24037 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24039 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24040 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24044 (__libc_ifunc_impl_list): Likewise.
24046 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24048 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24050 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24051 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24054 (__libc_ifunc_impl_list): Likewise.
24056 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24058 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24060 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24061 multiarch rawmemchr for PPC32.
24062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24065 (__libc_ifunc_impl_list): Likewise.
24067 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24069 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24071 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24072 file: memrchr multiarch for PPC32.
24073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24076 (__libc_ifunc_impl_list): Likewise.
24078 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24079 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24081 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24082 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24083 multiarch memchr for PPC32.
24084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24087 (__libc_ifunc_impl_list): Likewise.
24089 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24090 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24092 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24094 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24095 file: multiarch mempcpy for PPC32.
24096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24099 (__libc_ifunc_impl_list): Likewise.
24101 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24102 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24103 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24104 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24105 multiarch bzero for PPC32.
24106 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24108 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24110 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24111 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24112 file: multiarch memset for PPC32.
24113 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24115 memset multiarch objects.
24116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24117 (__libc_ifunc_impl_list): Likewise.
24119 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24121 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24122 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24124 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24128 (__libc_ifunc_impl_list): Likewise.
24130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24131 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24132 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24139 multiarch memcpy for PPC32.
24140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24143 (__libc_ifunc_impl_list): Likewise.
24145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24146 support multiarch for POWER/PPC32.
24147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24149 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24151 Implies file to make multiarch folder appers before the fpu and
24152 default folder for power4 configuration.
24154 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24156 * scripts/bench.pl: Append volatile keyword to type.
24158 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24160 * sysdeps/sh/sotruss-lib.c: New file.
24161 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24163 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24167 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24170 * math/w_tgamma.c: Include <errno.h>.
24171 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24172 * math/w_tgammaf.c: Include <errno.h>.
24173 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24174 * math/w_tgammal.c: Include <errno.h>.
24175 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24176 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24177 underflow. Add more tgamma tests.
24178 * math/auto-libm-test-out: Regenerated.
24179 * sysdeps/i386/fpu/libm-test-ulps: Update.
24180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24182 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24183 sin, sinh, tan, tanh, tgamma, y0 and y1.
24184 * math/auto-libm-test-out: Regenerated.
24185 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24186 (TEST_COND_x86): Likewise.
24187 (M_E2l): Remove macro.
24189 (M_2_SQRT_PIl): Likewise.
24190 (M_SQRT_PIl): Likewise.
24191 (M_1_DIV_El): Likewise.
24192 (log_test_data): Use AUTO_TESTS_f_f.
24193 (log10_test_data): Likewise.
24194 (log1p_test_data): Likewise.
24195 (log2_test_data): Likewise.
24196 (sin_test_data): Likewise.
24197 (sin_tonearest_test_data): Likewise.
24198 (sin_towardzero_test_data): Likewise.
24199 (sin_downward_test_data): Likewise.
24200 (sin_upward_test_data): Likewise.
24201 (sinh_test_data): Likewise.
24202 (sinh_tonearest_test_data): Likewise.
24203 (sinh_towardzero_test_data): Likewise.
24204 (sinh_downward_test_data): Likewise.
24205 (sinh_upward_test_data): Likewise.
24206 (tan_test_data): Likewise.
24207 (tan_tonearest_test_data): Likewise.
24208 (tan_towardzero_test_data): Likewise.
24209 (tan_downward_test_data): Likewise.
24210 (tan_upward_test_data): Likewise.
24211 (tanh_test_data): Likewise.
24212 (tgamma_test_data): Likewise.
24213 (y0_test_data): Likewise.
24214 (y1_test_data): Likewise.
24215 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24216 (special_real_inputs): Add pi/4.
24217 * sysdeps/i386/fpu/libm-test-ulps: Update.
24218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24220 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24222 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24223 "longjmp_target" static probes.
24224 (__longjmp): Rename to __longjmp_symbol.
24225 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24226 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24227 on which longjmp to generate.
24228 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24229 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24231 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24232 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24233 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24234 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24235 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24236 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24238 __longjmp_symbol based on which __longjmp to generate.
24239 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24241 (setjmp): Rename to setjmp_symbol.
24242 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24243 (_setjmp): Rename to _setjmp_symbol.
24244 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24245 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24246 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24247 which setjmp to generate.
24248 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24249 "longjmp_target" static probes.
24251 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24253 * benchtests/README: Add note about output arguments.
24254 * benchtests/bench-sincos.c: Remove file.
24255 * benchtests/sincos-inputs: New file.
24256 * scripts/bench.pl: Identify output arguments and define
24257 static variables for them.
24259 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24262 * Makefile (INSTALL): Add install-plain.texi as the primary
24264 * manual/install-plain.texi: New file.
24265 * manual/install.texi: Include node directive only for
24266 non-plaintext output.
24268 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24270 * stdlib/longlong.h: Update from GCC.
24274 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24275 * math/w_j0f.c (y0f): Likewise.
24276 * math/w_j0l.c (__y0l): Likewise.
24277 * math/w_j1.c (y1): Likewise.
24278 * math/w_j1f.c (y1f): Likewise.
24279 * math/w_j1l.c (__y1l): Likewise
24280 * math/w_jn.c (yn): Likewise.
24281 * math/w_jnf.c (ynf): Likewise.
24282 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24283 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24284 value for Bessel function domain errors outside _SVID_ mode.
24285 Adjust sign of return value for yn (negative integer, 0).
24286 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24287 by zero in return for negative x and set sign appropriately for
24289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24290 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24291 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24292 expectations in error cases.
24293 (y1_test_data): Likewise.
24294 (yn_test_data): Likewise.
24295 * sysdeps/i386/fpu/libm-test-ulps: Update.
24296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24298 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24300 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24301 "64" to "64-v1". Add "64-v2".
24302 (abi-64-options): Rename to ...
24303 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24304 (abi-64-condition): Rename to ...
24305 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24306 (abi-64-ld-soname): Rename to ...
24307 (abi-64-v1-ld-soname): ... this.
24308 (abi-64-v2-options): Define.
24309 (abi-64-v2-condition): Likewise.
24310 (abi-64-v2-ld-soname): Likewise.
24311 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24312 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24317 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24318 Alan Modra <amodra@gmail.com>
24320 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24321 New versions for use with the ELFv2 ABI.
24322 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24323 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24325 (struct La_ppc64v2_retval): Likewise.
24326 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24327 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24328 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24329 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24330 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24331 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24332 Do not save or restore CR.
24333 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24334 (_dl_profile_resolve): Do no save or restore CR. Support extended
24335 return values for ELFv2 ABI. Fix location of FPR return registers.
24336 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24337 updated values for _CALL_ELF == 2.
24338 (La_regs, La_retval, int_retval): Likewise.
24340 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24342 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24343 (FRAME_MIN_SIZE_PARM): Likewise.
24344 (FRAME_BACKCHAIN): Likewise.
24345 (FRAME_CR_SAVE): Likewise.
24346 (FRAME_LR_SAVE): Likewise.
24347 (FRAME_TOC_SAVE): Likewise.
24348 (FRAME_PARM_SAVE): Likewise.
24349 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24350 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24351 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24352 (call_mcount_parm_offset): New macro.
24353 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24354 (PROF): Use symbolic stack frame offsets.
24355 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24356 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24357 Redefine in terms of FRAME_MIN_SIZE.
24358 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24359 (_dl_profile_resolve): Likewise. Update comment.
24360 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24361 symbols stack frame offsets.
24362 (__sigsetjmp): Likewise.
24363 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24364 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24365 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24366 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24369 (FRAME_BACKCHAIN): Remove.
24370 (FRAME_CR_SAVE): Likewise.
24371 (FRAME_LR_SAVE): Likewise.
24372 (FRAME_COMPILER_DW): Likewise.
24373 (FRAME_LINKER_DW): Likewise.
24374 (FRAME_TOC_SAVE): Likewise.
24375 (FRAME_PARM_SAVE): Likewise.
24376 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24377 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24378 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24380 (CHECK_SP): Use symbolic stack frame offsets.
24381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24382 zone" instead of caller's parameter save area for temp storage.
24383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24384 Likewise. Also, use symbolic stack frame offsets.
24385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24386 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24387 our own stack frame instead of the caller's.
24388 (__socket): Use symbolic stack frame offsets.
24390 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24391 Alan Modra <amodra@gmail.com>
24393 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24395 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24396 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24397 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24399 (elf_machine_fixup_plt): Call it.
24400 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24402 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24403 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24404 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24405 r2 before calling target.
24407 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24408 Alan Modra <amodra@gmail.com>
24410 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24411 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24412 versions of macros to support ELFv2 ABI.
24413 (LOCALENTRY): New macro.
24414 (ENTRY, EALIGN): Use it.
24415 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24416 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24417 fall through into ENTRY entry point.
24418 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24419 Only define if _CALL_ELF != 2.
24421 (elf_machine_matches_host): Verify ABI version matches.
24422 (RTLD_START): Use LOCALENTRY.
24423 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24424 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24425 (PLT_ENTRY_WORDS): New macro.
24426 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24427 (elf_machine_runtime_setup): Support ELFv2 ABI.
24428 (elf_machine_fixup_plt): Likewise.
24429 (elf_machine_plt_conflict): Likewise.
24430 (resolve_ifunc): Likewise.
24431 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24435 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24437 (makecontext): Support ELFv2 ABI.
24438 * elf/elf.h (EF_PPC64_ABI): Define.
24440 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24442 * sysdeps/powerpc/powerpc64/sysdep.h
24443 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24444 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24445 (ENTRY) [ASSEMBLER]: ... but instead here ...
24446 (EALIGN) [ASSEMBLER]: ... and here.
24447 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24448 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24449 (ENTRY_2) [!ASSEMBLER]: Use it.
24450 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24451 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24452 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24453 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24454 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24456 Use PPC64_LOAD_FUNCPTR.
24458 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24460 2013-12-04 Alan Modra <amodra@gmail.com>
24462 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24463 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24464 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24465 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24468 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24469 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24470 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24471 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24472 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24474 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24477 (__makecontext): Fix incorrect CFI when backtracing out of
24478 context created via makecontext.
24479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24480 (__setcontext): Fix incorrect CFI during switch to new context.
24481 (__novec_setcontext): Likewise.
24483 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24486 * time/strptime_l.c (__strptime_internal): Allow modifiers
24488 * time/tst-strptime.c (day_tests): Add testcase.
24490 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24492 * scripts/bench.pl: Skip over blank lines.
24494 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24497 * manual/time.texi (Calendar Time): Clarify what timezone functions
24500 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24504 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24506 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24508 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24509 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24510 * debug/memset_chk.c (__memset_chk): Likewise.
24511 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24512 * debug/strncpy_chk.c: Likewise.
24514 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24518 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24519 (__ieee754_exp): For possibly underflowing results, check size of
24520 result and force underflow exception if required.
24521 * math/auto-libm-test-in: Add more tests of exp.
24522 * math/auto-libm-test-out: Regenerated.
24523 * sysdeps/i386/fpu/libm-test-ulps: Update.
24524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24527 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24528 * math/w_exp2f.c (__exp2f): Likewise.
24529 * math/w_exp2l.c (__exp2l): Likewise.
24530 * math/auto-libm-test-in: Do not allow missing errno on exp2
24532 * math/auto-libm-test-out: Regenerated.
24534 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24537 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24538 handle filename validation.
24539 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24542 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24545 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24546 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24547 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24549 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24550 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24551 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24553 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24554 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24555 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24556 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24557 Add more erfc tests.
24558 * math/auto-libm-test-out: Regenerated.
24559 * sysdeps/i386/fpu/libm-test-ulps: Update.
24560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24562 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24563 exp2, expm1, j0 and j1.
24564 * math/auto-libm-test-out: Regenerated.
24565 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24566 (erfc_test_data): Likewise.
24567 (exp_test_data): Likewise.
24568 (exp_tonearest_test_data): Likewise.
24569 (exp_towardzero_test_data): Likewise.
24570 (exp_downward_test_data): Likewise.
24571 (exp_upward_test_data): Likewise.
24572 (exp10_test_data): Likewise.
24573 (exp2_test_data): Likewise.
24574 (expm1_test_data): Likewise.
24575 (j0_test_data): Likewise.
24576 (j1_test_data): Likewise.
24577 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24578 (input_flag_type): Add flag_xfail_rounding.
24579 (input_flags): Add xfail-rounding.
24580 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24581 (output_for_one_input_case): Handle flag_xfail_rounding.
24582 * sysdeps/i386/fpu/libm-test-ulps: Update.
24583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24585 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24588 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24591 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24594 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24595 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24596 (STAP_PROBE0): New macro.
24597 (STAP_PROBE1): Likewise.
24598 (STAP_PROBE2): Likewise.
24599 (STAP_PROBE3): Likewise.
24600 (STAP_PROBE4): Likewise.
24602 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24604 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24606 2013-12-02 Steve Ellcey <sellcey@mips.com>
24608 * benchtests/Makefile (bench): Add sqrt.
24609 (LDLIBS-bench-sqrt): New.
24610 * benchtests/sqrt-input: New.
24612 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24614 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24615 (GAIH_EAI): Likewise.
24616 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24617 (gaih_inet): Likewise.
24618 (getaddrinfo): Don't use GAIH_EAI.
24620 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24621 (struct gaih): Remove definition.
24623 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24625 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24626 Use HERRNOP directly.
24628 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24632 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24634 * math/gen-auto-libm-tests.c (test_functions): Add more
24635 single-argument functions.
24636 (special_fill_pi_2): New function.
24637 (special_fill_minus_pi_2): Likewise.
24638 (special_fill_pi_6): Likewise.
24639 (special_fill_minus_pi_6): Likewise.
24640 (special_fill_pi_3): Likewise.
24641 (special_fill_2pi_3): Likewise.
24642 (special_fill_e): Likewise.
24643 (special_fill_1_e): Likewise.
24644 (special_fill_e_minus_1): Likewise.
24645 (special_real_inputs): Add more special inputs.
24646 (output_for_one_input_case): Do not require ERANGE on underflow to
24647 zero if round-to-nearest result does not underflow to zero, unless
24648 exact results required.
24649 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24650 atan, atanh, cbrt, cos and cosh.
24651 * math/auto-libm-test-out: Regenerated.
24652 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24653 (acos_tonearest_test_data): Likewise.
24654 (acos_towardzero_test_data): Likewise.
24655 (acos_downward_test_data): Likewise.
24656 (acos_upward_test_data): Likewise.
24657 (acosh_test_data): Likewise.
24658 (asin_test_data): Likewise.
24659 (asin_tonearest_test_data): Likewise.
24660 (asin_towardzero_test_data): Likewise.
24661 (asin_upward_test_data): Likewise.
24662 (asinh_test_data): Likewise.
24663 (atan_test_data): Likewise.
24664 (atanh_test_data): Likewise.
24665 (cbrt_test_data): Likewise.
24666 (cos_test_data): Likewise.
24667 (cos_tonearest_test_data): Likewise.
24668 (cos_towardzero_test_data): Likewise.
24669 (cos_downward_test_data): Likewise.
24670 (cos_upward_test_data): Likewise.
24671 (cosh_test_data): Likewise.
24672 (cosh_tonearest_test_data): Likewise.
24673 (cosh_towardzero_test_data): Likewise.
24674 (cosh_downward_test_data): Likewise.
24675 (cosh_upward_test_data): Likewise.
24676 * sysdeps/i386/fpu/libm-test-ulps: Update.
24677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24679 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24682 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24683 * math/w_exp10f.c (__exp10f): Likewise.
24684 * math/w_exp10l.c (__exp10l): Likewise.
24685 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24686 errno settings in existing tests.
24689 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24690 precision control set to double precision.
24691 * sysdeps/i386/fpu/w_sqrt.c: New file.
24692 * math/auto-libm-test-in: Add more tests.
24693 * math/auto-libm-test-out: Update.
24695 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24696 (sqrt_test_tonearest): New function.
24697 (sqrt_towardzero_test_data): New variable.
24698 (sqrt_test_towardzero): New function.
24699 (sqrt_downward_test_data): New variable.
24700 (sqrt_test_downward): New function.
24701 (sqrt_upward_test_data): New variable.
24702 (sqrt_test_upward): New function.
24703 (main): Call the new functions.
24705 * math/gen-auto-libm-tests.c: New file.
24706 * math/auto-libm-test-in: Likewise.
24707 * math/auto-libm-test-out: New generated file.
24708 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24710 (%beautify): Add generated representations of zero.
24711 (top level): Set $auto_input and call parse_auto_input.
24712 (beautify): Remove trailing "f" from hex float constants.
24713 (parse_args): Handle XFAIL_TEST.
24714 (convert_condition): New function.
24715 (or_value): Likewise.
24716 (or_cond_value): Likewise.
24717 (generate_testfile): Handle AUTO_TESTS_* lines.
24718 (parse_auto_input): New function.
24719 * math/libm-test.inc (XFAIL_TEST): New macro.
24720 (ERRNO_UNCHANGED): Update value.
24721 (ERRNO_EDOM): Likewise.
24722 (ERRNO_ERANGE): Likewise.
24723 (IGNORE_RESULT): Likewise.
24724 (TEST_COND_flt_32): New macro.
24725 (TEST_COND_dbl_64): Likewise.
24726 (TEST_COND_ldbl_96_intel): Likewise.
24727 (TEST_COND_ldbl_96_m68k): Likewise.
24728 (TEST_COND_ldbl_128): Likewise.
24729 (TEST_COND_ldbl_128ibm): Likewise.
24730 (TEST_COND_long32): Likewise.
24731 (TEST_COND_long64): Likewise.
24732 (TEST_COND_before_rounding): Likewise.
24733 (TEST_COND_after_rounding): Likewise.
24734 (enable_test): Handle XFAIL_TEST flag.
24735 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24736 with finite results.
24737 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24738 auto-libm-test-out.
24740 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24741 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24744 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24745 __tls_get_addr_internal instead of __tls_get_offset in order to
24746 avoid GOT pointer dependency. Make rtld export
24747 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24748 __tls_get_addr since we are a __tls_get_offset platform.
24749 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24750 GOT pointer being set up before.
24751 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24753 2013-11-28 Joseph Myers <joseph@codesourcery.com>
24755 * manual/math.texi (Errors in Math Functions): Document accuracy
24759 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24760 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24761 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24763 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24764 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24765 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24766 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24767 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24769 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24770 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24772 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24774 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24776 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24777 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24778 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24779 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24780 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24782 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24784 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24786 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24787 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24788 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24789 atomic-feupdateenv and flt-rounds.
24790 * sysdeps/powerpc/nofpu/Versions (libc): Add
24791 __atomic_feholdexcept, __atomic_feclearexcept,
24792 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24793 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24794 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24795 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24796 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24801 * manual/arith.texi (FP Exceptions): Document that exceptions may
24802 not be raised when matherr is used.
24803 (Math Error Reporting): Document overflow in directed rounding
24804 modes. Document that errno may not be set when finite values are
24805 returned on overflow. Document intent to set errno on underflow
24806 only for underflow to zero.
24809 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24810 round-to-nearest then adjust result for other rounding modes.
24811 * include/fenv.h (fegetround): Use libm_hidden_proto.
24812 * math/fegetround.c (fegetround): Use libm_hidden_def.
24813 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24814 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24815 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24816 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24818 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24819 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24820 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24821 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24823 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24826 * nss/Versions (libnss_files): Add
24827 _nss_files_gethostbyname3_r.
24828 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24830 (HOST_DB_LOOKUP): Remove macro.
24831 (_nss_files_gethostbyname_r): Implement function without the
24832 HOST_DB_LOOKUP macro.
24833 (_nss_files_gethostbyname2_r): Likewise.
24835 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
24837 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24839 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
24841 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24842 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24845 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24847 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24848 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24849 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24850 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24851 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24852 __fe_nomask_env_priv and attribute_hidden.
24853 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24854 (libc_feupdateenv_test_ppc): Likewise.
24855 (libc_feresetround_ppc): Likewise.
24856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24857 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24858 compat_symbol macro.
24859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24860 (__fe_nomask_env): Likewise.
24861 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24863 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24865 * string/Makefile: Remove ifunc tests.
24866 * string/test-string.h: Define TEST_IFUNC.
24867 * string/test-bcopy-ifunc.c: Remove.
24868 * string/test-bzero-ifunc.c: Likewise.
24869 * string/test-memccpy-ifunc.c: Likewise.
24870 * string/test-memchr-ifunc.c: Likewise.
24871 * string/test-memcmp-ifunc.c: Likewise.
24872 * string/test-memcpy-ifunc.c: Likewise.
24873 * string/test-memmem-ifunc.c: Likewise.
24874 * string/test-memmove-ifunc.c: Likewise.
24875 * string/test-mempcpy-ifunc.c: Likewise.
24876 * string/test-memrchr-ifunc.c: Likewise.
24877 * string/test-memset-ifunc.c: Likewise.
24878 * string/test-rawmemchr-ifunc.c: Likewise.
24879 * string/test-stpcpy-ifunc.c: Likewise.
24880 * string/test-stpncpy-ifunc.c: Likewise.
24881 * string/test-strcasecmp-ifunc.c: Likewise.
24882 * string/test-strcasestr-ifunc.c: Likewise.
24883 * string/test-strcat-ifunc.c: Likewise.
24884 * string/test-strchr-ifunc.c: Likewise.
24885 * string/test-strchrnul-ifunc.c: Likewise.
24886 * string/test-strcmp-ifunc.c: Likewise.
24887 * string/test-strcpy-ifunc.c: Likewise.
24888 * string/test-strcspn-ifunc.c: Likewise.
24889 * string/test-strlen-ifunc.c: Likewise.
24890 * string/test-strncasecmp-ifunc.c: Likewise.
24891 * string/test-strncat-ifunc.c: Likewise.
24892 * string/test-strncmp-ifunc.c: Likewise.
24893 * string/test-strncpy-ifunc.c: Likewise.
24894 * string/test-strnlen-ifunc.c: Likewise.
24895 * string/test-strpbrk-ifunc.c: Likewise.
24896 * string/test-strrchr-ifunc.c: Likewise.
24897 * string/test-strspn-ifunc.c: Likewise.
24898 * string/test-strstr-ifunc.c: Likewise.
24900 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24902 * benchtests/Makefile: Remove ifunc tests.
24903 * benchtests/bench-string.h: Define TEST_IFUNC.
24904 * benchtests/bench-bcopy-ifunc.c: Remove.
24905 * benchtests/bench-bzero-ifunc.c: Likewise.
24906 * benchtests/bench-memccpy-ifunc.c: Likewise.
24907 * benchtests/bench-memchr-ifunc.c: Likewise.
24908 * benchtests/bench-memcmp-ifunc.c: Likewise.
24909 * benchtests/bench-memcpy-ifunc.c: Likewise.
24910 * benchtests/bench-memmem-ifunc.c: Likewise.
24911 * benchtests/bench-memmove-ifunc.c: Likewise.
24912 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24913 * benchtests/bench-memrchr-ifunc.c: Likewise.
24914 * benchtests/bench-memset-ifunc.c: Likewise.
24915 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24916 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24917 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24918 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24919 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24920 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24921 * benchtests/bench-strcat-ifunc.c: Likewise.
24922 * benchtests/bench-strchr-ifunc.c: Likewise.
24923 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24924 * benchtests/bench-strcmp-ifunc.c: Likewise.
24925 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24926 * benchtests/bench-strcpy-ifunc.c: Likewise.
24927 * benchtests/bench-strcspn-ifunc.c: Likewise.
24928 * benchtests/bench-strlen-ifunc.c: Likewise.
24929 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24930 * benchtests/bench-strncat-ifunc.c: Likewise.
24931 * benchtests/bench-strncmp-ifunc.c: Likewise.
24932 * benchtests/bench-strncpy-ifunc.c: Likewise.
24933 * benchtests/bench-strnlen-ifunc.c: Likewise.
24934 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24935 * benchtests/bench-strrchr-ifunc.c: Likewise.
24936 * benchtests/bench-strsep-ifunc.c: Likewise.
24937 * benchtests/bench-strspn-ifunc.c: Likewise.
24938 * benchtests/bench-strstr-ifunc.c: Likewise.
24940 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24942 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24944 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24946 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24947 * rt/aio.h: Likewise.
24948 * sysdeps/gnu/bits/utmp.h: Likewise.
24949 * sysdeps/gnu/bits/utmpx.h: Likewise.
24950 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24951 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24952 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24953 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24954 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24955 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24956 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24957 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24958 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24959 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24960 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24961 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24962 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24964 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24965 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24966 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24967 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24968 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24969 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24970 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24971 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24972 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24973 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24974 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24976 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24977 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24978 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24979 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24980 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24981 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24982 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24983 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24984 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24985 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24986 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24987 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24988 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24989 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24990 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24991 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24993 2013-11-25 Carlos O'Donell <carlos@redhat.com>
24996 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24997 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24999 2013-11-25 Joseph Myers <joseph@codesourcery.com>
25001 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25002 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25005 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25007 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25008 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25009 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25010 (__fesetround): Remove define.
25011 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25012 rounding and exceptions handling.
25013 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25014 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25015 (__fe_nomask_env): Likewise.
25016 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25017 __fegetround instead of fegetround.
25018 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25019 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25021 2013-11-21 Roland McGrath <roland@hack.frob.com>
25023 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25026 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25028 2013-11-21 Meador Inge <meadori@codesourcery.com>
25031 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25032 (encrypt_r): Likewise.
25033 * malloc/obstack.h (obstack_free): Likewise.
25034 * posix/unistd.h (encrypt): Likewise.
25036 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
25038 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25039 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25040 DL_CALL_DT_FINI() that call the functions directly.
25041 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25042 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25043 * elf/dl-fini.c: Likewise.
25045 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25047 * malloc/hooks.c (memalign_check): Add alignment rounding.
25048 * malloc/malloc.c (_mid_memalign): New function.
25049 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25050 Implement by calling _mid_memalign.
25051 * manual/probes.texi (Memory Allocation Probes): Remove
25052 memory_valloc_retry and memory_pvalloc_retry.
25054 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25056 * locale/programs/locarchive.c (open_archive): Add const
25057 qualifier to ARCHIVEFNAME and copy default fname to
25061 * libio/tst-widetext.input: Rename Oriya to Odia.
25062 * locale/iso-639.def: Likewise.
25064 * manual/probes.texi (Mathematical Function Probes): Add
25065 documentation for sin, cos, asin and acos probes.
25066 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25067 (__sin32): Add slowasin probe.
25068 (__cos32): Add slowacos probe.
25069 (__mpsin): Add slowsin probe.
25070 (__mpcos): Add slowcos probe.
25072 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25075 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25076 thread-local __sim_exceptions_thread and global
25077 __sim_exceptions_global.
25078 (__sim_disabled_exceptions): Change to thread-local
25079 __sim_disabled_exceptions_thread and global
25080 __sim_disabled_exceptions_global.
25081 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25082 and global __sim_round_mode_global.
25083 (__simulate_exceptions): Use thread-local floating-point state and
25084 set global state from it as needed.
25085 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25086 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25087 __sim_round_mode_thread.
25088 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25089 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25090 and global __sim_exceptions_global.
25091 (__sim_disabled_exceptions): Change to thread-local
25092 __sim_disabled_exceptions_thread and global
25093 __sim_disabled_exceptions_global.
25094 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25095 and global __sim_round_mode_global.
25096 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25097 (SIM_SET_GLOBAL): Likewise.
25098 * sysdeps/powerpc/soft-fp/sfp-machine.h
25099 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25100 __sim_round_mode_thread.
25101 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25102 __sim_disabled_exceptions_thread.
25103 (__sim_exceptions): Change to __sim_exceptions_thread.
25104 (__sim_disabled_exceptions): Change to
25105 __sim_disabled_exceptions_thread.
25106 (__sim_round_mode): Change to __sim_round_mode_thread.
25107 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25108 thread-local floating-point state and set global state from it as
25110 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25111 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25112 (__sim_disabled_exceptions): Remove extern declaration.
25113 (feenableexcept): Use thread-local floating-point state and set
25114 global state from it as needed.
25115 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25116 extern declaration.
25117 (__sim_disabled_exceptions): Likewise.
25118 (__sim_round_mode): Likewise.
25119 (__fegetenv): Use thread-local floating-point state.
25120 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25121 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25122 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25123 floating-point state and set global state from it as needed.
25124 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25125 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25126 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25128 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25129 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25131 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25132 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25133 Use __sim_round_mode_thread.
25134 * math/test-fenv-tls.c: New file.
25135 * math/Makefile (tests): Add test-fenv-tls.
25136 ($(objpfx)test-fenv-tls): Depend on
25137 $(common-objpfx)nptl/libpthread.so.
25139 2013-11-19 Andreas Schwab <schwab@suse.de>
25141 * locale/programs/locale.c (show_info): Decode wordarray elements.
25142 * locale/categories.def (LC_MONETARY): Add element for
25143 _NL_MONETARY_CRNCYSTR.
25144 * locale/C-monetary.c (conversion_rate): New variable.
25145 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25148 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25150 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25151 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25153 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25155 * elf/Makefile (tst-auxv): New test.
25156 * elf/tst-auxv.c: New
25157 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25159 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25161 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25162 (hidden_proto): Caller changed.
25163 (hidden_tls_proto): New macro.
25164 (libc_hidden_tls_proto): Likewise.
25165 (rtld_hidden_tls_proto): Likewise.
25166 (libm_hidden_tls_proto): Likewise.
25167 (libresolv_hidden_tls_proto): Likewise.
25168 (librt_hidden_tls_proto): Likewise.
25169 (libdl_hidden_tls_proto): Likewise.
25170 (libnss_files_hidden_tls_proto): Likewise.
25171 (libnsl_hidden_tls_proto): Likewise.
25172 (libnss_nisplus_hidden_tls_proto): Likewise.
25173 (libutil_hidden_tls_proto): Likewise.
25175 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25178 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25179 (decompose_rpath): Defer expansion to fillin_rpath.
25180 (_dl_init_paths): Pass linkmap to fillin_rpath.
25182 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25184 * benchtests/Makefile: Add strsep.
25185 * benchtests/bench-strsep.c: New file: strsep benchtest.
25186 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25188 2013-11-18 Andreas Schwab <schwab@suse.de>
25190 * locale/programs/locale.c (show_info) [case byte]: Check for
25191 '\377' instead of '\177'.
25192 * locale/C-monetary.c (not_available): Always use "\377".
25193 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25194 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25195 detect unavailable sign_posn locale elements.
25196 * locale/localeconv.c (__localeconv): For grouping and
25197 mon_grouping handle "\177" and "\377" like no grouping.
25198 (INT_ELEM): New macro. Use it to set all numeric members.
25199 * locale/programs/ld-monetary.c (monetary_read)
25200 <tok_mon_grouping>: Normalize single -1 to the empty string.
25201 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25204 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25207 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25208 when we match (nil).
25209 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25211 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25213 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25214 (NO_TEST_INLINE): Update value.
25215 (ERRNO_UNCHANGED): Likewise.
25216 (ERRNO_EDOM): Likewise.
25217 (ERRNO_ERANGE): Likewise.
25218 (IGNORE_RESULT): Likewise.
25219 (check_float_internal): Check signs of NaN results if
25220 TEST_NAN_SIGN used.
25221 (check_complex): Pass TEST_NAN_SIGN flag through to second
25222 check_float_internal call.
25223 (copysign_test_data): Add tests with quiet NaNs as second
25224 argument. Use TEST_NAN_SIGN.
25225 (fabs_test_data): Add test of negative quiet NaN argument. Use
25227 (signbit_test_data): Add tests of quiet NaN argument.
25228 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25230 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25232 (parse_args): Handle function results specified as IGNORE.
25233 * math/libm-test.inc (IGNORE_RESULT): New macro.
25234 (check_float_internal): Do not check numerical result if flag
25236 (check_complex): Pass through IGNORE_RESULT to second
25237 check_float_internal call.
25238 (check_int): Do not check numerical result if flag IGNORE_RESULT
25240 (check_long): Likewise.
25241 (check_bool): Likewise.
25242 (check_longlong): Likewise.
25243 (lrint_test_data): Add tests of infinite and NaN arguments.
25244 (lrint_tonearest_test_data): Likewise.
25245 (lrint_towardzero_test_data): Likewise.
25246 (lrint_downward_test_data): Likewise.
25247 (lrint_upward_test_data): Likewise.
25248 (llrint_test_data): Likewise.
25249 (llrint_tonearest_test_data): Likewise.
25250 (llrint_towardzero_test_data): Likewise.
25251 (llrint_downward_test_data): Likewise.
25252 (llrint_upward_test_data): Likewise.
25253 (lround_test_data): Likewise.
25254 (llround_test_data): Likewise.
25256 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25257 (ERRNO_UNCHANGED): Update value.
25258 (ERRNO_EDOM): Likewise.
25259 (ERRNO_ERANGE): Likewise.
25260 (NO_TEST_INLINE_FLOAT): New macro.
25261 (NO_TEST_INLINE_DOUBLE): Likewise.
25262 (enable_test): New function.
25263 (RUN_TEST_f_f): Check enable_test before running test.
25264 (RUN_TEST_2_f): Likewise.
25265 (RUN_TEST_fff_f): Likewise.
25266 (RUN_TEST_c_f): Likewise.
25267 (RUN_TEST_f_f1): Likewise.
25268 (RUN_TEST_fF_f1): Likewise.
25269 (RUN_TEST_fI_f1): Likewise.
25270 (RUN_TEST_ffI_f1): Likewise.
25271 (RUN_TEST_c_c): Likewise.
25272 (RUN_TEST_cc_c): Likewise.
25273 (RUN_TEST_f_i): Likewise.
25274 (RUN_TEST_f_i_tg): Likewise.
25275 (RUN_TEST_ff_i_tg): Likewise.
25276 (RUN_TEST_f_b): Likewise.
25277 (RUN_TEST_f_b_tg): Likewise.
25278 (RUN_TEST_f_l): Likewise.
25279 (RUN_TEST_f_L): Likewise.
25280 (RUN_TEST_fFF_11): Likewise.
25281 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25283 (cosh_test_data): Likewise.
25284 (exp_test_data): Likewise.
25285 (expm1_test_data): Likewise.
25286 (hypot_test_data): Likewise.
25287 (pow_test_data): Likewise.
25288 (sinh_test_data): Likewise.
25289 (tanh_test_data): Likewise.
25290 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25293 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25294 tests with quiet NaN input and output.
25295 (acosh_test_data): Likewise.
25296 (asin_test_data): Likewise.
25297 (asinh_test_data): Likewise.
25298 (atan_test_data): Likewise.
25299 (atanh_test_data): Likewise.
25300 (atan2_test_data): Likewise.
25301 (cbrt_test_data): Likewise.
25302 (cos_test_data): Likewise.
25303 (cosh_test_data): Likewise.
25304 (erf_test_data): Likewise.
25305 (erfc_test_data): Likewise.
25306 (exp_test_data): Likewise.
25307 (exp10_test_data): Likewise.
25308 (exp2_test_data): Likewise.
25309 (expm1_test_data): Likewise.
25310 (hypot_test_data): Likewise.
25311 (j0_test_data): Likewise.
25312 (j1_test_data): Likewise.
25313 (jn_test_data): Likewise.
25314 (lgamma_test_data): Likewise.
25315 (log_test_data): Likewise.
25316 (log10_test_data): Likewise.
25317 (log1p_test_data): Likewise.
25318 (log2_test_data): Likewise.
25319 (pow_test_data): Likewise.
25320 (scalb_test_data): Likewise.
25321 (sin_test_data): Likewise.
25322 (sincos_test_data): Likewise.
25323 (sinh_test_data): Likewise.
25324 (tan_test_data): Likewise.
25325 (tanh_test_data): Likewise.
25326 (tgamma_test_data): Likewise.
25327 (y0_test_data): Likewise.
25328 (y1_test_data): Likewise.
25329 (yn_test_data): Likewise.
25332 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25333 argument being NaN and avoid computations with second argument in
25335 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25336 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25337 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25339 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25341 * locale/iso-639.def: Add Chitwani Tharu (the).
25343 2013-11-14 Andreas Schwab <schwab@suse.de>
25345 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25346 word instead of empty string.
25348 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25351 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25353 (__fe_nomask_env): Likewise.
25355 2013-11-13 Steve Ellcey <sellcey@mips.com>
25357 * benchtests/bench-timing.h: Include time.h.
25359 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25362 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25364 * sysdeps/unix/sysv/linux/configure: Regenerated.
25366 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25369 * stdlib/strtod_l.c (round_and_return): Do not consider
25370 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25371 exponent one less than half the least subnormal exponent.
25372 * stdlib/test-strtod-round-data: Add more tests.
25373 * stdlib/tst-strtod-round.c (tests): Regenerated.
25375 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25378 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25379 (__fe_mask_env): Likewise.
25380 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25381 libm_hidden_proto and add function prototype.
25382 (__fe_mask_env): Add function prototype.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25384 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25386 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25388 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25390 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25392 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25393 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25395 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25397 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25398 of htab_find_slot().
25400 2013-11-11 David S. Miller <davem@davemloft.net>
25403 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25404 symbol in the non-vis3 case in static builds.
25405 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25406 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25407 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25408 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25410 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25413 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25416 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25418 * benchtests/Makefile: Add bench-strtod.
25419 * benchtests/bench-strtod.c: New file: strtod benchtest
25421 2013-11-11 Andreas Schwab <schwab@suse.de>
25424 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25425 terminating NUL in key length.
25427 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25429 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25430 Add artificial ODP entry for vDSO symbol for PPC64.
25431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25432 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25434 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25437 * nss/getent.c (services_keys): Recognize services starting with digit.
25439 2013-11-06 David S. Miller <davem@davemloft.net>
25442 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25443 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25445 2013-11-06 Will Newton <will.newton@linaro.org>
25447 * manual/memory.texi (Malloc Examples): Remove register
25448 keyword from examples.
25450 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25452 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25454 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25457 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25458 depending on [__GCC_IEC_559 > 0].
25459 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25460 depending on [__GCC_IEC_559_COMPLEX > 0].
25462 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25464 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25467 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25469 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25471 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25474 * malloc/malloc (malloc_info): Do not handle first bin as
25477 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25479 * locale/iso-639.def: Add Central Nahuatl (nhn).
25481 2013-11-01 Bruno Haible <bruno@clisp.org>
25484 * manual/math.texi (BSD Random): Specify range upper bound as
25487 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25489 * locale/iso-639.def: Add Meadow Mari (mhr).
25491 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25493 [BZ #14752], [BZ #15763]
25494 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25496 * rt/tst_shm.c: Add test for escaping directory.
25498 2013-10-31 Andreas Schwab <schwab@suse.de>
25501 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25502 followed by 'x' as part of digit sequence.
25503 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25505 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25508 * configure.ac: allow GNU Make 4.0 and greater.
25509 * configure: Regenerated.
25511 2013-10-30 Will Newton <will.newton@linaro.org>
25514 * malloc/hooks.c (memalign_check): Limit alignment to the
25515 maximum representable power of two.
25516 * malloc/malloc.c (__libc_memalign): Likewise.
25517 * malloc/tst-memalign.c (do_test): Add test for very
25518 large alignment values.
25519 * malloc/tst-posix_memalign.c (do_test): Likewise.
25521 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25524 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25525 (munmap_chunk): Likewise.
25526 (mremap_chunk): Likewise.
25528 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25531 * stdlib/div.c (div): Remove obsolete code.
25532 * stdlib/ldiv.c (ldiv): Likewise.
25533 * stdlib/lldiv.c (lldiv): Likewise.
25535 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25538 * nss/nss_files/files-XXX.c (get_contents_ret): New
25540 (get_contents): New function.
25541 (internal_getent): Use it. Expand size of LINEBUFLEN.
25543 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25545 * configure.in: Moved to ...
25546 * configure.ac: ... here. Change reference to configure.in
25548 * sysdeps/arm/preconfigure.ac: ... here.
25549 configure.in to configure.ac.
25550 * sysdeps/gnu/configure.in: Moved to ...
25551 * sysdeps/gnu/configure.ac: ... here.
25552 * sysdeps/i386/configure.in: Moved to ...
25553 * sysdeps/i386/configure.ac: ... here.
25554 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25555 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25556 * sysdeps/mach/configure.in: Moved to ...
25557 * sysdeps/mach/configure.ac: ... here.
25558 * sysdeps/mach/hurd/configure.in: Moved to ...
25559 * sysdeps/mach/hurd/configure.ac: ... here.
25560 * sysdeps/powerpc/configure.in: Moved to ...
25561 * sysdeps/powerpc/configure.ac: ... here.
25562 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25563 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25564 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25565 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25566 * sysdeps/s390/s390-32/configure.in: Moved to ...
25567 * sysdeps/s390/s390-32/configure.ac: ... here.
25568 * sysdeps/s390/s390-64/configure.in: Moved to ...
25569 * sysdeps/s390/s390-64/configure.ac: ... here.
25570 * sysdeps/sh/configure.in: Moved to ...
25571 * sysdeps/sh/configure.ac: ... here.
25572 * sysdeps/sparc/configure.in: Moved to ...
25573 * sysdeps/sparc/configure.ac: ... here.
25574 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25575 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25576 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25577 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25578 * sysdeps/x86_64/configure.in: Moved to ...
25579 * sysdeps/x86_64/configure.ac: ... here.
25580 * sysdeps/x86_64/preconfigure.in: Moved to ...
25581 * sysdeps/x86_64/preconfigure.ac: ... here.
25582 * aclocal.m4: Change reference to configure.in to configure.ac.
25583 * config.h.in: Likewise.
25584 * manual/install.texi: Likewise.
25585 * manual/maint.texi: Likewise.
25586 * Makefile: Likewise.
25587 * malloc/Makefile: Likewise.
25588 * nscd/Makefile: Likewise.
25589 * Makeconfig: Change reference to configure.in and
25590 preconfigure.in to configure.ac and preconfigure.ac
25592 * INSTALL: Regenerated.
25593 * configure: Likewise.
25594 * sysdeps/gnu/configure: Likewise.
25595 * sysdeps/i386/configure: Likewise.
25596 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25597 * sysdeps/mach/configure: Likewise.
25598 * sysdeps/mach/hurd/configure: Likewise.
25599 * sysdeps/powerpc/configure: Likewise.
25600 * sysdeps/powerpc/powerpc32/configure: Likewise.
25601 * sysdeps/powerpc/powerpc64/configure: Likewise.
25602 * sysdeps/s390/s390-32/configure: Likewise.
25603 * sysdeps/s390/s390-64/configure: Likewise.
25604 * sysdeps/sh/configure: Likewise.
25605 * sysdeps/sparc/configure: Likewise.
25606 * sysdeps/unix/sysv/linux/configure: Likewise.
25607 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25608 * sysdeps/x86_64/configure: Likewise.
25609 * sysdeps/x86_64/preconfigure: Likewise.
25611 2013-10-29 Andreas Schwab <schwab@suse.de>
25613 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25615 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25617 * benchtests/pow-inputs: Add new inputs.
25619 * benchtests/exp-inputs: Add new inputs.
25621 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25622 conditional check for return value.
25623 (__cos32): Likewise.
25625 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25627 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25628 to provide a boost for large inputs with word alignment.
25629 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25630 implementation based on optimized PPC64 strcpy.
25631 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25632 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25633 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25634 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25636 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25639 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25641 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25644 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25645 * time/tst-strptime.c (day_tests): Add testcase.
25647 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25650 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25652 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25655 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25656 MAP_FAILED on error.
25658 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25661 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25662 heap for large requests.
25664 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25667 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25668 result if the result has no associated interface.
25669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25670 interface for all 127.X.Y.Z addresses.
25672 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25674 * locale/iso-639.def: Add Ligurian (lij)
25676 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25679 * sunrpc/rpc_main.c: Document rpcgen -5.
25681 2013-10-19 Michael Stahl <mstahl@redhat.com>
25683 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25685 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25688 * posix/glob.c: Match only directories when trailing slash is present.
25689 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25690 (main): Add testcase.
25692 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25695 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25697 2013-10-18 Carlos O'Donell <carlos@redhat.com>
25699 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25700 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25701 AUTH_DES and cindex for FIPS 140-2.
25702 (DES Encryption): Add cindex FIPS 46-3.
25704 * locale/locarchive.h (struct locarhandle): Add fname.
25705 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25706 if an optional argument was specified to --list-archive,
25708 * locale/programs/locarchive.c (show_archive_content): Take new
25709 argument fname and pass it via ah.fname to open_archive.
25710 * locale/programs/localedef.h: Update decl.
25711 (open_archive): If AH->fname is non-null, open that file
25712 rather than the default file name, and don't ignore ENOENT.
25713 (create_archive): Set AH.fname to NULL.
25714 (delete_locales_from_archive): Likewise.
25715 (add_locales_to_archive): Likewise.
25716 * locale/programs/locfile.c (write_all_categories): Likewise.
25718 2013-10-18 Joseph Myers <joseph@codesourcery.com>
25719 Aldy Hernandez <aldyh@redhat.com>
25721 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25722 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25723 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25724 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25725 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25726 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25727 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25728 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25729 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25730 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25731 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25732 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25733 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25734 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25735 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25737 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25739 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25741 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25743 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25744 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25746 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25747 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25748 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25749 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25751 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25752 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25753 * sysdeps/powerpc/preconfigure: Likewise.
25754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25756 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25757 Replace contents of file by #include of <fenv_libc.h>.
25758 * sysdeps/powerpc/soft-fp/sfp-machine.h
25759 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25761 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25762 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25763 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25764 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25768 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25769 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25770 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25774 Allow copysignl PLT reference to be missing.
25776 2013-10-18 Richard Sandiford <richard@codesourcery.com>
25777 Joseph Myers <joseph@codesourcery.com
25780 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25782 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25784 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25786 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25787 * elf/tst-tls1.c: Likewise.
25788 * elf/tst-tls10.h: Likewise.
25789 * elf/tst-tls14.c: Likewise.
25790 * elf/tst-tls2.c: Likewise.
25791 * elf/tst-tls3.c: Likewise.
25792 * elf/tst-tls4.c: Likewise.
25793 * elf/tst-tls5.c: Likewise.
25794 * elf/tst-tls6.c: Likewise.
25795 * elf/tst-tls7.c: Likewise.
25796 * elf/tst-tls8.c: Likewise.
25797 * elf/tst-tls9.c: Likewise.
25798 * elf/tst-tlsmod1.c: Likewise.
25799 * elf/tst-tlsmod13.c: Likewise.
25800 * elf/tst-tlsmod13a.c: Likewise.
25801 * elf/tst-tlsmod14a.c: Likewise.
25802 * elf/tst-tlsmod16a.c: Likewise.
25803 * elf/tst-tlsmod16b.c: Likewise.
25804 * elf/tst-tlsmod2.c: Likewise.
25805 * elf/tst-tlsmod3.c: Likewise.
25806 * elf/tst-tlsmod4.c: Likewise.
25807 * elf/tst-tlsmod5.c: Likewise.
25808 * elf/tst-tlsmod6.c: Likewise.
25810 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
25813 * malloc/malloc.c: remove checks for statistics.
25815 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25818 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25819 * inet/tst-network.c: Add testcase.
25821 2013-10-17 Andreas Schwab <schwab@suse.de>
25824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25825 to determine canonical name.
25827 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25829 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25830 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25838 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25839 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25841 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25843 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25848 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25853 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25854 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25855 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25856 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25859 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25860 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25861 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25862 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25863 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25864 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25865 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25866 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25867 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25868 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25869 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25873 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25874 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25875 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25876 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25877 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25878 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25879 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25880 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25881 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25882 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25884 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25886 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25888 2013-10-17 Joseph Myers <joseph@codesourcery.com>
25891 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25892 make result into a quiet NaN.
25894 2013-10-16 Joseph Myers <joseph@codesourcery.com>
25896 * soft-fp/adddf3.c: Fix horizontal whitespace.
25897 * soft-fp/addsf3.c: Likewise.
25898 * soft-fp/addtf3.c: Likewise.
25899 * soft-fp/divdf3.c: Likewise.
25900 * soft-fp/divsf3.c: Likewise.
25901 * soft-fp/divtf3.c: Likewise.
25902 * soft-fp/double.h: Likewise.
25903 * soft-fp/eqdf2.c: Likewise.
25904 * soft-fp/eqsf2.c: Likewise.
25905 * soft-fp/eqtf2.c: Likewise.
25906 * soft-fp/extenddftf2.c: Likewise.
25907 * soft-fp/extended.h: Likewise.
25908 * soft-fp/extendsfdf2.c: Likewise.
25909 * soft-fp/extendsftf2.c: Likewise.
25910 * soft-fp/extendxftf2.c: Likewise.
25911 * soft-fp/fixdfdi.c: Likewise.
25912 * soft-fp/fixdfsi.c: Likewise.
25913 * soft-fp/fixdfti.c: Likewise.
25914 * soft-fp/fixsfdi.c: Likewise.
25915 * soft-fp/fixsfsi.c: Likewise.
25916 * soft-fp/fixsfti.c: Likewise.
25917 * soft-fp/fixtfdi.c: Likewise.
25918 * soft-fp/fixtfsi.c: Likewise.
25919 * soft-fp/fixtfti.c: Likewise.
25920 * soft-fp/fixunsdfdi.c: Likewise.
25921 * soft-fp/fixunsdfsi.c: Likewise.
25922 * soft-fp/fixunsdfti.c: Likewise.
25923 * soft-fp/fixunssfdi.c: Likewise.
25924 * soft-fp/fixunssfsi.c: Likewise.
25925 * soft-fp/fixunssfti.c: Likewise.
25926 * soft-fp/fixunstfdi.c: Likewise.
25927 * soft-fp/fixunstfsi.c: Likewise.
25928 * soft-fp/fixunstfti.c: Likewise.
25929 * soft-fp/floatdidf.c: Likewise.
25930 * soft-fp/floatdisf.c: Likewise.
25931 * soft-fp/floatditf.c: Likewise.
25932 * soft-fp/floatsidf.c: Likewise.
25933 * soft-fp/floatsisf.c: Likewise.
25934 * soft-fp/floatsitf.c: Likewise.
25935 * soft-fp/floattidf.c: Likewise.
25936 * soft-fp/floattisf.c: Likewise.
25937 * soft-fp/floattitf.c: Likewise.
25938 * soft-fp/floatundidf.c: Likewise.
25939 * soft-fp/floatundisf.c: Likewise.
25940 * soft-fp/floatunditf.c: Likewise.
25941 * soft-fp/floatunsidf.c: Likewise.
25942 * soft-fp/floatunsisf.c: Likewise.
25943 * soft-fp/floatunsitf.c: Likewise.
25944 * soft-fp/floatuntidf.c: Likewise.
25945 * soft-fp/floatuntisf.c: Likewise.
25946 * soft-fp/floatuntitf.c: Likewise.
25947 * soft-fp/fmadf4.c: Likewise.
25948 * soft-fp/fmasf4.c: Likewise.
25949 * soft-fp/fmatf4.c: Likewise.
25950 * soft-fp/gedf2.c: Likewise.
25951 * soft-fp/gesf2.c: Likewise.
25952 * soft-fp/getf2.c: Likewise.
25953 * soft-fp/ledf2.c: Likewise.
25954 * soft-fp/lesf2.c: Likewise.
25955 * soft-fp/letf2.c: Likewise.
25956 * soft-fp/muldf3.c: Likewise.
25957 * soft-fp/mulsf3.c: Likewise.
25958 * soft-fp/multf3.c: Likewise.
25959 * soft-fp/negdf2.c: Likewise.
25960 * soft-fp/negsf2.c: Likewise.
25961 * soft-fp/negtf2.c: Likewise.
25962 * soft-fp/op-1.h: Likewise.
25963 * soft-fp/op-2.h: Likewise.
25964 * soft-fp/op-4.h: Likewise.
25965 * soft-fp/op-8.h: Likewise.
25966 * soft-fp/op-common.h: Likewise.
25967 * soft-fp/quad.h: Likewise.
25968 * soft-fp/single.h: Likewise.
25969 * soft-fp/soft-fp.h: Likewise.
25970 * soft-fp/sqrtdf2.c: Likewise.
25971 * soft-fp/sqrtsf2.c: Likewise.
25972 * soft-fp/sqrttf2.c: Likewise.
25973 * soft-fp/subdf3.c: Likewise.
25974 * soft-fp/subsf3.c: Likewise.
25975 * soft-fp/subtf3.c: Likewise.
25976 * soft-fp/truncdfsf2.c: Likewise.
25977 * soft-fp/trunctfdf2.c: Likewise.
25978 * soft-fp/trunctfsf2.c: Likewise.
25979 * soft-fp/trunctfxf2.c: Likewise.
25980 * soft-fp/unorddf2.c: Likewise.
25981 * soft-fp/unordsf2.c: Likewise.
25982 * soft-fp/unordtf2.c: Likewise.
25984 2013-10-15 Joseph Myers <joseph@codesourcery.com>
25986 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25987 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25989 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
25991 * elf/dl-libc.c: Clear initfini list after freeing.
25993 2013-10-14 Joseph Myers <joseph@codesourcery.com>
25995 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25996 * soft-fp/addsf3.c: Likewise.
25997 * soft-fp/addtf3.c: Likewise.
25998 * soft-fp/divdf3.c: Likewise.
25999 * soft-fp/divsf3.c: Likewise.
26000 * soft-fp/divtf3.c: Likewise.
26001 * soft-fp/double.h: Likewise.
26002 * soft-fp/eqdf2.c: Likewise.
26003 * soft-fp/eqsf2.c: Likewise.
26004 * soft-fp/eqtf2.c: Likewise.
26005 * soft-fp/extenddftf2.c: Likewise.
26006 * soft-fp/extended.h: Likewise.
26007 * soft-fp/extendsfdf2.c: Likewise.
26008 * soft-fp/extendsftf2.c: Likewise.
26009 * soft-fp/extendxftf2.c: Likewise.
26010 * soft-fp/fixdfdi.c: Likewise.
26011 * soft-fp/fixdfsi.c: Likewise.
26012 * soft-fp/fixdfti.c: Likewise.
26013 * soft-fp/fixsfdi.c: Likewise.
26014 * soft-fp/fixsfsi.c: Likewise.
26015 * soft-fp/fixsfti.c: Likewise.
26016 * soft-fp/fixtfdi.c: Likewise.
26017 * soft-fp/fixtfsi.c: Likewise.
26018 * soft-fp/fixtfti.c: Likewise.
26019 * soft-fp/fixunsdfdi.c: Likewise.
26020 * soft-fp/fixunsdfsi.c: Likewise.
26021 * soft-fp/fixunsdfti.c: Likewise.
26022 * soft-fp/fixunssfdi.c: Likewise.
26023 * soft-fp/fixunssfsi.c: Likewise.
26024 * soft-fp/fixunssfti.c: Likewise.
26025 * soft-fp/fixunstfdi.c: Likewise.
26026 * soft-fp/fixunstfsi.c: Likewise.
26027 * soft-fp/fixunstfti.c: Likewise.
26028 * soft-fp/floatdidf.c: Likewise.
26029 * soft-fp/floatdisf.c: Likewise.
26030 * soft-fp/floatditf.c: Likewise.
26031 * soft-fp/floatsidf.c: Likewise.
26032 * soft-fp/floatsisf.c: Likewise.
26033 * soft-fp/floatsitf.c: Likewise.
26034 * soft-fp/floattidf.c: Likewise.
26035 * soft-fp/floattisf.c: Likewise.
26036 * soft-fp/floattitf.c: Likewise.
26037 * soft-fp/floatundidf.c: Likewise.
26038 * soft-fp/floatundisf.c: Likewise.
26039 * soft-fp/floatunsidf.c: Likewise.
26040 * soft-fp/floatunsisf.c: Likewise.
26041 * soft-fp/floatuntidf.c: Likewise.
26042 * soft-fp/floatuntisf.c: Likewise.
26043 * soft-fp/floatuntitf.c: Likewise.
26044 * soft-fp/fmadf4.c: Likewise.
26045 * soft-fp/fmasf4.c: Likewise.
26046 * soft-fp/fmatf4.c: Likewise.
26047 * soft-fp/gedf2.c: Likewise.
26048 * soft-fp/gesf2.c: Likewise.
26049 * soft-fp/getf2.c: Likewise.
26050 * soft-fp/ledf2.c: Likewise.
26051 * soft-fp/lesf2.c: Likewise.
26052 * soft-fp/letf2.c: Likewise.
26053 * soft-fp/muldf3.c: Likewise.
26054 * soft-fp/mulsf3.c: Likewise.
26055 * soft-fp/multf3.c: Likewise.
26056 * soft-fp/negdf2.c: Likewise.
26057 * soft-fp/negsf2.c: Likewise.
26058 * soft-fp/negtf2.c: Likewise.
26059 * soft-fp/op-1.h: Likewise.
26060 * soft-fp/op-2.h: Likewise.
26061 * soft-fp/op-4.h: Likewise.
26062 * soft-fp/op-8.h: Likewise.
26063 * soft-fp/op-common.h: Likewise.
26064 * soft-fp/quad.h: Likewise.
26065 * soft-fp/single.h: Likewise.
26066 * soft-fp/soft-fp.h: Likewise.
26067 * soft-fp/sqrtdf2.c: Likewise.
26068 * soft-fp/sqrtsf2.c: Likewise.
26069 * soft-fp/sqrttf2.c: Likewise.
26070 * soft-fp/subdf3.c: Likewise.
26071 * soft-fp/subsf3.c: Likewise.
26072 * soft-fp/subtf3.c: Likewise.
26073 * soft-fp/truncdfsf2.c: Likewise.
26074 * soft-fp/trunctfdf2.c: Likewise.
26075 * soft-fp/trunctfsf2.c: Likewise.
26076 * soft-fp/trunctfxf2.c: Likewise.
26077 * soft-fp/unorddf2.c: Likewise.
26078 * soft-fp/unordsf2.c: Likewise.
26079 * soft-fp/unordtf2.c: Likewise.
26081 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26084 * misc/error.c (error_tail): Fix possible buffer overflow.
26086 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26089 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26092 2013-10-14 P. J. McDermott <pj@pehjota.net>
26095 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26096 testing pipefail option.
26098 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26100 * soft-fp/double.h: Indent preprocessor directives inside #if.
26101 * soft-fp/extended.h: Likewise.
26102 * soft-fp/op-2.h: Likewise.
26103 * soft-fp/op-4.h: Likewise.
26104 * soft-fp/op-common.h: Likewise.
26105 * soft-fp/quad.h: Likewise.
26106 * soft-fp/single.h: Likewise.
26107 * soft-fp/soft-fp.h: Likewise.
26109 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26111 * iconv/iconv_prog.c: Fix typos.
26112 * stdio-common/psiginfo-data.h: Likewise.
26114 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26117 * locale/setlocale.c: Fix typo.
26119 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26122 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26123 signaling NaN arguments.
26124 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26125 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26128 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26129 unordered operands.
26130 * soft-fp/gesf2.c (__gesf2): Likewise.
26131 * soft-fp/getf2.c (__getf2): Likewise.
26132 * soft-fp/ledf2.c (__ledf2): Likewise.
26133 * soft-fp/lesf2.c (__lesf2): Likewise.
26134 * soft-fp/letf2.c (__letf2): Likewise.
26136 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26137 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26138 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26139 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26140 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26141 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26142 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26143 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26144 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26145 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26146 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26147 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26148 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26149 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26150 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26151 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26152 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26153 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26154 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26155 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26156 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26157 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26158 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26159 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26160 * soft-fp/floattidf.c (__floattidf): Likewise.
26161 * soft-fp/floattisf.c (__floattisf): Likewise.
26162 * soft-fp/floattitf.c (__floattitf): Likewise.
26163 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26164 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26165 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26166 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26167 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26168 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26169 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26170 * soft-fp/gesf2.c (__gesf2): Likewise.
26171 * soft-fp/getf2.c (__getf2): Likewise.
26172 * soft-fp/ledf2.c (__ledf2): Likewise.
26173 * soft-fp/lesf2.c (__lesf2): Likewise.
26174 * soft-fp/letf2.c (__letf2): Likewise.
26176 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26177 Undefine and redefine.
26178 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26179 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26180 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26181 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26182 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26183 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26184 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26185 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26186 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26187 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26188 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26189 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26190 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26191 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26192 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26195 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26196 without decrementing exponent if mantissa >= that for the
26197 denominator, not >.
26198 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26199 denominator, not >. Decrement exponent in < case instead of
26200 incrementing in >= case.
26201 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26202 without decrementing exponent if mantissa >= that for the
26203 denominator, not >.
26205 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26206 computing saturated result for unsigned overflow.
26208 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26209 Jeff Law <law@redhat.com>
26211 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26212 (atan2Mp): Add systemtap probe marker.
26213 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26214 (__ieee754_log): Add systemtap probe marker.
26215 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26216 (atanMp): Add systemtap probe marker.
26217 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26218 (tanMp): Add systemtap probe marker.
26219 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26220 (__slowexp): Add systemtap probe marker.
26221 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26222 (__slowpow): Add systemtap probe marker.
26223 * manual/probes.texi: Document probes.
26225 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26228 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26230 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26232 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26233 written to buffer but not flushed.
26234 * libio/iofwrite_u.c: Likewise.
26235 * libio/iopadn.c: Return bytes returned even if EOF was
26237 * libio/iowpadn.c: Likewise.
26238 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26239 if _IO_padn does not write the whole buffer.
26240 [!COMPILE_WPRINTF] (PAD): Likewise.
26242 2013-10-10 David S. Miller <davem@davemloft.net>
26244 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26247 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26249 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26250 instead of FSF address.
26251 * soft-fp/fixdfti.c: Likewise.
26252 * soft-fp/fixsfti.c: Likewise.
26253 * soft-fp/fixtfti.c: Likewise.
26254 * soft-fp/fixunsdfti.c: Likewise.
26255 * soft-fp/fixunssfti.c: Likewise.
26256 * soft-fp/fixunstfti.c: Likewise.
26257 * soft-fp/floattidf.c: Likewise.
26258 * soft-fp/floattisf.c: Likewise.
26259 * soft-fp/floattitf.c: Likewise.
26260 * soft-fp/floatuntidf.c: Likewise.
26261 * soft-fp/floatuntisf.c: Likewise.
26262 * soft-fp/floatuntitf.c: Likewise.
26263 * soft-fp/trunctfxf2.c: Likewise.
26265 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26266 * soft-fp/fixdfti.c: Likewise.
26267 * soft-fp/fixsfti.c: Likewise.
26268 * soft-fp/fixtfti.c: Likewise.
26269 * soft-fp/fixunsdfti.c: Likewise.
26270 * soft-fp/fixunssfti.c: Likewise.
26271 * soft-fp/fixunstfti.c: Likewise.
26272 * soft-fp/floattidf.c: Likewise.
26273 * soft-fp/floattisf.c: Likewise.
26274 * soft-fp/floattitf.c: Likewise.
26275 * soft-fp/floatuntidf.c: Likewise.
26276 * soft-fp/floatuntisf.c: Likewise.
26277 * soft-fp/floatuntitf.c: Likewise.
26278 * soft-fp/trunctfxf2.c: Likewise.
26280 2013-10-10 David S. Miller <davem@davemloft.net>
26282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26284 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26286 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26287 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26288 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26289 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26290 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26291 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26292 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26295 for NaNs before doing comparisons on argument.
26296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26299 2013-10-10 Will Newton <will.newton@linaro.org>
26301 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26302 passed to _int_memalign does not overflow.
26304 2013-10-10 Torvald Riegel <triegel@redhat.com>
26306 * scripts/bench.pl: Add include-sources directive.
26307 * benchtests/README: Update documentation.
26309 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26311 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26312 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26313 instead of FP_INIT_ROUNDMODE.
26314 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26315 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26318 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26319 copy class of input value.
26320 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26321 not handle exceptions.
26322 * soft-fp/negsf2.c (__negsf2): Likewise.
26323 * soft-fp/negtf2.c (__negtf2): Likewise.
26324 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26326 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26328 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26329 semicolon. From Linux kernel.
26331 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26333 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26335 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26338 * manual/socket.texi: Added statement about buffer
26339 for gethostbyname2_r.
26341 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26343 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26344 Use .p2align directive instead, throughout.
26345 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26346 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26347 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26349 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26350 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26351 * sysdeps/x86_64/strchr.S: Likewise.
26352 * sysdeps/x86_64/strrchr.S: Likewise.
26354 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26356 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26358 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26360 * sysdeps/generic/math_private.h (__mpsin1): Remove
26362 (__mpcos1): Likewise.
26363 (__mpsin): New argument __range_reduce.
26364 (__mpcos): Likewise.
26365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26366 (slow): Use __mpsin and __mpcos.
26370 (sloww1): Likewise.
26371 (sloww2): Likewise.
26372 (bsloww): Likewise.
26373 (bsloww1): Likewise.
26374 (bsloww2): Likewise.
26375 (cslow2): Likewise.
26376 (csloww): Likewise.
26377 (csloww1): Likewise.
26378 (csloww2): Likewise.
26379 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26380 range_reduce. Merge in __mpsin1.
26381 (__mpcos): Likewise.
26382 (__mpsin1): Remove.
26383 (__mpcos1): Likewise.
26385 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26387 * locale/loadlocale.c (_nl_intern_locale_data): Use
26389 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26390 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26391 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26392 obstack data is appropriately aligned.
26393 (obstack_int32_grow_fast): Likewise.
26394 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26395 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26396 (add_locale_uint32_array): Likewise.
26398 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26400 * benchtests/Makefile: Remove ARGLIST and RET variables.
26401 ($(objpfx)bench-%.c): Pass only function name to the script.
26402 * benchtests/README: Update documentation.
26403 * benchtests/acos-inputs: Add new directives.
26404 * benchtests/acosh-inputs: Likewise.
26405 * benchtests/asin-inputs: Likewise.
26406 * benchtests/asinh-inputs: Likewise.
26407 * benchtests/atan-inputs: Likewise.
26408 * benchtests/atanh-inputs: Likewise.
26409 * benchtests/cos-inputs: Likewise.
26410 * benchtests/cosh-inputs: Likewise.
26411 * benchtests/exp-inputs: Likewise.
26412 * benchtests/log-inputs: Likewise.
26413 * benchtests/pow-inputs: Likewise.
26414 * benchtests/rint-inputs: Likewise.
26415 * benchtests/sin-inputs: Likewise.
26416 * benchtests/sinh-inputs: Likewise.
26417 * benchtests/tan-inputs: Likewise.
26418 * benchtests/tanh-inputs: Likewise.
26419 * scripts/bench.pl: Add support for new directives.
26421 2013-10-07 Alan Modra <amodra@gmail.com>
26423 * README: Fix careless merge.
26425 2013-10-05 Alan Modra <amodra@gmail.com>
26427 * NEWS: Mention powerpc64le support and bugs fixed.
26428 * README: Both big-endian and little-endian powerpc64 supported.
26430 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26432 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26433 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26434 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26435 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26437 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26439 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26442 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26444 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26445 Move -mhard-float appending from
26446 ports/sysdeps/powerpc/powerpc32/Makefile.
26447 [$(with-fp) = yes] (ASFLAGS): Likewise.
26448 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26449 * sysdeps/powerpc/nofpu: Move directory from
26450 ports/sysdeps/powerpc/nofpu.
26451 * sysdeps/powerpc/soft-fp: Move directory from
26452 ports/sysdeps/powerpc/soft-fp.
26453 * sysdeps/powerpc/powerpc32/405: Move directory from
26454 ports/sysdeps/powerpc/powerpc32/405.
26455 * sysdeps/powerpc/powerpc32/440: Move directory from
26456 ports/sysdeps/powerpc/powerpc32/440.
26457 * sysdeps/powerpc/powerpc32/464: Move directory from
26458 ports/sysdeps/powerpc/powerpc32/464.
26459 * sysdeps/powerpc/powerpc32/476: Move directory from
26460 ports/sysdeps/powerpc/powerpc32/476.
26461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26462 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26464 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26466 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26468 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26470 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26471 * README: Update for powerpc-*-linux-gnu software floating point
26474 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26475 case to powerpc/powerpc32*.
26476 * sysdeps/unix/sysv/linux/configure: Regenerated.
26478 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26479 (_FPU_MASK_OM): Define as 0x04.
26480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26488 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26491 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26494 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26495 and setcontext_e500.
26497 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26499 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26501 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26503 * manual/threads.texi (Default Thread Attributes): Fix typo.
26505 2013-10-04 Will Newton <will.newton@linaro.org>
26507 * malloc/Makefile: Add tst-memalign.
26508 * malloc/tst-memalign.c: New file.
26510 * malloc/tst-posix_memalign.c: Add comments.
26511 (do_test): Add comments and call free on all potentially
26512 allocated pointers. Add space after cast.
26514 * malloc/tst-pvalloc.c: Add comments.
26515 (do_test): Add comments and call free on all potentially
26516 allocated pointers. Remove duplicate check for NULL pointer.
26517 Add space after cast.
26519 * malloc/tst-valloc.c: Add comments.
26520 (do_test): Add comments and call free on all potentially
26521 allocated pointers. Remove duplicate check for NULL pointer.
26522 Add space after cast.
26524 2013-10-04 Alan Modra <amodra@gmail.com>
26526 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26527 Use stdint types in rather than __attribute__((mode())).
26528 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26530 2013-10-04 Alan Modra <amodra@gmail.com>
26532 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26533 Correct handling of unaligned relocs for little-endian.
26534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26536 2013-10-04 Alan Modra <amodra@gmail.com>
26538 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26539 * configure: Regenerate.
26540 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26541 * shlib-versions: Likewise.
26543 2013-10-04 Alan Modra <amodra@gmail.com>
26545 * string/tester.c (test_memrchr): Increment reported test cycle.
26547 2013-10-04 Alan Modra <amodra@gmail.com>
26549 * string/test-memcpy.c (do_one_test): When reporting errors, print
26550 string address and don't overrun end of string.
26552 2013-10-04 Alan Modra <amodra@gmail.com>
26554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26555 insrdi. Make better use of reg selection to speed exit slightly.
26556 Schedule entry path a little better. Remove useless "are we done"
26557 checks on entry to main loop. Handle wrapping around zero address.
26558 Correct main loop count. Handle single left-over word from main
26559 loop inline rather than by using loop_small. Remove extra word
26560 case in loop_small caused by wrong loop count. Add little-endian
26562 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26563 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26565 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26566 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26567 support. Avoid rlwimi.
26568 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26570 2013-10-04 Alan Modra <amodra@gmail.com>
26572 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26573 insrdi. Formatting.
26574 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26575 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26576 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26577 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26578 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26579 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26581 2013-10-04 Alan Modra <amodra@gmail.com>
26583 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26584 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26585 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26586 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26587 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26589 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26590 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26591 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26592 use of regs. Use power7 mtocrf. Tidy function tails.
26594 2013-10-04 Alan Modra <amodra@gmail.com>
26596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26597 Formatting. Consistently use rXXX register defines or rN defines.
26598 Use early exit labels that avoid restoring unused non-volatile regs.
26599 Make cr field use more consistent with rWORDn compares. Rename
26600 regs used as shift registers for unaligned loop, using rN defines
26601 for short lifetime/multiple use regs.
26602 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26603 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26604 addi 1,1,64 to pop stack frame. Simplify return value code.
26605 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26607 2013-10-04 Alan Modra <amodra@gmail.com>
26609 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26610 support. Correct typos, formatting. Optimize tail. Use insrdi
26611 rather than rlwimi.
26612 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26614 little-endian support. Correct typos.
26615 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26616 rather than rlwimi.
26617 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26618 in loop and entry code to keep "and." results.
26619 (strchr): Add little-endian support. Comment. Move cntlzd
26621 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26623 2013-10-04 Alan Modra <amodra@gmail.com>
26625 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26626 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26627 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26628 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26630 2013-10-04 Alan Modra <amodra@gmail.com>
26632 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26633 (rTMP): Define as r11.
26634 (strcmp): Add little-endian support. Optimise tail.
26635 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26636 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26637 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26638 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26639 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26640 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26643 2013-10-04 Alan Modra <amodra@gmail.com>
26645 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26646 little-endian support. Remove unnecessary "are we done" tests.
26647 Handle "s" wrapping around zero and extremely large "size".
26648 Correct main loop count. Handle single left-over word from main
26649 loop inline rather than by using small_loop. Correct comments.
26650 Delete "zero" tail, use "end_max" instead.
26651 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26653 2013-10-04 Alan Modra <amodra@gmail.com>
26655 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26656 support. Don't branch over align.
26657 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26658 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26659 support. Rearrange tmp reg use to suit. Comment.
26660 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26662 2013-10-04 Alan Modra <amodra@gmail.com>
26664 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26666 2013-10-04 Alan Modra <amodra@gmail.com>
26668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26669 conditional form of branch and link when obtaining pc.
26670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26672 2013-10-04 Alan Modra <amodra@gmail.com>
26674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26679 2013-10-04 Alan Modra <amodra@gmail.com>
26681 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26682 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26683 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26684 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26685 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26686 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26687 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26688 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26689 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26690 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26692 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26693 Alistair Popple <alistair@ozlabs.au.ibm.com>
26694 Alan Modra <amodra@gmail.com>
26697 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26698 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26699 _dl_hwcap access for little-endian.
26700 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26701 destroy vmx regs when saving unaligned.
26702 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26703 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26704 destroy vmx regs when saving unaligned.
26706 2013-10-04 Alan Modra <amodra@gmail.com>
26708 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26709 Don't use a union to pack hi/low value.
26711 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26713 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26715 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26717 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26718 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26719 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26721 2013-10-04 Alan Modra <amodra@gmail.com>
26723 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26724 constants to usual value for .cst8 section, and remove redundant
26726 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26727 constant for 0x1p52. Load little-endian words of double from
26728 correct stack offsets.
26730 2013-10-04 Alan Modra <amodra@gmail.com>
26732 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26733 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26734 words of double from correct stack offsets.
26735 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26736 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26737 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26738 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26739 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26740 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26741 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26742 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26743 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26744 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26745 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26746 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26747 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26748 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26749 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26750 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26751 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26753 2013-10-04 Alan Modra <amodra@gmail.com>
26755 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26756 64-bit int/double union.
26757 (_FPU_SETCW): Likewise.
26758 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26759 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26761 2013-10-04 Alan Modra <amodra@gmail.com>
26763 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26764 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26766 2013-10-04 Alan Modra <amodra@gmail.com>
26768 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26769 use vector int constants.
26770 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26772 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26774 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26775 array with long long.
26776 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26777 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26778 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26779 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26780 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26781 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26782 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26783 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26784 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26785 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26786 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26787 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26788 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26790 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26792 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26793 (__signbit): Likewise. Correct for little-endian.
26794 (__signbitl): Call __signbit.
26795 (lrint): Correct for little-endian.
26796 (lrintf): Call lrint.
26798 2013-10-04 Alan Modra <amodra@gmail.com>
26800 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26801 union 32-bit int array member with 64-bit int array.
26802 (t515, tm256): Double rather than long double.
26803 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26805 2013-10-04 Alan Modra <amodra@gmail.com>
26807 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26809 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26810 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26811 version of math_ldbl.h.
26813 2013-10-04 Alan Modra <amodra@gmail.com>
26815 [BZ #15734], [BZ #15735]
26816 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26817 all uses of ieee875 long double macros and unions. Simplify test
26818 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26819 ldbl_extract_mantissa value for ix,iy exponents. Properly
26820 normalize after ldbl_extract_mantissa, and don't add hidden bit
26821 already handled. Don't treat low word of ieee854 mantissa like
26822 low word of IBM long double and mask off bit when testing for
26824 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26825 all uses of ieee875 long double macros and unions. Simplify tests
26826 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26827 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26828 two1022, instead use their values. Recognise that tests for large
26829 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26830 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26831 Rewrite all uses of ieee875 long double macros and unions. Simplify
26832 test for 0.0L and nan. Correct negation.
26833 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26834 ieee875 long double macros and unions. Correct output for large
26835 magnitude x. Correct absolute value calculation.
26836 (__erfcl): Likewise.
26837 * math/libm-test.inc: Add tests for errors discovered in IBM long
26838 double versions of fmodl, remainderl, erfl and erfcl.
26840 2013-10-04 Alan Modra <amodra@gmail.com>
26842 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26843 all uses of ieee854 long double macros and unions. Simplify tests
26844 for long doubles that are fully specified by the high double.
26845 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26847 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26848 Remove dead code too.
26849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26850 (__ieee754_ynl): Likewise.
26851 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26852 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26853 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26854 Remove dead code too.
26855 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26856 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26858 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26860 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26862 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26863 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26864 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26865 Comment on variable precision.
26866 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26867 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26869 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26870 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26871 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26872 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26873 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26875 2013-10-04 Alan Modra <amodra@gmail.com>
26877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26878 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26879 all uses of ieee854 long double macros and unions.
26880 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26881 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26882 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26883 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26884 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26885 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26890 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26891 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26892 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26893 Simplify sign and nan test too.
26894 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26895 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26896 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26897 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26899 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26900 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26903 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26904 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26905 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26906 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26909 2013-10-04 Alan Modra <amodra@gmail.com>
26911 * stdio-common/printf_size.c (__printf_size): Don't use
26912 union ieee854_long_double in fpnum union.
26913 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26914 signbit macro to retrieve sign from long double.
26915 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26916 retrieve sign from long double.
26917 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26918 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26919 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26920 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26921 * math/test-misc.c (main): Don't use union ieee854_long_double.
26923 2013-10-04 Alan Modra <amodra@gmail.com>
26926 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26927 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26928 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26929 calculation. Remove unnecessary test for denormal exponent.
26930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26931 Correct handling of denormals. Avoid undefined shift behaviour.
26932 Correct normalisation of low mantissa when low double is denormal.
26933 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26934 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26935 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26936 Correct normalisation of low mantissa. Test for overflow of high
26937 mantissa and normalise.
26938 (ldbl_nearbyint): Use more readable constant for two52.
26939 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26940 (__mpn_construct_long_double): Fix test for overflow of high
26941 mantissa and correct normalisation. Avoid undefined shift.
26943 2013-10-04 Alan Modra <amodra@gmail.com>
26945 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26946 (union ibm_extended_long_double): Define as an array of ieee754_double.
26947 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26948 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26949 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26950 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26951 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26952 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26953 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26954 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26955 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26956 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26957 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26959 2013-10-03 Joseph Myers <joseph@codesourcery.com>
26961 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26962 page size instead of calling getpagesize.
26964 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26965 (LOCFILE_ALIGN_MASK): Likewise.
26966 (LOCFILE_ALIGN_UP): Likewise.
26967 (LOCFILE_ALIGNED_P): Likewise.
26968 * locale/programs/ld-collate.c (collate_output): Use the new
26969 macros instead of __alignof__ (int32_t).
26970 * locale/weight.h (findidx): Likewise.
26972 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
26975 * manual/string.texi: Fix strncat and wcsncat.
26977 2013-10-03 Brooks Moses <bmoses@google.com>
26980 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26981 * Makerules: ...here, and adjust associated comments.
26983 2013-10-02 Will Newton <will.newton@linaro.org>
26985 * malloc/Makefile: Add tst-pvalloc.
26986 * malloc/tst-pvalloc.c: New file.
26988 2013-10-02 Will Newton <will.newton@linaro.org>
26990 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26991 improve test coverage.
26993 2013-10-02 Will Newton <will.newton@linaro.org>
26995 * malloc/Makefile: Add tst-posix_memalign.
26996 * malloc/tst-posix_memalign.c: New file.
26998 2013-10-01 Eric Blake <eblake@redhat.com>
27000 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27001 Use __THROWNL rather than __THROW on static functions.
27003 2013-09-30 Petr Machata <pmachata@redhat.com>
27005 * elf/elf.h (R_AARCH64_ABS16): New macro.
27006 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27007 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27008 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27009 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27010 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27011 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27012 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27013 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27014 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27015 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27016 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27017 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27018 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27019 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27020 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27021 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27022 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27023 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27024 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27025 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27026 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27027 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27028 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27029 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27030 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27031 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27032 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27033 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27034 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27035 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27036 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27037 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27038 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27039 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27040 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27041 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27042 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27043 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27044 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27045 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27046 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27047 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27048 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27049 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27050 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27051 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27052 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27053 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27054 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27055 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27056 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27057 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27058 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27059 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27060 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27061 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27062 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27063 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27064 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27065 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27066 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27067 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27068 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27069 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27070 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27071 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27072 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27073 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27074 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27075 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27076 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27077 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27078 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27079 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27080 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27081 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27082 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27083 (R_AARCH64_TLSDESC_LDR): Likewise.
27084 (R_AARCH64_TLSDESC_ADD): Likewise.
27085 (R_AARCH64_TLSDESC_CALL): Likewise.
27087 2013-09-30 Andreas Schwab <schwab@suse.de>
27090 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27091 the nss database lookup.
27092 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27095 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27097 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27099 2013-09-28 P. J. McDermott <pj@pehjota.net>
27101 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27102 ${Bash-specific parameter/pattern/string} parameter expansion.
27103 * sysdeps/unix/make-syscalls.sh: Likewise.
27105 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27107 * sysdeps/sh/stackguard-macros.h: New file.
27109 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27113 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27114 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27115 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27116 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27118 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27120 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27121 Fix thread ID register.
27123 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27125 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27126 [POSIX || UNIX98]: Require rather than permitting all symbols from
27128 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27129 element of struct sched_param.
27130 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27131 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27132 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27133 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27136 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27138 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27139 argument calculation.
27141 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27143 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27145 [POSIX] (pthread_attr_t): Do not require type.
27146 [POSIX] (pthread_cond_t): Likewise.
27147 [POSIX] (pthread_condattr_t): Likewise.
27148 [POSIX] (pthread_key_t): Likewise.
27149 [POSIX] (pthread_mutex_t): Likewise.
27150 [POSIX] (pthread_mutexattr_t): Likewise.
27151 [POSIX] (pthread_once_t): Likewise.
27152 [POSIX] (pthread_t): Likewise.
27153 [POSIX-based standards] (pthread_atfork): Expect function.
27155 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27156 Richard Sandiford <richard@codesourcery.com>
27158 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27159 (swap_endianness_p): New extern variable.
27160 (set_big_endian): New inline function.
27161 (maybe_swap_uint32): Likewise.
27162 (maybe_swap_uint32_array): Likewise.
27163 (maybe_swap_uint32_obstack): Likewise.
27164 * locale/programs/locfile.c: Include <stdbool.h>.
27165 (swap_endianness_p): New variable.
27166 (add_locale_uint32): Call maybe_swap_uint32.
27167 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27168 (write_locale_data): Call maybe_swap_uint32_array.
27169 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27171 (obstack_int32_grow_fast): Likewise.
27172 (output_weightwc): Call maybe_swap_uint32_obstack.
27173 (collate_output): Likewise.
27174 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27175 (OPT_LITTLE_ENDIAN): Likewise.
27176 (options): Add --little-endian and --big-endian options.
27177 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27178 * locale/programs/locarchive.c: Include "locfile.h".
27182 (create_archive): Use the new macros to access fields of
27183 structures directly mapped from or written to locale archives.
27184 (oldlocrecentcmp): Likewise.
27185 (enlarge_archive): Likewise.
27186 (insert_name): Likewise.
27187 (add_alias): Likewise.
27188 (add_locale): Likewise.
27189 (delete_locales_from_archive): Likewise.
27190 (show_archive_content): Likewise.
27191 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27194 2013-09-24 Roland McGrath <roland@hack.frob.com>
27196 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27197 http://www.gnu.org/doc/freemanuals.texi.
27198 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27200 2013-09-24 Will Newton <will.newton@linaro.org>
27202 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27205 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27207 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27210 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27212 * manual/threads.texi (POSIX Threads): Fix a typo.
27214 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27217 * string/tst-strcoll-overflow.c: New test case.
27218 * string/Makefile (xtests): Add tst-strcoll-overflow.
27219 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27220 cache if string sizes may cause integer overflow.
27223 * string/strcoll_l.c (coll_seq): New members rule, idx,
27224 save_idx and back_us.
27225 (get_next_seq_nocache): New function.
27226 (do_compare_nocache): New function.
27227 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27230 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27233 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27234 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27235 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27238 * elf/Makefile (tests): Add tst-ptrguard1.
27239 (tests-static): Add tst-ptrguard1-static.
27240 (tst-ptrguard1-ARGS): Define.
27241 (tst-ptrguard1-static-ARGS): Define.
27242 * elf/tst-ptrguard1.c: New file.
27243 * elf/tst-ptrguard1-static.c: New file.
27244 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27245 * sysdeps/i386/stackguard-macros.h: Likewise.
27246 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27247 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27248 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27249 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27250 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27251 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27253 2013-09-23 Hector Marco <hecmargi@upv.es>
27254 Ismael Ripoll <iripoll@disca.upv.es>
27255 Carlos O'Donell <carlos@redhat.com>
27258 * sysdeps/generic/stackguard-macros.h: Define
27259 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27260 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27261 Define __pointer_chk_guard_local.
27262 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27263 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27265 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27268 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27270 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27272 * include/string.h (__ffs): Declare as hidden.
27273 * string/ffs.c (__ffs): Define as hidden.
27274 * sysdeps/i386/ffs.c (__ffs): Likewise.
27275 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27276 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27277 * sysdeps/s390/ffs.c (__ffs): Likewise.
27278 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27280 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27282 * NEWS: Mention malloc probes.
27284 * malloc/arena.c (new_heap): New memory_heap_new probe.
27285 (grow_heap): New memory_heap_more probe.
27286 (shrink_heap): New memory_heap_less probe.
27287 (heap_trim): New memory_heap_free probe.
27288 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27289 (systrim): New memory_sbrk_less probe.
27290 * manual/probes.texi: Document them.
27292 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27293 * manual/probes.texi: Document it.
27295 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27296 (__libc_realloc): Add memory_realloc_retry probe.
27297 (__libc_memalign): Add memory_memalign_retry probe.
27298 (__libc_valloc): Add memory_valloc_retry probe.
27299 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27300 (__libc_calloc): Add memory_calloc_retry probe.
27301 * manual/probes.texi: Document them.
27303 * malloc/arena.c (get_free_list): Add probe
27304 memory_arena_reuse_free_list.
27305 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27306 and memory_arena_reuse.
27307 (arena_get2) [!PER_THREAD]: Likewise.
27308 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27309 memory_arena_reuse_realloc.
27310 * manual/probes.texi: Document them.
27312 * malloc/malloc.c (__libc_free): Add
27313 memory_mallopt_free_dyn_thresholds probe.
27314 (__libc_mallopt): Add multiple memory_mallopt probes.
27315 * manual/probes.texi: Document them.
27317 * malloc/malloc.c: Include stap-probe.h.
27318 (__libc_mallopt): Add memory_mallopt probe.
27319 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27320 * manual/probes.texi: New.
27321 * manual/Makefile (chapters): Add probes.
27322 * manual/threads.texi: Set next node.
27324 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27326 [BZ #15963, #13985]
27327 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27328 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27329 Add `Chinese' to `nan' entry name.
27331 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27333 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27334 (POLYNOMIAL): Likewise.
27335 (TAYLOR_SINCOS): Likewise.
27336 (TAYLOR_SLOW): Likewise.
27337 (__sin): Use TAYLOR_SINCOS.
27339 (slow): Use TAYLOR_SLOW.
27341 (bsloww): Likewise.
27342 (csloww): Likewise.
27344 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27346 * stdlib/strtod_l.c: Fix buffer overrun.
27348 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27350 * benchtests/Makefile (bench): Add sincos.
27351 * benchtests/bench-sincos.c: New file.
27353 * math/libm-test.inc (cos_test_data): New test inputs.
27354 (sin_test_data): Likewise.
27356 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27362 (sloww1): Likewise.
27363 (sloww2): Likewise.
27364 (bsloww1): Likewise.
27365 (bsloww2): Likewise.
27366 (cslow2): Likewise.
27367 (csloww1): Likewise.
27368 (csloww2): Likewise.
27370 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27379 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27381 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27382 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27383 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27384 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27385 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27386 * elf/cache.c (print_entry): Handle the new cache flags.
27388 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27389 Aldy Hernandez <aldyh@redhat.com>
27391 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27392 Change condition to [_SOFT_FLOAT].
27393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27405 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27408 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27411 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27413 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27414 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27415 (__longjmp): Use LOAD_GP to load saved GPRs.
27416 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27417 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27418 (__sigsetjmp): Use SAVE_GP to save GPRs.
27420 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27421 Do not append -msoft-float.
27422 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27424 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27426 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27428 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27431 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27432 (_FPU_GETCW): Use initial "__" on variable and field names but not
27433 on macro parameter name.
27434 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27435 parentheses around reference to macro parameter.
27437 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27439 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27441 (ctype_startup): Use uint32_t in cast and sizeof for
27444 2013-09-11 Jia Liu <proljc@gmail.com>
27446 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27448 [__FreeBSD__]: Likewise.
27450 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27453 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27454 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27455 (strchr): Remove __strchr_sse42 ifunc selection.
27456 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27457 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27459 2013-09-11 Will Newton <will.newton@linaro.org>
27461 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27462 parameter to RES. Remove hardcoded 1000 value.
27463 * benchtests/bench-skeleton.c (main): Pass RES parameter
27464 to TIMING_INIT and multiply result by 1000.
27466 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27470 2013-09-11 Andreas Schwab <schwab@suse.de>
27472 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27474 (O_TMPFILE) [__USE_GNU]: Define.
27475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27478 2013-09-11 Will Newton <will.newton@linaro.org>
27481 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27484 2013-09-11 Will Newton <will.newton@linaro.org>
27487 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27490 2013-09-11 Will Newton <will.newton@linaro.org>
27493 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27496 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27498 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27499 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27500 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27501 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27502 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27504 2013-09-10 Allan McRae <allan@archlinux.org>
27507 * manual/arith.texi (Parsing of Floats): Clarify
27511 * manual/install.texi (Running make install): Mention
27513 * INSTALL: Regenerated.
27515 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27517 * csu/init-first.c (_init): Remove the !SHARED condition around
27518 FPU control word initialization.
27519 * elf/dl-support.c (_dl_fpu_control): New variable.
27520 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27521 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27522 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27523 * math/test-fpucw-static.c: New file.
27524 * math/test-fpucw-ieee.c: New file.
27525 * math/test-fpucw-ieee-static.c: New file.
27526 * math/Makefile (tests): Add `test-fpucw-ieee' and
27528 (tests-static): New variable.
27529 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27531 [($(build-shared),yes)]
27532 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27534 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27537 2013-09-09 Allan McRae <allan@archlinux.org>
27540 * manual/string.texi (Collation Functions): Fix typo in
27542 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27545 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27548 * libio/memstream.c (open_memstream): Fix memory leak.
27549 * libio/wmemstream.c (open_wmemstream): Likewise.
27552 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27554 2013-09-09 Will Newton <will.newton@linaro.org>
27556 * malloc/Makefile: Add tst-realloc to tests.
27557 * malloc/tst-realloc.c: New file.
27559 2013-09-09 Allan McRae <allan@archlinux.org>
27562 * COPYING: Update from GNU website to fix FSF address.
27563 * COPYING.LIB: Likewise.
27565 2013-09-06 David S. Miller <davem@davemloft.net>
27567 * po/zh_TW.po: Update Chinese (traditional) translation from
27568 translation project.
27570 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27571 Joseph Myers <joseph@codesourcery.com>
27573 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27575 (obstack_chunk_alloc): New macro.
27576 (obstack_chunk_free): Likewise.
27577 (record_offset): New function.
27578 (init_locale_data): Likewise.
27579 (align_locale_data): Likewise.
27580 (add_locale_empty): Likewise.
27581 (add_locale_raw_data): Likewise.
27582 (add_locale_raw_obstack): Likewise.
27583 (add_locale_string): Likewise.
27584 (add_locale_wstring): Likewise.
27585 (add_locale_uint32): Likewise.
27586 (add_locale_uint32_array): Likewise.
27587 (add_locale_char): Likewise.
27588 (start_locale_structure): Likewise.
27589 (end_locale_structure): Likewise.
27590 (start_locale_prelude): Likewise.
27591 (end_locale_prelude): Likewise.
27592 (write_locale_data): Take locale_file structure rather than an
27594 * locale/programs/locfile.h: Include "obstack.h".
27595 (struct locale_file): Change to store locale file contents instead
27597 (init_locale_data): New prototype.
27598 (align_locale_data): Likewise.
27599 (add_locale_empty): Likewise.
27600 (add_locale_raw_data): Likewise.
27601 (add_locale_raw_obstack): Likewise.
27602 (add_locale_string): Likewise.
27603 (add_locale_wstring): Likewise.
27604 (add_locale_uint32): Likewise.
27605 (add_locale_uint32_array): Likewise.
27606 (add_locale_char): Likewise.
27607 (start_locale_structure): Likewise.
27608 (end_locale_structure): Likewise.
27609 (start_locale_prelude): Likewise.
27610 (end_locale_prelude): Likewise.
27611 (write_locale_data): Update prototype.
27612 * locale/programs/3level.h (struct TABLE): Remove result field.
27613 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27614 Use new locale_file interface.
27615 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27616 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27617 * locale/programs/ld-address.c (address_output): Use new
27618 locale_file interface.
27619 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27621 (collate_finish): Don't call collseq_table_finalize.
27622 (collate_output): Use new locale_file interface.
27623 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27625 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27626 (TABLE): Move defines earlier in file.
27627 (ELEMENT): Likewise.
27628 (DEFAULT): Likewise.
27629 (wctrans_table_add): Move macro and inline function earlier in
27631 (struct wctype_table): Move type earlier in file.
27632 (add_locale_wctype_table): New static prototype.
27633 (struct locale_ctype_t): Use logical types instead of struct iovec
27634 pointers for members.
27635 (ctype_output): Use new locale_file interface.
27636 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27637 new locale_file interface.
27638 (allocate_arrays): Update for use of new locale_file interface.
27639 * locale/programs/ld-identification.c (identification_output): Use
27640 new locale_file interface.
27641 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27642 * locale/programs/ld-messages.c (messages_output): Likewise.
27643 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27644 * locale/programs/ld-name.c (name_output): Likewise.
27645 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27646 * locale/programs/ld-paper.c (paper_output): Likewise.
27647 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27648 * locale/programs/ld-time.c (time_output): Likewise.
27650 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27652 * benchtests/Makefile: Add memrchr benchmark.
27653 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27654 benchmark as memrchr.
27655 * benchtests/bench-memrchr-ifunc.c: New file.
27656 * benchtests/bench-memrchr.c: New file.
27658 2013-09-06 Will Newton <will.newton@linaro.org>
27660 * benchtests/Makefile (string-bench): Add memcpy.
27662 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27663 Cong Wang <amwang@redhat.com>
27666 * sysdeps/unix/sysv/linux/bits/in.h
27667 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27668 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27669 before __USE_KERNEL_IPV6_DEFS uses.
27670 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27672 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27673 sockaddr_in6, or ipv6_mreq.
27675 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27677 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27678 memory access for final bytes in some large inputs.
27679 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27681 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27683 * string/test-memrchr.c: New file.
27684 * string/test-memrchr-ifunc.c: New file.
27685 * string/Makefile: Add new memrchr testcase.
27687 2013-09-05 Mike Frysinger <vapier@gentoo.org>
27689 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27690 fanotify_init returns EPERM.
27692 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27694 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27696 (top level): Treat second token from macro or constant entries for
27697 allowed headers as allowed.
27698 * include/complex.h: Condition internal declarations on
27700 * include/fenv.h: Condition include of <stdbool.h> and internal
27701 declarations on [!_ISOMAC].
27703 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27706 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27708 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27710 * configure.in (--enable-versioning): Remove configure option.
27711 (libc_cv_asm_symver_directive): Remove configure test.
27712 (libc_cv_ld_version_script_option): Likewise.
27713 (VERSIONING): Remove variable and AC_SUBST.
27714 (DO_VERSIONING): Remove AC_DEFINE.
27715 * configure: Regenerated.
27716 * config.h.in (DO_VERSIONING): Remove macro.
27717 * Makerules [$(versioning) = yes]: Change conditionals to
27718 [$(build-shared) = yes].
27719 * config.make.in (versioning): Remove variable.
27720 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27721 [$(build-shared) = yes].
27722 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27723 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27724 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27725 [$(build-shared) = yes].
27726 * extra-lib.mk [$(versioning) = yes]: Likewise.
27727 * hurd/Makefile [$(versioning) = yes]: Likewise.
27728 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27730 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27732 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27733 [SHARED && !NO_HIDDEN].
27734 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27736 [SHARED && DO_VERSIONING]: Likewise..
27737 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27738 [$(build-shared) = yes].
27739 * manual/install.texi (--disable-versioning): Remove
27741 * INSTALL: Regenerated.
27742 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27744 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27745 [$(build-shared) = yes].
27746 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27747 * sysdeps/i386/i686/multiarch/strstr-c.c
27748 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27749 [SHARED && !NO_HIDDEN].
27750 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27751 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27752 * sysdeps/powerpc/powerpc32/dl-machine.c
27753 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27754 * sysdeps/powerpc/powerpc32/sysdep.h
27755 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27756 to [SHARED && PIC && !NO_HIDDEN].
27757 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27758 conditional to [SHARED].
27760 2013-09-04 Will Newton <will.newton@linaro.org>
27762 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27763 * benchtests/bench-string.h: Include bench-timing.h instead
27764 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27765 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27766 call to HP_TIMING_DIFF_INIT.
27767 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27768 instead of hp-timing.h macros.
27769 * benchtests/bench-memchr.c: Likewise.
27770 * benchtests/bench-memcmp.c: Likewise.
27771 * benchtests/bench-memcpy.c: Likewise.
27772 * benchtests/bench-memmem.c: Likewise.
27773 * benchtests/bench-memmove.c: Likewise.
27774 * benchtests/bench-memset.c: Likewise.
27775 * benchtests/bench-rawmemchr.c: Likewise.
27776 * benchtests/bench-strcasecmp.c: Likewise.
27777 * benchtests/bench-strcasestr.c: Likewise.
27778 * benchtests/bench-strcat.c: Likewise.
27779 * benchtests/bench-strchr.c: Likewise.
27780 * benchtests/bench-strcmp.c: Likewise.
27781 * benchtests/bench-strcpy.c: Likewise.
27782 * benchtests/bench-strcpy_chk.c: Likewise.
27783 * benchtests/bench-strlen.c: Likewise.
27784 * benchtests/bench-strncasecmp.c: Likewise.
27785 * benchtests/bench-strncat.c: Likewise.
27786 * benchtests/bench-strncmp.c: Likewise.
27787 * benchtests/bench-strncpy.c: Likewise.
27788 * benchtests/bench-strnlen.c: Likewise.
27789 * benchtests/bench-strpbrk.c: Likewise.
27790 * benchtests/bench-strrchr.c: Likewise.
27791 * benchtests/bench-strspn.c: Likewise.
27792 * benchtests/bench-strstr.c: Likewise.
27794 2013-09-04 Will Newton <will.newton@linaro.org>
27796 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27798 2013-09-03 Joseph Myers <joseph@codesourcery.com>
27801 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27802 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27803 * math/libm-test.inc (lgamma_test_data): Add more tests.
27804 * sysdeps/i386/fpu/libm-test-ulps: Update.
27805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27807 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
27809 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27810 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27813 Add strcmp-sse2-unaligned
27814 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27816 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27818 * Versions.def (libc): Add GLIBC_2.19.
27820 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27822 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27823 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27825 2013-09-02 Joseph Myers <joseph@codesourcery.com>
27828 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27829 intermediate calculations in recurrence.
27830 (__ieee754_ynf): Likewise.
27831 * math/libm-test.inc (jn_test_data): Do not allow spurious
27832 underflow exception. Add more tests.
27833 (yn_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-02 Ondřej Bílka <neleai@seznam.cz>
27839 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27841 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27843 * csu/init-first.c: Fix then/than typos.
27844 * locale/programs/ld-collate.c: Likewise.
27845 * locale/programs/linereader.h: Likewise.
27846 * manual/charset.texi: Likewise.
27847 * manual/filesys.texi: Likewise.
27848 * manual/stdio.texi: Likewise.
27849 * manual/string.texi: Likewise.
27850 * stdlib/fmtmsg.c: Likewise.
27851 * sysdeps/i386/stpncpy.S: Likewise.
27852 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27853 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27854 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27855 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27857 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27859 * elf/dl-open.c: Fix typos.
27860 * iconvdata/gbbig5.c: Likewise.
27861 * iconvdata/iso-2022-jp.c: Likewise.
27862 * iconv/gconv_int.h: Likewise.
27863 * iconv/loop.c: Likewise.
27864 * nis/rpcsvc/nis.h: Likewise.
27865 * resolv/ns_name.c: Likewise.
27866 * stdio-common/vfscanf.c: Likewise.
27867 * streams/stropts.h: Likewise.
27868 * sunrpc/rpc_thread.c: Likewise.
27869 * sysdeps/i386/strpbrk.S: Likewise.
27870 * sysdeps/ieee754/k_standard.c: Likewise.
27871 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27873 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27874 * sysdeps/mach/hurd/profil.c: Likewise.
27875 * sysdeps/s390/dl-procinfo.h: Likewise.
27876 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27877 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27878 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27879 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27880 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27882 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27884 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27885 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27887 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27889 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27890 aix specific files.
27891 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27892 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27893 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27894 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27895 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27896 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27897 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27898 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27900 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27901 Roland McGrath <roland@hack.frob.com>
27903 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27904 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27906 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27908 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27909 __executable_start symbol instead of _start.
27911 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27913 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27914 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27916 * sysdeps/gnu/ldsodefs.h: ... this new file.
27918 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27919 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27920 instead of ELFOSABI_LINUX.
27922 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27923 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27924 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27925 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27927 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27928 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27929 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27931 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27932 (ibm_extended_long_double): Add ieee_nan member.
27933 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27934 (do_test): New function.
27936 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27938 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27939 functions, renamed from truncdfsf_test, trunctfsf_test,
27941 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27943 (do_test): Run all these.
27945 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27947 * argp/argp-help.c: Fix typos.
27948 * argp/argp-parse.c: Likewise.
27949 * debug/backtracesyms.c: Likewise.
27950 * elf/elf.h: Likewise.
27951 * malloc/malloc.c: Likewise.
27952 * nis/nis_print.c: Likewise.
27953 * resolv/res_comp.c: Likewise.
27954 * stdlib/stdlib.h: Likewise.
27955 * sunrpc/clnt_tcp.c: Likewise.
27956 * sunrpc/clnt_udp.c: Likewise.
27957 * sunrpc/clnt_unix.c: Likewise.
27958 * sysdeps/unix/bsd/ptsname.c: Likewise.
27959 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27960 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27967 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27969 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27971 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27974 2013-08-27 Mike Frysinger <vapier@gentoo.org>
27977 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27978 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27979 ($(objpfx)bug-dl-leaf): New rule.
27980 ($(objpfx)bug-dl-leaf.so): Likewise.
27981 ($(objpfx)bug-dl-leaf.out): Likewise.
27982 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27983 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27984 * dlfcn/bug-dl-leaf.c: New test.
27985 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27986 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27987 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27988 (dlclose): Likewise.
27989 (dlmopen): Likewise.
27991 2013-08-27 Roland McGrath <roland@hack.frob.com>
27993 * include/netdb.h [!_ISOMAC]:
27994 Don't include <tls.h>.
27995 (h_errno, __libc_h_errno): Move declaration and macros out of
27998 * include/resolv.h [_RESOLV_H_]:
27999 Don't include <tls.h>.
28000 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28001 * resolv/res_libc.c: Don't include <tls.h>.
28002 (_res): Use __attribute__ ((nocommon)) in place of
28003 __attribute__ ((section (".bss"))).
28005 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28006 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28008 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28010 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28011 only under [SIOCGIFCONF && SIOCGIFNETMASK].
28013 * resolv/res_mkquery.c: Include <sys/time.h>.
28015 * inet/ifreq.c: Moved to ...
28016 * sysdeps/unix/ifreq.c: ... here.
28017 * inet/ifreq.c: New file, true stub version.
28019 * socket/sa_len.c: New file.
28020 * socket/Makefile (aux): Add it.
28021 * sysdeps/unix/sysv/linux/Makefile
28022 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28023 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28024 and #include <socket/sa_len.c>.
28025 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28026 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28028 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28029 * bits/socket.h: ... here.
28031 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28032 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28033 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28035 2013-08-27 Andreas Schwab <schwab@suse.de>
28038 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28039 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28040 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28041 * string/test-strcasecmp.c (test_main): Run tests in several
28043 * string/test-strncasecmp.c (test_main): Likewise.
28045 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28046 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28047 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28049 (__strncasecmp_ssse3) [PIC]: Likewise.
28051 2013-08-26 Roland McGrath <roland@hack.frob.com>
28053 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28055 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28056 instead of explicitly declaring xdecrypt.
28057 * nis/nss_nis/nis-publickey.c: Likewise.
28059 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28062 * nscd/aicache.c: Include res_hconf.h.
28063 (addhstaiX): Initialize res_hconf.
28065 2013-08-26 Andreas Schwab <schwab@suse.de>
28067 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28068 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28070 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28072 * nscd/aicache.c (addhstaiX): Fix indentation.
28074 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28076 * configure.ac: Quote $build_pt_chown test.
28077 * configure: Regenerated.
28079 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28082 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28083 * math/s_cexpf.c (__cexpf): Likewise.
28084 * math/s_cexpl.c (__cexpl): Likewise.
28085 * math/libm-test.inc (cexp_test_data): Correct expected return
28086 value for NaN + i0. Add another test.
28088 2013-08-22 David S. Miller <davem@davemloft.net>
28090 * po/ca.po: Update Catalan translation from translation project.
28091 * po/uk.po: Add Ukrainian translations from translation project.
28093 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28096 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28097 is infinite, not alongside NaN test.
28098 * math/s_fdimf.c (__fdimf): Likewise.
28099 * math/s_fdiml.c (__fdiml): Likewise.
28100 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28101 errno is unchanged.
28103 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28105 * argp/argp-help.c: Fix typos.
28106 * crypt/speeds.c: Likewise.
28107 * csu/check_fds.c: Likewise.
28108 * elf/dl-load.c: Likewise.
28109 * elf/dl-open.c: Likewise.
28110 * elf/reldep3.c: Likewise.
28111 * elf/reldep.c: Likewise.
28112 * elf/sprof.c: Likewise.
28113 * iconv/iconv_charmap.c: Likewise.
28114 * iconv/skeleton.c: Likewise.
28115 * iconv/strtab.c: Likewise.
28116 * io/lockf64.c: Likewise.
28117 * libio/libioP.h: Likewise.
28118 * resolv/gai_notify.c: Likewise.
28119 * resolv/ns_name.c: Likewise.
28120 * resolv/ns_samedomain.c: Likewise.
28121 * resolv/res_send.c: Likewise.
28122 * stdlib/random.c: Likewise.
28123 * sunrpc/rpc/xdr.h: Likewise.
28124 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28125 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28126 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28127 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28128 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28129 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28130 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28132 * sysdeps/mach/hurd/check_fds.c: Likewise.
28133 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28134 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28135 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28136 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28137 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28138 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28139 * sysdeps/pthread/aio_notify.c: Likewise.
28140 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28141 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28144 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28146 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28148 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28149 version if bit_Slow_SSE4_2 is set.
28150 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28151 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28153 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28156 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28157 trampoline stack frame information.
28158 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28159 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28160 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28161 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28162 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28163 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28164 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28165 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28167 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28168 interrupting a syscall and set with option SA_SIGINFO.
28170 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28173 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28174 argument is infinite.
28175 * math/s_cprojf.c (__cprojf): Likewise.
28176 * math/s_cprojl.c (__cprojl): Likewise.
28177 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28178 * math/libm-test.inc (cproj_test_data): Add more tests.
28180 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28182 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28183 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28184 size. Use __ffs to determine corresponding shift.
28186 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28187 Roland McGrath <roland@hack.frob.com>
28189 * Makefile (INSTALL): Remove trailing blank lines from output of
28192 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28194 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28195 Align 32 bit compat elf_greg to 8 bytes.
28197 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28199 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28201 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28203 * string/strcoll_l.c (coll_seq): New structure.
28204 (get_next_seq_cached): New function.
28205 (get_next_seq): New function.
28206 (do_compare): New function.
28207 (STRCOLL): Use GNU style definition. Simplify implementation
28208 by using get_next_seq, get_next_seq_cached and do_compare.
28210 2013-08-16 Florian Weimer <fweimer@redhat.com>
28214 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28216 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28218 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28219 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28220 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28222 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28223 GETDENTS_64BIT_ALIGNED.
28224 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28225 * manual/filesys.texi (Reading/Closing Directory): Document
28226 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28228 * manual/conf.texi (Limits for Files): Add portability note to
28229 NAME_MAX, PATH_MAX.
28230 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28232 2013-08-13 Andreas Schwab <schwab@suse.de>
28235 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28237 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28238 LDBL_MAX_EXP >= 16384]: Add tests for it.
28240 2013-08-12 David S. Miller <davem@davemloft.net>
28242 * version.h (RELEASE): Set to "development".
28243 (VERSION): Set to "2.18.90".
28244 * NEWS: Add 2.19 section.
28246 2013-08-03 David S. Miller <davem@davemloft.net>
28248 * po/ko.po: Update Korean translation from translation project.
28250 2013-08-01 David S. Miller <davem@davemloft.net>
28252 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28253 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28256 2013-07-30 David S. Miller <davem@davemloft.net>
28258 * po/fr.po: Update French translation from translation project.
28260 2013-07-28 David S. Miller <davem@davemloft.net>
28262 * po/cs.po: Update Czech translation from translation project.
28264 * po/sv.po: Update Swedish translation from translation project.
28266 2013-07-27 David S. Miller <davem@davemloft.net>
28268 * po/eo.po: Update Esperanto translation from translation project.
28270 * po/vi.po: Update Vietnamese translation from translation project.
28272 * po/de.po: Update German translation from translation project.
28274 2013-07-26 David S. Miller <davem@davemloft.net>
28276 * po/bg.po: Update Bulgarian translation from translation project.
28278 * po/nl.po: Update Dutch translation from translation project.
28279 * po/pl.po: Update Polish translation from translation project.
28280 * po/ru.po: Update Russian translation from translation project.
28282 2013-07-24 David S. Miller <davem@davemloft.net>
28284 * po/libc.pot: Update.
28286 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28288 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28289 variable page size.
28290 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28291 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28292 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28294 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28296 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28298 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28299 Andreas Schwab <schwab@suse.de>
28300 Roland McGrath <roland@hack.frob.com>
28301 Joseph Myers <joseph@codesourcery.com>
28302 Carlos O'Donell <carlos@redhat.com>
28305 * config.h.in: Define HAVE_PT_CHOWN.
28306 * config.make.in (build-pt-chown): New variable.
28307 * configure.in (--enable-pt_chown): New configure option.
28308 * configure: Regenerate.
28309 * login/Makefile: Include Makeconfig. Build pt_chown only if
28310 build-pt-chown is enabled.
28311 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28312 pt_chown to fix pty ownership.
28313 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28315 * manual/install.texi (Configuring and compiling): Mention
28316 --enable-pt_chown. Add @findex for grantpt.
28317 * INSTALL: Regenerate.
28319 2013-07-20 David S. Miller <davem@davemloft.net>
28321 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28322 difference between 32-bit and 64-bit.
28324 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28327 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28328 Avoid system header dependency with -ffreestanding.
28329 ($(objpfx)bits/syscall%d): Likewise.
28331 2013-07-13 David S. Miller <davem@davemloft.net>
28333 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28334 underflows from atanl/atan2l due to bug 15319.
28335 (casinh_test_data): Likewise.
28337 2013-07-07 David S. Miller <davem@davemloft.net>
28339 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28341 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28343 * sysdeps/i386/fpu/libm-test-ulps: Update.
28344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28346 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28348 * configure.in (--enable-lock-elision): Fix message text.
28349 * INSTALL: Regenerate.
28350 * configure: Regenerate.
28352 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28356 2013-07-03 Andreas Jaeger <aj@suse.de>
28358 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28360 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28361 (ptrace_peeksiginfo_args): Add.
28362 (__ptrace_peeksiginfo_flags): Add.
28363 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28365 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28367 2013-07-03 Allan McRae <allan@archlinux.org>
28369 * sysdeps/i386/fpu/libm-test-ulps: Update.
28371 2013-07-02 David S. Miller <davem@davemloft.net>
28373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28375 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28379 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28381 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28384 2013-07-02 Andi Kleen <ak@linux.intel.com>
28386 * config.h.in (ENABLE_LOCK_ELISION): Add.
28387 * configure.in (--enable-lock-elision): Add option.
28388 * manual/install.texi: Document --enable lock elision.
28389 * configure: Regenerate
28390 * INSTALL: Regenerate.
28392 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28394 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28395 SSE4.2 strcasecmp for libc.a.
28396 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28398 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28401 * soft-fp/op-common.h (_FP_FMA): New macro.
28402 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28403 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28404 (_FP_MUL_MEAT_1_imm): ... here.
28405 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28406 (_FP_MUL_MEAT_1_wide): ... here.
28407 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28408 (_FP_MUL_MEAT_1_hard): ... here.
28409 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28410 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28411 (_FP_MUL_MEAT_2_wide): ... here.
28412 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28413 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28414 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28415 (_FP_MUL_MEAT_2_gmp): ... here.
28416 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28417 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28418 (_FP_MUL_MEAT_4_wide): ... here.
28419 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28420 (_FP_MUL_MEAT_4_gmp): ... here.
28421 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28422 (_FP_WFRACBITS_DW_S): Likewise.
28423 (_FP_WFRACXBITS_DW_S): Likewise.
28424 (_FP_HIGHBIT_DW_S): Likewise.
28425 (FP_FMA_S): Likewise.
28426 (_FP_FRAC_HIGH_DW_S): Likewise.
28427 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28428 (_FP_WFRACBITS_DW_D): Likewise.
28429 (_FP_WFRACXBITS_DW_D): Likewise.
28430 (_FP_HIGHBIT_DW_D): Likewise.
28431 (FP_FMA_D): Likewise.
28432 (_FP_FRAC_HIGH_DW_D): Likewise.
28433 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28434 (_FP_WFRACBITS_DW_E): Likewise.
28435 (_FP_WFRACXBITS_DW_E): Likewise.
28436 (_FP_HIGHBIT_DW_E): Likewise.
28437 (FP_FMA_E): Likewise.
28438 (_FP_FRAC_HIGH_DW_E): Likewise.
28439 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28440 (_FP_WFRACBITS_DW_Q): Likewise.
28441 (_FP_WFRACXBITS_DW_Q): Likewise.
28442 (_FP_HIGHBIT_DW_Q): Likewise.
28443 (FP_FMA_Q): Likewise.
28444 (_FP_FRAC_HIGH_DW_Q): Likewise.
28445 * soft-fp/fmasf4.c: New file.
28446 * soft-fp/fmadf4.c: Likewise.
28447 * soft-fp/fmatf4.c: Likewise.
28449 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28452 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28454 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28456 (index_Slow_SSE4_2): Likewise.
28457 (index_Prefer_PMINUB_for_stringop): Likewise.
28458 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28459 bit_Slow_SSE4_2 is set.
28460 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28461 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28463 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28465 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28466 rtld_global._dl_hwcap2.
28467 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28469 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28470 POWER8 feature descriptions defined in _dl_hwcap2.
28471 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28472 string handling for POWER8 feature bits.
28473 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28474 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28475 _dl_powerpc_cap_flags.
28476 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28477 * sysdeps/powerpc/rtld-global-offsets.sym
28478 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28479 _dl_hwcap2 in the rtld_global_ro structure.
28481 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28483 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28484 hardware capabilities in support of AT_HWCAP2.
28485 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28486 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28488 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28489 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28490 explicitly the unknown a_type display mechanism is used.
28491 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28492 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28494 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28495 to macro prototype for AT_HWCAP2 support.
28496 * sysdeps/i386/dl-procinfo.h: Likewise.
28497 * sysdeps/s390/dl-procinfo.h: Likewise.
28498 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28499 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28500 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28501 return -1 for unknown a_type display fallback.
28502 * sysdeps/sparc/dl-procinfo.h: Likewise.
28503 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28504 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28506 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28508 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28509 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28511 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28514 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28515 mprotect making __stack_prot writable.
28517 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28518 Joseph Myers <joseph@codesourcery.com>
28520 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28521 as being properly aligned.
28523 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28525 * dlfcn/modstatic5.c: New file.
28526 * dlfcn/tststatic5.c: New file.
28527 * dlfcn/Makefile (tests): Add tststatic5.
28528 (tests-static): Likewise.
28529 (modules-names): Add modstatic5.
28530 (tststatic5-ENV): New variable.
28531 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28534 * elf/dl-support.c (_dl_main_map): New variable.
28535 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28536 (_dl_nns, _dl_load_adds): Set to 1.
28537 (_dl_initial_searchlist): Refer to _dl_main_map.
28538 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28539 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28540 call to _dl_get_origin.
28541 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28543 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28544 * dlfcn/modstatic3.c: New file.
28545 * dlfcn/tststatic3.c: New file.
28546 * dlfcn/tststatic4.c: New file.
28547 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28548 (tests-static): Likewise.
28549 (modules-names): Add modstatic3.
28550 (tststatic3-ENV, tststatic4-ENV): New variables.
28551 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28552 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28554 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28556 * configure.in (CC): Require GCC version 4.4 or later.
28557 * configure: Regenerated.
28558 * manual/install.texi (Tools for Compilation): Update GCC version
28560 * INSTALL: Regenerated.
28562 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28565 * string/test-memcmp.c (check2): New.
28566 (main): Call check2.
28568 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28570 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28573 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28575 (dl_open_worker) [!SHARED]: ... here.
28577 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28579 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28581 2013-06-25 Richard Henderson <rth@redhat.com>
28583 * locale/programs/locarchive.c: Include <libc-internal.h>
28585 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28587 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28588 trailing whitespace removed.
28590 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28593 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28594 * locale/programs/locarchive.c: Include libc-mmap.h.
28595 (prepare_address_space): Take two new outputs (the mmap base and len).
28596 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28598 (create_archive): Declare new mmap base and len values for
28599 prepare_address_space, and store the result in ah.
28600 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28601 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28602 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28603 Declare new mmap base and len values for
28604 prepare_address_space, and store the result in new_ah.
28605 (open_archive): Declare new mmap base and len values for
28606 prepare_address_space, and store the result in ah.
28607 (close_archive): If ah->mmap_base is not NULL, use that and
28608 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28609 * sysdeps/generic/libc-mmap.h: New file.
28611 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28613 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28614 (ALIGN_UP): Likewise.
28615 (PTR_ALIGN_DOWN): Likewise.
28616 (PTR_ALIGN_UP): Likewise.
28618 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28620 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28621 entry mapped to PPC_PLATFORM_POWER8.
28622 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28624 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28625 (_dl_string_platform): Add case for exporting platform position for
28627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28628 search path to sysdeps/powerpc/powerpc32/power8 directory.
28629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28630 search path to sysdeps/powerpc/powerpc64/power8 directory.
28631 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28632 power7 directories.
28633 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28634 power7 directories.
28636 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28638 * INSTALL: Regenerate.
28640 * nscd/connections.c (nscd_init): Fix comment.
28642 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28644 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28647 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28648 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28650 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28652 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28654 (DL_DST_REQ_STATIC): Remove macro.
28656 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28659 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28660 with a shift of 0 bits.
28662 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28664 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28667 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28670 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28672 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28674 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28675 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28676 accepts -fno-tree-loop-distribute-patterns.
28677 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28678 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28680 * string/memset.c (memset): Likewise.
28681 * string/test-memmove.c (simple_memmove): Disable loop transformation
28683 * string/test-memset.c (simple_memset): Likewise.
28684 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28685 * benchtests/bench-memset.c (simple_memset): Likewise.
28686 * configure: Regenerated.
28688 2013-06-20 Joseph Myers <joseph@codesourcery.com>
28690 * math/test-misc.c (main): Ignore fesetround failure when failures
28691 of subsequent rounding tests would be ignored.
28694 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28695 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28696 * math/fegetenv.c (__fegetenv): Return 0.
28697 * math/fegetexcept.c (fegetexcept): Return 0.
28698 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28700 * math/feholdexcpt.c (feholdexcept): Return 0.
28701 * math/fesetenv.c (__fesetenv): Return 0.
28702 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28703 argument FE_TONEAREST.
28704 * math/feupdateenv.c (__feupdateenv): Return 0.
28705 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28707 2013-06-18 Roland McGrath <roland@hack.frob.com>
28709 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28710 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28711 ($(objpfx)rtld-%.os rules): Use them.
28713 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28715 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28718 2013-06-17 Roland McGrath <roland@hack.frob.com>
28720 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28721 length of target pattern, then descending length of dependency pattern.
28722 * configure.in (AWK): Require gawk 3.1.2 or newer.
28723 * manual/install.texi (Tools for Compilation): Say that we do.
28724 * configure: Regenerated.
28726 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28727 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28728 * scripts/sysd-rules.awk: ... this new script.
28729 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28730 than a glob-style pattern.
28732 2013-06-17 Joseph Myers <joseph@codesourcery.com>
28734 * math/test-misc.c (main): Do not treat incorrectly rounded
28735 conversions as failure unless ROUNDING_TESTS passes.
28737 2013-06-15 Joseph Myers <joseph@codesourcery.com>
28740 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28741 restore exception state around main square root computation, then
28742 check for inexactness explicitly.
28744 * math/libm-test.inc (fma_test_data): Add another test.
28746 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28748 * manual/threads.texi (Non-POSIX Extensions): New document
28749 node. Document pthread_getattr_default_np and
28750 pthread_setattr_default_np.
28752 * Versions.def (libpthread): Add GLIBC_2.18.
28753 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28762 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28773 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28776 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28778 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28779 H.J. Lu <hjl.tools@gmail.com>
28782 * sysdeps/x86_64/rtld-memset.c: Remove file.
28783 * sysdeps/x86_64/rtld-memset.S: New file.
28785 2013-06-14 Joseph Myers <joseph@codesourcery.com>
28787 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28788 (test_in_one_mode): Take arguments for whether the rounding mode
28789 is supported for each floating-point type.
28790 (do_test): Pass new arguments to test_in_one_mode using
28793 2013-06-13 Roland McGrath <roland@hack.frob.com>
28795 * posix/tst-waitid.c (do_test): Distinguish different instances of
28796 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28797 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28798 before entering the kernel for waitpid.
28800 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28802 * NEWS: Fix note on clock function precision. Text by Roland
28805 2013-06-13 Roland McGrath <roland@hack.frob.com>
28807 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28808 it into place only when and if the sanity check passes.
28810 2013-06-13 Joseph Myers <joseph@codesourcery.com>
28812 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28813 output for whether conversion result is exact. Take argument
28814 indicating whether type is IBM long double.
28815 (round_for_all): Change need_exact field to ibm_ld.
28816 * stdlib/tst-strtod-round.c (struct exactness): New type.
28817 (struct test): Change bool ld_ok field to struct exactness exact.
28818 (TEST): Update all definitions for change to field.
28819 (tests): Regenerate array contents.
28820 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28821 field value. Check for IBM long double here.
28822 (do_test): Update calls to test_in_one_mode.
28824 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28827 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28828 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28830 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28833 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28834 generated by the compiler on loop optimizations.
28835 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28836 general definitions.
28838 2013-06-12 Joseph Myers <joseph@codesourcery.com>
28840 * math/bug-nextafter.c: Include <math-tests.h>.
28841 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28843 * math/bug-nexttoward.c: Include <math-tests.h>.
28844 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28846 * math/test-misc.c: Include <math-tests.h>.
28847 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28850 2013-06-12 Andreas Jaeger <aj@suse.de>
28852 * po/ia.po: Update Interlingua translation from translation
28855 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28857 * include/fenv.h: Include stdbool.h.
28858 (struct rm_ctx): New structure.
28859 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28861 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28862 (SET_RESTORE_ROUNDF): Likewise.
28863 (SET_RESTORE_ROUNDL): Likewise.
28864 (SET_RESTORE_ROUND_NOEX): Likewise.
28865 (SET_RESTORE_ROUND_NOEXF): Likewise.
28866 (SET_RESTORE_ROUND_NOEXL): Likewise.
28867 (SET_RESTORE_ROUND_53BIT): Likewise.
28868 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28869 (libc_feresetround_noexf_ctx): Likewise.
28870 (libc_feresetround_noexl_ctx): Likewise.
28871 (libc_feholdsetround_53bit_ctx): Likewise.
28872 (libc_feresetround_53bit_ctx): Likewise.
28873 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28874 (libc_feholdexcept_setround_sse_ctx): New function.
28875 (libc_fesetenv_sse_ctx): Likewise.
28876 (libc_feupdateenv_sse_ctx): Likewise.
28877 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28878 (libc_feholdexcept_setround_387_ctx): Likewise.
28879 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28880 (libc_feholdsetround_387_prec_ctx): Likewise.
28881 (libc_feholdsetround_387_ctx): Likewise.
28882 (libc_feholdsetround_387_53bit_ctx): Likewise.
28883 (libc_feholdsetround_sse_ctx): Likewise.
28884 (libc_feresetround_sse_ctx): Likewise.
28885 (libc_feresetround_387_ctx): Likewise.
28886 (libc_feupdateenv_387_ctx): Likewise.
28887 (libc_feholdexcept_setroundf_ctx): Define macro.
28888 (libc_fesetenvf_ctx): Likewise.
28889 (libc_feupdateenvf_ctx): Likewise.
28890 (libc_feholdsetroundf_ctx): Likewise.
28891 (libc_feresetroundf_ctx): Likewise.
28892 (libc_feholdexcept_setround_ctx): Likewise.
28893 (libc_fesetenv_ctx): Likewise.
28894 (libc_feupdateenv_ctx): Likewise.
28895 (libc_feholdsetround_ctx): Likewise.
28896 (libc_feresetround_ctx): Likewise.
28897 (libc_feholdexcept_setroundl_ctx): Likewise.
28898 (libc_feupdateenvl_ctx): Likewise.
28899 (libc_feholdsetroundl_ctx): Likewise.
28900 (libc_feresetroundl_ctx): Likewise.
28901 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28902 (libc_feresetround_53bit_ctx): Likewise.
28904 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28906 * locale/iso-639.def: Convert to UTF-8.
28908 2013-06-11 Joseph Myers <joseph@codesourcery.com>
28910 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28911 (EXCEPTION_TESTS_double): Likewise.
28912 (EXCEPTION_TESTS_long_double): Likewise.
28913 (EXCEPTION_TESTS): Likewise.
28914 * math/libm-test.inc (test_exceptions): Only test exceptions if
28915 EXCEPTION_TESTS (FLOAT).
28917 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28919 * benchtests/Makefile (string-bench): Add strcpy_chk and
28921 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28922 * benchtests/bench-stpcpy_chk.c: New file.
28923 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28924 * benchtests/bench-strcpy_chk.c: New file.
28925 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28927 (do_test): Likewise.
28929 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28931 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28932 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28933 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28934 with tabs where appropriate.
28935 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28937 [PPC_PLATFORM_PPC440]: Likewise.
28938 [PPC_PLATFORM_PPC464]: Likewise.
28939 [PPC_PLATFORM_PPC476]: Likewise.
28940 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28941 ppc464, and ppc476 platform strings merging from ports/
28944 2013-06-11 Andreas Schwab <schwab@suse.de>
28947 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28948 (from_ucs4_idx): Regenerate.
28949 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28950 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28951 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28952 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28953 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28954 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28955 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28956 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28957 from FROM_LOOP and TO_LOOP specific macros.
28958 (BODY): Handle combining characters.
28959 * iconvdata/BIG5HKSCS.irreversible: Update.
28960 * iconvdata/BIG5HKSCS.precomposed: New file.
28961 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28963 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28965 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28967 * include/sys/time.h: Fix indentation and add copyright header.
28969 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28970 (do_test): Likewise.
28971 * string/test-memchr.c (do_one_test): Likewise.
28972 (do_test): Likewise.
28973 * string/test-memcmp.c (do_one_test): Likewise.
28974 (do_test): Likewise.
28975 * string/test-memcpy.c (do_one_test): Likewise.
28976 (do_test): Likewise.
28977 * string/test-memmem.c (do_one_test): Likewise.
28978 (do_test): Likewise.
28979 (do_random_tests): Likewise.
28980 * string/test-memmove.c (do_one_test): Likewise.
28981 (do_test): Likewise.
28982 * string/test-memset.c (do_one_test): Likewise.
28983 (do_test): Likewise.
28984 * string/test-rawmemchr.c (do_one_test): Likewise.
28985 (do_test): Likewise.
28986 * string/test-strcasecmp.c (do_one_test): Likewise.
28987 (do_test): Likewise.
28988 * string/test-strcasestr.c (do_one_test): Likewise.
28989 (do_test): Likewise.
28990 * string/test-strcat.c (do_one_test): Likewise.
28991 (do_test): Likewise.
28992 * string/test-strchr.c (do_one_test): Likewise.
28993 (do_test): Likewise.
28994 * string/test-strcmp.c (do_one_test): Likewise.
28995 (do_test): Likewise.
28996 * string/test-strcpy.c (do_one_test): Likewise.
28997 (do_test): Likewise.
28998 * string/test-string.h: Likewise.
28999 (test_init): Likewise.
29000 * string/test-strlen.c (do_one_test): Likewise.
29001 (do_test): Likewise.
29002 * string/test-strncasecmp.c (do_one_test): Likewise.
29003 (do_test): Likewise.
29004 * string/test-strncat.c (do_one_test): Likewise.
29005 (do_test): Likewise.
29006 * string/test-strncmp.c (do_one_test): Likewise.
29007 (do_test_limit): Likewise.
29008 (do_test): Likewise.
29009 * string/test-strncpy.c (do_one_test): Likewise.
29010 (do_test): Likewise.
29011 * string/test-strnlen.c (do_one_test): Likewise.
29012 (do_test): Likewise.
29013 * string/test-strpbrk.c (do_one_test): Likewise.
29014 (do_test): Likewise.
29015 * string/test-strrchr.c (do_one_test): Likewise.
29016 (do_test): Likewise.
29017 * string/test-strspn.c (do_one_test): Likewise.
29018 (do_test): Likewise.
29019 * string/test-strstr.c (do_one_test): Likewise.
29020 (do_test): Likewise.
29022 * benchtests/Makefile (string-bench): Add string benchmarks.
29023 * benchtests/bench-bcopy-ifunc.c: New file.
29024 * benchtests/bench-bcopy.c: New file.
29025 * benchtests/bench-bzero-ifunc.c: New file.
29026 * benchtests/bench-bzero.c: New file.
29027 * benchtests/bench-memccpy-ifunc.c: New file.
29028 * benchtests/bench-memccpy.c: New file.
29029 * benchtests/bench-memchr-ifunc.c: New file.
29030 * benchtests/bench-memchr.c: New file.
29031 * benchtests/bench-memcmp-ifunc.c: New file.
29032 * benchtests/bench-memcmp.c: New file.
29033 * benchtests/bench-memmem-ifunc.c: New file.
29034 * benchtests/bench-memmem.c: New file.
29035 * benchtests/bench-memmove-ifunc.c: New file.
29036 * benchtests/bench-memmove.c: New file.
29037 * benchtests/bench-mempcpy-ifunc.c: New file.
29038 * benchtests/bench-mempcpy.c: New file.
29039 * benchtests/bench-memset-ifunc.c: New file.
29040 * benchtests/bench-memset.c: New file.
29041 * benchtests/bench-rawmemchr-ifunc.c: New file.
29042 * benchtests/bench-rawmemchr.c: New file.
29043 * benchtests/bench-stpcpy-ifunc.c: New file.
29044 * benchtests/bench-stpcpy.c: New file.
29045 * benchtests/bench-stpncpy-ifunc.c: New file.
29046 * benchtests/bench-stpncpy.c: New file.
29047 * benchtests/bench-strcasecmp-ifunc.c: New file.
29048 * benchtests/bench-strcasecmp.c: New file.
29049 * benchtests/bench-strcasestr-ifunc.c: New file.
29050 * benchtests/bench-strcasestr.c: New file.
29051 * benchtests/bench-strcat-ifunc.c: New file.
29052 * benchtests/bench-strcat.c: New file.
29053 * benchtests/bench-strchr-ifunc.c: New file.
29054 * benchtests/bench-strchr.c: New file.
29055 * benchtests/bench-strchrnul-ifunc.c: New file.
29056 * benchtests/bench-strchrnul.c: New file.
29057 * benchtests/bench-strcmp-ifunc.c: New file.
29058 * benchtests/bench-strcmp.c: New file.
29059 * benchtests/bench-strcpy-ifunc.c: New file.
29060 * benchtests/bench-strcpy.c: New file.
29061 * benchtests/bench-strcspn-ifunc.c: New file.
29062 * benchtests/bench-strcspn.c: New file.
29063 * benchtests/bench-strlen-ifunc.c: New file.
29064 * benchtests/bench-strlen.c: New file.
29065 * benchtests/bench-strncasecmp-ifunc.c: New file.
29066 * benchtests/bench-strncasecmp.c: New file.
29067 * benchtests/bench-strncat-ifunc.c: New file.
29068 * benchtests/bench-strncat.c: New file.
29069 * benchtests/bench-strncmp-ifunc.c: New file.
29070 * benchtests/bench-strncmp.c: New file.
29071 * benchtests/bench-strncpy-ifunc.c: New file.
29072 * benchtests/bench-strncpy.c: New file.
29073 * benchtests/bench-strnlen-ifunc.c: New file.
29074 * benchtests/bench-strnlen.c: New file.
29075 * benchtests/bench-strpbrk-ifunc.c: New file.
29076 * benchtests/bench-strpbrk.c: New file.
29077 * benchtests/bench-strrchr-ifunc.c: New file.
29078 * benchtests/bench-strrchr.c: New file.
29079 * benchtests/bench-strspn-ifunc.c: New file.
29080 * benchtests/bench-strspn.c: New file.
29081 * benchtests/bench-strstr-ifunc.c: New file.
29082 * benchtests/bench-strstr.c: New file.
29084 * benchtests/Makefile: Disable parallel execution of targets.
29085 (string-bench): Add memcpy.
29086 (benchset): New variable to store a list of benchmark sets.
29087 (bench-func): Renamed from bench.
29088 (bench-set): New target.
29089 (bench): Depend on bench-func and bench-set.
29090 * benchtests/README: Add section on benchmark sets.
29091 * benchtests/bench-memcpy-ifunc.c: New file.
29092 * benchtests/bench-memcpy.c: New file.
29093 * benchtests/bench-string.h: New file.
29095 2013-06-11 Andreas Schwab <schwab@suse.de>
29098 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29099 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29100 values in the triple.
29101 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29102 terminator in the group key.
29104 2013-06-11 Andreas Jaeger <aj@suse.de>
29106 * po/zh_TW.po: Update Chinese (traditional) translation from
29107 translation project.
29109 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29111 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29112 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29113 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29114 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29115 (clock_getcpuclockid): Likewise.
29116 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29117 Add weak_alias and libc_hidden_def.
29118 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29119 * rt/clock_gettime.c (clock_gettime): Rename to
29120 __clock_gettime. Add weak_alias and libc_hidden_def.
29121 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29122 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29123 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29124 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29125 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29127 * rt/clock_settime.c (clock_settime): Rename to
29128 __clock_settime. Add weak_alias and libc_hidden_def.
29129 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29131 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29133 * mach/err_boot.sub: Remove trailing whitespace.
29134 * mach/err_ipc.sub: Likewise.
29135 * mach/err_mach.sub: Likewise.
29137 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29138 (ROUNDING_TESTS_double): Likewise.
29139 (ROUNDING_TESTS_long_double): Likewise.
29140 (ROUNDING_TESTS): Likewise.
29141 * math/libm-test.inc: Include <math-tests.h>.
29142 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29143 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29144 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29145 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29147 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29149 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29152 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29154 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29155 otherwise empty TRANS lines.
29156 * sysdeps/gnu/errlist.c: Regenerated.
29158 * catgets/gencat.c (error_print): Use (void) in function
29160 * crypt/crypt_util.c (__init_des): Likewise.
29161 * crypt/speeds.c (Stop): Likewise.
29163 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29164 * inet/ruserpass.c (token): Likewise.
29165 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29166 * intl/localealias.c (extend_alias_table): Likewise.
29167 * intl/plural-exp.c (init_germanic_plural): Likewise.
29168 * libio/fcloseall.c (__fcloseall): Likewise.
29169 * libio/genops.c (_IO_flush_all): Likewise.
29170 (_IO_flush_all_linebuffered): Likewise.
29171 (_IO_cleanup): Likewise.
29172 (_IO_iter_begin): Likewise.
29173 (_IO_iter_end): Likewise.
29174 (_IO_list_lock): Likewise.
29175 (_IO_list_unlock): Likewise.
29176 (_IO_list_resetlock): Likewise.
29177 * libio/getchar.c (getchar): Likewise.
29178 * libio/getchar_u.c (getchar_unlocked): Likewise.
29179 * libio/getwchar.c (getwchar): Likewise.
29180 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29181 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29182 * login/getpt.c (__getpt): Likewise.
29183 * login/tst-utmp.c (main): Likewise.
29184 * malloc/hooks.c (__malloc_check_init): Likewise.
29185 * malloc/malloc.c (__malloc_stats): Likewise.
29186 * malloc/mtrace.c (tr_break): Likewise.
29187 (mtrace): Likewise.
29188 (muntrace): Likewise.
29189 * misc/fstab.c (endfsent): Likewise.
29190 * misc/getclktck.c (__getclktck): Likewise.
29191 * misc/getdtsz.c (__getdtablesize): Likewise.
29192 * misc/gethostid.c (gethostid): Likewise.
29193 * misc/getpagesize.c (__getpagesize): Likewise.
29194 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29195 (__get_nprocs): Likewise.
29196 (__get_phys_pages): Likewise.
29197 (__get_avphys_pages): Likewise.
29198 * misc/getttyent.c (getttyent): Likewise.
29199 (setttyent): Likewise.
29200 (endttyent): Likewise.
29201 * misc/getusershell.c (getusershell): Likewise.
29202 (endusershell): Likewise.
29203 (setusershell): Likewise.
29204 (initshells): Likewise.
29205 * misc/hsearch.c (__hdestroy): Likewise.
29206 * misc/sync.c (sync): Likewise.
29207 * misc/syslog.c (closelog_internal): Likewise.
29208 (closelog): Likewise.
29209 * misc/ttyslot.c (ttyslot): Likewise.
29210 * misc/vhangup.c (vhangup): Likewise.
29211 * posix/fork.c (__fork): Likewise.
29212 * posix/getegid.c (__getegid): Likewise.
29213 * posix/geteuid.c (__geteuid): Likewise.
29214 * posix/getgid.c (__getgid): Likewise.
29215 * posix/getpid.c (__getpid): Likewise.
29216 * posix/getppid.c (__getppid): Likewise.
29217 * posix/getuid.c (__getuid): Likewise.
29218 * posix/pause.c (pause): Likewise.
29219 * posix/setpgrp.c (setpgrp): Likewise.
29220 * posix/setsid.c (__setsid): Likewise.
29221 * posix/test-vfork.c (noop): Likewise.
29222 * resolv/gethnamaddr.c (_endhtent): Likewise.
29223 (_gethtent): Likewise.
29224 (ht_endhostent): Likewise.
29225 (gethostent): Likewise.
29226 (dns_service): Likewise.
29227 * stdlib/drand48.c (drand48): Likewise.
29228 * stdlib/lrand48.c (lrand48): Likewise.
29229 * stdlib/mrand48.c (mrand48): Likewise.
29230 * stdlib/rand.c (rand): Likewise.
29231 * stdlib/random.c (__random): Likewise.
29232 * stdlib/setenv.c (clearenv): Likewise.
29233 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29234 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29235 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29236 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29237 (__get_nprocs): Likewise.
29238 (__get_phys_pages): Likewise.
29239 (__get_avphys_pages): Likewise.
29240 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29241 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29242 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29243 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29244 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29245 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29246 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29247 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29248 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29249 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29250 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29251 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29252 * sysdeps/posix/clock.c (clock): Likewise.
29253 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29254 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29255 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29256 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29257 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29258 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29259 (__get_nprocs_conf): Likewise.
29260 (__get_phys_pages): Likewise.
29261 (__get_avphys_pages): Likewise.
29262 * time/clock.c (clock): Likewise.
29263 * time/tzset.c (__tzname_max): Likewise.
29265 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29267 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29268 (__bswap_32): Do not use "register".
29269 * crypt/crypt.c (_ufc_doit_r): Likewise.
29270 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29271 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29272 * gmon/gmon.c (__monstartup): Likewise.
29273 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29274 * hurd/hurdmalloc.c (more_memory): Likewise.
29275 (malloc): Likewise.
29277 (realloc): Likewise.
29278 (malloc_fork_prepare): Likewise.
29279 (malloc_fork_parent): Likewise.
29280 (malloc_fork_child): Likewise.
29281 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29282 (_svcauth_des): Likewise.
29283 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29284 * inet/inet_net.c (inet_network): Likewise.
29285 * inet/inet_netof.c (inet_netof): Likewise.
29286 * inet/rcmd.c (__validuser2_sa): Likewise.
29287 * io/fts.c (fts_open): Likewise.
29288 (fts_load): Likewise.
29289 (fts_close): Likewise.
29290 (fts_read): Likewise.
29291 (fts_children): Likewise.
29292 (fts_build): Likewise.
29293 (fts_stat): Likewise.
29294 (fts_sort): Likewise.
29295 (fts_alloc): Likewise.
29296 (fts_lfree): Likewise.
29297 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29298 (_IO_file_xsgetn): Likewise.
29299 (_IO_file_xsgetn_mmap): Likewise.
29300 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29301 (_IO_cookie_write): Likewise.
29302 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29303 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29304 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29305 * malloc/obstack.c (_obstack_begin): Likewise.
29306 (_obstack_begin_1): Likewise.
29307 (_obstack_newchunk): Likewise.
29308 (_obstack_allocated_p): Likewise.
29309 (obstack_free): Likewise.
29310 (_obstack_memory_used): Likewise.
29311 * misc/getttyent.c (getttynam): Likewise.
29312 (getttyent): Likewise.
29315 * misc/getusershell.c (initshells): Likewise.
29316 * misc/syslog.c (__vsyslog_chk): Likewise.
29317 * misc/ttyslot.c (ttyslot): Likewise.
29318 * nis/nis_hash.c (__nis_hash): Likewise.
29319 * posix/fnmatch_loop.c (FCT): Likewise.
29320 * posix/getconf.c (print_all): Likewise.
29322 * posix/getopt.c (exchange): Likewise.
29323 * posix/glob.c (globfree): Likewise.
29324 (prefix_array): Likewise.
29325 (__glob_pattern_type): Likewise.
29326 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29327 (NS_GET32): Likewise.
29328 (NS_PUT16): Likewise.
29329 (NS_PUT32): Likewise.
29330 * resolv/gethnamaddr.c (getanswer): Likewise.
29331 (gethostbyname2): Likewise.
29332 (gethostbyaddr): Likewise.
29333 (_gethtent): Likewise.
29334 (_gethtbyname2): Likewise.
29335 (_gethtbyaddr): Likewise.
29336 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29337 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29338 * resolv/res_init.c (__res_vinit): Likewise.
29339 (net_mask): Likewise.
29340 * resolv/res_mkquery.c (outchar): Likewise.
29342 * stdio-common/printf_fp.c (outchar): Likewise.
29344 * stdio-common/printf_fphex.c (outchar): Likewise.
29346 * stdio-common/printf_size.c (outchar): Likewise.
29348 * stdio-common/test_rdwr.c (main): Likewise.
29349 * stdio-common/tfformat.c (matches): Likewise.
29350 * stdio-common/vfprintf.c (outchar): Likewise.
29351 (printf_unknown): Likewise.
29352 (buffered_vfprintf): Likewise.
29353 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29354 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29355 (ReadFile): Likewise.
29356 * stdlib/qsort.c (SWAP): Likewise.
29357 (_quicksort): Likewise.
29358 * stdlib/setenv.c (__add_to_environ): Likewise.
29359 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29360 * stdlib/strtol_l.c (__strtol_l): Likewise.
29361 * stdlib/tst-strtod.c (main): Likewise.
29362 * stdlib/tst-strtol.c (main): Likewise.
29363 * stdlib/tst-strtoll.c (main): Likewise.
29364 * string/bits/string2.h (__strcmp_cc): Likewise.
29365 (__strcmp_cg): Likewise.
29366 (__strcspn_c1): Likewise.
29367 (__strcspn_c2): Likewise.
29368 (__strcspn_c3): Likewise.
29369 (__strspn_c1): Likewise.
29370 (__strspn_c2): Likewise.
29371 (__strspn_c3): Likewise.
29372 (__strsep_1c): Likewise.
29373 (__strsep_2c): Likewise.
29374 (__strsep_3c): Likewise.
29375 * string/memccpy.c (__memccpy): Likewise.
29376 * string/stpcpy.c (__stpcpy): Likewise.
29377 * string/strcmp.c (strcmp): Likewise.
29378 * string/strrchr.c (strrchr): Likewise.
29379 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29381 * sysdeps/mach/hurd/getcwd.c
29382 (_hurd_canonicalize_directory_name_internal): Likewise.
29383 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29384 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29385 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29386 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29387 Likewise, in both definitions.
29388 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29390 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29391 64] (__bswap_64): Likewise.
29392 * time/test_time.c (main): Likewise.
29393 * time/tzfile.c (__tzfile_read): Likewise.
29394 (__tzfile_compute): Likewise.
29395 * time/tzset.c (__tzset_parse_tz): Likewise.
29396 (tzset_internal): Likewise.
29397 (compute_change): Likewise.
29398 * wcsmbs/wcscat.c (__wcscat): Likewise.
29399 * wcsmbs/wcschr.c (wcschr): Likewise.
29400 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29401 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29402 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29403 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29404 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29405 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29406 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29407 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29408 * wcsmbs/wmemset.c (wmemset): Likewise.
29410 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29412 * scripts/config.guess: Update to version 2013-05-16.
29413 * scripts/config.sub: Update to version 2013-04-24.
29414 * scripts/install-sh: Update to version 2011-11-20.07.
29415 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29416 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29418 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29420 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29421 * elf/sln.c: Likewise.
29422 * hurd/hurd/ioctl.h: Likewise.
29423 * hurd/hurdmalloc.c: Likewise.
29424 * hurd/xattr.c: Likewise.
29425 * include/shlib-compat.h: Likewise.
29426 * inet/ruserpass.c: Likewise.
29427 * libio/iofgets_u.c: Likewise.
29428 * libio/iofgetws_u.c: Likewise.
29429 * locale/programs/ld-identification.c: Likewise.
29430 * locale/programs/ld-time.c: Likewise.
29431 * mach/msg-destroy.c: Likewise.
29432 * nss/nss_files/files-netgrp.c: Likewise.
29433 * resolv/res_data.c: Likewise.
29434 * soft-fp/op-1.h: Likewise.
29435 * soft-fp/op-2.h: Likewise.
29436 * soft-fp/op-4.h: Likewise.
29437 * soft-fp/op-common.h: Likewise.
29438 * stdio-common/printf_fphex.c: Likewise.
29439 * stdlib/strtod_l.c: Likewise.
29440 * sunrpc/rpc/clnt.h: Likewise.
29441 * sysdeps/generic/framestate.c: Likewise.
29442 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29443 * sysdeps/i386/bsd-setjmp.S: Likewise.
29444 * sysdeps/i386/__longjmp.S: Likewise.
29445 * sysdeps/i386/setjmp.S: Likewise.
29446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29447 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29448 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29449 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29450 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29451 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29452 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29453 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29456 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29457 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29458 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29459 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29461 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29462 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29463 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29464 * sysdeps/ieee754/support.c: Likewise.
29465 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29466 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29467 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29468 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29469 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29470 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29471 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29472 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29473 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29474 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29475 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29476 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29477 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29478 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29479 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29480 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29481 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29484 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29486 * posix/transbug.c: Remove executable mode.
29488 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29490 * crypt/speeds.c: Remove trailing whitespace.
29491 * dlfcn/default.c: Likewise.
29492 * elf/ifuncdep2.c: Likewise.
29493 * elf/ifuncmain1.c: Likewise.
29494 * elf/ifuncmain1vis.c: Likewise.
29495 * elf/testobj.h: Likewise.
29496 * elf/tst-stackguard1.c: Likewise.
29497 * gmon/sys/gmon.h: Likewise.
29498 * hurd/hurdmsg.c: Likewise.
29499 * hurd/new-fd.c: Likewise.
29500 * hurd/ports-get.c: Likewise.
29501 * iconvdata/ibm1008_420.c: Likewise.
29502 * inet/tst-getni1.c: Likewise.
29503 * inet/tst-getni2.c: Likewise.
29504 * libio/ioungetc.c: Likewise.
29505 * libio/wfiledoalloc.c: Likewise.
29506 * manual/libm-err-tab.pl: Likewise.
29507 * math/w_dremf.c: Likewise.
29508 * misc/ftruncate.c: Likewise.
29509 * posix/bug-glob2.c: Likewise.
29510 * posix/tst-pcre.c: Likewise.
29511 * posix/wait4.c: Likewise.
29512 * resolv/README: Likewise.
29513 * resolv/res_debug.h: Likewise.
29514 * resolv/tst-inet_ntop.c: Likewise.
29515 * setjmp/bug269-setjmp.c: Likewise.
29516 * soft-fp/extended.h: Likewise.
29517 * soft-fp/op-1.h: Likewise.
29518 * soft-fp/op-2.h: Likewise.
29519 * soft-fp/op-4.h: Likewise.
29520 * soft-fp/op-8.h: Likewise.
29521 * soft-fp/testit.c: Likewise.
29522 * stdio-common/bug16.c: Likewise.
29523 * stdlib/random.c: Likewise.
29524 * sunrpc/rpcsvc/rquota.x: Likewise.
29525 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29526 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29527 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29528 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29529 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29530 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29531 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29532 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29533 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29534 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29535 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29536 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29537 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29538 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29539 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29540 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29541 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29542 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29543 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29544 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29545 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29547 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29548 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29549 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29550 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29551 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29552 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29553 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29554 * sysdeps/ieee754/s_lib_version.c: Likewise.
29555 * sysdeps/mach/hurd/check_fds.c: Likewise.
29556 * sysdeps/mach/hurd/getsockname.c: Likewise.
29557 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29558 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29559 * sysdeps/powerpc/bits/link.h: Likewise.
29560 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29561 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29562 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29563 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29564 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29565 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29566 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29567 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29568 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29569 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29570 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29571 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29572 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29573 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29574 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29575 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29576 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29577 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29579 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29580 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29581 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29582 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29583 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29584 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29586 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29587 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29588 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29589 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29590 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29591 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29592 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29593 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29594 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29595 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29596 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29597 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29598 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29599 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29600 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29601 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29602 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29603 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29604 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29605 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29606 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29607 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29608 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29609 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29612 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29613 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29614 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29615 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29616 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29617 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29618 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29619 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29620 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29621 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29622 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29623 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29624 * sysdeps/powerpc/sysdep.h: Likewise.
29625 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29626 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29627 * sysdeps/sh/dl-trampoline.S: Likewise.
29628 * sysdeps/sh/memset.S: Likewise.
29629 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29630 * sysdeps/sh/strlen.S: Likewise.
29631 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29632 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29633 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29634 * sysdeps/sparc/sparc32/rem.S: Likewise.
29635 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29636 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29637 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29638 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29639 * sysdeps/sparc/sparc32/urem.S: Likewise.
29640 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29641 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29642 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29643 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29644 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29645 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29646 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29647 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29648 * sysdeps/unix/bsd/times.c: Likewise.
29649 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29650 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29654 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29655 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29656 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29657 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29658 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29659 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29660 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29661 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29662 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29663 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29664 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29665 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29666 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29667 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29668 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29669 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29670 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29671 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29672 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29673 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29674 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29675 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29676 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29677 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29678 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29679 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29680 * sysdeps/x86_64/strcspn.S: Likewise.
29682 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29684 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29685 generated file. Regenerate properly from gen-translit.pl.
29686 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29687 locale/C-translit.h.
29689 2013-06-05 Andreas Schwab <schwab@suse.de>
29692 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29693 week as 6 instead of -1.
29694 * time/tst-strptime.c (day_tests): Add test case.
29696 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29698 * sysdeps/generic/math_private.h
29699 (libc_feholdexcept_setround_53bit): Replace with
29700 libc_feholdsetround_53bit.
29701 (libc_feupdateenv_53bit): Replace with
29702 libc_feresetround_53bit.
29703 (SET_RESTORE_ROUND_53BIT): Adjust.
29705 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29707 * string/test-strchrnul.c: Add copyright header.
29709 * posix/tst-getaddrinfo4.c: Increase test timeout.
29711 2013-06-03 Carlos O'Donell <carlos@redhat.com>
29714 * math/libm-test.inc (MAX_EXP): Remove
29716 (ulp): Use MIN_EXP - MANT_DIG.
29717 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29719 2013-05-31 Carlos O'Donell <carlos@redhat.com>
29721 * po/be.po: Revert last change.
29722 * po/zh_CN.po: Likewise.
29723 * po/header.pot: Likewise.
29725 2013-05-31 Joseph Myers <joseph@codesourcery.com>
29727 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29728 link-libc-deps to empty as target-specific variable.
29729 * Makerules (link-libc-args): New variable.
29730 (libc-for-link): Likewise.
29731 (link-libc-deps): Likewise.
29732 (lib%.so): Depend on $(link-libc-deps). Link with
29734 (build-module): Link with $(link-libc-args).
29735 (build-module-asneeded): Likewise.
29736 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29738 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29739 target-specific variable.
29740 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29741 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29742 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29744 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29746 ($(objpfx)libpcprofile.so): Likewise.
29747 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29749 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29750 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29751 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29753 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29754 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29755 * login/Makefile ($(objpfx)libutil.so): Likewise.
29756 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29757 * math/Makefile ($(objpfx)libm.so): Likewise.
29758 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29759 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29760 variable instead of depending directly on libc.
29761 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29762 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29764 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29766 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29767 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29768 ($(objpfx)libanl.so): Likewise.
29769 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29771 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29773 * sysdeps/i386/fpu/Makefile: Remove file.
29774 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29775 ($(objpfx)libm.so): Remove dependency on ld.so.
29777 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
29780 * nis/yp_xdr.c (XDRMAXNAME): Define.
29781 (XDRMAXRECORD): Define.
29782 (xdr_domainname): Use XDRMAXNAME.
29783 (xdr_mapname): Likewise.
29784 (xdr_peername): Likewise.
29785 (xdr_keydat): Use XDRMAXRECORD.
29786 (xdr_valdat): Likewise.
29788 2013-05-30 Jeff Law <law@redhat.com>
29791 * manual/errno.texi (ESTALE): Update to account for more than
29792 just NFS file systems.
29793 * sysdeps/gnu/errlist.c: Regenerated.
29795 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29798 * elf/Makefile (tests): Add tst-null-argv.
29799 (modules-names): Add tst-null-argv-lib.
29800 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29801 (tst-null-argv-ENV): Set environment for tst-null-argv.
29802 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29803 (RTLD_PROGNAME): New macro.
29804 * elf/tst-null-argv.c: New test case.
29805 * elf/tst-null-argv-lib.c: Library for test case.
29806 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29807 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29808 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29809 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29810 * elf/dl-init.c (call_init): Likewise.
29811 (_dl_init): Likewise.
29812 * elf/dl-load.c (print_search_path): Likewise.
29813 (_dl_map_object): Likewise.
29814 * elf/dl-lookup.c (do_lookup_x): Likewise.
29815 (add_dependency): Likewise.
29816 (_dl_lookup_symbol_x): Likewise.
29817 (_dl_debug_bindings): Likewise.
29818 * elf/dl-open.c (_dl_show_scope): Likewise.
29819 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29820 * elf/dl-version.c (match_symbol): Likewise.
29821 (_dl_check_map_versions): Likewise.
29822 * elf/rtld.c (dl_main): Likewise.
29823 (print_unresolved): Use RTLD_PROGNAME.
29824 (print_missing_version): Likewise.
29825 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29826 (elf_machine_rela): Likewise.
29827 * sysdeps/powerpc/powerpc32/dl-machine.c
29828 (__process_machine_rela): Likewise.
29829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29831 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29833 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29835 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29836 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29838 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29842 2013-05-28 Carlos O'Donell <carlos@redhat.com>
29844 * po/be.po: Add descriptive title.
29845 * po/zh_CN.po: Likewise.
29846 * po/header.pot: Likewise.
29848 2013-05-28 Mike Frysinger <vapier@gentoo.org>
29850 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29852 (enlarge_archive): Likewise.
29854 2013-05-28 Ben North <ben@redfrontdoor.org>
29856 * manual/arith.texi (frexp): It is the magnitude of the return
29857 value which lies in [0.5, 1), not the return value itself.
29859 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29863 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29865 * stdio-common/bug26.c (main): Correct fscanf template.
29867 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29868 declare _dl_skip_args.
29870 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29873 * manual/platform.texi: Add missing @end deftypefun.
29875 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29878 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29879 bit of mantissa of 2^16382.
29880 * math/libm-test.inc (hypot_test_data): Add more tests.
29882 * math/libm-test.inc: Add drem and pow10 to list of tested
29884 (pow10_test): New function.
29885 (drem_test): Likewise.
29886 (drem_test_tonearest): Likewise.
29887 (drem_test_towardzero): Likewise.
29888 (drem_test_downward): Likewise.
29889 (drem_test_upward): Likewise.
29890 (main): Call the new functions.
29892 * math/libm-test.inc (finite_test_data): Remove.
29893 (finite_test): Run tests from isfinite_test_data.
29894 (gamma_test_data): Remove.
29895 (gamma_test): Run tests from lgamma_test_data.
29896 * sysdeps/i386/fpu/libm-test-ulps: Update.
29897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29899 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29901 * manual/platform.texi: Add PowerPC PPR function set documentation.
29902 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29905 2013-05-24 Carlos O'Donell <carlos@redhat.com>
29907 * math/libm-test.inc (MAX_EXP): Define.
29909 (ulp): New function.
29910 (check_float_internal): Use ULPDIFF.
29911 (cpow_test): Disable failing test.
29912 (check_ulp): Test ulp() implemetnation.
29913 (main): Call check_ulp before starting tests.
29915 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29917 * math/gen-libm-test.pl (generate_testfile): Do not handle
29918 START_DATA and END_DATA.
29919 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29921 (acos_tonearest_test_data): Likewise.
29922 (acos_towardzero_test_data): Likewise.
29923 (acos_downward_test_data): Likewise.
29924 (acos_upward_test_data): Likewise.
29925 (acosh_test_data): Likewise.
29926 (asin_test_data): Likewise.
29927 (asin_tonearest_test_data): Likewise.
29928 (asin_towardzero_test_data): Likewise.
29929 (asin_downward_test_data): Likewise.
29930 (asin_upward_test_data): Likewise.
29931 (asinh_test_data): Likewise.
29932 (atan_test_data): Likewise.
29933 (atanh_test_data): Likewise.
29934 (atan2_test_data): Likewise.
29935 (cabs_test_data): Likewise.
29936 (cacos_test_data): Likewise.
29937 (cacosh_test_data): Likewise.
29938 (carg_test_data): Likewise.
29939 (casin_test_data): Likewise.
29940 (casinh_test_data): Likewise.
29941 (catan_test_data): Likewise.
29942 (catanh_test_data): Likewise.
29943 (cbrt_test_data): Likewise.
29944 (ccos_test_data): Likewise.
29945 (ccosh_test_data): Likewise.
29946 (ceil_test_data): Likewise.
29947 (cexp_test_data): Likewise.
29948 (cimag_test_data): Likewise.
29949 (clog_test_data): Likewise.
29950 (clog10_test_data): Likewise.
29951 (conj_test_data): Likewise.
29952 (copysign_test_data): Likewise.
29953 (cos_test_data): Likewise.
29954 (cos_tonearest_test_data): Likewise.
29955 (cos_towardzero_test_data): Likewise.
29956 (cos_downward_test_data): Likewise.
29957 (cos_upward_test_data): Likewise.
29958 (cosh_test_data): Likewise.
29959 (cosh_tonearest_test_data): Likewise.
29960 (cosh_towardzero_test_data): Likewise.
29961 (cosh_downward_test_data): Likewise.
29962 (cosh_upward_test_data): Likewise.
29963 (cpow_test_data): Likewise.
29964 (cproj_test_data): Likewise.
29965 (creal_test_data): Likewise.
29966 (csin_test_data): Likewise.
29967 (csinh_test_data): Likewise.
29968 (csqrt_test_data): Likewise.
29969 (ctan_test_data): Likewise.
29970 (ctan_tonearest_test_data): Likewise.
29971 (ctan_towardzero_test_data): Likewise.
29972 (ctan_downward_test_data): Likewise.
29973 (ctan_upward_test_data): Likewise.
29974 (ctanh_test_data): Likewise.
29975 (ctanh_tonearest_test_data): Likewise.
29976 (ctanh_towardzero_test_data): Likewise.
29977 (ctanh_downward_test_data): Likewise.
29978 (ctanh_upward_test_data): Likewise.
29979 (erf_test_data): Likewise.
29980 (erfc_test_data): Likewise.
29981 (exp_test_data): Likewise.
29982 (exp_tonearest_test_data): Likewise.
29983 (exp_towardzero_test_data): Likewise.
29984 (exp_downward_test_data): Likewise.
29985 (exp_upward_test_data): Likewise.
29986 (exp10_test_data): Likewise.
29987 (exp2_test_data): Likewise.
29988 (expm1_test_data): Likewise.
29989 (fabs_test_data): Likewise.
29990 (fdim_test_data): Likewise.
29991 (finite_test_data): Likewise.
29992 (floor_test_data): Likewise.
29993 (fma_test_data): Likewise.
29994 (fma_towardzero_test_data): Likewise.
29995 (fma_downward_test_data): Likewise.
29996 (fma_upward_test_data): Likewise.
29997 (fmax_test_data): Likewise.
29998 (fmin_test_data): Likewise.
29999 (fmod_test_data): Likewise.
30000 (fpclassify_test_data): Likewise.
30001 (frexp_test_data): Likewise.
30002 (gamma_test_data): Likewise.
30003 (hypot_test_data): Likewise.
30004 (ilogb_test_data): Likewise.
30005 (isfinite_test_data): Likewise.
30006 (isgreater_test_data): Likewise.
30007 (isgreaterequal_test_data): Likewise.
30008 (isinf_test_data): Likewise.
30009 (isless_test_data): Likewise.
30010 (islessequal_test_data): Likewise.
30011 (islessgreater_test_data): Likewise.
30012 (isnan_test_data): Likewise.
30013 (isnormal_test_data): Likewise.
30014 (issignaling_test_data): Likewise.
30015 (isunordered_test_data): Likewise.
30016 (j0_test_data): Likewise.
30017 (j1_test_data): Likewise.
30018 (jn_test_data): Likewise.
30019 (ldexp_test_data): Likewise.
30020 (lgamma_test_data): Likewise.
30021 (lrint_test_data): Likewise.
30022 (lrint_tonearest_test_data): Likewise.
30023 (lrint_towardzero_test_data): Likewise.
30024 (lrint_downward_test_data): Likewise.
30025 (lrint_upward_test_data): Likewise.
30026 (llrint_test_data): Likewise.
30027 (llrint_tonearest_test_data): Likewise.
30028 (llrint_towardzero_test_data): Likewise.
30029 (llrint_downward_test_data): Likewise.
30030 (llrint_upward_test_data): Likewise.
30031 (log_test_data): Likewise.
30032 (log10_test_data): Likewise.
30033 (log1p_test_data): Likewise.
30034 (log2_test_data): Likewise.
30035 (logb_test_data): Likewise.
30036 (logb_downward_test_data): Likewise.
30037 (lround_test_data): Likewise.
30038 (llround_test_data): Likewise.
30039 (modf_test_data): Likewise.
30040 (nearbyint_test_data): Likewise.
30041 (nextafter_test_data): Likewise.
30042 (nexttoward_test_data): Likewise.
30043 (pow_test_data): Likewise.
30044 (pow_tonearest_test_data): Likewise.
30045 (pow_towardzero_test_data): Likewise.
30046 (pow_downward_test_data): Likewise.
30047 (pow_upward_test_data): Likewise.
30048 (remainder_test_data): Likewise.
30049 (remainder_tonearest_test_data): Likewise.
30050 (remainder_towardzero_test_data): Likewise.
30051 (remainder_downward_test_data): Likewise.
30052 (remainder_upward_test_data): Likewise.
30053 (remquo_test_data): Likewise.
30054 (rint_test_data): Likewise.
30055 (rint_tonearest_test_data): Likewise.
30056 (rint_towardzero_test_data): Likewise.
30057 (rint_downward_test_data): Likewise.
30058 (rint_upward_test_data): Likewise.
30059 (round_test_data): Likewise.
30060 (scalb_test_data): Likewise.
30061 (scalbn_test_data): Likewise.
30062 (scalbln_test_data): Likewise.
30063 (signbit_test_data): Likewise.
30064 (sin_test_data): Likewise.
30065 (sin_tonearest_test_data): Likewise.
30066 (sin_towardzero_test_data): Likewise.
30067 (sin_downward_test_data): Likewise.
30068 (sin_upward_test_data): Likewise.
30069 (sincos_test_data): Likewise.
30070 (sinh_test_data): Likewise.
30071 (sinh_tonearest_test_data): Likewise.
30072 (sinh_towardzero_test_data): Likewise.
30073 (sinh_downward_test_data): Likewise.
30074 (sinh_upward_test_data): Likewise.
30075 (sqrt_test_data): Likewise.
30076 (tan_test_data): Likewise.
30077 (tan_tonearest_test_data): Likewise.
30078 (tan_towardzero_test_data): Likewise.
30079 (tan_downward_test_data): Likewise.
30080 (tan_upward_test_data): Likewise.
30081 (tanh_test_data): Likewise.
30082 (tgamma_test_data): Likewise.
30083 (trunc_test_data): Likewise.
30084 (y0_test_data): Likewise.
30085 (y1_test_data): Likewise.
30086 (yn_test_data): Likewise.
30087 (significand_test_data): Likewise.
30089 * math/gen-libm-test.pl (@functions): Remove variable.
30090 (generate_testfile): Don't handle START and END lines.
30091 * math/libm-test.inc (START): New macro.
30093 (END_COMPLEX): Likewise.
30094 (acos_test): Use END macro without arguments.
30095 (acos_test_tonearest): Likewise.
30096 (acos_test_towardzero): Likewise.
30097 (acos_test_downward): Likewise.
30098 (acos_test_upward): Likewise.
30099 (acosh_test): Likewise.
30100 (asin_test): Likewise.
30101 (asin_test_tonearest): Likewise.
30102 (asin_test_towardzero): Likewise.
30103 (asin_test_downward): Likewise.
30104 (asin_test_upward): Likewise.
30105 (asinh_test): Likewise.
30106 (atan_test): Likewise.
30107 (atanh_test): Likewise.
30108 (atan2_test): Likewise.
30109 (cabs_test): Likewise.
30110 (cacos_test): Use END_COMPLEX macro without arguments.
30111 (cacosh_test): Likewise.
30112 (carg_test): Use END macro without arguments.
30113 (casin_test): Use END_COMPLEX macro without arguments.
30114 (casinh_test): Likewise.
30115 (catan_test): Likewise.
30116 (catanh_test): Likewise.
30117 (cbrt_test): Use END macro without arguments.
30118 (ccos_test): Use END_COMPLEX macro without arguments.
30119 (ccosh_test): Likewise.
30120 (ceil_test): Use END macro without arguments.
30121 (cexp_test): Use END_COMPLEX macro without arguments.
30122 (cimag_test): Use END macro without arguments.
30123 (clog_test): Use END_COMPLEX macro without arguments.
30124 (clog10_test): Likewise.
30125 (conj_test): Likewise.
30126 (copysign_test): Use END macro without arguments.
30127 (cos_test): Likewise.
30128 (cos_test_tonearest): Likewise.
30129 (cos_test_towardzero): Likewise.
30130 (cos_test_downward): Likewise.
30131 (cos_test_upward): Likewise.
30132 (cosh_test): Likewise.
30133 (cosh_test_tonearest): Likewise.
30134 (cosh_test_towardzero): Likewise.
30135 (cosh_test_downward): Likewise.
30136 (cosh_test_upward): Likewise.
30137 (cpow_test): Use END_COMPLEX macro without arguments.
30138 (cproj_test): Likewise.
30139 (creal_test): Use END macro without arguments.
30140 (csin_test): Use END_COMPLEX macro without arguments.
30141 (csinh_test): Likewise.
30142 (csqrt_test): Likewise.
30143 (ctan_test): Likewise.
30144 (ctan_test_tonearest): Likewise.
30145 (ctan_test_towardzero): Likewise.
30146 (ctan_test_downward): Likewise.
30147 (ctan_test_upward): Likewise.
30148 (ctanh_test): Likewise.
30149 (ctanh_test_tonearest): Likewise.
30150 (ctanh_test_towardzero): Likewise.
30151 (ctanh_test_downward): Likewise.
30152 (ctanh_test_upward): Likewise.
30153 (erf_test): Use END macro without arguments.
30154 (erfc_test): Likewise.
30155 (exp_test): Likewise.
30156 (exp_test_tonearest): Likewise.
30157 (exp_test_towardzero): Likewise.
30158 (exp_test_downward): Likewise.
30159 (exp_test_upward): Likewise.
30160 (exp10_test): Likewise.
30161 (exp2_test): Likewise.
30162 (expm1_test): Likewise.
30163 (fabs_test): Likewise.
30164 (fdim_test): Likewise.
30165 (finite_test): Likewise.
30166 (floor_test): Likewise.
30167 (fma_test): Likewise.
30168 (fma_test_towardzero): Likewise.
30169 (fma_test_downward): Likewise.
30170 (fma_test_upward): Likewise.
30171 (fmax_test): Likewise.
30172 (fmin_test): Likewise.
30173 (fmod_test): Likewise.
30174 (fpclassify_test): Likewise.
30175 (frexp_test): Likewise.
30176 (gamma_test): Likewise.
30177 (hypot_test): Likewise.
30178 (ilogb_test): Likewise.
30179 (isfinite_test): Likewise.
30180 (isgreater_test): Likewise.
30181 (isgreaterequal_test): Likewise.
30182 (isinf_test): Likewise.
30183 (isless_test): Likewise.
30184 (islessequal_test): Likewise.
30185 (islessgreater_test): Likewise.
30186 (isnan_test): Likewise.
30187 (isnormal_test): Likewise.
30188 (issignaling_test): Likewise.
30189 (isunordered_test): Likewise.
30190 (j0_test): Likewise.
30191 (j1_test): Likewise.
30192 (jn_test): Likewise.
30193 (ldexp_test): Likewise.
30194 (lgamma_test): Likewise.
30195 (lrint_test): Likewise.
30196 (lrint_test_tonearest): Likewise.
30197 (lrint_test_towardzero): Likewise.
30198 (lrint_test_downward): Likewise.
30199 (lrint_test_upward): Likewise.
30200 (llrint_test): Likewise.
30201 (llrint_test_tonearest): Likewise.
30202 (llrint_test_towardzero): Likewise.
30203 (llrint_test_downward): Likewise.
30204 (llrint_test_upward): Likewise.
30205 (log_test): Likewise.
30206 (log10_test): Likewise.
30207 (log1p_test): Likewise.
30208 (log2_test): Likewise.
30209 (logb_test): Likewise.
30210 (logb_test_downward): Likewise.
30211 (lround_test): Likewise.
30212 (llround_test): Likewise.
30213 (modf_test): Likewise.
30214 (nearbyint_test): Likewise.
30215 (nextafter_test): Likewise.
30216 (nexttoward_test): Likewise.
30217 (pow_test): Likewise.
30218 (pow_test_tonearest): Likewise.
30219 (pow_test_towardzero): Likewise.
30220 (pow_test_downward): Likewise.
30221 (pow_test_upward): Likewise.
30222 (remainder_test): Likewise.
30223 (remainder_test_tonearest): Likewise.
30224 (remainder_test_towardzero): Likewise.
30225 (remainder_test_downward): Likewise.
30226 (remainder_test_upward): Likewise.
30227 (remquo_test): Likewise.
30228 (rint_test): Likewise.
30229 (rint_test_tonearest): Likewise.
30230 (rint_test_towardzero): Likewise.
30231 (rint_test_downward): Likewise.
30232 (rint_test_upward): Likewise.
30233 (round_test): Likewise.
30234 (scalb_test): Likewise.
30235 (scalbn_test): Likewise.
30236 (scalbln_test): Likewise.
30237 (signbit_test): Likewise.
30238 (sin_test): Likewise.
30239 (sin_test_tonearest): Likewise.
30240 (sin_test_towardzero): Likewise.
30241 (sin_test_downward): Likewise.
30242 (sin_test_upward): Likewise.
30243 (sincos_test): Likewise.
30244 (sinh_test): Likewise.
30245 (sinh_test_tonearest): Likewise.
30246 (sinh_test_towardzero): Likewise.
30247 (sinh_test_downward): Likewise.
30248 (sinh_test_upward): Likewise.
30249 (sqrt_test): Likewise.
30250 (tan_test): Likewise.
30251 (tan_test_tonearest): Likewise.
30252 (tan_test_towardzero): Likewise.
30253 (tan_test_downward): Likewise.
30254 (tan_test_upward): Likewise.
30255 (tanh_test): Likewise.
30256 (tgamma_test): Likewise.
30257 (trunc_test): Likewise.
30258 (y0_test): Likewise.
30259 (y1_test): Likewise.
30260 (yn_test): Likewise.
30261 (significand_test): Likewise.
30263 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30266 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30268 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30271 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30272 __ppc_mdoio and __ppc_mdoom.
30273 * manual/platform.texi: Document new functions __ppc_yield,
30274 __ppc_mdoio and __ppc_mdoom.
30276 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30278 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30279 (main): Mention "tls" pseudo-hwcap is legacy.
30280 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30282 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30284 * math/gen-libm-test.pl (parse_args): Output only string of
30285 arguments as text for test name, not full call or descriptions of
30286 tests for extra outputs.
30287 (generate_testfile): Do not pass function name to parse_args.
30288 Generate this_func variable from START.
30289 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30291 (struct test_ff_f_data): Likewise.
30292 (test_ff_f_data_nexttoward): Likewise.
30293 (struct test_fi_f_data): Likewise.
30294 (struct test_fl_f_data): Likewise.
30295 (struct test_if_f_data): Likewise.
30296 (struct test_fff_f_data): Likewise.
30297 (struct test_c_f_data): Likewise.
30298 (struct test_f_f1_data): Likewise. Remove field extra_name.
30299 (struct test_fF_f1_data): Likewise.
30300 (struct test_ffI_f1_data): Likewise.
30301 (struct test_c_c_data): Rename test_name field to arg_str.
30302 (struct test_cc_c_data): Likewise.
30303 (struct test_f_i_data): Likewise.
30304 (struct test_ff_i_data): Likewise.
30305 (struct test_f_l_data): Likewise.
30306 (struct test_f_L_data): Likewise.
30307 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30309 (COMMON_TEST_SETUP): New macro.
30310 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30311 (COMMON_TEST_CLEANUP): Likewise.
30312 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30313 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30315 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30316 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30318 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30319 (RUN_TEST_fff_f): Take argument string. Call new setup and
30321 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30322 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30324 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30325 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30327 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30328 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30330 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30331 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30333 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30334 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30336 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30337 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30339 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30340 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30342 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30343 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30345 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30346 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30348 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30349 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30351 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30352 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30354 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30355 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30357 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30358 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30360 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30361 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30363 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30364 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30366 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30368 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30370 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30371 to _sifields.sigfault.
30372 (si_addr_lsb): Define new macro.
30373 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30374 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30375 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30377 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30380 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30382 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30384 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30385 loading the domain.
30387 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30389 * math/gen-libm-test.pl (parse_args): Do not include expected
30390 result in test name.
30391 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30393 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30394 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30395 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30398 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30400 * benchtests/Makefile: Sort function entries.
30402 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30403 tanh, asinh, acosh, atanh.
30404 * benchtests/acos-inputs: New file.
30405 * benchtests/acosh-inputs: New file.
30406 * benchtests/asin-inputs: New file.
30407 * benchtests/asinh-inputs: New file.
30408 * benchtests/atanh-inputs: New file.
30409 * benchtests/cosh-inputs: New file.
30410 * benchtests/log-inputs: New file.
30411 * benchtests/sinh-inputs: New file.
30412 * benchtests/tanh-inputs: New file.
30414 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30417 * posix/tst-getaddrinfo4.c: New test.
30418 * posix/Makefile (tests): Add it.
30420 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30423 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30424 when no services were used.
30425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30426 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30428 2013-05-21 Andreas Schwab <schwab@suse.de>
30431 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30432 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30434 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30435 redundant variable declarations and reallocation of buffer when
30436 parsing as IPv6 address. Always set NSS status when called from
30437 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30438 buffer too small. Correct computation of needed size.
30439 * nss/Makefile (tests): Add test-digits-dots.
30440 * nss/test-digits-dots.c: New test.
30442 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30444 * benchtests/Makefile: Remove instructions for adding
30446 * benchtests/README: New file to explain how to execute and
30447 enhance the benchmark tests.
30449 2013-05-21 Andreas Schwab <schwab@suse.de>
30452 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30453 * setjmp/tst-sigsetjmp.c: New test.
30455 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30457 * sysdeps/x86_64/memset.S (memset): New implementation.
30458 (__bzero): Likewise.
30459 (__memset_tail): New function.
30461 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30463 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30464 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30465 __memcpy_sse2_unaligned ifunc selection.
30466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30467 Add memcpy-sse2-unaligned.S.
30468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30469 Add: __memcpy_sse2_unaligned.
30471 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30474 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30475 math_force_eval before restoring floating-point envrionment.
30476 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30477 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30479 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30481 (__nearbyintl): Use math_force_eval before restoring
30482 floating-point environment.
30483 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30485 * math/gen-libm-test.pl (special_functions): Remove.
30486 (parse_args): Don't handle TEST_extra. Handle functions with no
30488 * math/libm-test.inc (struct test_sincos_data): Replace with
30489 struct test_fFF_11_data.
30490 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30491 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30492 (sincos_test_data): Change element type to struct
30493 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30494 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30495 RUN_TEST_LOOP_sincos.
30496 * math/README.libm-test: Don't mention special handling of
30497 individual functions.
30498 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30500 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30501 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30502 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30505 * math/gen-libm-test.pl (get_variable): Remove function.
30506 (parse_args): Don't show pointer parameters to call in test
30507 names. Use "extra output N" in test names for extra outputs
30508 rather than naming variables.
30510 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30513 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30514 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30515 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30517 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30519 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30522 * math/gen-libm-test.pl (@tests): Remove variable.
30523 ($count): Likewise.
30524 (new_test): Remove function.
30525 (show_exceptions): New function.
30526 (special_functions): Use show_exceptions instead of new_test.
30527 (parse_args): Likewise.
30528 (generate_testfile): Pass only function name in generated call to
30529 print_max_error or print_complex_max_error.
30530 (get_ulps): Do not handle complex tests specially.
30531 (output_test): Rename to ...
30532 (get_all_ulps_for_test): ... this. Return a string rather than
30533 printing to a file. Require ulps to be present.
30534 (output_ulps): Generate arrays rather than #defines.
30535 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30536 (struct ulp_data): New type.
30537 (BUILD_COMPLEX_ULP): Remove macro.
30538 (compare_ulp_data): New function.
30539 (find_ulps): Likewise.
30540 (find_test_ulps): Likewise.
30541 (find_function_ulps): Likewise.
30542 (find_complex_function_ulps): Likewise.
30543 (print_max_error): Determine allowed ulps using
30544 find_function_ulps.
30545 (print_complex_max_error): Determine allowed ulps using
30546 find_complex_function_ulps.
30547 (check_float_internal): Determine max ulps using find_test_ulps.
30548 (check_float): Do not take max_ulp parameter. Update call to
30549 check_float_internal.
30550 (check_complex): Likewise.
30551 (check_int): Do not take max_ulp parameter.
30552 (check_long): Likewise.
30553 (check_bool): Likewise.
30554 (check_longlong): Likewise.
30555 (struct test_f_f_data): Remove max_ulp field.
30556 (struct test_ff_f_data): Likewise.
30557 (struct test_ff_f_data_nexttoward): Likewise.
30558 (struct test_fi_f_data): Likewise.
30559 (struct test_fl_f_data): Likewise.
30560 (struct test_if_f_data): Likewise.
30561 (struct test_fff_f_data): Likewise.
30562 (struct test_c_f_data): Likewise.
30563 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30564 (struct test_fF_f1_data): Likewise.
30565 (struct test_ffI_f1_data): Likewise.
30566 (struct test_c_c_data): Remove max_ulp field.
30567 (struct test_cc_c_data): Likewise.
30568 (struct test_f_i_data): Likewise.
30569 (struct test_ff_i_data): Likewise.
30570 (struct test_f_l_data): Likewise.
30571 (struct test_f_L_data): Likewise.
30572 (struct test_sincos_data): Likewise.
30573 (RUN_TEST_f_f): Do not handle ulps.
30574 (RUN_TEST_LOOP_f_f): Likewise.
30575 (RUN_TEST_2_f): Likewise.
30576 (RUN_TEST_LOOP_2_f): Likewise.
30577 (RUN_TEST_fff_f): Likewise.
30578 (RUN_TEST_LOOP_fff_f): Likewise.
30579 (RUN_TEST_c_f): Likewise.
30580 (RUN_TEST_LOOP_c_f): Likewise.
30581 (RUN_TEST_f_f1): Likewise.
30582 (RUN_TEST_LOOP_f_f1): Likewise.
30583 (RUN_TEST_fF_f1): Likewise.
30584 (RUN_TEST_LOOP_fF_f1): Likewise.
30585 (RUN_TEST_fI_f1): Likewise.
30586 (RUN_TEST_LOOP_fI_f1): Likewise.
30587 (RUN_TEST_ffI_f1): Likewise.
30588 (RUN_TEST_LOOP_ffI_f1): Likewise.
30589 (RUN_TEST_c_c): Likewise.
30590 (RUN_TEST_LOOP_c_c): Likewise.
30591 (RUN_TEST_cc_c): Likewise.
30592 (RUN_TEST_LOOP_cc_c): Likewise.
30593 (RUN_TEST_f_i): Likewise.
30594 (RUN_TEST_LOOP_f_i): Likewise.
30595 (RUN_TEST_f_i_tg): Likewise.
30596 (RUN_TEST_LOOP_f_i_tg): Likewise.
30597 (RUN_TEST_ff_i_tg): Likewise.
30598 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30599 (RUN_TEST_f_b): Likewise.
30600 (RUN_TEST_LOOP_f_b): Likewise.
30601 (RUN_TEST_f_b_tg): Likewise.
30602 (RUN_TEST_LOOP_f_b_tg): Likewise.
30603 (RUN_TEST_f_l): Likewise.
30604 (RUN_TEST_LOOP_f_l): Likewise.
30605 (RUN_TEST_f_L): Likewise.
30606 (RUN_TEST_LOOP_f_L): Likewise.
30607 (RUN_TEST_sincos): Likewise.
30608 (RUN_TEST_LOOP_sincos): Likewise.
30610 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30614 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30615 main case of finite arguments, set rounding mode to FE_TONEAREST
30616 and discard exceptions.
30617 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30619 (remainder_tonearest_test_data): New variable.
30620 (remainder_test_tonearest): New function.
30621 (remainder_towardzero_test_data): New variable.
30622 (remainder_test_towardzero): New function.
30623 (remainder_downward_test_data): New variable.
30624 (remainder_test_downward): New function.
30625 (remainder_upward_test_data): New variable.
30626 (remainder_test_upward): New function.
30627 (main): Call the new test functions.
30629 * math/libm-test.inc (struct test_f_f1_data): Remove field
30631 (struct test_fF_f1_data): Likewise.
30632 (struct test_ffI_f1_data): Likewise.
30633 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30634 based on value of EXTRA_EXPECTED.
30635 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30636 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30637 EXTRA_VAR based on value of EXTRA_EXPECTED.
30638 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30639 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30640 EXTRA_VAR based on value of EXTRA_EXPECTED.
30641 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30642 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30643 EXTRA_VAR based on value of EXTRA_EXPECTED.
30644 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30645 * math/gen-libm-test.pl (parse_args): Don't output initializers
30646 for extra output values.
30648 * math/libm-test.inc (check_int): Expect result to be exactly
30649 equal to expected value and do not handle ulps.
30650 (check_long): Likewise.
30651 (check_longlong): Likewise.
30653 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30655 (cimag_test_data): Likewise.
30656 (conj_test_data): Likewise.
30657 (copysign_test_data): Likewise.
30658 (cproj_test_data): Likewise.
30659 (creal_test_data): Likewise.
30660 (fabs_test_data): Likewise.
30661 (fdim_test_data): Likewise.
30662 (finite_test_data): Likewise.
30663 (floor_test_data): Likewise.
30664 (fmax_test_data): Likewise.
30665 (fmin_test_data): Likewise.
30666 (fmod_test_data): Likewise.
30667 (fpclassify_test_data): Likewise.
30668 (frexp_test_data): Likewise.
30669 (ilogb_test_data): Likewise.
30670 (isfinite_test_data): Likewise.
30671 (isgreater_test_data): Likewise.
30672 (isgreaterequal_test_data): Likewise.
30673 (isinf_test_data): Likewise.
30674 (isless_test_data): Likewise.
30675 (islessequal_test_data): Likewise.
30676 (islessgreater_test_data): Likewise.
30677 (isnan_test_data): Likewise.
30678 (isnormal_test_data): Likewise.
30679 (issignaling_test_data): Likewise.
30680 (isunordered_test_data): Likewise.
30681 (ldexp_test_data): Likewise.
30682 (lrint_test_data): Likewise.
30683 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30684 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30685 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30686 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30687 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30688 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30690 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30691 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30692 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30693 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30695 (lrint_downward_test_data): Test for "inexact" exceptions.
30696 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30697 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30698 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30700 (lrint_upward_test_data): Test for "inexact" exceptions.
30701 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30703 (llrint_test_data): Test for "inexact" exceptions.
30704 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30705 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30706 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30707 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30708 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30709 (llrint_downward_test_data): Test for "inexact" exceptions.
30710 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30711 (llrint_upward_test_data): Test for "inexact" exceptions.
30712 (logb_test_data): Likewise.
30713 (logb_downward_test_data): Likewise.
30714 (nextafter_test_data): Likewise.
30715 (nexttoward_test_data): Likewise.
30716 (remainder_test_data): Likewise.
30717 (remquo_test_data): Likewise.
30718 (scalbn_test_data): Likewise.
30719 (scalbln_test_data): Likewise.
30720 (signbit_test_data): Likewise.
30721 (sqrt_test_data): Likewise.
30722 (significand_test_data): Likewise.
30724 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30727 * benchtests/bench-modf.c (struct args): Mark arg0 as
30729 * scripts/bench.pl: Mark members of struct args as volatile.
30731 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30734 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30735 negative infinity on POWER6 or lower.
30736 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30738 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30741 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30742 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30743 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30744 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30745 (_FP_SETQNAN): New macro.
30746 (_FP_SETQNAN_SEMIRAW): Likewise.
30747 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30748 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30749 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30750 (FP_EXTEND): Use _FP_FRAC_SNANP.
30751 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30752 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30754 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30756 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30759 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30761 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30762 with DIVIDE_BY_ZERO_EXCEPTION.
30763 (gamma_test_data): Likewise.
30764 (lgamma_test_data): Likewise.
30765 (log_test_data): Likewise.
30766 (log10_test_data): Likewise.
30767 (log2_test_data): Likewise.
30768 (tgamma_test_data): Likewise.
30770 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30771 (acos_test_tonearest): Likewise.
30772 (acos_test_towardzero): Likewise.
30773 (acos_test_downward): Likewise.
30774 (acos_test_upward): Likewise.
30775 (acosh_test): Likewise.
30776 (asin_test): Likewise.
30777 (asin_test_tonearest): Likewise.
30778 (asin_test_towardzero): Likewise.
30779 (asin_test_downward): Likewise.
30780 (asin_test_upward): Likewise.
30781 (asinh_test): Likewise.
30782 (atan_test): Likewise.
30783 (atanh_test): Likewise.
30784 (atan2_test): Likewise.
30785 (cabs_test): Likewise.
30786 (cacos_test): Likewise.
30787 (cacosh_test): Likewise.
30788 (casin_test): Likewise.
30789 (casinh_test): Likewise.
30790 (catan_test): Likewise.
30791 (catanh_test): Likewise.
30792 (cbrt_test): Likewise.
30793 (ccos_test): Likewise.
30794 (ccosh_test): Likewise.
30795 (cexp_test): Likewise.
30796 (clog_test): Likewise.
30797 (clog10_test): Likewise.
30798 (cos_test): Likewise.
30799 (cos_test_tonearest): Likewise.
30800 (cos_test_towardzero): Likewise.
30801 (cos_test_downward): Likewise.
30802 (cos_test_upward): Likewise.
30803 (cosh_test): Likewise.
30804 (cosh_test_tonearest): Likewise.
30805 (cosh_test_towardzero): Likewise.
30806 (cosh_test_downward): Likewise.
30807 (cosh_test_upward): Likewise.
30808 (cpow_test): Likewise.
30809 (csin_test): Likewise.
30810 (csinh_test): Likewise.
30811 (csqrt_test): Likewise.
30812 (ctan_test): Likewise.
30813 (ctan_test_tonearest): Likewise.
30814 (ctan_test_towardzero): Likewise.
30815 (ctan_test_downward): Likewise.
30816 (ctan_test_upward): Likewise.
30817 (ctanh_test): Likewise.
30818 (ctanh_test_tonearest): Likewise.
30819 (ctanh_test_towardzero): Likewise.
30820 (ctanh_test_downward): Likewise.
30821 (ctanh_test_upward): Likewise.
30822 (erf_test): Likewise.
30823 (erfc_test): Likewise.
30824 (exp_test): Likewise.
30825 (exp_test_tonearest): Likewise.
30826 (exp_test_towardzero): Likewise.
30827 (exp_test_downward): Likewise.
30828 (exp_test_upward): Likewise.
30829 (exp10_test): Likewise.
30830 (exp2_test): Likewise.
30831 (expm1_test): Likewise.
30832 (fmod_test): Likewise.
30833 (gamma_test): Likewise.
30834 (hypot_test): Likewise.
30835 (j0_test): Likewise.
30836 (j1_test): Likewise.
30837 (jn_test): Likewise.
30838 (lgamma_test): Likewise.
30839 (log_test): Likewise.
30840 (log10_test): Likewise.
30841 (log1p_test): Likewise.
30842 (log2_test): Likewise.
30843 (logb_test_downward): Likewise.
30844 (pow_test): Likewise.
30845 (pow_test_tonearest): Likewise.
30846 (pow_test_towardzero): Likewise.
30847 (pow_test_downward): Likewise.
30848 (pow_test_upward): Likewise.
30849 (remainder_test): Likewise.
30850 (remquo_test): Likewise.
30851 (sin_test): Likewise.
30852 (sin_test_tonearest): Likewise.
30853 (sin_test_towardzero): Likewise.
30854 (sin_test_downward): Likewise.
30855 (sin_test_upward): Likewise.
30856 (sincos_test): Likewise.
30857 (sinh_test): Likewise.
30858 (sinh_test_tonearest): Likewise.
30859 (sinh_test_towardzero): Likewise.
30860 (sinh_test_downward): Likewise.
30861 (sinh_test_upward): Likewise.
30862 (sqrt_test): Likewise.
30863 (tan_test): Likewise.
30864 (tan_test_tonearest): Likewise.
30865 (tan_test_towardzero): Likewise.
30866 (tan_test_downward): Likewise.
30867 (tan_test_upward): Likewise.
30868 (tanh_test): Likewise.
30869 (tgamma_test): Likewise.
30870 (y0_test): Likewise.
30871 (y1_test): Likewise.
30872 (yn_test): Likewise.
30874 * math/gen-libm-test.pl (adjust_arg): Remove function.
30875 (special_function): Remove argument $in_func. Only handle
30876 generating output for tables of tests, not inside functions.
30877 (parse_args): Likewise.
30878 (generate_testfile): Remove variable $in_func. Update call to
30880 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30881 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30882 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30883 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30884 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30885 (MAX_VALUE_INIT): Rename macro to max_value.
30886 (MIN_VALUE_INIT): Rename macro to min_value.
30887 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30888 (plus_zero): Remove variable.
30889 (minus_zero): Likewise.
30890 (plus_infty): Likewise.
30891 (minus_infty): Likewise.
30892 (qnan_value): Likewise.
30893 (max_value): Likewise.
30894 (min_value): Likewise.
30895 (min_subnorm_value): Likewise.
30897 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30899 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30900 uint64_t or uint32_t usage.
30901 * crypt/sha256-block.c: Likewise.
30902 * crypt/sha256-crypt.c: Likewise.
30903 * crypt/sha256.c: Likewise.
30904 * crypt/sha512-block.c: Likewise.
30905 * crypt/sha512-crypt.c: Likewise.
30906 * crypt/sha512.c: Likewise.
30907 * debug/backtrace-tst.c: Likewise.
30908 * debug/pcprofiledump.c: Likewise.
30909 * elf/cache.c: Likewise.
30910 * elf/dl-cache.c: Likewise.
30911 * elf/dl-misc.c: Likewise.
30912 * elf/dl-profile.c: Likewise.
30913 * elf/dl-support.c: Likewise.
30914 * elf/ldconfig.c: Likewise.
30915 * elf/sprof.c: Likewise.
30916 * iconv/dummy-repertoire.c: Likewise.
30917 * iconv/iconv_charmap.c: Likewise.
30918 * iconv/skeleton.c: Likewise.
30919 * iconvdata/8bit-generic.c: Likewise.
30920 * iconvdata/cp737.h: Likewise.
30921 * iconvdata/cp775.h: Likewise.
30922 * iconvdata/ibm1008.h: Likewise.
30923 * iconvdata/ibm1025.h: Likewise.
30924 * iconvdata/ibm1046.h: Likewise.
30925 * iconvdata/ibm1097.h: Likewise.
30926 * iconvdata/ibm1112.h: Likewise.
30927 * iconvdata/ibm1122.h: Likewise.
30928 * iconvdata/ibm1123.h: Likewise.
30929 * iconvdata/ibm1124.h: Likewise.
30930 * iconvdata/ibm1129.h: Likewise.
30931 * iconvdata/ibm1130.h: Likewise.
30932 * iconvdata/ibm1132.h: Likewise.
30933 * iconvdata/ibm1133.h: Likewise.
30934 * iconvdata/ibm1137.h: Likewise.
30935 * iconvdata/ibm1140.h: Likewise.
30936 * iconvdata/ibm1141.h: Likewise.
30937 * iconvdata/ibm1142.h: Likewise.
30938 * iconvdata/ibm1143.h: Likewise.
30939 * iconvdata/ibm1144.h: Likewise.
30940 * iconvdata/ibm1145.h: Likewise.
30941 * iconvdata/ibm1146.h: Likewise.
30942 * iconvdata/ibm1147.h: Likewise.
30943 * iconvdata/ibm1148.h: Likewise.
30944 * iconvdata/ibm1149.h: Likewise.
30945 * iconvdata/ibm1153.h: Likewise.
30946 * iconvdata/ibm1154.h: Likewise.
30947 * iconvdata/ibm1155.h: Likewise.
30948 * iconvdata/ibm1156.h: Likewise.
30949 * iconvdata/ibm1157.h: Likewise.
30950 * iconvdata/ibm1158.h: Likewise.
30951 * iconvdata/ibm1160.h: Likewise.
30952 * iconvdata/ibm1161.h: Likewise.
30953 * iconvdata/ibm1162.h: Likewise.
30954 * iconvdata/ibm1163.h: Likewise.
30955 * iconvdata/ibm1164.h: Likewise.
30956 * iconvdata/ibm1166.h: Likewise.
30957 * iconvdata/ibm1167.h: Likewise.
30958 * iconvdata/ibm12712.h: Likewise.
30959 * iconvdata/ibm1390.h: Likewise.
30960 * iconvdata/ibm1399.h: Likewise.
30961 * iconvdata/ibm16804.h: Likewise.
30962 * iconvdata/ibm4517.h: Likewise.
30963 * iconvdata/ibm4899.h: Likewise.
30964 * iconvdata/ibm4909.h: Likewise.
30965 * iconvdata/ibm4971.h: Likewise.
30966 * iconvdata/ibm5347.h: Likewise.
30967 * iconvdata/ibm803.h: Likewise.
30968 * iconvdata/ibm856.h: Likewise.
30969 * iconvdata/ibm901.h: Likewise.
30970 * iconvdata/ibm902.h: Likewise.
30971 * iconvdata/ibm9030.h: Likewise.
30972 * iconvdata/ibm9066.h: Likewise.
30973 * iconvdata/ibm921.h: Likewise.
30974 * iconvdata/ibm922.h: Likewise.
30975 * iconvdata/ibm9448.h: Likewise.
30976 * iconvdata/isiri-3342.h: Likewise.
30977 * iconvdata/jis0201.h: Likewise.
30978 * include/link.h: Likewise.
30979 * include/netdb.h: Likewise.
30980 * inet/check_native.c: Likewise.
30981 * inet/check_pf.c: Likewise.
30982 * inet/getipv4sourcefilter.c: Likewise.
30983 * inet/getnameinfo.c: Likewise.
30984 * inet/getsourcefilter.c: Likewise.
30985 * inet/htonl.c: Likewise.
30986 * inet/setipv4sourcefilter.c: Likewise.
30987 * inet/setsourcefilter.c: Likewise.
30988 * inet/test-inet6_opt.c: Likewise.
30989 * inet/tst-network.c: Likewise.
30990 * locale/C-collate.c: Likewise.
30991 * locale/C-ctype.c: Likewise.
30992 * locale/C-time.c: Likewise.
30993 * locale/C-translit.h: Likewise.
30994 * locale/loadarchive.c: Likewise.
30995 * locale/programs/3level.h: Likewise.
30996 * locale/programs/charmap.c: Likewise.
30997 * locale/programs/charmap.h: Likewise.
30998 * locale/programs/ld-address.c: Likewise.
30999 * locale/programs/ld-collate.c: Likewise.
31000 * locale/programs/ld-ctype.c: Likewise.
31001 * locale/programs/ld-identification.c: Likewise.
31002 * locale/programs/ld-measurement.c: Likewise.
31003 * locale/programs/ld-messages.c: Likewise.
31004 * locale/programs/ld-monetary.c: Likewise.
31005 * locale/programs/ld-name.c: Likewise.
31006 * locale/programs/ld-numeric.c: Likewise.
31007 * locale/programs/ld-paper.c: Likewise.
31008 * locale/programs/ld-telephone.c: Likewise.
31009 * locale/programs/ld-time.c: Likewise.
31010 * locale/programs/linereader.c: Likewise.
31011 * locale/programs/locale.c: Likewise.
31012 * locale/programs/locarchive.c: Likewise.
31013 * locale/programs/locfile.h: Likewise.
31014 * locale/programs/repertoire.c: Likewise.
31015 * locale/programs/simple-hash.c: Likewise.
31016 * locale/programs/simple-hash.h: Likewise.
31017 * malloc/memusage.c: Likewise.
31018 * malloc/memusagestat.c: Likewise.
31019 * nis/nis_defaults.c: Likewise.
31020 * nis/nis_hash.c: Likewise.
31021 * nis/nis_print.c: Likewise.
31022 * nis/nis_xdr.c: Likewise.
31023 * nscd/connections.c: Likewise.
31024 * nscd/hstcache.c: Likewise.
31025 * nscd/nscd_gethst_r.c: Likewise.
31026 * nscd/nscd_getserv_r.c: Likewise.
31027 * nscd/nscd_helper.c: Likewise.
31028 * nscd/servicescache.c: Likewise.
31029 * nss/makedb.c: Likewise.
31030 * nss/nss_db/db-XXX.c: Likewise.
31031 * nss/nss_db/db-initgroups.c: Likewise.
31032 * nss/nss_db/db-netgrp.c: Likewise.
31033 * nss/nss_files/files-network.c: Likewise.
31034 * nss/nss_files/files-parse.c: Likewise.
31035 * posix/bug-regex5.c: Likewise.
31036 * posix/fnmatch_loop.c: Likewise.
31037 * posix/regcomp.c: Likewise.
31038 * posix/regexec.c: Likewise.
31039 * posix/tst-rfc3484-2.c: Likewise.
31040 * posix/tst-rfc3484-3.c: Likewise.
31041 * posix/tst-rfc3484.c: Likewise.
31042 * resolv/nss_dns/dns-canon.c: Likewise.
31043 * resolv/nss_dns/dns-network.c: Likewise.
31044 * resolv/res_init.c: Likewise.
31045 * resolv/res_mkquery.c: Likewise.
31046 * resolv/tst-aton.c: Likewise.
31047 * stdlib/cxa_atexit.c: Likewise.
31048 * stdlib/cxa_finalize.c: Likewise.
31049 * stdlib/gen-fpioconst.c: Likewise.
31050 * stdlib/strtol_l.c: Likewise.
31051 * string/tst-endian.c: Likewise.
31052 * sunrpc/auth_des.c: Likewise.
31053 * sunrpc/clnt_udp.c: Likewise.
31054 * sunrpc/rtime.c: Likewise.
31055 * sunrpc/svcauth_des.c: Likewise.
31056 * sunrpc/xdr.c: Likewise.
31057 * sunrpc/xdr_intXX_t.c: Likewise.
31058 * sunrpc/xdr_rec.c: Likewise.
31059 * sysdeps/generic/ldconfig.h: Likewise.
31060 * sysdeps/generic/ldsodefs.h: Likewise.
31061 * sysdeps/generic/memusage.h: Likewise.
31062 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31064 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31065 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31066 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31068 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31069 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31070 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31071 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31072 * sysdeps/posix/getaddrinfo.c: Likewise.
31073 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31074 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31075 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31076 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31077 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31078 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31079 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31080 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31081 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31082 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31083 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31084 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31085 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31086 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31087 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31088 * sysdeps/x86_64/dl-tls.h: Likewise.
31089 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31090 * time/alt_digit.c: Likewise.
31091 * time/era.c: Likewise.
31092 * wcsmbs/tst-c16c32-1.c: Likewise.
31094 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31096 * math/libm-test.inc (struct test_sincos_data): New type.
31097 (RUN_TEST_LOOP_sincos): New macro.
31098 (sincos_test_data): New variable.
31099 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31101 2013-05-16 Richard Henderson <rth@redhat.com>
31103 * math/atest-exp2.c (LIMB64): New macro.
31104 (CONSTSZ): New macro.
31105 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31107 (print_mpn_fp): ... to function scope.
31108 (read_mpn_hex): Remove.
31109 (get_log2): Remove.
31110 (exp2_mpn): Use mp_log2.
31111 (main): Use mp_exp1.
31113 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31115 * math/libm-test.inc: Remove comment about not testing "inexact"
31117 (INEXACT_EXCEPTION): New macro.
31118 (NO_INEXACT_EXCEPTION): Likewise.
31119 (INVALID_EXCEPTION_OK): Update value.
31120 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31121 (OVERFLOW_EXCEPTION_OK): Likewise.
31122 (UNDERFLOW_EXCEPTION_OK): Likewise.
31123 (IGNORE_ZERO_INF_SIGN): Likewise.
31124 (ERRNO_UNCHANGED): Likewise.
31125 (ERRNO_EDOM): Likewise.
31126 (ERRNO_ERANGE): Likewise.
31127 (test_exceptions): Handle testing "inexact" exceptions.
31128 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31129 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31130 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31131 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31133 (rint_towardzero_test_data): Likewise.
31134 (rint_downward_test_data): Likewise.
31135 (rint_upward_test_data): Likewise.
31137 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31138 with OVERFLOW_EXCEPTION.
31139 (exp10_test_data): Likewise.
31140 (exp2_test_data): Likewise.
31141 (expm1_test_data): Likewise.
31142 (lgamma_test_data): Likewise.
31143 (pow_test_data): Likewise.
31144 (tgamma_test_data): Likewise.
31145 (yn_test_data): Remove duplicate test of overflow.
31147 * math/libm-test.inc (struct test_cc_c_data): New type.
31148 (RUN_TEST_LOOP_cc_c): New macro.
31149 (cpow_test_data): New variable.
31150 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31152 * math/libm-test.inc (struct test_f_L_data): New type.
31153 (RUN_TEST_LOOP_f_L): New macro.
31154 (llrint_test_data): New variable.
31155 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31156 (llrint_tonearest_test_data): New variable.
31157 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31158 (llrint_towardzero_test_data): New variable.
31159 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31160 (llrint_downward_test_data): New variable.
31161 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31162 (llrint_upward_test_data): New variable.
31163 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31164 (llround_test_data): New variable.
31165 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31167 2013-05-13 Peter Collingbourne <pcc@google.com>
31169 * math/atest-exp2.c (get_log2): Remove const attribute.
31171 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31173 * math/libm-test.inc (struct test_f_l_data): New type.
31174 (RUN_TEST_LOOP_f_l): New macro.
31175 (lrint_test_data): New variable.
31176 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31177 (lrint_tonearest_test_data): New variable.
31178 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31179 (lrint_towardzero_test_data): New variable.
31180 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31181 (lrint_downward_test_data): New variable.
31182 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31183 (lrint_upward_test_data): New variable.
31184 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31185 (lround_test_data): New variable.
31186 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31188 2013-05-15 Peter Collingbourne <pcc@google.com>
31190 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31191 (EXTRACT_WORDS64) Use where appropriate.
31192 (INSERT_WORDS64) Likewise.
31194 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31195 constraints with x constraints.
31196 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31198 * malloc/obstack.c (_obstack_compat): Add initializer.
31200 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31202 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31203 si_trapno and add si_addr_lsb to _sifields.sigfault.
31204 (si_trapno): Remove macro.
31205 (si_addr_lsb): Define new macro.
31206 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31208 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31210 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31211 instead of TEST_f_l.
31212 (llrint_test_tonearest): Likewise.
31213 (llrint_test_towardzero): Likewise.
31214 (llrint_test_downward): Likewise.
31215 (llrint_test_upward): Likewise.
31216 (llround_test): Likewise.
31218 * math/libm-test.inc (struct test_f_i_data): Add comment.
31219 (RUN_TEST_LOOP_f_b): New macro.
31220 (RUN_TEST_LOOP_f_b_tg): Likewise.
31221 (finite_test_data): New variable.
31222 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31223 (isfinite_test_data): New variable.
31224 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31225 (isinf_test_data): New variable.
31226 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31227 (isnan_test_data): New variable.
31228 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31229 (isnormal_test_data): New variable.
31230 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31231 (issignaling_test_data): New variable.
31232 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31233 (signbit_test_data): New variable.
31234 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31236 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31237 with INVALID_EXCEPTION.
31238 (acosh_test_data): Likewise.
31239 (asin_test_data): Likewise.
31240 (atanh_test_data): Likewise.
31241 (fmod_test_data): Likewise.
31242 (log_test_data): Likewise.
31243 (log10_test_data): Likewise.
31244 (log2_test_data): Likewise.
31245 (pow_test_data): Likewise.
31246 (sqrt_test_data): Likewise.
31247 (y0_test_data): Likewise.
31248 (y1_test_data): Likewise.
31249 (yn_test_data): Likewise.
31251 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31254 * math/libm-test.inc (struct test_ff_i_data): New type.
31255 (RUN_TEST_LOOP_ff_i_tg): New macro.
31256 (isgreater_test_data): New variable.
31257 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31258 (isgreaterequal_test_data): New variable.
31259 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31260 (isless_test_data): New variable.
31261 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31262 (islessequal_test_data): New variable.
31263 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31264 (islessgreater_test_data): New variable.
31265 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31266 (isunordered_test_data): New variable.
31267 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31269 2013-05-14 David S. Miller <davem@davemloft.net>
31271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31273 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31275 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31277 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31279 (struct test_f_i_data): Change type of max_ulp to int.
31281 * math/libm-test.inc (test_ffI_f1_data): New type.
31282 (RUN_TEST_LOOP_ffI_f1): New macro.
31283 (remquo_test_data): New variable.
31284 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31286 * setjmp/tst-setjmp-fp.c: New file.
31287 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31288 (link-libm): New variable.
31289 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31291 * math/libm-test.inc (struct test_f_i_data): New type.
31292 (RUN_TEST_LOOP_f_i): New macro.
31293 (RUN_TEST_LOOP_f_i_tg): Likewise.
31294 (fpclassify_test_data): New variable.
31295 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31296 (ilogb_test_data): New variable.
31297 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31299 * math/libm-test.inc (scalbln_test): Correct function name in END
31302 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31303 (RUN_TEST_LOOP_fI_f1): New macro.
31304 (frexp_test_data): New variable.
31305 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31307 * math/libm-test.inc (struct test_fF_f1_data): New type.
31308 (RUN_TEST_LOOP_fF_f1): New macro.
31309 (modf_test_data): New variable.
31310 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31312 * math/libm-test.inc (struct test_f_f1_data): New type.
31313 (RUN_TEST_LOOP_f_f1): New macro.
31314 (gamma_test_data): New variable.
31315 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31316 (lgamma_test_data): New variable.
31317 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31319 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31321 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31322 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31323 (main): Comment "tls" pseudo-hwcap.
31325 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31327 * math/libm-test.inc (struct test_fl_f_data): New type.
31328 (RUN_TEST_LOOP_fl_f): New variable.
31329 (scalbln_test_data): New variable.
31330 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31332 * math/libm-test.inc (struct test_fi_f_data): New type.
31333 (RUN_TEST_LOOP_fi_f): New macro.
31334 (ldexp_test_data): New variable.
31335 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31336 (scalbn_test_data): New variable.
31337 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31339 * math/libm-test.inc (struct test_c_f_data): New type.
31340 (RUN_TEST_LOOP_c_f): New macro.
31341 (cabs_test_data): New variable.
31342 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31343 (carg_test_data): New variable.
31344 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31345 (cimag_test_data): New variable.
31346 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31347 (creal_test_data): New variable.
31348 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31350 * math/libm-test.inc (struct test_if_f_data): New type.
31351 (RUN_TEST_LOOP_if_f): New macro.
31352 (jn_test_data): New variable.
31353 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31354 (yn_test_data): New variable.
31355 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31357 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31359 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31361 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31362 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31364 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31366 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31367 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31368 (bench-deps): Add bench-timing.h.
31369 * benchtests-bench-skeleton.c: Include bench-timing.h.
31370 (main): Use TIMING_* macros instead of clock_gettime.
31371 * benchtests/bench-timing.h: New file.
31374 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31375 Renamed from _LIB_VERSION.
31376 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31378 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31380 * math/libm-test.inc (struct test_fff_f_data): New type.
31381 (RUN_TEST_LOOP_fff_f): New macro.
31382 (fma_test_data): New variable.
31383 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31384 (fma_towardzero_test_data): New variable.
31385 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31386 (fma_downward_test_data): New variable.
31387 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31388 (fma_upward_test_data): New variable.
31389 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31391 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31392 (struct test_c_c_data): New type.
31393 (RUN_TEST_LOOP_c_c): New macro.
31394 (cacos_test_data): New variable.
31395 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31396 (cacosh_test_data): New variable.
31397 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31398 (casin_test_data): New variable.
31399 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31400 (casinh_test_data): New variable.
31401 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31402 (catan_test_data): New variable.
31403 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31404 (catanh_test_data): New variable.
31405 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31406 (ccos_test_data): New variable.
31407 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31408 (ccosh_test_data): New variable.
31409 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31410 (cexp_test_data): New variable.
31411 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31412 (clog_test_data): New variable.
31413 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31414 (clog10_test_data): New variable.
31415 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31416 (conj_test_data): New variable.
31417 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31418 (cproj_test_data): New variable.
31419 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31420 (csin_test_data): New variable.
31421 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31422 (csinh_test_data): New variable.
31423 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31424 (csqrt_test_data): New variable.
31425 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31426 (ctan_test_data): New variable.
31427 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31428 (ctan_tonearest_test_data): New variable.
31429 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31430 (ctan_towardzero_test_data): New variable.
31431 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31432 (ctan_downward_test_data): New variable.
31433 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31434 (ctan_upward_test_data): New variable.
31435 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31436 (ctanh_test_data): New variable.
31437 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31438 (ctanh_tonearest_test_data): New variable.
31439 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31440 (ctanh_towardzero_test_data): New variable.
31441 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31442 (ctanh_downward_test_data): New variable.
31443 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31444 (ctanh_upward_test_data): New variable.
31445 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31446 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31449 * math/libm-test.inc (struct test_ff_f_data): New type.
31450 (struct test_ff_f_data_nexttoward): Likewise.
31451 (RUN_TEST_LOOP_2_f): New macro.
31452 (RUN_TEST_LOOP_ff_f): Likewise.
31453 (atan2_test_data): New variable.
31454 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31455 (copysign_test_data): New variable.
31456 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31457 (fdim_test_data): New variable.
31458 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31459 (fmax_test_data): New variable.
31460 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31461 (fmin_test_data): New variable.
31462 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31463 (fmod_test_data): New variable.
31464 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31465 (hypot_test_data): New variable.
31466 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31467 (nextafter_test_data): New variable.
31468 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31469 (nexttoward_test_data): New variable.
31470 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31471 (pow_test_data): New variable.
31472 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31473 (pow_tonearest_test_data): New variable.
31474 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31475 (pow_towardzero_test_data): New variable.
31476 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31477 (pow_downward_test_data): New variable.
31478 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31479 (pow_upward_test_data): New variable.
31480 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31481 (remainder_test_data): New variable.
31482 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31483 (scalb_test_data): New variable.
31484 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31485 * sysdeps/i386/fpu/libm-test-ulps: Update.
31487 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31489 * math/libm-test.inc (fma_test): Use max_value instead of local
31491 (nextafter_test): Likewise.
31493 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31494 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31495 (acos_downward_test_data): New variable.
31496 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31497 (acos_upward_test_data): New variable.
31498 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31499 (acosh_test_data): New variable.
31500 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31501 (asin_test_data): New variable.
31502 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31503 (asin_tonearest_test_data): New variable.
31504 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31505 (asin_towardzero_test_data): New variable.
31506 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31507 (asin_downward_test_data): New variable.
31508 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31509 (asin_upward_test_data): New variable.
31510 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31511 (asinh_test_data): New variable.
31512 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31513 (atan_test_data): New variable.
31514 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31515 (atanh_test_data): New variable.
31516 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31517 (cbrt_test_data): New variable.
31518 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31519 (ceil_test_data): New variable.
31520 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31521 (cos_test_data): New variable.
31522 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31523 (cos_tonearest_test_data): New variable.
31524 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31525 (cos_towardzero_test_data): New variable.
31526 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31527 (cos_downward_test_data): New variable.
31528 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31529 (cos_upward_test_data): New variable.
31530 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31531 (cosh_test_data): New variable.
31532 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31533 (cosh_tonearest_test_data): New variable.
31534 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31535 (cosh_towardzero_test_data): New variable.
31536 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31537 (cosh_downward_test_data): New variable.
31538 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31539 (cosh_upward_test_data): New variable.
31540 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31541 (erf_test_data): New variable.
31542 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31543 (erfc_test_data): New variable.
31544 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31545 (exp_test_data): New variable.
31546 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31547 (exp_tonearest_test_data): New variable.
31548 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31549 (exp_towardzero_test_data): New variable.
31550 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31551 (exp_downward_test_data): New variable.
31552 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31553 (exp_upward_test_data): New variable.
31554 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31555 (exp10_test_data): New variable.
31556 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31557 (exp2_test_data): New variable.
31558 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31559 (expm1_test_data): New variable.
31560 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31561 (fabs_test_data): New variable.
31562 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31563 (floor_test_data): New variable.
31564 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31565 (j0_test_data): New variable.
31566 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31567 (j1_test_data): New variable.
31568 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31569 (log_test_data): New variable.
31570 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31571 (log10_test_data): New variable.
31572 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31573 (log1p_test_data): New variable.
31574 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31575 (log2_test_data): New variable.
31576 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31577 (logb_test_data): New variable.
31578 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31579 (logb_downward_test_data): New variable.
31580 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31581 (nearbyint_test_data): New variable.
31582 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31583 (rint_test_data): New variable.
31584 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31585 (rint_tonearest_test_data): New variable.
31586 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31587 (rint_towardzero_test_data): New variable.
31588 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31589 (rint_downward_test_data): New variable.
31590 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31591 (rint_upward_test_data): New variable.
31592 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31593 (round_test_data): New variable.
31594 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31595 (sin_test_data): New variable.
31596 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31597 (sin_tonearest_test_data): New variable.
31598 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31599 (sin_towardzero_test_data): New variable.
31600 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31601 (sin_downward_test_data): New variable.
31602 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31603 (sin_upward_test_data): New variable.
31604 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31605 (sinh_test_data): New variable.
31606 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31607 (sinh_tonearest_test_data): New variable.
31608 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31609 (sinh_towardzero_test_data): New variable.
31610 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31611 (sinh_downward_test_data): New variable.
31612 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31613 (sinh_upward_test_data): New variable.
31614 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31615 (sqrt_test_data): New variable.
31616 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31617 (tan_test_data): New variable.
31618 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31619 (tan_tonearest_test_data): New variable.
31620 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31621 (tan_towardzero_test_data): New variable.
31622 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31623 (tan_downward_test_data): New variable.
31624 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31625 (tan_upward_test_data): New variable.
31626 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31627 (tanh_test_data): New variable.
31628 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31629 (tgamma_test_data): New variable.
31630 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31631 (trunc_test_data): New variable.
31632 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31633 (y0_test_data): New variable.
31634 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31635 (y1_test_data): New variable.
31636 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31637 (significand_test_data): New variable.
31638 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31640 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31643 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31645 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31647 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31649 2013-05-10 Andreas Jaeger <aj@suse.de>
31652 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31653 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31655 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31657 * math/gen-libm-test.pl (adjust_arg): New function.
31658 (special_functions): Handle generating output in both functions
31660 (parse_args): Likewise.
31661 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31662 $in_func argument to parse_args.
31663 * math/libm-test.inc (struct test_f_f_data): New type.
31664 (IF_ROUND_INIT_): New macro.
31665 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31666 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31667 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31668 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31669 (ROUND_RESTORE_): Likewise.
31670 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31671 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31672 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31673 (ROUND_RESTORE_FE_UPWARD): Likewise.
31674 (RUN_TEST_LOOP_f_f): New macro.
31675 (acos_test_data): New variable.
31676 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31677 (acos_tonearest_test_data): New variable.
31678 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31680 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31682 * benchtests/bench-skeleton.c (startup): Fix coding style.
31684 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31687 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31688 negative infinity argument.
31689 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31690 negative infinity argument.
31691 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31692 negative infinity argument.
31693 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31696 2013-05-10 Florian Weimer <fweimer@redhat.com>
31698 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31699 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31700 * iconv/iconv_prog.c (main): Likewise.
31701 * locale/programs/charmap-dir.c (charmap_readdir)
31702 (fopen_uncompressed): Likewise.
31703 * locale/programs/locfile.c (siblings_uncached)
31704 (write_locale_data): Use lstat64 instead of lstat.
31705 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31708 2013-05-10 Andreas Jaeger <aj@suse.de>
31711 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31713 Include <locale.h>.
31715 2013-05-09 Carlos O'Donell <carlos@redhat.com>
31717 * elf/dl-close.c (_dl_close_worker): Add comments.
31719 2013-05-09 Joseph Myers <joseph@codesourcery.com>
31722 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31724 (__ieee754_rem_pio2l): Update comments.
31727 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31729 (__ieee754_rem_pio2l): Update comments.
31731 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31732 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31734 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31737 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31738 (M_PI_34_LOG10El): Likewise.
31739 (M_PI2_LOG10El): Likewise.
31740 (M_PI4_LOG10El): Likewise.
31741 (M_PI_LOG10El): Likewise.
31743 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31747 2013-05-08 Joseph Myers <joseph@codesourcery.com>
31749 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31750 (MINUS_ZERO_INIT): Likewise.
31751 (PLUS_INFTY_INIT): Likewise.
31752 (MINUS_INFTY_INIT): Likewise.
31753 (QNAN_VALUE_INIT): Likewise.
31754 (MAX_VALUE_INIT): Likewise.
31755 (MIN_VALUE_INIT): Likewise.
31756 (MIN_SUBNORM_VALUE_INIT): Likewise.
31757 (plus_zero): Initialize with PLUS_ZERO_INIT.
31758 (minus_zero): Initialize with MINUS_ZERO_INIT.
31759 (plus_infty): Initialize with PLUS_INFTY_INIT.
31760 (minus_infty): Initialize with MINUS_INFTY_INIT.
31761 (qnan_value): Initialize with QNAN_VALUE_INIT.
31762 (max_value): Initialize with MAX_VALUE_INIT.
31763 (min_value): Initialize with MIN_VALUE_INIT.
31764 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31766 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31767 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31768 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31769 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31771 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31772 (RUN_TEST_2_f): Likewise.
31773 (RUN_TEST_ff_f): Likewise.
31774 (RUN_TEST_fi_f): Likewise.
31775 (RUN_TEST_fl_f): Likewise.
31776 (RUN_TEST_fff_f): Likewise.
31777 (RUN_TEST_c_f): Likewise.
31778 (RUN_TEST_f_f1): Likewise.
31779 (RUN_TEST_fF_f1): Likewise.
31780 (RUN_TEST_fI_f1): Likewise.
31781 (RUN_TEST_ffI_f1): Likewise.
31782 (RUN_TEST_c_c): Likewise.
31783 (RUN_TEST_cc_c): Likewise.
31784 (RUN_TEST_f_i): Likewise.
31785 (RUN_TEST_f_i_tg): Likewise.
31786 (RUN_TEST_ff_i_tg): Likewise.
31787 (RUN_TEST_f_b): Likewise.
31788 (RUN_TEST_f_b_tg): Likewise.
31789 (RUN_TEST_f_l): Likewise.
31790 (RUN_TEST_f_L): Likewise.
31791 (RUN_TEST_sincos): Likewise.
31792 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31793 whether to show exceptions. Do not include ");\n" in return
31795 (special_functions): Output call to RUN_TEST_sincos instead of
31796 check_float calls. Update calls to new_test.
31797 (parse_args): Output call to single RUN_TEST_* macro instead of
31798 check_* calls and other assignments. Update calls to new_test.
31804 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31805 input to result for tgamma overflow.
31806 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31807 (gamma_coeff): New variable.
31808 (NCOEFF): New macro.
31809 (gamma_positive): New function.
31810 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31811 underflow here. Use gamma_positive instead of exp (lgamma) for
31813 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31814 (gamma_coeff): New variable.
31815 (NCOEFF): New macro.
31816 (gammaf_positive): New function.
31817 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31818 underflow here. Use gamma_positive instead of exp (lgamma) for
31820 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31821 (gamma_coeff): New variable.
31822 (NCOEFF): New macro.
31823 (gammal_positive): New function.
31824 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31825 underflow here. Use gamma_positive instead of exp (lgamma) for
31827 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31828 (gamma_coeff): New variable.
31829 (NCOEFF): New macro.
31830 (gammal_positive): New function.
31831 (__ieee754_gammal_r): Handle positive infinity, overflow and
31832 underflow here. Handle NaN the same as positive infinity. Remove
31833 check x < 0xffffffff for negative integers. Use gamma_positive
31834 instead of exp (lgamma) for other arguments.
31835 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31836 (gamma_coeff): New variable.
31837 (NCOEFF): New macro.
31838 (gammal_positive): New function.
31839 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31840 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31841 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31842 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31843 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31844 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31845 * sysdeps/generic/math_private.h (__gamma_productf): New
31847 (__gamma_product): Likewise.
31848 (__gamma_productl): Likewise.
31849 * math/Makefile (libm-calls): Add gamma_product.
31850 * math/libm-test.inc (tgamma_test): Add more tests.
31851 * sysdeps/i386/fpu/libm-test-ulps: Update.
31852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31854 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
31856 * benchtests/bench-skeleton.c (main): Preheat CPU.
31858 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31860 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31862 2013-05-07 Roland McGrath <roland@hack.frob.com>
31864 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31865 and _dl_skip_args_internal.
31867 2013-05-07 Carlos O'Donell <carlos@redhat.com>
31869 * manual/message.texi (Message Translation): Talk about users.
31870 Message to key mapping impacts design.
31872 2013-05-06 Roland McGrath <roland@hack.frob.com>
31874 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31876 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31878 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31879 * sysdeps/wordsize-64/glob64.c: ... here.
31881 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31882 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31885 * debug/getlogin_r_chk.c: Moved to ...
31886 * login/getlogin_r_chk.c: ... here.
31887 * debug/Makefile (routines): Move getlogin_r_chk to ...
31888 * login/Makefile (routines): ... here.
31889 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31890 * login/Versions (libc: GLIBC_2.4): ... here.
31892 * io/poll.c (__poll): Renamed from poll.
31893 Add libc_hidden_def.
31894 (poll): Define as weak alias.
31896 * debug/ptsname_r_chk.c: Moved to ...
31897 * login/ptsname_r_chk.c: ... here.
31898 * debug/Makefile (routines): Move ptsname_r_chk to ...
31899 * login/Makefile (routines): ... here.
31900 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31901 * login/Versions (libc: GLIBC_2.4): ... here.
31903 * posix/getlogin.c: Moved to ...
31904 * login/getlogin.c: ... here.
31905 * posix/getlogin_r.c: Moved to ...
31906 * login/getlogin_r.c: ... here.
31907 * posix/getlogin_r.c: Moved to ...
31908 * login/getlogin_r.c: ... here.
31909 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31910 * login/Makefile (routines): ... here.
31911 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31912 * login/Versions (libc: GLIBC_2.0): ... here.
31914 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31915 (setrlimit): Define as weak alias.
31917 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31918 Call __ names for open, ftruncate, and close.
31919 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31920 (truncate): Define as weak alias.
31922 2013-05-06 Joseph Myers <joseph@codesourcery.com>
31924 * math/gen-libm-test.pl (parse_args): Initialize x before each
31925 test of frexp, modf and remquo.
31927 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31928 test signgam value.
31930 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31934 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31936 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31938 2013-05-06 Roland McGrath <roland@hack.frob.com>
31940 * elf/dl-writev.h: New file.
31941 * elf/dl-misc.c: Include it.
31942 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31943 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31945 2013-05-04 Joseph Myers <joseph@codesourcery.com>
31947 * math/libm-test.inc (noXFails): Remove variable.
31948 (noXPasses): Likewise.
31949 (BUILD_COMPLEX_INT): Remove macro.
31950 (print_screen): Remove xfail argument.
31951 (print_screen_max_error): Likewise.
31952 (update_stats): Likewise.
31953 (print_max_error): Likewise. Update calls to other affected
31955 (print_complex_max_error): Likewise.
31956 (test_single_exception): Update calls to print_screen.
31957 (test_single_errno): Likewise.
31958 (check_float_internal): Remove xfail argument. Update calls to
31959 other affected functions.
31960 (check_float): Likewise.
31961 (check_complex): Likewise.
31962 (check_int): Likewise.
31963 (check_long): Likewise.
31964 (check_bool): Likewise.
31965 (check_longlong): Likewise.
31966 (main): Don't print noXFails and noXPasses.
31967 * math/gen-libm-test.pl (top level): Don't mention expected
31968 failure handling in comment.
31969 (new_test): Don't handle expected failures.
31970 (parse_args): Don't mention expected failure handling in comment.
31971 (generate_testfile): Don't handle expected failures.
31972 (parse_ulps): Likewise.
31973 (print_ulps_file): Likewise.
31974 (get_failure): Remove function.
31975 (output_test): Don't handle expected failures.
31976 * make/README.libm-test: Don't mention expected failure handling.
31978 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31979 (minus_zero): Likewise.
31980 (plus_infty): Likewise.
31981 (minus_infty): Likewise.
31982 (qnan_value): Likewise.
31983 (max_value): Likewise.
31984 (min_value): Likewise.
31985 (min_subnorm_value): Likewise.
31986 (initialize): Do not initialize those variables dynamically.
31988 2013-05-03 Roland McGrath <roland@hack.frob.com>
31990 * io/open.c (__open_2): Moved to ...
31991 * io/open_2.c: ... this new file.
31992 * io/open64.c (__open64_2): Moved to ...
31993 * io/open64_2.c: ... this new file.
31994 * io/openat.c (__openat_2): Moved to ...
31995 * io/openat_2.c: ... this new file.
31996 * io/openat64.c (__openat64_2): Moved to ...
31997 * io/openat64_2.c: ... this new file.
31998 * io/Makefile (routines): Add them.
31999 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32000 * sysdeps/unix/sysv/linux/open_2.c: File removed.
32001 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32002 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32003 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32004 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32005 (__openat64): Add hidden_ver.
32006 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32007 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32009 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32010 Separately conditionalize setting of GLRO(dl_sysinfo) so
32011 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32012 as well, but the actual setting is only under [NEED_DL_SYSINFO].
32014 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32016 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32017 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32019 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32020 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32021 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32022 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32023 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32025 2013-05-03 Joseph Myers <joseph@codesourcery.com>
32027 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32028 test signgam value.
32030 * math/libm-test.inc (hypot_test): Do not use
32031 IGNORE_ZERO_INF_SIGN.
32033 2013-05-03 Andreas Jaeger <aj@suse.de>
32035 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32037 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32038 (PF_MAX): Adjust for VSOCK change.
32040 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32044 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32047 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32048 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32049 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32051 2013-05-02 David S. Miller <davem@davemloft.net>
32053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32055 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
32057 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32059 2013-05-01 Roland McGrath <roland@hack.frob.com>
32061 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32063 2013-05-01 Richard Smith <richard@metafoo.co.uk>
32066 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32067 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32068 Use __attribute__ ((__gnu_inline__)).
32069 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32070 Don't use __attribute__ ((__gnu_inline__)).
32072 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32075 * math/s_catan.c (__catan): Handle small real or imaginary part of
32076 input specially to avoid spurious underflow.
32077 * math/s_catanf.c (__catanf): Likewise.
32078 * math/s_catanh.c (__catanh): Likewise.
32079 * math/s_catanhf.c (__catanhf): Likewise.
32080 * math/s_catanhl.c (__catanhl): Likewise.
32081 * math/s_catanl.c (__catanl): Likewise.
32082 * math/libm-test.inc (catan_test): Add more tests.
32083 (catanh_test): Likewise.
32084 * sysdeps/i386/fpu/libm-test-ulps: Update.
32085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32087 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32091 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32094 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32095 accurately for denominator in atan2.
32096 * math/s_catanf.c (__catanf): Likewise.
32097 * math/s_catanh.c (__catanh): Likewise.
32098 * math/s_catanhf.c (__catanhf): Likewise.
32099 * math/s_catanhl.c (__catanhl): Likewise.
32100 * math/s_catanl.c (__catanl): Likewise.
32101 * math/libm-test.inc (catan_test): Add more tests.
32102 (catanh_test): Likewise.
32103 * sysdeps/i386/fpu/libm-test-ulps: Update.
32104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32106 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32108 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32110 * benchtests/Makefile (bench): Remove slow benchmarks.
32111 * benchtests/atan-inputs: Add slow benchmark inputs.
32112 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32113 (BENCH_FUNC): Accept variant offset.
32115 * benchtests/bench-skeleton.c (main): Run benchmark for each
32117 * benchtests/cos-inputs: Add slow benchmark inputs.
32118 * benchtests/exp-inputs: Likewise.
32119 * benchtests/pow-inputs: Likewise.
32120 * benchtests/sin-inputs: Likewise.
32121 * benchtests/slowatan-inputs: Remove.
32122 * benchtests/slowatan.c: Remove.
32123 * benchtests/slowcos-inputs: Remove.
32124 * benchtests/slowcos.c: Remove.
32125 * benchtests/slowexp-inputs: Remove.
32126 * benchtests/slowexp.c: Remove.
32127 * benchtests/slowpow-inputs: Remove.
32128 * benchtests/slowpow.c: Remove.
32129 * benchtests/slowsin-inputs: Remove.
32130 * benchtests/slowsin.c: Remove.
32131 * benchtests/slowtan-inputs: Remove.
32132 * benchtests/slowtan.c: Remove.
32133 * benchtests/tan-inputs: Add slow benchmark inputs.
32134 * scripts/bench.pl: Parse comments and directives.
32136 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32138 ($(objpfx)bench-%.c): Remove *-ITER.
32139 * benchtests/bench-modf.c: Remove definition of ITER.
32140 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32141 (main): Loop for DURATION seconds instead of fixed number of
32143 * scripts/bench.pl: Don't expect iterations in parameters.
32145 2013-04-29 Roland McGrath <roland@hack.frob.com>
32147 * io/fchdir.c (__fchdir): Renamed from fchdir.
32148 (fchdir): Define as weak alias.
32150 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32152 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32153 (ERRNO_EDOM): Likewise.
32154 (ERRNO_ERANGE): Likewise.
32155 (noErrnoTests): New variable.
32156 (init_max_error): Set errno to 0.
32157 (test_single_errno): New function.
32158 (test_errno): Likewise.
32159 (check_float_internal): Call test_errno. Set errno to 0.
32160 (check_complex): Refer to errno tests in comment.
32161 (check_int): Call test_errno. Set errno to 0.
32162 (check_long): Likewise.
32163 (check_bool): Likewise.
32164 (check_longlong): Likewise.
32165 (cos_test): Use ERRNO_* flags for errno tests instead of
32167 (expm1_test): Likewise.
32168 (fmod_test): Likewise.
32169 (ilogb_test): Likewise.
32170 (lgamma_test): Likewise.
32171 (pow_test): Likewise.
32172 (remainder_test): Likewise.
32173 (sin_test): Likewise.
32174 (tan_test): Likewise.
32175 (yn_test): Likewise.
32176 (initialize): Set errno to 0.
32177 (main): Print number of errno tests.
32178 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32180 2013-04-29 Andreas Jaeger <aj@suse.de>
32183 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32187 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32188 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32192 * stdlib/random.c (__initstate): Return NULL if
32196 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32197 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32200 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32204 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32206 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32207 of individual tests.
32208 (casin_test): Likewise.
32209 (casinh_test): Likewise.
32211 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32214 * math/s_catan.c (__catan): Handle arguments with large real or
32215 imaginary part separately without squaring.
32216 * math/s_catanf.c (__catanf): Likewise.
32217 * math/s_catanh.c (__catanh): Likewise.
32218 * math/s_catanhf.c (__catanhf): Likewise.
32219 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32221 (__catanhl): Handle arguments with large real or imaginary part
32222 separately without squaring.
32223 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32225 (__catanl): Handle arguments with large real or imaginary part
32226 separately without squaring.
32227 * math/libm-test.inc (catan_test): Add more tests.
32228 (catanh_test): Likewise.
32229 * sysdeps/i386/fpu/libm-test-ulps: Update.
32230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32232 2013-04-27 Andreas Jaeger <aj@suse.de>
32235 * stdlib/stdlib.h: Update guards for qecvt.
32236 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32239 2013-04-27 Allan McRae <allan@archlinux.org>
32241 * sysdeps/i386/fpu/libm-test-ulps: Update.
32243 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32246 * math/s_catan.c: Include <float.h>.
32247 (__catan): Ensure underflow exception occurs for underflowed
32249 * math/s_catanf.c: Include <float.h>.
32250 (__catanf): Ensure underflow exception occurs for underflowed
32252 * math/s_catanh.c: Include <float.h>.
32253 (__catanh): Ensure underflow exception occurs for underflowed
32255 * math/s_catanhf.c: Include <float.h>.
32256 (__catanhf): Ensure underflow exception occurs for underflowed
32258 * math/s_catanhl.c: Include <float.h>.
32259 (__catanhl): Ensure underflow exception occurs for underflowed
32261 * math/s_catanl.c: Include <float.h>.
32262 (__catanl): Ensure underflow exception occurs for underflowed
32264 * math/libm-test.inc (catan_test): Add more tests.
32265 (catanh_test): Likewise.
32268 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32269 underflowed result.
32270 * math/s_ccoshf.c (__ccoshf): Likewise.
32271 * math/s_ccoshl.c (__ccoshl): Likewise.
32272 * math/s_csin.c (__csin): Likewise.
32273 * math/s_csinf.c (__csinf): Likewise.
32274 * math/s_csinh.c (__csinh): Likewise.
32275 * math/s_csinhf.c (__csinhf): Likewise.
32276 * math/s_csinhl.c (__csinhl): Likewise.
32277 * math/s_csinl.c (__csinl): Likewise.
32278 * math/libm-test.inc (ccos_test): Add more tests.
32279 (ccosh_test): Likewise.
32280 (csin_test): Likewise.
32281 (csinh_test): Likewise.
32283 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32285 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32286 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32287 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32288 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32289 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32290 powerpc/power5+/fpu folders.
32291 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32294 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32298 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32300 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32301 additions to variable.
32302 [$(config-machine) = x86_64] (modules-names): Likewise.
32303 ($(objpfx)tst-audit3): Remove dependency.
32304 ($(objpfx)tst-audit3.out): Likewise.
32305 ($(objpfx)tst-audit4): Likewise.
32306 ($(objpfx)tst-audit4.out): Likewise.
32307 ($(objpfx)tst-audit5): Likewise.
32308 ($(objpfx)tst-audit5.out): Likewise.
32309 ($(objpfx)tst-audit6): Likewise.
32310 ($(objpfx)tst-audit6.out): Likewise.
32311 ($(objpfx)tst-audit7): Likewise.
32312 ($(objpfx)tst-audit7.out): Likewise.
32313 (tst-audit3-ENV): Remove variable.
32314 (tst-audit4-ENV): Likewise.
32315 (tst-audit5-ENV): Likewise.
32316 (tst-audit6-ENV): Likewise.
32317 (tst-audit7-ENV): Likewise.
32318 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32319 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32320 addition to variable.
32321 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32322 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32323 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32324 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32325 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32326 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32327 tst-audit3, tst-audit4 and tst-audit5.
32328 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32329 tst-audit6 and tst-audit7.
32330 [$(subdir) = elf] (modules-names): Add audit modules for those
32332 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32333 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32334 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32335 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32336 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32337 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32338 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32339 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32340 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32341 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32342 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32343 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32344 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32345 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32346 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32347 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32349 [$(subdir) = elf && $(config-cflags-avx) = yes]
32350 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32351 [$(subdir) = elf && $(config-cflags-avx) = yes]
32352 (CFLAGS-tst-auditmod4a.c): Likewise.
32353 [$(subdir) = elf && $(config-cflags-avx) = yes]
32354 (CFLAGS-tst-auditmod4b.c): Likewise.
32355 [$(subdir) = elf && $(config-cflags-avx) = yes]
32356 (CFLAGS-tst-auditmod6b.c): Likewise.
32357 [$(subdir) = elf && $(config-cflags-avx) = yes]
32358 (CFLAGS-tst-auditmod6c.c): Likewise.
32359 [$(subdir) = elf && $(config-cflags-avx) = yes]
32360 (CFLAGS-tst-auditmod7b.c): Likewise.
32361 * elf/tst-audit3.c: Move to ...
32362 * sysdeps/x86_64/tst-audit3.c: ... here.
32363 * elf/tst-audit4.c: Move to ...
32364 * sysdeps/x86_64/tst-audit4.c: ... here.
32365 * elf/tst-audit5.c: Move to ...
32366 * sysdeps/x86_64/tst-audit5.c: ... here.
32367 * elf/tst-audit6.c: Move to ...
32368 * sysdeps/x86_64/tst-audit6.c: ... here.
32369 * elf/tst-audit7.c: Move to ...
32370 * sysdeps/x86_64/tst-audit7.c: ... here.
32371 * elf/tst-auditmod3a.c: Move to ...
32372 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32373 * elf/tst-auditmod3b.c: Move to ...
32374 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32375 * elf/tst-auditmod4a.c: Move to ...
32376 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32377 * elf/tst-auditmod4b.c: Move to ...
32378 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32379 * elf/tst-auditmod5a.c: Move to ...
32380 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32381 * elf/tst-auditmod5b.c: Move to ...
32382 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32383 * elf/tst-auditmod6a.c: Move to ...
32384 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32385 * elf/tst-auditmod6b.c: Move to ...
32386 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32387 * elf/tst-auditmod6c.c: Move to ...
32388 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32389 * elf/tst-auditmod7a.c: Move to ...
32390 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32391 * elf/tst-auditmod7b.c: Move to ...
32392 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32394 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32397 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32398 define unconditionally.
32399 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32400 define unconditionally.
32401 (INT8_C, INT16_C, etc.): Likewise.
32403 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32405 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32406 __ehdr_start with hidden visibility.
32408 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32410 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32412 * math/libm-test.inc (cos_test): Use accurate hex constants.
32413 (sincost_test): Likewise.
32415 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32417 * math/libm-test.inc (catan_test): Add more tests.
32418 (catanh_test): Likewise.
32420 * math/s_catanf.c (__catanf): Use suffixed floating-point
32422 * math/s_catanhf.c (__catanhf): Likewise.
32423 * math/s_catanhl.c (__catanhl): Likewise.
32424 * math/s_catanl.c (__catanl): Likewise.
32427 * math/s_catan.c (__catan): Calculate imaginary part of result
32428 with log1p not log unless computing log of number close to 0.
32429 * math/s_catanf.c (__catanf): Likewise.
32430 * math/s_catanl.c (__catanl): Likewise.
32431 * math/s_catanh.c (__catanh): Calculate real part of result with
32432 log1p not log unless computing log of number close to 0.
32433 * math/s_catanhf.c (__catanhf): Likewise.
32434 * math/s_catanhl.c (__catanhl): Likewise.
32435 * math/libm-test.inc (catan_test): Add more tests.
32436 (catanh_test): Likewise.
32437 * sysdeps/i386/fpu/libm-test-ulps: Update.
32438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32440 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32442 * benchtests/Makefile: Mention files in which fast and slow
32443 paths of math functions are implemented.
32445 2013-04-23 Roland McGrath <roland@hack.frob.com>
32447 * sysdeps/posix/timespec_get.c: New file.
32449 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32451 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32453 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32455 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32456 powerpc/power5/fpu folders.
32457 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32458 * benchtests/Makefile: Add modf testcase.
32459 * benchtests/bench-modf.c: New file: Benchmark test for mo
32461 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32464 * time/Makefile (tests): Add tst-strptime-whitespace.
32465 * time/strptime_l.c (get_number): Use ISSPACE.
32466 (__strptime_internal): Likewise.
32467 * time/tst-strptime-whitespace.c: New test case.
32469 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32471 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32473 (_nss_files_init): Set it here.
32475 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32477 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32478 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32481 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32483 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32485 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32490 2013-04-21 David S. Miller <davem@davemloft.net>
32492 * po/ru.po: Update Russion translation from translation project.
32494 2013-04-17 Adam Conrad <adconrad@0c3.net>
32496 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32499 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32501 * configure.in: Remove i386 configure warning. Remove i386 case.
32502 * configure: Regenerate.
32503 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32504 Add example to error message.
32505 * sysdeps/i386/configure: Regenerate.
32507 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32509 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32511 * benchtests/cos-inputs: New file.
32512 * benchtests/slowcos-inputs: New file.
32513 * benchtests/slowcos.c: New file.
32514 * benchtests/slowtan-inputs: New file.
32515 * benchtests/slowtan.c: New file.
32516 * benchtests/tan-inputs: New file.
32518 2013-04-16 Roland McGrath <roland@hack.frob.com>
32520 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32523 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32525 * benchtests/Makefile: Include cppflags-iterator.mk to add
32526 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32528 * Makefile.in (bench-clean): New target.
32529 * benchtests/Makefile (bench-clean): Likewise.
32531 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32533 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32535 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32537 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32539 2013-04-15 Andreas Schwab <schwab@suse.de>
32541 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32543 * nscd/pwdcache.c (cache_addpw): Likewise.
32544 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32547 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32549 * benchtests/Makefile (bench): Write all output to
32550 bench-out.tmp together.
32552 2013-04-15 Andreas Schwab <schwab@suse.de>
32554 * nscd/nscd.c (main): Don't fork again after closing files.
32556 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32558 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32560 * benchtests/Rules (bench-deps): Collect dependencies into a
32561 single variable. Add Makefile to dependencies.
32562 ($(objpfx)bench-%.c): Depend on bench-deps.
32564 2013-04-12 Roland McGrath <roland@hack.frob.com>
32565 Xavier Roche <roche+kml2@exalead.com>
32568 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32569 just that it's a file descriptor.
32570 * manual/llio.texi (Synchronizing AIO Operations): Update description
32571 for EBADF error from aio_fsync.
32573 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32575 * Rules (bench): Move target definition...
32576 * benchtests/Makefile: ... here.
32578 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32580 * math/libm-test.inc (cos_test): Fix PI/2 test.
32581 (sincos_test): Likewise.
32582 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32583 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32585 2013-04-11 Andreas Schwab <schwab@suse.de>
32588 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32589 accept exponent character only when digits were seen.
32590 * stdio-common/Makefile (tests): Add bug26.
32591 * stdio-common/bug26.c: New file.
32594 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32597 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32599 * Makeconfig (rtld-prefix): Define built linker prefix.
32600 * Rules (run-bench): Use it.
32601 * math/Makefile (run-regen-ulps): Likewise.
32603 * Rules (bench): Remove eval.
32605 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32606 Roland McGrath <roland@hack.frob.com>
32607 Ondrej Bilka <neleai@seznam.cz>
32610 * time/getdate.c: Include ctype.h and alloca.h.
32611 (__getdate_r): Trim leading and trailing spaces of input.
32612 * time/tst-getdate.c (tests): Add tests with leading and
32615 2013-04-08 Roland McGrath <roland@hack.frob.com>
32618 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32619 when computing value.
32621 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32623 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32624 Use testrun.sh to run libm tests.
32627 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32629 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32632 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32634 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32636 * Makefile.in (regen-ulps): New target.
32637 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32638 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32639 [ifneq (no,$(PERL)] (regen-ulps): New target.
32640 [ifeq (no,$(PERL)] (regen-ulps): New target.
32641 * math/libm-test.inc (ulps_file_name): Define.
32642 (output_dir): New variable.
32643 (options): Add "output-dir" option.
32644 (parse_opt): Handle 'o' case.
32645 (main): If output_dir is non-NULL use it as a prefix
32647 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32649 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32651 [BZ #10060, #10062]
32652 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32653 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32654 fail configure if __sync_val_compare_and_swap is not inlined.
32655 * sysdeps/i386/configure: Regenerate.
32656 * configure.in: Build for i686 when configured for i386.
32657 * configure: Regenerate.
32658 * README: Remove i386 reference.
32660 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32662 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32663 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32665 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32667 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32668 (lmsnanval): New variables.
32669 (F): Add conversion tests.
32670 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32671 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32673 * stdio-common/tstdiomisc.c (F): Properly collect individual
32676 [BZ #14686, #15336]
32677 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32678 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32679 Instead, use input NaN values or generate a qNaN by arithmetic
32680 operation. Also fix bugs to comply with the standard.
32681 * math/libm-test.inc (remainder_test): Add more tests.
32683 [BZ #15335, #15342]
32684 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32686 input NaN values or generate a qNaN by arithmetic operation.
32688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32691 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32694 2013-04-03 Joseph Myers <joseph@codesourcery.com>
32697 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32698 underflowed result.
32699 * math/s_cexpf.c (__cexpf): Likewise.
32700 * math/s_cexpl.c (__cexpl): Likewise.
32701 * math/libm-test.inc (cexp_test): Add more tests.
32703 2013-04-03 Andreas Schwab <schwab@suse.de>
32706 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32707 order arrays from heap if bigger than alloca cutoff.
32709 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32711 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32712 (SNAN_TESTS_double): Refer to GCC PR56831.
32713 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32716 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32718 * Rules (bench): Move bench.out after the run is complete.
32720 * Rules (bench): Echo currently running benchmark.
32722 * benchtests/Makefile (bench): Add atan and slowatan.
32723 * benchtests/atan-inputs: New file.
32724 * benchtests/slowatan-inputs: New file.
32725 * benchtests/slowatan.c: New file.
32727 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32728 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32732 * sysdeps/unix/sysv/linux/kernel-features.h
32733 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32734 __ASSUME_XFS_RESTRICTED_CHOWN.
32735 * sysdeps/unix/sysv/linux/pathconf.c
32736 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32737 Save and restore errno.
32739 2013-04-02 Joseph Myers <joseph@codesourcery.com>
32742 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32743 arguments using __kernel_casinh.
32744 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32745 arguments using __kernel_casinhf.
32746 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32747 arguments using __kernel_casinhl.
32748 * math/libm-test.inc (cacosh_test): Add more tests.
32749 * sysdeps/i386/fpu/libm-test-ulps: Update.
32750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32752 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32754 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32757 * bench/Makefile (bench): Add sin and slowsin.
32758 * benchtests/sin-inputs: New file.
32759 * benchtests/slowsin-inputs: New file.
32760 * benchtests/slowsin.c: New file.
32762 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32763 (bench): Add slowexp and slowpow.
32764 (exp-ITER): Increase iterations.
32765 (pow-ITER): Likewise.
32766 * benchtests/exp-inputs: Change input.
32767 * benchtests/pow-inputs: Likewise.
32768 * benchtests/slowexp-inputs: New file.
32769 * benchtests/slowexp.c: New file.
32770 * benchtests/slowpow-inputs: New file.
32771 * benchtests/slowpow.c: New file.
32773 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32775 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32777 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32778 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32779 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32780 * benchtests/Makefile: Add rint benchtest.
32781 * benchtests/rint-inputs: Input for rint benchtest.
32783 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32785 * Versions.def (libm): Add GLIBC_2.18.
32786 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32787 hidden libm prototypes.
32788 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32789 * math/Makefile (libm-calls): Add s_issignaling.
32790 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32791 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32792 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32794 * math/math.h [__USE_GNU] (issignaling): New macro.
32795 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32796 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32797 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32798 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32799 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32800 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32801 * manual/arith.texi (issignaling): New section.
32802 * manual/libm-err-tab.pl (@all_functions): Update comment.
32803 * math/gen-libm-test.pl (parse_args): Apply special handling for
32805 * math/libm-test.inc (print_float, issignaling_test): New
32807 (check_float_internal): Add issignaling checks.
32808 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32809 default definition.
32810 * sysdeps/powerpc/math-tests.h: New file.
32811 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32813 * math/test-snan.c (TEST_FUNC): Likewise.
32815 2013-03-30 David S. Miller <davem@davemloft.net>
32817 * po/de.po: Update from translation team.
32819 2013-03-30 Joseph Myers <joseph@codesourcery.com>
32822 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32823 imaginary part less than 1.0 and real part less than 0.5
32825 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32826 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32827 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32828 (cacos_test): Add more tests.
32829 (casin_test): Likewise.
32830 (casinh_test): Likewise.
32831 * sysdeps/i386/fpu/libm-test-ulps: Update.
32832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32834 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32836 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32837 ONE with its value.
32839 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32840 (__pow_mp): Replace ONE and MONE with their values.
32841 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32843 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32844 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32845 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32846 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32848 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32850 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32851 (__pow_mp): Replace ZERO and MZERO with their values.
32852 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32853 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32854 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32856 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32857 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32860 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32862 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32864 2013-03-28 Roland McGrath <roland@hack.frob.com>
32866 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32867 Declare with __attribute__ ((weak)).
32868 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32869 Call __call_tls_dtors only if it's not NULL.
32871 2013-03-28 Roland McGrath <roland@hack.frob.com>
32873 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32874 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32875 magic __ehdr_start linker symbol if it's defined.
32876 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32877 them up here if it was already done.
32879 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32880 (_dl_aux_init): Use const in cast when setting it.
32881 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32882 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32883 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32885 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32887 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32888 * csu/libc-tls.c: Nor here.
32889 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32891 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32892 (__libc_message): Never call vsyslog.
32894 2013-03-28 Alan Modra <amodra@gmail.com>
32896 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32898 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32901 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32904 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32908 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32911 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32912 Don't add gid passed as argument.
32914 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32916 2013-03-27 Joseph Myers <joseph@codesourcery.com>
32919 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32920 imaginary part between 1.0 and 1.5 and real part less than 0.5
32922 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32923 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32924 * math/libm-test.inc (cacos_test): Add more tests.
32925 (casin_test): Likewise.
32926 (casinh_test): Likewise.
32927 * sysdeps/i386/fpu/libm-test-ulps: Update.
32928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32930 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32932 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32935 (denorm): Likewise.
32936 (__dbl_mp): Likewise.
32937 (add_magnitudes): Likewise.
32938 (sub_magnitudes): Likewise.
32946 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32948 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32949 (__dubcos): Likewise.
32950 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32951 (__ieee754_acos): Likewise.
32952 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32953 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32954 (__exp1): Likewise.
32955 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32958 (my_log2): Likewise.
32959 (checkint): Likewise.
32960 * sysdeps/ieee754/dbl-64/e_remainder.c
32961 (__ieee754_remainder): Likewise.
32962 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32964 (bsloww): Likewise.
32965 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32967 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32968 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32969 MANTISSA_STORE_T to store computations on mantissa. Use
32970 macros for rounding and division.
32971 (denorm): Likewise.
32972 (__dbl_mp): Likewise.
32973 (add_magnitudes): Likewise.
32974 (sub_magnitudes): Likewise.
32977 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32978 powers of two in terms of TWOPOW macro.
32979 (mp_no): Make type of mantissa as MANTISSA_T.
32980 [!RADIXI]: Define RADIXI.
32981 [!TWO52]: Define TWO52.
32982 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32984 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32986 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32987 llroundl symbol when building for PPC32.
32989 2013-03-24 Mark H Weaver <mhw@netris.org>
32991 * manual/arith.texi (Normalization Functions): Fix prototypes for
32992 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32994 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32997 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32998 high value to check if expl overflow.
32999 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33000 to check for underflow and overflow.
33001 * math/libm-test.inc: Add exp test.
33003 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
33006 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33009 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33011 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33014 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
33016 * math/gen-libm-test.pl (parse_args, special_functions): Properly
33017 wrap blocks consisting of several statements.
33019 * sysdeps/generic/math-tests.h: New file.
33020 * sysdeps/i386/fpu/math-tests.h: Likewise.
33021 * math/test-snan.c: Include it.
33022 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33024 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33027 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33028 (__ieee754_j0l): Do not improve calculations using cos of twice
33029 input for inputs above LDBL_MAX / 2.0L.
33030 (__ieee754_y0l): Likewise.
33031 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33032 (__ieee754_j1l): Do not improve calculations using cos of twice
33033 input for inputs above LDBL_MAX / 2.0L.
33034 (__ieee754_y1l): Likewise.
33035 * math/libm-test.inc (j0_test): Add another test.
33036 (j1_test): Likewise.
33037 (y0_test): Likewise.
33038 (y1_test): Likewise.
33039 * sysdeps/i386/fpu/libm-test-ulps: Update.
33041 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33043 * Rules ($(objpfx)bench-%.c): Include code from a C source
33046 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33049 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33050 imaginary part 1.0 and real part less than 0.5 specially.
33051 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33052 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33053 * math/libm-test.inc (cacos_test): Add more tests.
33054 (casin_test): Likewise.
33055 (casinh_test): Likewise.
33056 * sysdeps/i386/fpu/libm-test-ulps: Update.
33057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33059 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33061 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33062 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33064 2013-03-20 Joseph Myers <joseph@codesourcery.com>
33066 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33067 * config.make.in (config-cflags-sse4): Remove variable.
33068 (config-cflags-avx): Likewise.
33069 (config-cflags-sse2avx): Likewise.
33070 (config-cflags-novzeroupper): Likewise.
33071 (config-asflags-i686): Likewise.
33072 (have-mfma4): Likewise.
33073 (have-as-vis3): Likewise.
33075 * configure.in (MIG): Do not AC_SUBST.
33076 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33077 (libc_cv_cc_sse4): Do not AC_SUBST.
33078 (libc_cv_cc_avx): Likewise.
33079 (libc_cv_cc_sse2avx): Likewise.
33080 (libc_cv_cc_novzeroupper): Likewise.
33081 (libc_cv_cc_fma4): Likewise.
33082 (libc_cv_as_i686): Likewise.
33083 (libc_cv_sparc_as_vis3): Likewise.
33084 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33086 (config-asflags-i686): Likewise.
33087 (config-cflags-avx): Likewise.
33088 (config-cflags-sse2avx): Likewise.
33089 (have-mfma4): Likewise.
33090 (config-cflags-novzeroupper): Likewise.
33091 * sysdeps/mach/configure.in (MIG): Likewise.
33092 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33093 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33095 (config-cflags-avx): Likewise.
33096 (config-cflags-sse2avx): Likewise.
33097 (have-mfma4): Likewise.
33098 (config-cflags-novzeroupper): Likewise.
33099 * configure: Regenerated.
33100 * sysdeps/i386/configure: Likewise.
33101 * sysdeps/mach/configure: Likewise.
33102 * sysdeps/sparc/configure: Likewise.
33103 * sysdeps/x86_64/configure: Likewise.
33105 2013-03-20 Roland McGrath <roland@hack.frob.com>
33108 * locale/programs/localedef.c (options): Put N_ translation marker
33109 on argument names, not just descriptions.
33111 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33113 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33115 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33118 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33120 2013-03-19 Roland McGrath <roland@hack.frob.com>
33122 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33123 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33124 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33125 [!BEFORE_ABORT] (before_abort): New function.
33126 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33127 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33128 (writev_for_fatal): New function.
33129 (WRITEV_FOR_FATAL): New macro; call that.
33130 (backtrace_and_maps): New function.
33131 (BEFORE_ABORT): New macro; call that.
33132 (struct str_list): Type removed.
33133 (__libc_message, __libc_fatal): Functions removed.
33134 Include <sysdeps/posix/libc_fatal.c> instead.
33136 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33138 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33140 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33143 2013-03-19 Andreas Schwab <schwab@suse.de>
33145 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33146 * sysdeps/gnu/configure: Regenerate.
33148 * configure.in: Substitute libc_cv_rtlddir.
33149 * configure: Regenerate.
33150 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33151 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33152 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33153 * elf/Makefile (install-others, CFLAGS-interp.c)
33154 (ldso_install, common-ldd-rewrite): Likewise.
33155 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33156 $(inst_slibdir)/$(rtld-installed-name).
33157 * scripts/rellns-sh: Add -p option.
33158 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33161 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33163 * manual/nptl.texi: Renamed to ...
33164 * manual/threads.texi: ... this.
33165 * manual/Makefile (chapters): Update.
33167 2013-03-18 Roland McGrath <roland@hack.frob.com>
33170 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33171 on argument names, not just descriptions.
33172 * malloc/memusagestat.c (options): Likewise.
33173 * nss/getent.c (options): Likewise.
33175 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33178 * iconv/iconv_prog.c (options): Put N_ translation marker
33179 on argument names, not just descriptions.
33180 * iconv/iconvconfig.c (options): Likewise.
33182 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33184 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33185 implementation which is faster on all x86_64 architectures.
33186 Tested on AMD, Intel Nehalem, SNB, IVB.
33187 * sysdeps/x86_64/strnlen.S: Likewise.
33189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33190 Remove all multiarch strlen and strnlen versions.
33191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33192 Remove strlen and strnlen related parts.
33194 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33195 Inline strlen part.
33196 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33198 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33199 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33200 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33201 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33202 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33203 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33205 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33207 * manual/memory.texi (Malloc Tunable Parameters):
33208 Sort parameters alphabetically. Add comments for missing entries.
33210 2013-03-17 David S. Miller <davem@davemloft.net>
33212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33214 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33217 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33218 for arguments at most half maximum finite value.
33219 * math/libm-test.inc (j0_test): Add more tests.
33220 (j1_test): Likewise.
33221 (y0_test): Likewise.
33222 (y1_test): Likewise.
33223 * sysdeps/i386/fpu/libm-test-ulps: Update.
33224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33227 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33228 1 / x and functions P and Q for arguments above 0x1p256L.
33229 (__ieee754_y0l): Likewise.
33230 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33231 (__ieee754_y1l): Likewise.
33232 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33233 (j1_test): Likewise.
33234 (y0_test): Likewise.
33235 (y1_test): Likewise.
33237 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33239 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33242 2013-03-15 Roland McGrath <roland@hack.frob.com>
33244 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33245 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33246 zero since it's initialized to EXEC_PAGESIZE.
33248 * sysdeps/unix/sysv/linux/ldsodefs.h
33249 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33250 * sysdeps/generic/ldsodefs.h: ... here.
33252 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33254 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33256 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33258 * math/test-snan.c: Renamed from
33259 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33260 * math/Makefile (tests): Add test-snan.
33261 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33264 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33265 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33267 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33268 __builtin_nan family of functions.
33269 * math/libm-test.inc (initialize): Initialize qnan_value with
33270 __builtin_nan family of functions.
33271 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33273 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33275 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33276 storage class. Initialize qNaN_var and sNaN_var with
33277 __builtin_nan and __builtin_nans families of functions,
33280 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33281 (sqrt_test): Remove duplicate test with qNaN input.
33282 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33283 (round_test, signbit_test, significand_test): Note missing +/-Inf
33284 as well as qNaN tests.
33286 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33287 qNaN_var. Fix a few strings, too.
33288 * math/libm-test.inc (nan_value): Rename to qnan_value.
33289 * math/gen-libm-test.pl (%beautify): Adjust to that.
33290 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33291 * math/test-misc.c (main): Likewise.
33292 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33293 to __qnan_bytes, and __qnan_union, respectively.
33294 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33296 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33297 and lqnanval, respectively.
33298 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33299 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33300 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33301 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33303 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33304 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33307 * math/test-misc.c (main): Fix copy'n'pastos.
33308 * misc/tst-efgcvt.c (special): Likewise.
33310 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33311 Remove declarations.
33313 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33315 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33316 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33317 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33318 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33320 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33322 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33323 macro to return vdso values correctly in IFUNC implementations.
33324 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33325 Optimization by using IFUNC.
33327 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33328 Richard Henderson <rth@redhat.com>
33329 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33331 * Makefile.in (bench): New target.
33332 * NEWS: Mention the benchmark framework.
33333 * Rules (bench): Likewise.
33334 (binaries-bench): Generate binaries for functions to
33336 * benchtests/Makefile: New makefile for benchmark tests.
33337 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33339 * benchtests/exp-inputs: New input file for EXP function.
33340 * benchtests/pow-inputs: New input file for POW function.
33341 * scripts/bench.pl: New script to generate source files for
33342 benchmark programs.
33344 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33346 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33347 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33348 computations on mantissa. Use macros for rounding and
33350 (denorm): Likewise.
33351 (__dbl_mp): Likewise.
33352 (add_magnitudes): Likewise.
33353 (sub_magnitudes): Likewise.
33356 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33357 powers of two in terms of TWOPOW macro.
33358 (mp_no): Make type of mantissa as MANTISSA_T.
33359 [!RADIXI]: Define RADIXI.
33360 [!TWO52]: Define TWO52.
33361 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33363 * manual/nptl.texi (cindex): Modify threads to pthreads.
33365 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33367 * sysdeps/x86_64/preconfigure: Regenerated.
33369 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33372 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33374 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33375 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33377 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33378 * math/libm-test.inc (j0_test): Do not allow one spurious
33379 underflow exception.
33380 (y1_test): Likewise.
33382 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33384 * manual/Makefile (chapters): Add nptl.
33385 * manual/debug.texi (Debugging Support): Add link to Threads
33387 * manual/nptl.texi: New file.
33389 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33391 2013-03-14 Petr Baudis <pasky@ucw.cz>
33393 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33394 for non-NULL pointer before the memory validity test. Pointed
33395 out by Holger Brunck <holger.brunck@keymile.com>.
33397 2013-03-13 Andreas Schwab <schwab@suse.de>
33399 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33402 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33404 * timezone/zic.c: Update from tzcode 2013b.
33406 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33408 * manual/install.texi (Configuring and compiling):
33409 Mention i686 and i586.
33410 * INSTALL: Regenerate.
33412 2013-03-12 Roland McGrath <roland@hack.frob.com>
33414 * sysdeps/init_array/elf-init.c: New file.
33416 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33417 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33419 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33420 __gmon_start__ as global, but as static with a .preinit_array pointer.
33421 * sysdeps/init_array/gmon-start.c: New file. Use that.
33422 * sysdeps/init_array/crti.S: New file, empty except for comments.
33423 * sysdeps/init_array/crtn.S: Likewise.
33425 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33427 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33430 Remove Prefer_SSE_for_memop.
33431 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33432 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33433 HAS_PREFER_SSE_FOR_MEMOP.
33434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33437 Remove bzero, memset ifunc support.
33438 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33439 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33440 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33441 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33443 2013-03-11 Andreas Schwab <schwab@suse.de>
33446 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33449 (GLIBC_2.16): Remove pthread_atfork.
33451 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33453 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33454 (ptestcases.h): Likewise.
33456 2013-03-08 Roland McGrath <roland@hack.frob.com>
33458 * Makeconfig ($(common-objpfx)config.status): Depend on
33459 sysdeps/*/preconfigure{,.in} too.
33461 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33463 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33464 (__free_hook): Use void * instead of __malloc_ptr_t.
33465 (__malloc_hook): Likewise.
33466 (__realloc_hook): Likewise.
33467 (__memalign_hook): Likewise.
33468 (__after_morecore_hook): Likewise.
33469 * malloc/arena.c (save_malloc_hook): Likewise.
33470 (save_free_hook): Likewise.
33471 * malloc/hooks.c (malloc_hook_ini): Likewise.
33472 (realloc_hook_ini): Likewise.
33473 (memalign_hook_ini): Likewise.
33474 * malloc/malloc.c (malloc_hook_ini): Likewise.
33475 (realloc_hook_ini): Likewise.
33476 (memalign_hook_ini): Likewise.
33477 (__free_hook): Likewise.
33478 (__malloc_hook): Likewise.
33479 (__realloc_hook): Likewise.
33480 (__memalign_hook): Likewise.
33481 (__libc_malloc): Likewise.
33482 (__libc_free): Likewise.
33483 (__libc_realloc): Likewise.
33484 (__libc_memalign): Likewise.
33485 (__libc_valloc): Likewise.
33486 (__libc_pvalloc): Likewise.
33487 (__libc_calloc): Likewise.
33488 (__posix_memalign): Likewise.
33489 * malloc/morecore.c (__sbrk): Likewise.
33490 (__default_morecore): Likewise.
33492 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33494 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33495 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33496 __malloc_ptrdiff_t.
33498 * malloc/malloc.h (__malloc_size_t): Remove macro.
33499 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33501 (old_memalign_hook): Likewise.
33502 (old_realloc_hook): Likewise.
33503 (struct hdr): Likewise.
33505 (mallochook): Likewise.
33506 (memalignhook): Likewise.
33507 (reallochook): Likewise.
33508 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33509 (tr_old_realloc_hook): Likewise.
33510 (tr_old_memalign_hook): Likewise.
33511 (tr_mallochook): Likewise.
33512 (tr_reallochook): Likewise.
33513 (tr_memalignhook): Likewise.
33515 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33517 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33518 default_ldbl_pack and using as default implementation.
33519 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33521 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33522 redundant definition.
33523 (ldbl_insert_mantissa): Likewise.
33524 (ldbl_canonicalize): Likewise.
33525 (ldbl_nearbyint): Likewise.
33526 (ldbl_pack): Rename to ldbl_pack_ppc.
33527 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33528 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33529 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33531 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33534 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33535 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33536 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33538 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33539 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33540 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33542 2013-03-07 Andreas Jaeger <aj@suse.de>
33544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33547 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33549 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33550 Include mpa.h and declare __MPEXP.
33551 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33552 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33553 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33554 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33555 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33556 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33557 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33559 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33560 (__slowpow): Use long double EXPL and LOGL functions to
33562 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33563 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33564 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33565 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33566 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33567 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33570 intermediate variable to calculate exponent.
33572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33576 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33577 [!NO__SQR]: Define __sqr.
33578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33579 and NO__SQR. Remove all code except __mul and __sqr. Include
33580 sysdeps/ieee754/dbl-64/mpa.c.
33581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33584 * posix/Makefile (tests): Add tst-pathconf.
33585 * posix/tst-pathconf.c: New test case.
33586 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33588 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33590 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33592 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33594 2013-03-06 Andreas Jaeger <aj@suse.de>
33596 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33597 definition via __MAP_ANONYMOUS.
33599 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33600 it's not part of Linux headers.
33602 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33603 (MAP_HUGE_MASK): Define.
33605 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33607 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33610 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33611 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33613 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33614 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33616 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33618 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33619 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33620 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33621 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33622 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33623 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33625 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33628 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33629 Handle f2fs and efivarfs.
33631 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33634 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33635 (EFIVARFS_MAGIC): Add.
33636 (F2FS_LINK_MAX): Add.
33638 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33640 * stdio-common/vfprintf.c: Replace __builtin_expect with
33643 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33646 * sysdeps/generic/bp-sym.h: Remove file.
33647 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33648 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33649 <bp-sym.h> and <bp-asm.h>.
33650 (__longjmp): Don't use BP_SYM.
33651 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33653 (memcpy): Don't use BP_SYM.
33654 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33655 <bp-sym.h> and <bp-asm.h>.
33656 (memcpy): Don't use BP_SYM.
33657 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33659 (memcpy): Don't use BP_SYM.
33660 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33662 (memset): Don't use BP_SYM.
33663 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33664 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33665 (__bzero): Don't use BP_SYM.
33666 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33667 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33668 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33669 <bp-sym.h> and <bp-asm.h>.
33670 (memcmp): Don't use BP_SYM. Remove comment about bounded
33672 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33673 <bp-sym.h> and <bp-asm.h>.
33674 (memcpy): Don't use BP_SYM.
33675 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33676 <bp-sym.h> and <bp-asm.h>.
33677 (memset): Don't use BP_SYM.
33678 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33679 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33680 (__bzero): Don't use BP_SYM.
33681 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33682 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33683 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33684 <bp-sym.h> and <bp-asm.h>.
33685 (strncmp): Don't use BP_SYM. Remove comment about bounded
33687 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33688 <bp-sym.h> and <bp-asm.h>.
33689 (memcpy): Don't use BP_SYM.
33690 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33691 <bp-sym.h> and <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/power7/memchr.S: Don't include
33699 <bp-sym.h> and <bp-asm.h>.
33700 (__memchr): Don't use BP_SYM.
33701 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33702 <bp-sym.h> and <bp-asm.h>.
33703 (memcmp): Don't use BP_SYM. Remove comment about bounded
33705 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33706 <bp-sym.h> and <bp-asm.h>.
33707 (memcpy): Don't use BP_SYM.
33708 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33709 <bp-sym.h> and <bp-asm.h>.
33710 (__mempcpy): Don't use BP_SYM.
33711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33712 <bp-sym.h> and <bp-asm.h>.
33713 (__memrchr): Don't use BP_SYM.
33714 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33715 <bp-sym.h> and <bp-asm.h>.
33716 (memset): Don't use BP_SYM.
33717 (__bzero): Likewise.
33718 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33719 <bp-sym.h> and <bp-asm.h>.
33720 (__rawmemchr): Don't use BP_SYM.
33721 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33722 <bp-sym.h> and <bp-asm.h>.
33723 (__STRCMP): Don't use BP_SYM.
33724 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33725 <bp-sym.h> and <bp-asm.h>.
33726 (strchr): Don't use BP_SYM.
33727 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33728 <bp-sym.h> and <bp-asm.h>.
33729 (__strchrnul): Don't use BP_SYM.
33730 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33731 <bp-sym.h> and <bp-asm.h>.
33732 (strlen): Don't use BP_SYM.
33733 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33734 <bp-sym.h> and <bp-asm.h>.
33735 (strncmp): Don't use BP_SYM. Remove comment about bounded
33737 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33738 <bp-sym.h> and <bp-asm.h>.
33739 (__strnlen): Don't use BP_SYM.
33740 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33741 <bp-sym.h> and <bp-asm.h>.
33742 (__GI__setjmp): Don't use BP_SYM.
33743 (_setjmp): Likewise.
33744 (__sigsetjmp): Likewise.
33745 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33746 (L(start_addresses)): Don't use BP_SYM.
33747 (_start): Likewise.
33748 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33750 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33751 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33752 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33753 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33754 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33756 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33757 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33758 about bounded pointers.
33759 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33760 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33761 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33763 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33764 about bounded pointers. Remove GKM FIXME comments.
33765 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33766 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33768 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33769 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33770 Remove GKM FIXME comments.
33771 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33772 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33773 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33775 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33776 about bounded pointers. Remove GKM FIXME comment.
33777 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33779 (strncmp): Don't use BP_SYM. Remove comment about bounded
33781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33782 <bp-sym.h> and <bp-asm.h>.
33783 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33785 <bp-sym.h> and <bp-asm.h>.
33786 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33789 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33791 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33794 2013-03-05 David S. Miller <davem@davemloft.net>
33796 * po/es.po: Update from translation team.
33798 2013-03-05 Andreas Jaeger <aj@suse.de>
33800 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33801 <bits/mman-linux.h>.
33802 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33804 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33805 <bits/mman-linux.h> to end of file.
33806 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33808 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33809 <bits/mman-linux.h> to end of file.
33810 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33812 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33813 <bits/mman-linux.h> to end of file.
33815 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33816 (MCL_CURRENT, MCL_FUTURE): Define here.
33818 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33821 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33823 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33825 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33827 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33828 fourth parameter needed for rt_sigprocmask syscall.
33829 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33830 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33831 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33832 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33833 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33834 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33836 2013-03-04 Joseph Myers <joseph@codesourcery.com>
33839 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33840 comment about bounded pointers.
33841 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33842 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33844 2013-03-04 Andreas Jaeger <aj@suse.de>
33846 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33847 common definitions.
33849 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33850 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33851 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33852 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33853 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33854 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33856 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33859 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33860 __ieee754_sqrl instead of __sqrl.
33862 2013-03-01 Joseph Myers <joseph@codesourcery.com>
33864 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33865 * sysdeps/powerpc/fpu_control.h: ... here.
33866 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33867 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33868 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33869 * sysdeps/powerpc/bits/mathinline.h: ... here.
33871 2013-03-01 Roland McGrath <roland@hack.frob.com>
33873 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33874 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33875 to just [NEED_DL_SYSINFO_DSO].
33876 * elf/dl-support.c: Likewise.
33877 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33878 * elf/rtld.c (dl_main): Likewise.
33879 * elf/setup-vdso.h (setup_vdso): Likewise.
33880 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33881 * sysdeps/unix/sysv/linux/dl-sysdep.c
33882 (_dl_discover_osversion): Likewise.
33884 2013-03-01 Carlos O'Donell <carlos@redhat.com>
33886 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33887 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33889 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33891 * NEWS: Mention libm performance improvements and non-x86 PI
33894 * csu/libc-start.c (__pthread_initialize_minimal): Change
33895 function arguments.
33896 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33898 2013-02-28 Joseph Myers <joseph@codesourcery.com>
33901 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33902 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33903 <bp-sym.h> and <bp-asm.h>.
33904 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33905 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33907 (memcpy): Don't use BP_SYM.
33908 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33910 (__mpn_add_n): Don't use BP_SYM.
33911 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33912 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33914 (__mpn_addmul_1): Don't use BP_SYM.
33915 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33916 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33918 (_setjmp): Don't use BP_SYM.
33919 (__novmx_setjmp): Likewise.
33920 (__GI__setjmp): Likewise.
33921 (__vmx_setjmp): Likewise.
33922 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33924 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33925 (__bzero): Don't use BP_SYM.
33926 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33927 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33928 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33929 <bp-sym.h> and <bp-asm.h>.
33930 (memcpy): Don't use BP_SYM.
33931 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33932 <bp-sym.h> and <bp-asm.h>.
33933 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33934 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33935 <bp-sym.h> and <bp-asm.h>.
33936 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33937 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33939 (__mpn_lshift): Don't use BP_SYM.
33940 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33941 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33943 (memset): Don't use BP_SYM.
33944 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33945 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33946 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33948 (__mpn_mul_1): Don't use BP_SYM.
33949 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33950 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33951 <bp-sym.h> and <bp-asm.h>.
33952 (memcmp): Don't use BP_SYM.
33953 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33954 <bp-sym.h> and <bp-asm.h>.
33955 (memcpy): Don't use BP_SYM.
33956 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33957 <bp-sym.h> and <bp-asm.h>.
33958 (memset): Don't use BP_SYM.
33959 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33960 <bp-sym.h> and <bp-asm.h>.
33961 (strncmp): Don't use BP_SYM.
33962 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33963 <bp-sym.h> and <bp-asm.h>.
33964 (memcpy): Don't use BP_SYM.
33965 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33966 <bp-sym.h> and <bp-asm.h>.
33967 (memset): Don't use BP_SYM.
33968 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33969 <bp-sym.h> and <bp-asm.h>.
33970 (__memchr): Don't use BP_SYM.
33971 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33972 <bp-sym.h> and <bp-asm.h>.
33973 (memcmp): Don't use BP_SYM.
33974 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33975 <bp-sym.h> and <bp-asm.h>.
33976 (memcpy): Don't use BP_SYM.
33977 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33978 <bp-sym.h> and <bp-asm.h>.
33979 (__mempcpy): Don't use BP_SYM.
33980 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33981 <bp-sym.h> and <bp-asm.h>.
33982 (__memrchr): Don't use BP_SYM.
33983 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33984 <bp-sym.h> and <bp-asm.h>.
33985 (memset): Don't use BP_SYM.
33986 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33987 <bp-sym.h> and <bp-asm.h>.
33988 (__rawmemchr): Don't use BP_SYM.
33989 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33990 <bp-sym.h> and <bp-asm.h>.
33991 (__STRCMP): Don't use BP_SYM.
33992 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33993 <bp-sym.h> and <bp-asm.h>.
33994 (strchr): Don't use BP_SYM.
33995 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33996 <bp-sym.h> and <bp-asm.h>.
33997 (__strchrnul): Don't use BP_SYM.
33998 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33999 <bp-sym.h> and <bp-asm.h>.
34000 (strlen): Don't use BP_SYM.
34001 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34002 <bp-sym.h> and <bp-asm.h>.
34003 (strncmp): Don't use BP_SYM.
34004 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34005 <bp-sym.h> and <bp-asm.h>.
34006 (__strnlen): Don't use BP_SYM.
34007 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34009 (__mpn_rshift): Don't use BP_SYM.
34010 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34011 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34012 <bp-sym.h> and <bp-asm.h>.
34013 (__sigsetjmp): Don't use BP_SYM.
34014 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34015 (L(start_addresses)): Don't use BP_SYM.
34016 (_start): Likewise.
34017 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34019 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34020 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34021 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34022 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34024 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34025 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34026 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34027 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34029 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34031 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34032 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34034 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
34036 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34037 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34038 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34040 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34042 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34044 (strncmp): Don't use BP_SYM,
34045 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34047 (__mpn_sub_n): Don't use BP_SYM.
34048 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34049 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34051 (__mpn_submul_1): Don't use BP_SYM.
34052 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34054 <bp-sym.h> and <bp-asm.h>.
34055 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34057 <bp-sym.h> and <bp-asm.h>.
34058 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34061 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34064 Use ZK to minimize writes to Z.
34065 (sub_magnitudes): Simplify code a bit.
34066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34067 Use ZK to minimize writes to Z.
34068 (sub_magnitudes): Simplify code a bit.
34070 2013-02-27 Roland McGrath <roland@hack.frob.com>
34072 * csu/gmon-start.c: Add special exception to license text.
34074 2013-02-27 Richard Henderson <rth@redhat.com>
34076 * scripts/config.guess: Update from config.git.
34077 * scripts/config.sub: Likewise.
34079 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34081 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34083 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34085 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34087 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34089 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34091 2013-02-26 Roland McGrath <roland@hack.frob.com>
34093 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34094 [$(build-shared = yes].
34096 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34098 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34099 (__mul): Reduce iterations for calculating mantissa.
34101 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34103 (__mpranred): Likewise.
34106 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34107 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34109 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34111 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34112 Define __attribute__.
34114 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34116 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34118 * posix/regex_internal.h (__attribute): Remove.
34119 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34120 (re_string_context_at): Likewise.
34121 (bitset_not): Use __attribute__ and mark function as possibly
34123 (bitset_merge): Likewise.
34124 (bitset_mask): Likewise.
34125 (re_string_char_size_at): Likewise.
34126 (re_string_wchar_at): Likewise.
34127 (re_string_elem_size_at): Likewise.
34129 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34131 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34135 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34139 (denorm): Likewise.
34140 (__dbl_mp): Likewise.
34141 (add_magnitudes): Likewise.
34142 (sub_magnitudes): Likewise.
34146 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34149 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34152 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34156 up changes with default code.
34157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34160 2013-02-24 Allan McRae <allan@archlinux.org>
34162 * manual/socket.texi (The Internet Namespace): Order menu items
34163 to match that in the file.
34165 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34166 node listing of the info page menu.
34168 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34171 * sysdeps/i386/bp-asm.h: Remove file.
34172 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34173 (PARMS): Do not use macros from bp-asm.h.
34177 (__mpn_add_n): Do not use BP_SYM
34178 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34180 (PARMS): Do not use macros from bp-asm.h.
34183 (__mpn_addmul_1): Do not use BP_SYM
34184 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34186 (PARMS): Do not use macros from bp-asm.h.
34187 (SIGMSK): Likewise.
34188 (_setjmp): Likewise. Do not use BP_SYM.
34189 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34191 (PARMS): Do not use macros from bp-asm.h.
34192 (SIGMSK): Likewise.
34193 (setjmp): Likewise. Do not use BP_SYM.
34194 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34196 (PARMS): Do not use macros from bp-asm.h.
34197 (__frexp): Do not use BP_SYM.
34199 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34201 (PARMS): Do not use macros from bp-asm.h.
34202 (__frexpf): Do not use BP_SYM.
34203 (frexpf): Likewise.
34204 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34206 (PARMS): Do not use macros from bp-asm.h.
34207 (__frexpl): Do not use BP_SYM.
34208 (frexpl): Likewise.
34209 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34211 (PARMS): Do not use macros from bp-asm.h.
34212 (__remquo): Do not use BP_SYM.
34213 (remquo): Likewise.
34214 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34216 (PARMS): Do not use macros from bp-asm.h.
34217 (__remquof): Do not use BP_SYM.
34218 (remquof): Likewise.
34219 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34221 (PARMS): Do not use macros from bp-asm.h.
34222 (__remquol): Do not use BP_SYM.
34223 (remquol): Likewise.
34224 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34226 (PARMS): Do not use macros from bp-asm.h.
34229 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34230 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34232 (PARMS): Do not use macros from bp-asm.h.
34233 (strlen): Do not use BP_SYM.
34234 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34236 (PARMS): Do not use macros from bp-asm.h.
34240 (__mpn_add_n): Do not use BP_SYM.
34241 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34243 (PARMS): Do not use macros from bp-asm.h.
34246 (__mpn_addmul_1): Do not use BP_SYM.
34247 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34250 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34252 (PARMS): Do not use macros from bp-asm.h.
34255 (__mpn_lshift): Do not use BP_SYM.
34256 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34258 (PARMS): Do not use macros from bp-asm.h.
34262 (memcpy): Likewise. Do not use BP_SYM.
34263 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34264 libc_hidden_def and weak_alias.
34265 (mempcpy): Do not use BP_SYM in weak_alias.
34266 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34268 (PARMS): Do not use macros from bp-asm.h.
34271 [!BZERO_P] (CHR): Likewise.
34272 (memset): Likewise. Do not use BP_SYM.
34273 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34275 (PARMS): Do not use macros from bp-asm.h.
34278 (__mpn_mul_1): Do not use BP_SYM.
34279 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34281 (PARMS): Do not use macros from bp-asm.h.
34284 (__mpn_rshift): Do not use BP_SYM.
34285 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34287 (PARMS): Do not use macros from bp-asm.h.
34290 (strchr): Likewise. Do not use BP_SYM.
34291 (index): Do not use BP_SYM in weak_alias.
34292 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34294 (PARMS): Do not use macros from bp-asm.h.
34297 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34298 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34300 (PARMS): Do not use macros from bp-asm.h.
34301 (strlen): Do not use BP_SYM.
34302 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34304 (PARMS): Do not use macros from bp-asm.h.
34308 (__mpn_sub_n): Do not use BP_SYM.
34309 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34311 (PARMS): Do not use macros from bp-asm.h.
34314 (__mpn_submul_1): Do not use BP_SYM.
34315 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34317 (PARMS): Do not use macros from bp-asm.h.
34321 (__mpn_add_n): Do not use BP_SYM.
34322 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34325 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34327 (PARMS): Do not use macros from bp-asm.h.
34330 (memcmp): Do not use BP_SYM.
34331 (bcmp): Do not use BP_SYM in weak_alias.
34332 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34334 (PARMS): Do not use macros from bp-asm.h.
34338 (memcpy): Likewise. Do not use BP_SYM.
34339 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34341 (PARMS): Do not use macros from bp-asm.h.
34345 (memmove): Likewise. Do not use BP_SYM.
34346 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34348 (PARMS): Do not use macros from bp-asm.h.
34352 (__mempcpy): Likewise. Do not use BP_SYM.
34353 (mempcpy): Do not use BP_SYM in weak_alias.
34354 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34356 (PARMS): Do not use macros from bp-asm.h.
34359 [!BZERO_P] (CHR): Likewise.
34360 (memset): Likewise. Do not use BP_SYM.
34361 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34363 (PARMS): Do not use macros from bp-asm.h.
34365 (strcmp): Do not use BP_SYM.
34366 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34368 (PARMS): Do not use macros from bp-asm.h.
34371 [USE_AS_STRTOK_R] (SAVE): Likewise.
34372 (FUNCTION): Likewise. Do not use BP_SYM.
34373 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34375 (strtok_r): Likewise.
34376 (__GI___strtok_r): Likewise.
34377 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34378 (PARMS): Do not use macros from bp-asm.h.
34381 (__mpn_lshift): Do not use BP_SYM.
34382 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34383 (PARMS): Do not use macros from bp-asm.h.
34386 (__memchr): Do not use BP_SYM.
34387 (memchr): Do not use BP_SYM in weak_alias.
34388 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34389 (PARMS): Do not use macros from bp-asm.h.
34392 (memcmp): Do not use BP_SYM.
34393 (bcmp): Do not use BP_SYM in weak_alias.
34394 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34395 (PARMS): Do not use macros from bp-asm.h.
34398 (__mpn_mul_1): Do not use BP_SYM.
34399 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34401 (PARMS): Do not use macros from bp-asm.h.
34404 (__rawmemchr): Do not use BP_SYM.
34405 (rawmemchr): Do not use BP_SYM in weak_alias.
34406 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34407 (PARMS): Do not use macros from bp-asm.h.
34410 (__mpn_rshift): Do not use BP_SYM.
34411 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34412 (PARMS): Do not use macros from bp-asm.h.
34413 (SIGMSK): Likewise.
34414 (__sigsetjmp): Likewise. Do not use BP_SYM.
34415 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34416 (_start): Do not use BP_SYM.
34417 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34418 (PARMS): Do not use macros from bp-asm.h.
34421 (__stpcpy): Likewise. Do not use BP_SYM.
34422 (stpcpy): Do not use BP_SYM in weak_alias.
34423 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34425 (PARMS): Do not use macros from bp-asm.h.
34429 (__stpncpy): Likewise. Do not use BP_SYM.
34430 (stpncpy): Do not use BP_SYM in weak_alias.
34431 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34432 (PARMS): Do not use macros from bp-asm.h.
34435 (strchr): Likewise. Do not use BP_SYM.
34436 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34438 (PARMS): Do not use macros from bp-asm.h.
34441 (__strchrnul): Likewise. Do not use BP_SYM.
34442 (strchrnul): Do not use BP_SYM in weak_alias.
34443 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34445 (PARMS): Do not use macros from bp-asm.h.
34447 (strcspn): Do not use BP_SYM.
34448 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34450 (PARMS): Do not use macros from bp-asm.h.
34453 (strpbrk): Likewise. Do not use BP_SYM.
34454 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34456 (PARMS): Do not use macros from bp-asm.h.
34459 (strrchr): Likewise. Do not use BP_SYM.
34460 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34461 (PARMS): Do not use macros from bp-asm.h.
34463 (strspn): Do not use BP_SYM.
34464 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34465 (PARMS): Do not use macros from bp-asm.h.
34469 (FUNCTION): Likewise. Do not use BP_SYM.
34470 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34472 (strtok_r): Likewise.
34473 (__GI___strtok_r): Likewise.
34474 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34475 (PARMS): Do not use macros from bp-asm.h.
34479 (__mpn_sub_n): Do not use BP_SYM.
34480 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34482 (PARMS): Do not use macros from bp-asm.h.
34485 (__mpn_submul_1): Do not use BP_SYM.
34486 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34488 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34490 (PARMS): Do not use macros from bp-asm.h.
34495 (__clone): Do not use BP_SYM.
34496 (clone): Do not use BP_SYM in weak_alias.
34497 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34499 (PARMS): Do not use macros from bp-asm.h.
34501 (__mmap64): Do not use BP_SYM.
34502 (mmap64): Do not use BP_SYM in weak_alias.
34503 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34504 <bp-sym.h> and <bp-asm.h>.
34505 (PARMS): Do not use macros from bp-asm.h.
34506 (__posix_fadvise64_l64): Do not use BP_SYM.
34507 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34508 (PARMS): Do not use macros from bp-asm.h.
34510 (semtimedop): Do not use BP_SYM.
34511 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34514 2013-02-21 Allan McRae <allan@archlinux.org>
34516 * manual/message.texi (Charset conversion in gettext):
34517 Move @end statement to beginning of line.
34519 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34526 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34527 (denorm): Likewise.
34528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34531 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34533 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34534 tail-call to the resolved function if pltexit isn't needed.
34536 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34539 or Y being zero as being unlikely.
34540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34543 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34545 * manual/nss.texi (System Databases and Name Service Switch):
34546 Remove frobnicate @pxref.
34548 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34550 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34551 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34553 2013-02-20 Petr Machata <pmachata@redhat.com>
34555 * elf/elf.h (R_ARM_TARGET1): New macro.
34556 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34557 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34558 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34559 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34560 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34561 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34562 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34563 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34564 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34565 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34566 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34567 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34568 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34569 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34570 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34571 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34572 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34573 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34574 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34575 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34576 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34577 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34578 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34579 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34580 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34581 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34582 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34583 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34584 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34585 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34586 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34587 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34588 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34589 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34590 (R_ARM_THM_GOT_BREL12): Likewise.
34591 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34592 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34593 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34594 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34595 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34596 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34597 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34598 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34599 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34601 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34603 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34604 __attribute_used__ to __attribute__ ((unused)).
34606 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34608 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34611 comment formatting.
34612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34614 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34617 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34619 (ENTER): Remove both macro definitions.
34621 (CHECK_BOUNDS_LOW): Likewise.
34622 (CHECK_BOUNDS_HIGH): Likewise.
34623 (CHECK_BOUNDS_BOTH): Likewise.
34624 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34625 (RETURN_BOUNDED_POINTER): Likewise.
34626 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34627 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34628 (POP_ERRNO_LOCATION_RETURN): Likewise.
34629 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34630 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34631 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34633 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34634 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34635 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34636 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34637 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34638 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34639 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34640 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34641 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34642 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34643 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34644 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34645 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34646 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34648 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34649 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34651 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34652 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34653 * sysdeps/i386/i586/memset.S (memset): Likewise.
34654 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34655 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34656 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34658 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34659 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34660 Change uses of L(2) to L(out).
34661 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34662 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34663 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34664 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34665 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34667 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34668 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34670 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34671 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34672 (RETURN): Do not use macro LEAVE.
34673 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34674 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34675 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34676 * sysdeps/i386/i686/memset.S (memset): Likewise.
34677 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34678 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34679 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34680 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34682 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34683 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34684 L(1_2) and L(1_3) into L(1).
34685 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34686 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34687 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34688 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34689 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34690 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34691 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34692 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34693 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34695 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34696 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34697 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34698 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34699 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34700 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34701 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34702 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34703 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34704 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34705 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34706 * sysdeps/i386/strspn.S (strspn): Likewise.
34707 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34709 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34710 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34711 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34712 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34713 L(1_3) into L(1_1).
34714 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34715 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34716 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34718 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34720 2013-02-19 Jakub Jelinek <jakub@redhat.com>
34722 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34725 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34727 * math/atest-exp.c (exp_mpn): Remove ROUND.
34728 * math/atest-exp2.c (exp_mpn): Likewise.
34729 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34731 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34732 * stdlib/tst-tls-atexit-lib.c: Likewise.
34733 * stdlib/tst-tls-atexit.c: Likewise.
34735 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34737 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34738 and __attribute_alloc_size__.
34740 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34742 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34743 __attribute_alloc_size__.
34744 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34745 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34747 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34749 * include/programs/xmalloc.h: New file.
34750 * catgets/gencat.c: Include it.
34751 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34752 * elf/pldd.c: Likewise.
34753 * iconv/iconv_charmap.c: Likewise.
34754 * iconv/iconvconfig.c: Likewise.
34755 * iconv/strtab.c: Likewise.
34756 * locale/programs/locale.c: Likewise.
34757 * locale/programs/localedef.h: Likewise.
34758 * locale/programs/simple-hash.c: Likewise.
34759 * nscd/nscd.h: Likewise.
34760 * nss/makedb.c: Likewise.
34761 * sysdeps/generic/ldconfig.h: Likewise.
34763 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34765 * Versions.def: Add GLIBC_2.18.
34766 * include/link.h (struct link_map): New member l_tls_dtor_count.
34767 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34768 (__call_tls_dtors): Likewise.
34769 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34770 __cxa_thread_atexit_impl.
34771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34779 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34787 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34788 (tests): Add test case tst-tls-atexit.
34789 (modules-names): Add shared library for tst-tls-atexit.
34790 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34791 (GLIBC_PRIVATE): Add __call_tls_dtors.
34792 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34794 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34795 * stdlib/tst-tls-atexit.c: New test case.
34796 * stdlib/tst-tls-atexit-lib.c: New test case.
34798 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34800 * elf/Versions (ld): Add _dl_find_dso_for_object.
34801 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34802 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34803 (dl_open_worker): Use _dl_find_dso_for_object.
34804 * elf/dl-sym.c (do_sym): Likewise.
34805 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34807 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34809 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34810 Syntactic changes only.
34811 (_dl_runtime_profile): Do a tail-call to the resolved function.
34813 2013-02-17 Joseph Myers <joseph@codesourcery.com>
34816 * sysdeps/x86_64/bp-asm.h: Remove file.
34817 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34818 <bp-sym.h> and <bp-asm.h>.
34819 (__clone): Do not use BP_SYM.
34820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34821 <bp-sym.h> and <bp-asm.h>.
34822 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34823 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34825 (_setjmp): Do not use BP_SYM.
34826 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34828 (setjmp): Do not use BP_SYM.
34829 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34831 (mempcpy): Do not use BP_SYM in weak_alias.
34832 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34834 (strchr): Do not use BP_SYM.
34835 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34837 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34838 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34839 (_start): Do not use BP_SYM.
34840 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34842 (strcat): Do not use BP_SYM.
34843 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34845 (STRCMP): Do not use BP_SYM.
34846 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34848 (STRCPY): Do not use BP_SYM.
34849 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34851 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34853 (FUNCTION): Do not use BP_SYM.
34854 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34856 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34858 2013-02-17 Andreas Jaeger <aj@suse.de>
34860 * time/Versions: Sort entries.
34861 * string/Versions: Likewise.
34862 * resolv/Versions: Likewise.
34863 * posix/Versions: Likewise.
34864 * iconv/Versions: Likewise.
34865 * elf/Versions: Likewise.
34866 * wcsmbs/Versions: Likewise.
34868 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34870 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34871 loop termination condition.
34873 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34874 variable to calculate EZ.
34877 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34878 the lower precision input.
34880 2013-02-15 Joseph Myers <joseph@codesourcery.com>
34883 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34884 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34885 (run-via-rtld-prefix): Do not handle %-bp tests.
34886 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34887 (all-object-suffixes): Remove .ob.
34888 (bppfx): Remove variable.
34889 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34890 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34891 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34892 [$(build-bounded) = yes] (libtype.ob): Likewise.
34893 * Makerules (elide-routines.ob): Remove variable.
34894 (do-tests-clean): Do not handle *-bp.out.
34895 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34896 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34897 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34898 (tests): Do not include $(tests-bp.out).
34899 (xtests): Do not include $(xtests-bp.out).
34900 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34901 [$(build-bounded) = yes] ($(addprefix
34902 $(objpfx),$(binaries-bounded))): Remove rule.
34903 ($(objpfx)%-bp.out): Remove rule.
34904 * config.make.in (build-bounded): Remove variable.
34905 * crypt/Makefile [$(build-bounded) = yes]
34906 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34907 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34908 append to variable.
34909 [$(build-bounded) = yes] (install-lib): Likewise.
34910 [$(build-bounded) = yes] (generated): Likewise.
34911 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34913 * intl/Makefile [$(build-bounded) = yes]
34914 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34915 * math/Makefile [$(build-bounded) = yes]
34916 ($(tests:%=$(objpfx)%-bp): Likewise.
34917 * misc/Makefile [$(build-bounded) = yes]
34918 ($(objpfx)tst-tsearch-bp): Likewise.
34919 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34920 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34922 * string/Makefile (o-objects.ob): Remove variable.
34923 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34924 (CFLAGS-.ob): Remove variable.
34925 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34926 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34927 both definitions of variable.
34928 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34929 (ASFLAGS-.ob): Remove variable.
34931 2013-02-14 Joseph Myers <joseph@codesourcery.com>
34934 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34935 Remove __BOUNDED_POINTERS__ from condition.
34936 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34937 * string/bits/string2.h [!__NO_STRING_INLINES &&
34938 !__BOUNDED_POINTERS__]: Likewise.
34939 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34941 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34942 Remove conditional code.
34943 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34944 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34945 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34949 * csu/libc-start.c: Do not include <bp-sym.h>.
34950 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34951 * elf/dl-open.c: Do not include <bp-sym.h>.
34952 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34953 * math/fegetenv.c: Do not include <bp-sym.h>.
34954 (fegetenv): Do not use BP_SYM in versioned symbols.
34955 * nptl/sysdeps/pthread/bits/libc-lockP.h
34956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34959 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34961 (__pthread_mutex_destroy): Likewise.
34962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34963 (__pthread_mutex_lock): Likewise.
34964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34965 (__pthread_mutex_trylock): Likewise.
34966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34967 (__pthread_mutex_unlock): Likewise.
34968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34969 (__pthread_mutexattr_init): Likewise.
34970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34971 (__pthread_mutexattr_destroy): Likewise.
34972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34973 (__pthread_mutexattr_settype): Likewise.
34974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34975 (__pthread_rwlock_init): Likewise.
34976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34977 (__pthread_rwlock_destroy): Likewise.
34978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34979 (__pthread_rwlock_rdlock): Likewise.
34980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34981 (__pthread_rwlock_tryrdlock): Likewise.
34982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34983 (__pthread_rwlock_wrlock): Likewise.
34984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34985 (__pthread_rwlock_trywrlock): Likewise.
34986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34987 (__pthread_rwlock_unlock): Likewise.
34988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34989 (__pthread_key_create): Likewise.
34990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34991 (__pthread_setspecific): Likewise.
34992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34993 (__pthread_getspecific): Likewise.
34994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34997 (_pthread_cleanup_push_defer): Likewise.
34998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34999 (_pthread_cleanup_pop_restore): Likewise.
35000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35001 (pthread_setcancelstate): Likewise.
35002 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35004 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35005 (memchr): Do not use BP_SYM in weak_alias.
35006 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35007 (fegetenv): Do not use BP_SYM in versioned symbols.
35008 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35009 (fesetenv): Do not use BP_SYM in versioned symbols.
35010 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35011 (feupdateenv): Do not use BP_SYM in versioned symbols.
35012 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35013 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35014 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35015 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35016 (open64): Do not use BP_SYM in weak_alias.
35017 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35018 (fegetenv): Do not use BP_SYM in versioned symbols.
35019 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35020 (fesetenv): Do not use BP_SYM in versioned symbols.
35021 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35022 (feupdateenv): Do not use BP_SYM in versioned symbols.
35023 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35024 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35025 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35026 (feraiseexcept): Do not use BP_SYM in versioned symbols.
35027 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35028 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35029 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35031 (__libc_start_main): Do not use BP_SYM.
35033 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35036 redundant return line.
35038 (denorm): Likewise.
35039 (dbl_mp): Likewise.
35040 (sub_magnitudes): Likewise.
35046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35048 (denorm): Likewise.
35049 (dbl_mp): Likewise.
35050 (sub_magnitudes): Likewise.
35057 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35059 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35060 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35063 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35064 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35066 of __mul for squares.
35067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35071 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35072 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35074 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35077 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35079 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35080 prototype or function definition. Rename ubp_* variables and
35081 parameters. Remove argv definitions conditional on
35082 [__BOUNDED_POINTERS__].
35083 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35084 * elf/dl-runtime.c (_dl_fixup): Likewise.
35085 * include/set-hooks.h (RUN_HOOK): Likewise.
35086 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35088 * string/strcpy.c (strcpy): Do not use __unbounded.
35089 * sysdeps/generic/frame.h (struct layout): Likewise.
35090 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35091 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35092 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35093 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35094 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35095 (__backtrace): Likewise.
35096 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35098 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35099 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35100 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35102 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35103 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35104 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35105 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35106 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35107 Do not use __unbounded.
35108 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35109 Rename __unboundedrlimits parameter to rlimits in prototype.
35110 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35111 Do not use __unbounded.
35112 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35113 not use __ptrvalue.
35114 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35115 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35116 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35117 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35118 __ptrvalue or __unbounded.
35119 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35120 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35122 (__new_msgctl): Do not use __ptrvalue.
35123 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35125 (__libc_msgrcv): Do not use __ptrvalue.
35126 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35127 startup_info): Do not use __unbounded.
35128 (__libc_start_main): Likewise. Rename ubp_* variables and
35129 parameters. Remove argv definitions conditional on
35130 [__BOUNDED_POINTERS__].
35131 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35133 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35135 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35137 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35139 (__new_shmctl): Do not use __ptrvalue.
35140 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35141 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35143 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35144 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35145 (__libc_sigaction): Likewise.
35146 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35147 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35149 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35151 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35153 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35155 * string/mempcpy.c: Implement by calling memcpy.
35157 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35164 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35165 values in the mantissa.
35167 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35168 minimize writes to Z.
35169 (sub_magnitudes): Simplify code a bit.
35171 2013-02-12 Roland McGrath <roland@hack.frob.com>
35173 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35174 from the message. The linker prefixes all warnings with that already.
35176 2013-02-12 Andreas Schwab <schwab@suse.de>
35179 * posix/regexec.c (extend_buffers): Add parameter min_len.
35180 (check_matching): Pass minimum needed length.
35181 (clean_state_log_if_needed): Likewise.
35182 (get_subexp): Likewise.
35183 * posix/Makefile (tests): Add bug-regex34.
35184 (bug-regex34-ENV): Define.
35185 * posix/bug-regex34.c: New file.
35188 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35189 elements compare against the byte sequence of it, not its name.
35190 * posix/Makefile (tests): Add bug-regex35.
35191 (bug-regex35-ENV): Define.
35192 * posix/bug-regex35.c: New file.
35194 2013-02-11 Tom de Vries <tom@codesourcery.com>
35196 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35198 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35199 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35200 (CHECK_EOL): Add undef.
35202 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35204 * bits/stdlib-bsearch.h: New file.
35205 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35206 * stdlib/stdlib.h: Likewise.
35208 2013-02-11 Roland McGrath <roland@hack.frob.com>
35210 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35211 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35213 * manual/search.texi (Array Search Function): Add missing const in
35215 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35216 declaration to use rlim_t.
35217 (Basic Scheduling Functions): Remove erroneous const from
35218 sched_getparam prototype. Remove erroneous * from
35219 sched_get_priority_max and sched_get_priority_min prototypes.
35220 (Resource Usage): Fix summary @comment on vtimes to refer to
35221 sys/vtimes.h rather than vtimes.h.
35222 Add missing *s in vtimes prototype.
35223 (Limits on Resources): Fix ulimit prototype to return long int.
35224 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35225 prototypes to use long int rather than double.
35226 (BSD Random): Fix initstate and setstate to use char *, not void *.
35227 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35228 prototype to make second argument 'struct aiocb64 *const[]'.
35229 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35230 (Status of AIO Operations): Remove erroneous const in aio_return and
35231 aio_return64 prototypes.
35232 (Synchronizing I/O): Fix sync prototype to return void.
35233 * manual/startup.texi (Suboptions): Remove an erroneous const in
35234 getsubopt prototype.
35235 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35236 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35237 use size_t rather than int.
35238 (Scanning All Users): Likewise for getpwent_r.
35239 (Setting Groups): Add missing const to setgroups prototype.
35240 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35241 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35242 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35243 'const void *' rather than 'const char *'.
35244 (Host Address Functions): Likewise for inet_ntop.
35245 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35246 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35247 ssize_t for return value.
35248 (Sending Data): Likewise for send, sendto, sendmsg.
35249 (Socket Option Functions): Add a missing const in setsockopt prototype.
35250 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35251 use wchar_t for the argument.
35252 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35253 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35255 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35256 double/float/long double for second argument.
35257 Fix return types of significand, significandf, significandl.
35258 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35259 argument in fchmod prototype.
35260 (File Owner): Use uid_t and gid_t in fchown prototype.
35261 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35262 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35263 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35264 use 'const struct dirent **' as argument types to CMP function pointer
35266 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35267 (File Times): Fix summary magic @comment for struct utimbuf and utime
35268 to refer to utime.h, not time.h.
35269 * manual/string.texi (Argz Functions): Add missing const in
35270 argz_extract and argz_next prototypes.
35271 (Finding Tokens in a String): Likewise for basename.
35272 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35273 (Copying and Concatenation): Fix typo in wmemmove prototype.
35274 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35275 (Signal Stack): Remove erroneous const in sigstack prototype.
35276 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35278 (Simple Calendar Time): Likewise for stime.
35279 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35281 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35282 say sys/sysctl.h instead.
35283 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35284 and vsyslog prototypes.
35286 2013-02-11 Tom de Vries <tom@codesourcery.com>
35288 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35291 2013-02-11 Roland McGrath <roland@hack.frob.com>
35293 * misc/sys/mman.h: Fix typo in mremap comment.
35295 2013-02-08 Roland McGrath <roland@hack.frob.com>
35297 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35298 the '\0' terminator.
35300 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35303 * debug/segfault.c: Don't include <bp-checks.h>.
35304 * sysdeps/generic/bp-checks.h: Remove file.
35305 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35306 (__GETDENTS): Don't use CHECK_N.
35307 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35308 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35309 (__getgroups): Don't use CHECK_N.
35310 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35311 (setgroups): Don't use CHECK_N.
35312 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35313 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35314 (__libc_msgrcv): Don't use CHECK_N.
35315 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35316 (__libc_msgsnd): Don't use CHECK_N.
35317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35319 (__libc_pread): Don't use CHECK_N.
35320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35321 include <bp-checks.h>.
35322 (__libc_pread64): Don't use CHECK_N.
35323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35324 include <bp-checks.h>.
35325 (__libc_pwrite): Don't use CHECK_N.
35326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35327 include <bp-checks.h>.
35328 (__libc_pwrite64): Don't use CHECK_N.
35329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35331 (__libc_pread): Don't use CHECK_N.
35332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35333 include <bp-checks.h>.
35334 (__libc_pread64): Don't use CHECK_N.
35335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35336 include <bp-checks.h>.
35337 (__libc_pwrite): Don't use CHECK_N.
35338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35339 include <bp-checks.h>.
35340 (__libc_pwrite64): Don't use CHECK_N.
35341 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35342 (do_pread): Don't use CHECK_N.
35343 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35344 (do_pread64): Don't use CHECK_N.
35345 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35346 (do_pwrite): Don't use CHECK_N.
35347 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35348 (do_pwrite64): Don't use CHECK_N.
35349 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35350 (__libc_readv): Don't use CHECK_N.
35351 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35352 (semop): Don't use CHECK_N.
35353 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35355 (semtimedop): Don't use CHECK_N.
35356 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35357 (__libc_pread): Don't use CHECK_N.
35358 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35360 (__libc_pread64): Don't use CHECK_N.
35361 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35363 (__libc_pwrite): Don't use CHECK_N.
35364 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35366 (__libc_pwrite64): Don't use CHECK_N.
35367 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35369 (__libc_msgrcv): Don't use CHECK_N.
35370 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35371 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35372 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35373 (__libc_writev): Don't use CHECK_N.
35375 2013-02-08 Roland McGrath <roland@hack.frob.com>
35377 * string/strcpy.c: Removed unused variable.
35379 * Makeconfig (+sysdep-includes): Define with := rather than =.
35380 Use an existing include/ subdir of each sysdeps dir before it.
35382 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35384 * nscd/connection.c (register_traced_file): Comment function.
35385 [HAVE_INOTIFY] (union __inev): Define.
35386 [HAVE_INOTIFY] (inotify_check_files): New function.
35387 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35388 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35390 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35392 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35394 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35395 loaded if not already and that a failure is permanent.
35397 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35400 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35401 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35403 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35406 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35407 (CHECK_1_NULL_OK): Likewise.
35408 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35409 (__fxstat): Do not use CHECK_1.
35410 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35412 (___fxstat64): Do not use CHECK_1.
35413 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35415 (__fxstatat): Do not use CHECK_1.
35416 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35418 (__fxstatat64): Do not use CHECK_1.
35419 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35421 (__fxstat): Do not use CHECK_1.
35422 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35424 (__fxstatat): Do not use CHECK_1.
35425 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35427 (__getresgid): Do not use CHECK_1.
35428 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35430 (__getresuid): Do not use CHECK_1.
35431 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35433 (__lxstat): Do not use CHECK_1.
35434 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35436 (__old_msgctl): Do not use CHECK_1.
35437 (__new_msgctl): Likewise.
35438 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35440 (__new_setrlimit): Do not use CHECK_1.
35441 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35443 (__old_shmctl): Do not use CHECK_1.
35444 (__new_shmctl): Likewise.
35445 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35447 (__xstat): Do not use CHECK_1.
35448 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35449 (__lxstat): Do not use CHECK_1.
35450 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35452 (___lxstat64): Do not use CHECK_1.
35453 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35454 (__old_msgctl): Do not use CHECK_1.
35455 (__new_msgctl): Likewise.
35456 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35458 (__gettimeofday): Do not use CHECK_1.
35459 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35460 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35461 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35463 (__gettimeofday): Do not use CHECK_1.
35464 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35465 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35466 (__new_shmctl): Do not use CHECK_1.
35467 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35469 (do_sigtimedwait): Do not use CHECK_1.
35470 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35472 (do_sigwaitinfo): Do not use CHECK_1.
35473 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35475 (msgctl): Do not use CHECK_1.
35476 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35478 (shmctl): Do not use CHECK_1.
35479 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35480 (ustat): Do not use CHECK_1.
35481 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35483 (__fxstat): Do not use CHECK_1.
35484 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35486 (__fxstatat): Do not use CHECK_1.
35487 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35489 (__lxstat): Do not use CHECK_1.
35490 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35492 (__xstat): Do not use CHECK_1.
35493 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35494 (__xstat): Do not use CHECK_1.
35495 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35496 (___xstat64): Do not use CHECK_1.
35499 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35501 (CHECK_BOUNDS_HIGH): Likewise.
35502 * string/strcpy.c: Do not include <bp-checks.h>.
35503 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35505 2013-02-07 Roland McGrath <roland@hack.frob.com>
35507 * nscd/nscd-client.h (__nscd_drop_map_ref):
35508 Add __attribute__ ((unused)).
35509 * nis/nss-nisplus.h (niserr2nss): Likewise.
35511 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35512 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35514 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35515 Remove inline keyword.
35516 * include/rounding-mode.h (round_away): Likewise.
35517 * libio/wfileops.c (adjust_wide_data): Likewise.
35518 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35519 (__m128i_strloadu_tolower): Likewise.
35520 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35521 (__m128i_strloadu_tolower): Likewise.
35522 * time/mktime.c (ydhms_diff): Likewise.
35523 * locale/elem-hash.h (elem_hash): Likewise.
35524 * locale/setlocale.c (setdata): Likewise.
35525 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35526 (re_string_wchar_at): Likewise.
35527 (bitset_not, bitset_merge, bitset_mask): Likewise.
35528 [!(__GNUC__ > 3)] (inline): Remove macro.
35529 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35530 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35531 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35532 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35533 * string/memcmp.c (memcmp_bytes): Likewise.
35534 * locale/programs/locarchive.c (compute_hashval): Likewise.
35535 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35536 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35537 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35538 * nss/getent.c (print_rpc, print_protocols): Likewise.
35539 (print_passwd, print_group, print_aliases): Likewise.
35540 * nis/nss-nisplus.h (niserr2nss): Likewise.
35541 * nscd/connections.c (restart_p): Likewise.
35542 Change return type to bool.
35544 2013-02-05 Roland McGrath <roland@hack.frob.com>
35546 * Makeconfig (all-Depend-files): Add existing
35547 $(sorted-subdirs:=/Depend) files.
35548 (all-subdirs): Remove nss.
35549 * sysdeps/unix/inet/Subdirs: Add it here instead.
35550 * hesiod/Depend: New file.
35552 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35553 instead of calling alloca.
35555 * io/lseek.c (__lseek): Rename to __libc_lseek.
35556 Define __lseek as an alias.
35558 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35560 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35562 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35563 else clause and remove check for non-standard endianness.
35565 2013-02-04 David S. Miller <davem@davemloft.net>
35567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35569 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35572 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35573 (__ubp_memchr): Remove prototype.
35574 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35575 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35576 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35577 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35578 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35580 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35581 (__ubp_memchr): Likewise.
35582 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35583 (__ubp_memchr): Likewise.
35584 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35585 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35586 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35587 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35589 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35590 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35591 (__getcwd): Do not use CHECK_STRING.
35592 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35594 (__real_chown): Do not use CHECK_STRING.
35595 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35597 (fchownat): Do not use CHECK_STRING.
35598 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35600 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35602 (__lchown): Do not use CHECK_STRING.
35603 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35604 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35605 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35606 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35608 include <bp-checks.h>.
35609 (truncate64): Do not use CHECK_STRING.
35610 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35612 (__real_chown): Do not use CHECK_STRING.
35613 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35615 (__lchown): Do not use CHECK_STRING.
35616 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35618 (__chown): Do not use CHECK_STRING.
35619 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35621 (truncate64): Do not use CHECK_STRING.
35622 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35624 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35625 (__xmknod): Do not use CHECK_STRING.
35626 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35628 (__xmknodat): Do not use CHECK_STRING.
35629 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35630 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35632 2013-02-04 Andreas Schwab <schwab@suse.de>
35635 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35636 * include/netdb.h: Likewise for h_errno.
35637 * elf/tst-stackguard1.c: Include <tls.h>.
35639 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35641 * elf/link.h (struct link_map): Extend the l_addr comment.
35642 * include/link.h (struct link_map): Likewise.
35644 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35647 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35648 (BOUNDED_1): Remove macro.
35649 * debug/backtrace.c: Don't include <bp-checks.h>.
35650 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35651 (__backtrace): Likewise.
35652 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35654 (__backtrace): Don't use BOUNDED_1.
35655 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35657 (__backtrace): Don't use BOUNDED_1.
35658 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35659 (__backtrace): Don't use BOUNDED_1.
35660 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35661 (shmat): Don't use BOUNDED_N.
35663 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35666 * sysdeps/generic/bp-start.h: Remove file.
35667 * csu/libc-start.c: Don't include <bp-start.h>.
35668 (LIBC_START_MAIN): Set up __environ directly instead of using
35669 INIT_ARGV_and_ENVIRON.
35670 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35674 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35676 (CHECK_FCNTL): Likewise.
35677 (CHECK_N_PAGES): Likewise.
35680 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35682 (CHECK_SIGSET_NULL_OK): Likewise.
35683 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35685 (sigpending): Don't use CHECK_SIGSET.
35686 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35688 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35689 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35691 (do_sigsuspend): Don't use CHECK_SIGSET.
35692 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35694 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35695 (do_sigwait): Don't use CHECK_SIGSET.
35696 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35698 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35699 include <bp-checks.h>.
35700 (sigpending): Don't use CHECK_SIGSET.
35701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35702 include <bp-checks.h>.
35703 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35704 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35706 (sigpending): Don't use CHECK_SIGSET.
35707 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35709 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35712 * sysdeps/generic/bp-semctl.h: Remove file.
35713 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35714 <bp-checks.h> and <bp-semctl.h>.
35715 (__old_semctl): Don't use CHECK_SEMCTL.
35716 (__new_semctl): Likewise.
35717 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35719 (__old_semctl): Don't use CHECK_SEMCTL.
35720 (__new_semctl): Likewise.
35721 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35722 <bp-checks.h> and <bp-semctl.h>.
35723 (__old_semctl): Don't use CHECK_SEMCTL.
35724 (__new_semctl): Likewise.
35725 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35726 <bp-checks.h> and <bp-semctl.h>.
35727 (semctl): Don't use CHECK_SEMCTL.
35730 * Makerules (elide-bp-thunks): Remove variable.
35731 (elide-routines.oS): Don't use $(elide-bp-thunks).
35732 (elide-routines.os): Likewise.
35733 (elide-routines.o): Likewise.
35734 (elide-routines.op): Likewise.
35735 (elide-routines.og): Likewise.
35736 (objects): Don't use $(bp-thunks).
35737 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35739 (common-generated): Do not add s-proto-bp.d.
35740 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35743 Do not generate makefile rules for bounded-pointer thunks.
35744 * sysdeps/generic/bp-thunks.h: Remove file.
35745 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35746 * sysdeps/unix/s-proto-bp.S: Likewise.
35749 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35750 parts of result separately when argument is not close to line from
35751 -i to i and one part of argument is small.
35752 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35753 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35754 * math/libm-test.inc (cacos_test): Add more tests.
35755 (casin_test): Likewise.
35756 (casinh_test): Likewise.
35757 * sysdeps/i386/fpu/libm-test-ulps: Update.
35758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35760 2013-01-31 David S. Miller <davem@davemloft.net>
35762 * po/de.po: Update from translation team.
35764 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35766 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35768 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35770 * configure.in (_AC_PROG_CC_C89): New definition.
35771 * configure: Regenerate.
35773 * configure.in (AC_PROG_CPP): New definition.
35774 * configure: Regenerate.
35776 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35778 * debug/tst-backtrace.h: New file.
35779 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35780 (ret): Remove variable.
35782 (FAIL): Remove macro.
35783 (NO_INLINE): Likewise.
35784 (fn1): Use match function instead of strstr.
35785 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35786 (ret): Remove variable.
35788 (FAIL): Remove macro.
35789 (NO_INLINE): Likewise.
35790 (fn): Use match function instead of strstr.
35791 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35792 (ret): Remove variable.
35794 (FAIL): Remove macro.
35795 (NO_INLINE): Likewise.
35796 (handle_signal): Use match function instead of strstr.
35797 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35798 (ret): Remove variable.
35800 (FAIL): Remove macro.
35801 (NO_INLINE): Likewise.
35802 (handle_signal): Use match function instead of strstr.
35804 2013-01-23 Roland McGrath <roland@hack.frob.com>
35806 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35808 2013-01-23 David S. Miller <davem@davemloft.net>
35810 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35811 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35812 argument of CAS if possible.
35813 * sysdeps/sparc/sparc64/bits/atomic.h
35814 (__arch_compare_and_exchange_val_32_acq): Likewise.
35815 (__arch_compare_and_exchange_val_64_acq): Likewise.
35817 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35819 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35820 * sysdeps/posix/ulimit.c: ... this.
35821 Include <limits.h>.
35822 * sysdeps/unix/bsd/ulimit.c: Remove file.
35824 2013-01-23 Adam Conrad <adconrad@0c3.net>
35826 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35827 (LDFLAGS-tst-array5): Likewise.
35829 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35832 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35833 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35834 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35835 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35837 2013-01-21 David S. Miller <davem@davemloft.net>
35839 * sysdeps/sparc/backtrace.c: New file.
35840 * sysdeps/sparc/sparc32/backtrace.h: New file.
35841 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35842 * sysdeps/sparc/sparc64/backtrace.h: New file.
35843 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35844 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35847 2013-01-21 Andreas Schwab <schwab@suse.de>
35850 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35853 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35859 2013-01-18 Joseph Myers <joseph@codesourcery.com>
35860 Mark Mitchell <mark@codesourcery.com>
35861 Tom de Vries <tom@codesourcery.com>
35862 Paul Pluzhnikov <ppluzhnikov@google.com>
35864 * debug/tst-backtrace2.c: New file.
35865 * debug/tst-backtrace3.c: Likewise.
35866 * debug/tst-backtrace4.c: Likewise.
35867 * debug/tst-backtrace5.c: Likewise.
35868 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35869 (CFLAGS-tst-backtrace3.c): Likewise.
35870 (CFLAGS-tst-backtrace4.c): Likewise.
35871 (CFLAGS-tst-backtrace5.c): Likewise.
35872 (LDFLAGS-tst-backtrace2): Likewise.
35873 (LDFLAGS-tst-backtrace3): Likewise.
35874 (LDFLAGS-tst-backtrace4): Likewise.
35875 (LDFLAGS-tst-backtrace5): Likewise.
35876 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35877 tst-backtrace4 and tst-backtrace5.
35879 2013-01-18 Anton Blanchard <anton@samba.org>
35880 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35882 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35883 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35884 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35885 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35887 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35888 "+r" and remove output regs list as redundant. Add explicit inline
35889 asm to specify register of return val to work around compiler codegen
35890 bug. Remove (int) cast on return value. Add return type parameter to
35891 use in macro so that this macro does not truncate return value for
35893 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35894 pass to INTERNAL_VSYSCALL_NCS.
35895 (INLINE_VSYSCALL): Add 'long int' as return type to
35896 INTERNAL_VSYSCALL_NCS macro invocation.
35897 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35898 INTERNAL_VSYSCALL_NCS macro invocation.
35899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35901 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35904 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35905 Fix application of SIMD FP exception mask.
35907 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35908 mp_no from a power of two.
35909 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35910 __mpexp_twomm1. Use __pow_mp.
35912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35915 2013-01-17 David S. Miller <davem@davemloft.net>
35917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35919 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35922 * include/complex.h: Condition contents on [!_COMPLEX_H].
35923 (__kernel_casinhf): New prototype.
35924 (__kernel_casinh): Likewise.
35925 (__kernel_casinhl): Likewise.
35926 * math/Makefile (libm_calls): Add k_casinh.
35927 * math/k_casinh.c: New file.
35928 * math/k_casinhf.c: Likewise.
35929 * math/k_casinhl.c: Likewise.
35930 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35931 finite nonzero arguments.
35932 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35933 finite nonzero arguments.
35934 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35935 finite nonzero arguments.
35936 * math/s_casinh.c: Do not include <float.h>.
35937 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35938 * math/s_casinhf.c: Do not include <float.h>.
35939 (__casinhf): Move code for finite nonzero arguments to
35941 * math/s_casinhl.c: Do not include <float.h>.
35942 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35944 (__casinhl): Move code for finite nonzero arguments to
35946 * math/libm-test.inc (cacos_test): Add more tests.
35947 * sysdeps/i386/fpu/libm-test-ulps: Update.
35948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35950 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35952 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35953 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35954 [!HAVE_MREMAP]: Remove [defined linux] case.
35955 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35957 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35959 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35961 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
35963 * elf/elf.h (R_386_SIZE32): New relocation.
35964 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35966 (elf_machine_rela): Likewise.
35967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35968 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35970 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35972 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35973 (FP_FAST_FMA): Do not define.
35974 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35975 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35976 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35977 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35978 !_SOFT_FLOAT]: Likewise.
35979 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35980 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35982 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35983 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35984 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35985 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35986 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35987 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35990 2013-01-16 Andreas Schwab <schwab@suse.de>
35993 * include/stdlib.h (__mktemp): Add declaration.
35994 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35995 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35997 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35999 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36001 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36002 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36003 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36005 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36006 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36008 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36010 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36011 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36012 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36014 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36015 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36017 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36019 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36021 2013-01-15 David S. Miller <davem@davemloft.net>
36023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36024 trunc{,f} to libm-sysdep_routes.
36025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36035 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36036 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36037 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36038 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36039 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36040 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36043 nearbyint{,f} to libm-sysdep_routes.
36044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36055 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36057 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36058 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36060 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36061 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36062 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36064 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36065 libc_feholdexcept and libc_fesetenv.
36067 2013-01-15 Mike Frysinger <vapier@gentoo.org>
36069 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36071 2013-01-14 David S. Miller <davem@davemloft.net>
36073 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36074 (SPARC_ASM_VIS2_IFUNC): Likewise.
36075 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36077 use of 'siam' instruction.
36078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36111 routines to libm-sysdep_routines.
36112 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36115 fdim/fdimf to libm-sysdep_routines.
36116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36124 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36125 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36126 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36127 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36129 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36131 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36132 to optimize copies.
36134 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36135 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36139 local variable MPTWO.
36140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36143 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36145 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36148 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36150 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36152 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36154 * manual/pattern.texi (glob_t): Document gl_flags.
36155 (glob64_t): Likewise.
36157 2013-01-11 David S. Miller <davem@davemloft.net>
36159 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36160 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36161 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36162 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36163 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36164 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36165 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36166 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36167 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36168 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36169 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36170 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36171 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36173 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36174 sparc V9 rather than using V8 code.
36175 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36176 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36178 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36180 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36183 2013-01-11 Roland McGrath <roland@hack.frob.com>
36185 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36186 not in the main loop.
36187 * configure: Regenerated.
36189 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36191 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36192 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36194 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36195 [!__GLIBC_HAVE_LONG_LONG] case.
36196 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36197 condition to just #else.
36198 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36199 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36200 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36201 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36203 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36204 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36205 #elif condition to just #else.
36206 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36207 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36208 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36209 #elif condition to just #else.
36211 2013-01-11 Steve Ellcey <sellcey@mips.com>
36213 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36214 (EF_MIPS_ARCH_64): Fix value.
36215 (EF_MIPS_ARCH_32R2): New.
36216 (EF_MIPS_ARCH_64R2): New.
36218 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36220 * Makeconfig (+link-pie-before-libc): New.
36221 (+link-pie-after-libc): Likewise.
36222 (+link-pie-tests): Likewise.
36223 (+link-pie): Rewritten.
36224 (link-before-libc): Remove $(config-LDFLAGS).
36225 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36226 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36227 (config-LDFLAGS): Renamed to ...
36228 (rtld-LDFLAGS): This.
36229 (rtld-tests-LDFLAGS): New macro.
36230 (link-libc-rpath-link): Likewise.
36231 (link-libc-tests-rpath-link): Likewise.
36232 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36233 (link-libc): Prepand $(link-libc-rpath-link).
36234 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36235 (test-program-prefix): New macro.
36236 (test-via-rtld-prefix): Likewise.
36237 (test-program-cmd): Likewise.
36238 (host-test-program-cmd): Likewise.
36239 * Makefile ($(common-objpfx)testrun.sh): Replace
36240 $(run-program-prefix) with $(test-program-prefix).
36241 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36243 ($(common-objpfx)shlib.lds): Likewise.
36244 (build-module-helper): Likewise.
36245 ($(common-objpfx)format.lds): Likewise.
36246 * Rules (binaries-pie-tests): New.
36247 (binaries-pie-notests): Likewise.
36248 (binaries-pie): Rewritten.
36249 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36250 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36251 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36252 (make-test-out): Replace $(host-built-program-cmd) with
36253 $(host-test-program-cmd).
36254 * config.make.in (build-hardcoded-path-in-tests): New variable.
36255 * configure.in (--enable-hardcoded-path-in-tests): New configure
36257 (hardcoded_path_in_tests): New AC_SUBST.
36258 * configure: Regenerated.
36259 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36260 $(built-program-cmd) with $(test-program-cmd).
36261 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36262 (test_program_cmd): This.
36263 * elf/Makefile ($(objpfx)order.out): Run test with
36264 $(test-program-prefix).
36265 ($(objpfx)order2.out): Likewise.
36266 ($(objpfx)tst-initorder.out): Likewise.
36267 ($(objpfx)tst-initorder2.out): Likewise.
36268 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36269 $(test-program-cmd).
36270 ($(objpfx)tst-array1-static.out): Likewise.
36271 ($(objpfx)tst-array2.out): Likewise.
36272 ($(objpfx)tst-array3.out): Likewise.
36273 ($(objpfx)tst-array4.out): Likewise.
36274 ($(objpfx)tst-array5.out): Likewise.
36275 ($(objpfx)tst-array5-static.out): Likewise.
36276 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36277 $(test-program-cmd).
36278 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36279 $(run-program-prefix) with $(test-program-prefix).
36280 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36281 (test_program_prefix): This.
36282 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36283 $(run-program-prefix) with $(test-program-prefix).
36284 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36285 (test_program_prefix): This.
36286 * iconvdata/tst-tables.sh: Likewise.
36287 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36288 $(run-program-prefix) with $(test-program-prefix).
36289 ($(objpfx)tst-translit.out): Likewise.
36290 ($(objpfx)tst-gettext2.out): Likewise.
36291 ($(objpfx)tst-gettext4.out): Likewise.
36292 ($(objpfx)tst-gettext6.out): Likewise.
36293 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36294 (test_program_prefix): This.
36295 * intl/tst-gettext2.sh: Likewise.
36296 * intl/tst-gettext4.sh Likewise.
36297 * intl/tst-gettext6.sh: Likewise.
36298 * intl/tst-translit.sh: Likewise.
36299 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36300 with $(test-program-cmd).
36301 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36302 $(run-program-prefix) with $(test-program-prefix).
36303 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36304 (test_program_prefix): This.
36305 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36306 $(run-program-prefix) with $(test-program-prefix).
36307 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36308 (test_program_prefix): This.
36309 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36310 * posix/Makefile ($(objpfx)globtest.out): Replace
36311 $(run-via-rtld-prefix) and $(test-wrapper) with
36312 $(test-program-prefix) and $(test-via-rtld-prefix).
36313 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36314 $(test-program-prefix).
36315 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36316 $(host-test-program-cmd).
36317 (tst-spawn-ARGS): Likewise.
36318 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36319 $(test-program-prefix).
36320 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36321 (test_via_rtld_prefix): This.
36322 (test_wrapper): Renamed to ...
36323 (test_program_prefix): This.
36324 (run_program_prefix): Replaced by test_program_prefix.
36325 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36326 (test_program_prefix): This.
36327 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36328 with $(host-test-program-cmd).
36329 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36330 $(run-program-prefix) with $(test-program-prefix).
36331 ($(objpfx)tst-printf.out): Likewise.
36332 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36333 $(test-program-cmd).
36334 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36335 (test_program_prefix): This.
36336 * stdio-common/tst-unbputc.sh: Likewise.
36337 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36338 $(run-program-prefix) with $(test-program-prefix).
36339 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36340 (test_program_prefix): This.
36341 * string/Makefile ($(objpfx)tst-svc.out): Replace
36342 $(built-program-cmd) with $(test-program-cmd).
36344 2013-01-11 Andreas Jaeger <aj@suse.de>
36347 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36348 value. Sync with Linux 3.7.
36350 2013-01-10 David S. Miller <davem@davemloft.net>
36352 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36353 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36354 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36356 2013-01-10 Roland McGrath <roland@hack.frob.com>
36358 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36360 * configure: Regenerated.
36362 2013-01-10 David S. Miller <davem@davemloft.net>
36364 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36365 sparc V9 rather than using V8 code.
36366 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36367 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36369 2013-01-10 Roland McGrath <roland@hack.frob.com>
36371 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36372 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36373 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36374 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36375 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36376 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36377 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36378 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36379 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36380 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36381 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36382 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36383 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36384 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36385 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36386 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36387 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36388 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36389 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36390 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36391 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36392 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36393 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36394 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36395 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36396 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36397 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36399 2013-01-10 David S. Miller <davem@davemloft.net>
36401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36403 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36405 * posix/Makefile (tests-static): New variable.
36406 (tests): Add $(tests-static).
36407 (tst-exec-static-ARGS): New variable.
36408 (tst-spawn-static-ARGS): Likewise.
36409 * posix/tst-exec-static.c: New file.
36410 * posix/tst-spawn-static.c: Likewise.
36411 * posix/tst-exec.c: Support run directly.
36412 * posix/tst-spawn.c: Likewise.
36414 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36416 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36418 * math/bits/mathcalls.h (llrint): Likewise.
36419 (llround): Likewise.
36420 * stdlib/stdlib.h (struct drand48_data): Likewise.
36421 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36422 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36423 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36425 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36427 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36428 (elf_greg_t): Likewise.
36429 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36430 (__jmp_buf): Likewise.
36431 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36433 (llrint): Likewise, for all definitions.
36434 (llrintl): Likewise.
36436 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36437 Remove [__GNUC__] condition.
36438 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36439 condition to just [__USE_ISOC99].
36440 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36442 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36445 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36446 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36448 (_POSIX_V6_ILP32_OFF32): Likewise.
36449 (_XBS5_ILP32_OFF32): Likewise.
36450 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36451 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36453 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36455 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36458 doubles __mpexp_twomm1. Adjust usage.
36459 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36462 2013-01-10 Andreas Schwab <schwab@suse.de>
36465 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36466 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36468 2013-01-09 David S. Miller <davem@davemloft.net>
36471 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36472 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36473 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36474 (TCP_FASTOPEN): Define.
36475 (tcp_repair_opt): New structure.
36476 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36478 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36479 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36480 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36481 (tcp_cookie_transactions): New structure.
36483 2013-01-09 Anton Blanchard <anton@samba.org>
36485 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36486 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36488 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36490 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36492 * include/features.h (__USE_ANSI): Remove.
36494 2013-01-09 Roland McGrath <roland@hack.frob.com>
36496 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36498 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36500 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36502 * sysdeps/s390/fpu/libm-test-ulps: Update.
36504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36506 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36510 (denorm): Likewise.
36511 (__mp_dbl): Likewise.
36512 (__dbl_mp): Likewise.
36513 (add_magnitudes): Likewise.
36514 (sub_magnitudes): Likewise.
36520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36524 (denorm): Likewise.
36525 (__mp_dbl): Likewise.
36526 (__dbl_mp): Likewise.
36527 (add_magnitudes): Likewise.
36528 (sub_magnitudes): Likewise.
36534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36538 (denorm): Likewise.
36539 (__mp_dbl): Likewise.
36540 (__dbl_mp): Likewise.
36541 (add_magnitudes): Likewise.
36542 (sub_magnitudes): Likewise.
36549 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36551 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36552 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36553 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36554 2 && __USE_EXTERN_INLINES]: Likewise.
36556 2013-01-08 Andreas Jaeger <aj@suse.de>
36559 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36561 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36562 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36564 2013-01-07 Anton Blanchard <anton@samba.org>
36566 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36567 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36568 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36569 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36570 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36571 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36572 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36573 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36575 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36576 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36577 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36578 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36579 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36580 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36581 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36582 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36583 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36584 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36585 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36586 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36587 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36588 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36589 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36590 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36591 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36592 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36593 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36594 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36595 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36596 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36598 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36599 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36600 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36601 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36602 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36603 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36604 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36605 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36606 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36608 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36610 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36612 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36613 (__MALLOC_PMT): Likewise.
36614 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36615 [__GNUC__], only on [_LIBC].
36616 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36617 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36618 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36619 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36620 forward declaration.
36621 (realloc_hook_ini): Likewise.
36622 (memalign_hook_ini): Likewise.
36623 (__libc_memalign): Do not use __MALLOC_PMT in variable
36625 (__libc_valloc): Likewise.
36626 (__libc_pvalloc): Likewise.
36627 (__libc_calloc): Likewise.
36628 (__posix_memalign): Likewise.
36631 * math/s_casinh.c: Include <float.h>.
36632 (__casinh): Do not do computation with squaring and square root
36633 for large arguments.
36634 * math/s_casinhf.c: Include <float.h>.
36635 (__casinhf): Do not do computation with squaring and square root
36636 for large arguments.
36637 * math/s_casinhl.c: Include <float.h>.
36638 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36639 (__casinhl): Do not do computation with squaring and square root
36640 for large arguments.
36641 * math/libm-test.inc (casin_test): Add more tests.
36642 (casinh_test): Likewise.
36643 * sysdeps/i386/fpu/libm-test-ulps: Update.
36644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36646 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36648 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36649 (__x86_64_raw_data_cache_size): Likewise.
36650 (__x86_64_data_cache_size_half): Likewise.
36651 (__x86_64_raw_data_cache_size_half): Likewise.
36652 (__x86_64_shared_cache_size): Likewise.
36653 (__x86_64_raw_shared_cache_size): Likewise.
36654 (__x86_64_shared_cache_size_half): Likewise.
36655 (__x86_64_raw_shared_cache_size_half): Likewise.
36656 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36658 (__x86_data_cache_size): This.
36659 (__x86_64_raw_data_cache_size): Renamed to ...
36660 (__x86_raw_data_cache_size): This.
36661 (__x86_64_data_cache_size_half): Renamed to ...
36662 (__x86_data_cache_size_half): This.
36663 (__x86_64_raw_data_cache_size_half): Renamed to ...
36664 (__x86_raw_data_cache_size_half): This.
36665 (__x86_64_shared_cache_size): Renamed to ...
36666 (__x86_shared_cache_size): This.
36667 (__x86_64_raw_shared_cache_size): Renamed to ...
36668 (__x86_raw_shared_cache_size): This.
36669 (__x86_64_shared_cache_size_half): Renamed to ...
36670 (__x86_shared_cache_size_half): This.
36671 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36672 (__x86_raw_shared_cache_size_half): This.
36673 * sysdeps/x86_64/memcpy.S: Updated.
36674 * sysdeps/x86_64/memset.S: Likewise.
36675 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36679 2013-01-04 David S. Miller <davem@davemloft.net>
36681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36683 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36685 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36686 1 to avoid redefinition warning.
36687 (__USE_GNU): Don't define.
36688 (init_signaling_nan): Protoize.
36690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36692 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36694 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36696 (__cpymn): Likewise.
36697 (norm): Remove commented code.
36698 (denorm): Likewise.
36699 (__mp_dbl): Likewise.
36701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36702 (__cpymn): Likewise.
36703 (norm): Remove commented code.
36704 (denorm): Likewise.
36705 (__mp_dbl): Likewise.
36708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36709 mp_no value for 1.0 and 2.0.
36710 (norm): Use RADIXI instead of radixi.d.
36711 (denorm): Likewise.
36712 (__mul): Use 0.0 instead of zero.d.
36713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36714 mp_no value for 1.0 and 2.0.
36715 (norm): Use RADIXI instead of radixi.d.
36716 (denorm): Likewise.
36717 (__mul): Use 0.0 instead of zero.d.
36719 2013-01-04 Joseph Myers <joseph@codesourcery.com>
36722 * math/s_casinh.c (__casinh): Reduce finite argument to first
36723 quadrant then set signs of results at the end.
36724 * math/s_casinhf.c (__casinhf): Likewise.
36725 * math/s_casinhl.c (__casinhl): Likewise.
36726 * math/libm-test.inc (casin_test): Add more tests.
36727 (casinh_test): Likewise.
36728 * sysdeps/i386/fpu/libm-test-ulps: Update.
36729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36731 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36733 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36735 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36737 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36739 (denorm): Likewise.
36740 (__mp_dbl): Likewise.
36743 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36744 and adjust the header comment.
36746 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36747 variable name from declaration.
36749 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36752 Initialize COMMON_CPUID_INDEX_7 element.
36753 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36754 (CPUID_RTM): Likewise.
36755 (HAS_RTM): Likewise.
36756 (COMMON_CPUID_INDEX_7): New enum.
36758 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36761 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36762 size is zero, record memory as freed.
36764 2013-01-03 Andreas Jaeger <aj@suse.de>
36766 * po/ia.po: Add new Interlingua translation.
36768 2012-01-03 Allan McRae <allan@archlinux.org>
36770 * locale/programs/localedef.c: Fix description of '--posix' flag.
36772 2013-01-02 Joseph Myers <joseph@codesourcery.com>
36774 * NEWS: Update dates in second copyright notice.
36775 * README: Update copyright dates in example.
36776 * manual/libc.texinfo: Update copyright dates.
36777 * scripts/test-installation.pl: Update copyright date in --version
36780 * hurd/ctty-input.c: Fix copyright notice formatting.
36781 * hurd/ctty-output.c: Likewise.
36782 * hurd/dtable.c: Likewise.
36783 * hurd/hurd-raise.c: Likewise.
36784 * hurd/hurdprio.c: Likewise.
36785 * hurd/msgportdemux.c: Likewise.
36786 * misc/sys/file.h: Likewise.
36787 * misc/sys/ioctl.h: Likewise.
36788 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36789 * sysdeps/mach/hurd/chdir.c: Likewise.
36790 * sysdeps/mach/hurd/fchdir.c: Likewise.
36791 * sysdeps/mach/hurd/rename.c: Likewise.
36792 * sysdeps/mach/hurd/rmdir.c: Likewise.
36793 * sysdeps/mach/hurd/seekdir.c: Likewise.
36794 * sysdeps/mach/hurd/setsid.c: Likewise.
36795 * sysdeps/posix/wait3.c: Likewise.
36797 * All files with FSF copyright notices: Update copyright dates
36798 using scripts/update-copyrights.
36799 * intl/plural.c: Regenerated.
36800 * locale/programs/charmap-kw.h: Likewise.
36801 * locale/programs/locfile-kw.h: Likewise.
36803 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36805 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36808 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36809 calculation loop and add branch prediction.
36811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36812 check access beyond bounds of m1np.
36814 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36816 (__inv): Remove local variable MPTWO to use the global
36818 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36819 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36821 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36822 MP3HALFS static const.
36824 2013-01-01 David S. Miller <davem@davemloft.net>
36826 * po/ca.po: Update from translation team.
36828 2013-01-01 Joseph Myers <joseph@codesourcery.com>
36830 * scripts/update-copyrights: New file.
36831 * Makeconfig: Reformat copyright notice.
36832 * ctype/ctype.h: Likewise.
36833 * debug/swprintf_chk.c: Likewise.
36834 * elf/dl-cache.c: Likewise.
36835 * elf/dl-debug.c: Likewise.
36836 * elf/dl-object.c: Likewise.
36837 * grp/initgroups.c: Likewise.
36838 * hurd/Makefile: Likewise.
36839 * hurd/hurd/signal.h: Likewise.
36840 * hurd/hurdfault.c: Likewise.
36841 * hurd/hurdioctl.c: Likewise.
36842 * hurd/hurdlookup.c: Likewise.
36843 * hurd/intr-msg.c: Likewise.
36844 * iconv/gconv_open.c: Likewise.
36845 * libio/swprintf.c: Likewise.
36846 * locale/lc-ctype.c: Likewise.
36847 * locale/nl_langinfo.c: Likewise.
36848 * mach/Machrules: Likewise.
36849 * mach/Makefile: Likewise.
36850 * malloc/obstack.h: Likewise.
36851 * manual/Makefile: Likewise.
36852 * manual/tsort.awk: Likewise.
36853 * misc/bits/stab.def: Likewise.
36854 * nis/nis_print_group_entry.c: Likewise.
36855 * nis/nis_table.c: Likewise.
36856 * nis/nss_compat/compat-pwd.c: Likewise.
36857 * nis/nss_compat/compat-spwd.c: Likewise.
36858 * po/Makefile: Likewise.
36859 * posix/fnmatch.c: Likewise.
36860 * posix/regex.h: Likewise.
36861 * resolv/Makefile: Likewise.
36862 * resolv/nss_dns/dns-network.c: Likewise.
36863 * resolv/res_hconf.c: Likewise.
36864 * scripts/gen-sorted.awk: Likewise.
36865 * soft-fp/soft-fp.h: Likewise.
36866 * stdio-common/printf.h: Likewise.
36867 * stdlib/monetary.h: Likewise.
36868 * stdlib/random.c: Likewise.
36869 * stdlib/random_r.c: Likewise.
36870 * sysdeps/generic/Makefile: Likewise.
36871 * sysdeps/gnu/Makefile: Likewise.
36872 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36874 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36875 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36876 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36878 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36879 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36880 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36882 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36883 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36884 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36885 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36886 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36887 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36888 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36889 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36890 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36891 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36895 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36896 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36897 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36898 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36899 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36900 * sysdeps/mach/hurd/errnos.awk: Likewise.
36901 * sysdeps/mach/hurd/fork.c: Likewise.
36902 * sysdeps/mach/hurd/getcwd.c: Likewise.
36903 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36904 * sysdeps/mach/hurd/mmap.c: Likewise.
36905 * sysdeps/mach/hurd/utimes.c: Likewise.
36906 * sysdeps/mach/hurd/xmknod.c: Likewise.
36907 * sysdeps/posix/profil.c: Likewise.
36908 * sysdeps/posix/readdir_r.c: Likewise.
36909 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36910 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36911 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36912 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36914 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36915 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36916 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36918 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36919 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36920 * sysdeps/pthread/lio_listio.c: Likewise.
36921 * sysdeps/sparc/dl-procinfo.h: Likewise.
36922 * sysdeps/unix/i386/sysdep.S: Likewise.
36923 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36924 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36925 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36926 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36928 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36929 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36930 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36931 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36932 * sysdeps/wordsize-32/divdi3.c: Likewise.
36933 * time/sys/time.h: Likewise.
36934 * wcsmbs/Makefile: Likewise.
36936 2013-01-01 David S. Miller <davem@davemloft.net>
36938 * po/fr.po: Update from translation team.
36940 * catgets/gencat.c: Update copyright year.
36941 * csu/version.c: Likewise.
36942 * debug/catchsegv.sh: Likewise.
36943 * debug/pcprofiledump.c: Likewise.
36944 * debug/xtrace.sh: Likewise.
36945 * elf/ldconfig.c: Likewise.
36946 * elf/ldd.bash.in: Likewise.
36947 * elf/pldd.c: Likewise.
36948 * elf/sotruss.ksh: Likewise.
36949 * elf/sprof.c: Likewise.
36950 * iconv/iconv_prog.c: Likewise.
36951 * iconv/iconvconfig.c: Likewise.
36952 * locale/programs/locale.c: Likewise.
36953 * locale/programs/localedef.c: Likewise.
36954 * login/programs/pt_chown.c: Likewise.
36955 * malloc/memusage.sh: Likewise.
36956 * malloc/memusagestat.c: Likewise.
36957 * malloc/mtrace.pl: Likewise.
36958 * nscd/nscd.c: Likewise.
36959 * nss/getent.c: Likewise.
36960 * nss/makedb.c: Likewise.
36961 * posix/getconf.c: Likewise.
36963 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36965 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36968 2012-12-30 Mike Frysinger <vapier@gentoo.org>
36970 * math/bits/mathcalls.h (modf): Use __nonnull.
36972 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36974 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36975 (split): Use macro CN instead of the bare value.
36976 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36978 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36979 instead of the bare value.
36980 (power1): Likewise.
36982 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36984 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36986 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36988 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36990 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36991 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36992 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36993 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36995 2012-12-28 Andreas Jaeger <aj@suse.de>
36997 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36998 values are from Linux 3.7.
37000 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37001 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
37003 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37005 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37008 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37010 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37011 variables with preprocessor constants.
37012 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37013 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37014 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37016 2012-12-27 Bruno Haible <bruno@clisp.org>
37019 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37022 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37025 and use variable directly.
37026 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37028 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37030 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37031 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37033 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37035 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37036 include directive. Remove local variable MPONE.
37037 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37038 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37039 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37041 2012-12-25 David S. Miller <davem@davemloft.net>
37043 * version.h (RELEASE): Set to "development".
37044 (VERSION): Set to "2.17.90".
37045 * NEWS: Add 2.18 section.
37047 2012-12-21 David S. Miller <davem@davemloft.net>
37049 * po/hr.po: Update from translation team.
37051 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37053 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37055 2012-12-19 Steve Ellcey <sellcey@mips.com>
37057 * NEWS: Mention new memcpy for MIPS.
37059 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37061 * manual/contrib.texi (Contributors): Spelling correction.
37063 2012-12-15 David S. Miller <davem@davemloft.net>
37065 * po/ru.po: Update from translation team.
37067 2012-12-13 David S. Miller <davem@davemloft.net>
37069 * NEWS: Mention IFUNC testsuite enhancements.
37071 * po/pl.po: Update from translation team.
37072 * po/bg.po: Likewise.
37074 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37075 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37077 2012-12-11 David S. Miller <davem@davemloft.net>
37079 * po/sv.po: Update from translation team.
37081 * po/vi.po: Update from translation team.
37083 * po/cs.po: Update from translation team.
37085 * po/de.po: Update from translation team.
37086 * po/eo.po: Likewise.
37087 * po/nl.po: Likewise.
37089 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37092 * manual/argp.texi (Argp Helper Functions): Move node to follow
37093 Argp Parsing State.
37096 * manual/conf.texi (Limits on File System Capacity): Mention if
37097 terminating null is included in the max size.
37099 2012-12-10 Andreas Jaeger <aj@suse.de>
37101 * po/cs.po: Update from translation team.
37103 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37105 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37106 void pointer and cast to uintptr_t.
37107 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37109 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37110 * sysdeps/s390/s390-64/memset.S: Likewise.
37112 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37115 * menual/message.texi (Message Translation): Fix typos.
37116 (Helper programs for gettext): Likewise.
37118 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37121 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37124 2012-12-07 David S. Miller <davem@davemloft.net>
37126 * po/libc.pot: Update.
37128 2012-12-07 Richard Henderson <rth@redhat.com>
37131 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37132 normal/normal case to before the switch.
37133 (_FP_DIV): Likewise.
37135 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37136 Mike Frysinger <vapier@gentoo.org>
37138 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37139 check for __NR_fadvise64_64.
37141 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37143 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37144 0, not just to plain "0" as a statement.
37145 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37148 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37150 * NEWS: Use sourceware.org in Bugzilla URL.
37152 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37155 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37157 * stdio-common/tst-put-error.c (do_test): Add newline to the
37158 padded test to ensure flush.
37160 2012-12-05 Jeff Law <law@redhat.com>
37162 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37164 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37166 * README: Don't refer to ports add-on as distributed separately.
37167 Mention AArch64 in list of systems supported in the ports add-on.
37169 * LICENSES: Add more non-FSF copyright and license notices.
37171 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37174 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37176 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37177 10000 as width of padded output.
37179 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37181 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37184 variable LX with __attribute__ ((unused)).
37185 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37187 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37189 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37190 with __attribute__ ((unused)).
37192 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37194 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37196 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37198 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37199 (CFLAGS-nldbl-acos.c): New variable.
37200 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37201 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37202 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37203 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37204 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37205 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37206 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37207 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37208 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37209 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37210 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37211 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37212 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37213 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37214 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37215 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37216 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37217 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37218 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37219 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37220 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37221 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37222 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37223 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37224 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37225 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37226 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37227 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37228 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37229 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37230 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37231 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37232 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37233 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37234 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37235 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37236 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37237 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37238 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37239 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37240 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37241 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37242 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37243 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37244 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37245 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37246 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37247 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37248 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37249 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37250 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37251 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37252 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37253 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37254 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37255 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37256 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37257 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37258 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37259 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37260 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37261 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37262 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37263 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37264 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37265 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37266 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37267 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37268 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37269 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37270 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37271 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37272 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37273 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37274 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37275 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37276 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37277 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37278 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37279 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37280 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37281 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37282 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37283 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37284 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37285 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37286 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37287 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37288 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37289 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37290 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37291 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37292 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37293 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37294 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37295 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37296 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37299 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37302 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37303 whole low double instead of just low 47 bits when splitting values
37306 2012-12-03 Allan McRae <allan@archlinux.org>
37308 * manual/stdio.texi (Predefined Printf Handlers): Remove
37309 @hsep and @vsep usage.
37311 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37313 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37314 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37316 2012-12-03 Jeff Law <law@redhat.com>
37318 * time/sys/time.h (settimeofday): Do not mark TV argument
37321 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37323 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37324 when currently writing and seek to current position when not.
37325 * libio/Makefile (tests): Remove bug-fclose1.
37326 * libio/bug-fclose1.c: Delete.
37328 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37330 * manual/arith.texi (feenableexcept): Fix typo.
37331 (fedisableexcept): Likewise.
37333 2012-11-30 Roland McGrath <roland@hack.frob.com>
37335 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37336 second, differently-typed declaration, rather than a cast.
37338 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37340 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37341 * include/rpc/svc.h: ... here.
37343 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37346 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37347 depending n and resplen2 to catch cases where answer
37350 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37352 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37353 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37355 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37357 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37359 2012-11-29 Roland McGrath <roland@hack.frob.com>
37361 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37363 2012-11-28 Jeff Law <law@redhat.com>
37366 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37367 dataset_temporary. Track alloca usage into alloca_used.
37368 If dataset is large allocate and release it via malloc/free.
37370 2012-06-04 Florian Weimer <fweimer@redhat.com>
37373 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37375 2012-11-28 David S. Miller <davem@davemloft.net>
37377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37379 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37382 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37383 of pi/2 rounded to nearest to 64 bits.
37384 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37385 nearest to 64 bits.
37386 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37389 2012-11-28 Jeff Law <law@redhat.com>
37390 Martin Osvald <mosvald@redhat.com>
37393 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37394 * sunrpc/svc.c: Include time.h.
37395 (__svc_accept_failed): New function.
37396 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37397 any reason other than EINTR, call __svc_accept_failed.
37398 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37399 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37401 2012-11-28 Andreas Schwab <schwab@suse.de>
37403 * scripts/abilist.awk: Also handle indirect functions in .opd
37406 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37409 * sysdeps/x86/fpu/powl_helper.c: New file.
37410 * sysdeps/x86/fpu/Makefile: Likewise.
37411 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37413 (__ieee754_powl): Use __powl_helper for finite arguments except
37414 integer exponents below 8.
37415 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37417 (__ieee754_powl): Use __powl_helper for finite arguments except
37418 integer exponents below 8.
37419 * math/libm-test.inc (pow_test): Add more tests and enable some
37420 previously disabled tests.
37421 * sysdeps/i386/fpu/libm-test-ulps: Update.
37422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37424 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37425 Carlos O'Donell <carlos_odonell@mentor.com>
37427 * nss/makedb.c (is_prime): Assert that input is odd and greater
37428 than 4. Note that fact in a comment too.
37429 (next_prime): Add 4 to input.
37431 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37434 * libio/Makefile (tests): Add test case tst-fwrite-error.
37435 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37436 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37437 * libio/tst-fwrite-error.c: New test case.
37439 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37441 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37442 before casting to void *.
37443 * include/libc-internal.h (__pointer_type): New macro.
37444 (__integer_if_pointer_type_sub): Likewise.
37445 (__integer_if_pointer_type): Likewise.
37446 (cast_to_integer): Likewise.
37447 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37448 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37449 before casting to atomic64_t.
37450 (atomic_exchange_acq): Likewise.
37451 (__arch_exchange_and_add_body): Likewise.
37452 (__arch_add_body): Likewise.
37453 (atomic_add_negative): Likewise.
37454 (atomic_add_zero): Likewise.
37456 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37458 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37459 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37460 (add_fdes): Likewise.
37461 (linear_search_fdes): Likewise.
37462 (binary_search_unencoded_fdes): Likewise.
37464 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37466 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37468 2012-11-24 Adam Conrad <adconrad@0c3.net>
37470 * configure.in: Autodetect C++ header directories.
37471 * configure: Regenerated.
37473 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37475 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37477 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37481 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37483 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37484 LDBL_MANT_DIG == 106]: Disable some tests.
37485 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37487 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37491 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37492 input for small inputs. Return +/- pi/2 for large inputs.
37493 * math/libm-test.inc (atan_test): Add more tests.
37495 * sysdeps/generic/unwind-dw2-fde-glibc.c
37496 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37497 __attribute__ ((unused)).
37500 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37501 x * y if x and y are nonzero and z is zero.
37504 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37505 nonzero exponents with absolute value below 0x1p-117 to +/-
37509 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37510 up arguments below 2**-450, not just those below 2**-500.
37511 * math/libm-test.inc (hypot_test): Add another test.
37514 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37515 Return a+b for ratio over 2**120, not 2**60.
37516 * math/libm-test.inc (hypot_test): Add another test.
37518 * math/libm-test.inc (clog_test): Use
37519 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37520 (clog10_test): Likewise.
37523 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37525 2012-11-22 Andreas Schwab <schwab@suse.de>
37527 * sysdeps/i386/fpu/libm-test-ulps: Update.
37529 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37531 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37532 printf output with newline.
37534 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37537 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37538 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37539 -z nodlopen, -z initfirst and -z execstack support.
37540 * configure: Regenerated.
37542 * elf/elf.h (DF_1_NODIRECT): New macro.
37543 (DF_1_IGNMULDEF): Likewise.
37544 (DF_1_NOKSYMS): Likewise.
37545 (DF_1_NOHDR): Likewise.
37546 (DF_1_EDITED): Likewise.
37547 (DF_1_NORELOC): Likewise.
37548 (DF_1_SYMINTPOSE): Likewise.
37549 (DF_1_GLOBAUDIT): Likewise.
37550 (DF_1_SINGLETON): Likewise.
37551 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37552 DT_1_SUPPORTED_MASK bits.
37553 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37555 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37557 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37559 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37561 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37564 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37565 (sendmmsg): Move declarations...
37566 * socket/sys/socket.h: ... here.
37567 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37568 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37570 * socket/recvmmsg.c: ... this new file.
37571 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37572 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37573 definition of __sendmmsg hidden.
37574 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37575 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37576 Move ENOSYS stub into and include it from...
37577 * socket/sendmmsg.c: ... this new file.
37578 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37579 (sysdep_routines): Move recvmmsg and sendmmsg...
37580 * socket/Makefile (routines): ... here.
37581 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37582 (GLIBC_PRIVATE): Add __sendmmsg.
37583 * include/sys/socket.h (__sendmmsg): Add declarations.
37584 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37587 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37590 variable I1 with __attribute__ ((unused)).
37591 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37593 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37595 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37596 DUMMY variables with __attribute__ ((unused)).
37598 * bits/byteswap.h: Include <bits/types.h>.
37599 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37601 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37603 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37604 string_t. Do not manually set errno.
37605 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37606 length with __strnlen. Make sure to both set errno and return it on
37609 2012-11-19 David S. Miller <davem@davemloft.net>
37611 With help from Joseph Myers.
37612 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37613 very large arguments properly.
37614 * math/libm-test.inc (atan_test): New tests.
37615 (atan2_test): New tests.
37616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37619 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37622 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37625 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37626 [POSIX] (EADDRNOTAVAIL): Likewise.
37627 [POSIX] (EAFNOSUPPORT): Likewise.
37628 [POSIX] (EALREADY): Likewise.
37629 [POSIX] (ECONNABORTED): Likewise.
37630 [POSIX] (ECONNREFUSED): Likewise.
37631 [POSIX] (ECONNRESET): Likewise.
37632 [POSIX] (EDESTADDRREQ): Likewise.
37633 [POSIX] (EDQUOT): Likewise.
37634 [POSIX] (EHOSTUNREACH): Likewise.
37635 [POSIX] (EIDRM): Likewise.
37636 [POSIX] (EISCONN): Likewise.
37637 [POSIX] (ELOOP): Likewise.
37638 [POSIX] (EMULTIHOP): Likewise.
37639 [POSIX] (ENETDOWN): Likewise.
37640 [POSIX] (ENETUNREACH): Likewise.
37641 [POSIX] (ENOBUFS): Likewise.
37642 [POSIX] (ENODATA): Likewise.
37643 [POSIX] (ENOLINK): Likewise.
37644 [POSIX] (ENOMSG): Likewise.
37645 [POSIX] (ENOPROTOOPT): Likewise.
37646 [POSIX] (ENOSR): Likewise.
37647 [POSIX] (ENOSTR): Likewise.
37648 [POSIX] (ENOTCONN): Likewise.
37649 [POSIX] (ENOTSOCK): Likewise.
37650 [POSIX] (EOPNOTSUPP): Likewise.
37651 [POSIX] (EOVERFLOW): Likewise.
37652 [POSIX] (EPROTO): Likewise.
37653 [POSIX] (EPROTONOSUPPORT): Likewise.
37654 [POSIX] (EPROTOTYPE): Likewise.
37655 [POSIX] (ESTALE): Likewise.
37656 [POSIX] (ETIME): Likewise.
37657 [POSIX] (ETXTBSY): Likewise.
37658 [POSIX] (EWOULDBLOCK): Likewise.
37659 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37660 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37661 [POSIX] (SEEK_CUR): Likewise.
37662 [POSIX] (SEEK_END): Likewise.
37663 [POSIX || UNIX98] (mode_t): Do not require.
37664 [POSIX] (off_t): Likewise.
37665 [POSIX] (pid_t): Likewise.
37666 [POSIX] (sys/stat.h): Do not allow header.
37667 [POSIX] (unistd.h): Likewise.
37668 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37669 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37670 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37671 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37673 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37674 sigevent): Specify elements.
37675 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37677 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37678 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37680 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37681 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37682 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37683 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37684 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37685 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37686 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37687 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37688 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37689 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37690 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37691 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37692 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37693 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37695 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37697 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37699 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37701 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37702 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37703 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37704 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37705 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37706 Specify lower bound on value.
37707 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37708 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37709 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37710 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37711 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37712 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37713 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37714 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37716 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37718 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37719 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37720 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37721 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37722 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37723 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37724 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37725 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37726 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37727 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37728 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37729 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37730 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37731 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37732 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37733 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37735 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37737 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37738 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37739 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37740 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37741 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37742 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37744 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37745 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37746 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37747 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37748 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37749 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37750 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37752 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37753 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37754 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37755 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37756 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37757 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37758 specify as optional.
37759 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37760 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37761 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37762 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37763 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37764 [XPG3] (NL_LANGMAX): Likewise.
37765 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37766 [POSIX || XPG3] (NL_NMAX): Likewise.
37767 [POSIX || XPG3] (NL_SETMAX): Likewise.
37768 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37769 [XPG3] (NZERO): Likewise.
37770 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37771 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37772 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37773 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37774 (REG_ERANGE): Expect.
37775 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37777 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37778 Use (void) in prototype.
37779 [POSIX] (*_t): Allow.
37780 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37781 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37782 (WRDE_BADVAL): Expect.
37784 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37786 [XPG3 || XPG4] (O_RSYNC): Likewise.
37787 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37789 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37790 [XPG3 || XPG4] (sigqueue): Likewise.
37791 [XPG3 || XPG4] (sigtimedwait): Likewise.
37792 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37793 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37794 [XPG3 || XPG4] (vsnprintf): Likewise.
37795 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37797 [XPG3 || XPG4] (blksize_t): Likewise.
37798 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37800 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37801 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37802 [XPG3 || XPG4] (struct itimerspec): Likewise.
37803 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37804 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37805 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37806 [XPG3 || XPG4] (clockid_t): Likewise.
37807 [XPG3 || XPG4] (timer_t): Likewise.
37808 [XPG3 || XPG4] (clock_getres): Likewise.
37809 [XPG3 || XPG4] (clock_gettime): Likewise.
37810 [XPG3 || XPG4] (clock_settime): Likewise.
37811 [XPG3 || XPG4] (nanosleep): Likewise.
37812 [XPG3 || XPG4] (timer_create): Likewise.
37813 [XPG3 || XPG4] (timer_delete): Likewise.
37814 [XPG3 || XPG4] (timer_gettime): Likewise.
37815 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37816 [XPG3 || XPG4] (timer_settime): Likewise.
37817 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37818 [XPG3 || XPG4] (getlogin_r): Likewise.
37819 [XPG3 || XPG4] (pread): Likewise.
37820 [XPG3 || XPG4] (pthread_atfork): Likewise.
37821 [XPG3 || XPG4] (pwrite): Likewise.
37824 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37827 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37829 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37830 finalizing MALLSTREAM.
37832 * sysdeps/mach/hurd/syncfs.c: New file.
37834 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37837 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37838 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37839 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37840 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37841 (_nss_dns_gethostbyname4_r): Likewise.
37842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37843 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37845 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37848 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37850 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37852 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37853 * elf/cache.c (print_entry): Print ",AArch64" for
37856 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37857 * elf/cache.c (print_entry): Print ",hard-float" for
37860 2012-11-18 David S. Miller <davem@davemloft.net>
37862 With help from Joseph Myers.
37863 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37865 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37867 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37868 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37870 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37871 * math/libm-test.inc (y0_test): New tests.
37872 (y1_test): New tests.
37873 * sysdeps/i386/fpu/libm-test-ulps: Update.
37874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37877 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37879 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37881 * configure: Regenerated.
37883 2012-11-17 David S. Miller <davem@davemloft.net>
37886 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37887 nonzero exponents with absolute value below 0x1p-128 to +/-
37890 2012-11-17 Joseph Myers <joseph@codesourcery.com>
37892 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37894 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37896 * posix/getconf-speclist.c: New file.
37897 * posix/posix-envs.def: Likewise.
37898 * posix/confstr.c (START_ENV_GROUP): New macro.
37899 (END_ENV_GROUP): Likewise.
37900 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37901 (KNOWN_PRESENT_ENV_STRING): Likewise.
37902 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37903 (UNKNOWN_ENVIRONMENT): Likewise.
37904 (confstr): Include posix-envs.def instead of handling
37905 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37906 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37907 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37908 (END_ENV_GROUP): Likewise.
37909 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37910 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37911 (UNKNOWN_ENVIRONMENT): Likewise.
37912 (__sysconf): Include posix-envs.def instead of handling associated
37913 cases directly here.
37914 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37915 preprocessing getconf-speclist.c rather than running getconf or
37916 generating empty file.
37918 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37920 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37922 2012-11-16 Andrej Lajovic <natrij@gmail.com>
37925 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37927 2012-11-16 David S. Miller <davem@davemloft.net>
37929 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37930 smaller than LDBL_EPSILON/2.0L, just return xm1.
37932 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37934 * elf/tst-array1.c (init): Set constructor priority to 1000.
37935 (fini): Set destructor priority to 1000.
37936 * elf/tst-array2dep.c: Likewise.
37938 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37941 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37942 (_IO_new_file_xsputn): Also return EOF if none of the input
37943 data was written when overflow failed.
37944 * libio/iopadn.c (_IO_padn): Likewise.
37945 * libio/iowpadn.c (_IO_wpadn): Likewise.
37946 * stdio-common/tst-put-error.c: Add copyright notice.
37947 (do_test): Add case for printing padded string.
37948 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37949 _IO_padn returned error.
37950 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37951 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37954 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37956 * libio/libioP.h: Add comment note that the references to C++
37957 bits are now obsolete.
37959 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37961 * math/libm-test.inc (check_complex): Use asprintf.
37963 2012-11-14 Joseph Myers <joseph@codesourcery.com>
37965 * debug/pcprofiledump.c (print_version): Update copyright year.
37966 * malloc/memusagestat.c (print_version): Likewise.
37968 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37971 * elf/Makefile (tests): Add tst-audit8.
37972 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37973 ($(objpfx)tst-audit8.out): New target.
37974 (tst-audit8-ENV): New variable.
37975 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37976 audit if l_reloc_result is NULL.
37977 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37978 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37979 * elf/tst-audit8.c: New file.
37981 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37983 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37984 * misc/Makefile (CFLAGS-select.c): Define.
37985 * posix/Makefile (CFLAGS-pause.c): Define.
37987 2012-11-13 David S. Miller <davem@davemloft.net>
37989 * crypt/Makefile: Move test targets after toplevel Rules
37990 inclusion. Grab any necessary sysdep routines when linking.
37991 * crypt/md5.c (md5_process_block): Remove define, we will always
37992 name it __md5_process_block.
37993 (md5_finish_ctx): Update md5_process_block call.
37994 (md5_stream): Likewise.
37995 (md5_process_bytes): Likewise.
37996 (md5_process_block): Rename to __md5_process_block and move to ...
37997 * crypt/md5-block.c: ... here.
37998 * crypt/sha256.c (sha256_process_block): Move to ...
37999 * crypt/sha256-block.c: ... here.
38000 * crypt/sha512.c (sha512_process_block): Move to ...
38001 * crypt/sha512-block.c: ... here.
38002 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38004 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38005 * sysdeps/sparc/sparc64/multiarch/Makefile
38006 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38008 (localedef-aux): Add md5 crypto assembler when in locale subdir.
38009 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38011 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38012 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38013 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38014 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38015 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38016 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38017 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38018 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38019 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38021 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38022 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38024 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38026 2012-11-13 Joseph Myers <joseph@codesourcery.com>
38028 * timezone/tzselect.ksh: Update from tzcode git revision
38029 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38030 * timezone/zdump.c: Likewise.
38031 * timezone/zic.c: Likewise.
38032 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38033 in TZVERSION setting, not $(PKGVERSION).
38034 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
38035 REPORT_BUGS_TO settings.
38038 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38041 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38043 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38044 detection to immediately after _FP_ROUND().
38045 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38048 2012-11-11 David S. Miller <davem@davemloft.net>
38050 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38052 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38053 __close rather than their public counterparts.
38055 2012-11-10 Joseph Myers <joseph@codesourcery.com>
38057 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38059 [UNIX98] (sem_timedwait): Do not expect.
38060 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38061 [XPG4 || UNIX98] (sockatmark): Do not expect.
38062 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38063 (clock_getcpuclockid): Do not expect.
38064 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38065 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38067 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38068 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38069 [UNIX98] (vwscanf): Likewise.
38070 [UNIX98] (vswscanf): Likewise.
38072 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38074 * timezone/version.h: Remove file.
38075 * timezone/README: Do not refer to version.h.
38076 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38077 $(objpfx)version.h.
38078 ($(objpfx)zdump.o): Likewise.
38079 ($(objpfx)version.h): New target.
38081 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38083 * timezone/README: Don't mention modification to tzselect.ksh.
38084 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38085 work on unmodified tzselect.ksh. Substitute version numbers in
38088 * Makefile (format-me): Remove.
38089 (INSTALL): Adjust indentation. Use commands directly instead of
38090 using $(format-me).
38092 * aclocal.m4 (ACX_PKGVERSION): New macro.
38093 (ACX_BUGURL): Likewise.
38094 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38095 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38096 (REPORT_BUGS_TO): Likewise.
38097 * configure: Regenerated.
38098 * config.h.in (PKGVERSION): New macro.
38099 (REPORT_BUGS_TO): Likewise.
38100 * config.make.in (PKGVERSION): New variable.
38101 (PKGVERSION_TEXI): Likewise.
38102 (REPORT_BUGS_TO): Likewise.
38103 (REPORT_BUGS_TEXI): Likewise.
38104 * Makefile (format-me): Use -I$(common-objpfx)manual.
38105 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38106 ($(common-objpfx)manual/%): New target.
38107 (manual/%): Remove target.
38108 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38109 (print_version): Use PKGVERSION.
38110 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38111 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38112 and REPORT_BUGS_TO.
38113 ($(objpfx)xtrace): Likewise.
38114 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38115 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38116 (print_version): Use PKGVERSION.
38117 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38118 (do_version): Use PKGVERSION.
38119 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38121 (common-ldd-rewrite): Likewise.
38122 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38123 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38124 (print_version): Use PKGVERSION.
38125 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38126 * elf/pldd.c (argp_program_bug_address): Remove variable.
38127 (more_help): New function.
38128 (argp): Use more_help.
38129 (print_version): Use PKGVERSION.
38130 * elf/sln.c (main): Use PKGVERSION.
38131 (usage): Use REPORT_BUGS_TO.
38132 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38133 (top level): Use PKGVERSION.
38134 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38135 (print_version): Use PKGVERSION.
38136 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38137 (print_version): Use PKGVERSION.
38138 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38139 (print_version): Use PKGVERSION.
38140 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38141 (print_version): Use PKGVERSION.
38142 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38143 (print_version): Use PKGVERSION.
38144 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38145 (print_version): Use PKGVERSION.
38146 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38148 ($(objpfx)memusage): Likewise.
38149 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38150 (do_version): Use PKGVERSION.
38151 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38152 (print_version): Use PKGVERSION.
38153 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38154 ($PKGVERSION): New variable.
38155 ($REPORT_BUGS_TO): Likewise.
38156 (usage): Use $REPORT_BUGS_TO.
38157 (top level): Use $PKGVERSION.
38158 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38159 ($(objpfx)pkgvers.texi): New rule.
38160 ($(objpfx)stamp-pkgvers): Likewise.
38161 * manual/install.texi: Include pkgvers.texi.
38162 (--with-pkgversion): Document new configure option.
38163 (--with-bugurl): Likewise.
38164 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38165 than necessarily for this particular distribution. Use
38166 REPORT_BUGS_TO for where to report bugs.
38167 * INSTALL: Regenerated.
38168 * manual/libc.texinfo: Include pkgvers.texi.
38169 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38170 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38171 (print_version): Use PKGVERSION.
38172 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38173 (print_version): Use PKGVERSION.
38174 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38175 (print_version): Use PKGVERSION.
38176 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38177 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38179 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38180 (print_version): Use PKGVERSION.
38181 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38182 (print_version): Use PKGVERSION.
38183 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38186 * timezone/checktab.awk: Update from tzcode 2012i.
38187 * timezone/ialloc.c: Likewise.
38188 * timezone/private.h: Likewise.
38189 * timezone/scheck.c: Likewise.
38190 * timezone/tzfile.h: Likewise.
38191 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38192 (TZVERSION): Hardcode tzcode version number.
38193 * timezone/zdump.c: Update from tzcode 2012i.
38194 * timezone/zic.c: Likewise.
38195 * timezone/version.h: New file.
38196 * timezone/README: Describe version.h. Update upstream location.
38199 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38200 (mktemp): Enable declaration.
38201 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38203 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38210 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38218 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38219 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38220 for copies of such integer values.
38221 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38222 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38224 2012-11-09 Andreas Jaeger <aj@suse.de>
38226 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38227 definitions and declarations that are provided by
38228 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38230 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38232 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38233 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38234 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38237 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38239 * elf/elf.h: Update comment before AArch64 relocations.
38241 2012-11-07 David S. Miller <davem@davemloft.net>
38243 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38244 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38245 (__start_context): Declare.
38246 (__makecontext_ret): Delete.
38247 (__makecontext): Hook up __start_context instead of
38249 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38250 (sysdep_routines): Add __start_context when in stdlib.
38252 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38254 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38255 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38256 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38258 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38259 (READELF): New variable. Use it instead of hardcoded "readelf".
38261 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38263 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38264 * sysdeps/x86/Makefile: Here.
38265 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38266 * sysdeps/x86/tst-xmmymm.sh: This.
38268 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38270 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38272 [UNIX98] (pthread_barrier_t): Do not expect.
38273 [UNIX98] (pthread_barrierattr_t): Likewise.
38274 [UNIX98] (pthread_spinlock_t): Likewise.
38275 [UNIX98] (pthread_barrier_destroy): Likewise.
38276 [UNIX98] (pthread_barrier_init): Likewise.
38277 [UNIX98] (pthread_barrier_wait): Likewise.
38278 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38279 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38280 [UNIX98] (pthread_barrierattr_init): Likewise.
38281 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38282 [UNIX98] (pthread_getcpuclockid): Likewise.
38283 [UNIX98] (pthread_mutex_timedlock): Likewise.
38284 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38285 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38286 [UNIX98] (pthread_sigmask): Likewise.
38287 [UNIX98] (pthread_spin_destroy): Likewise.
38288 [UNIX98] (pthread_spin_init): Likewise.
38289 [UNIX98] (pthread_spin_lock): Likewise.
38290 [UNIX98] (pthread_spin_trylock): Likewise.
38291 [UNIX98] (pthread_spin_unlock): Likewise.
38292 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38294 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38295 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38296 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38297 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38298 [XPG3 || XPG4] (pthread_key_t): Likewise.
38299 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38300 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38301 [XPG3 || XPG4] (pthread_once_t): Likewise.
38302 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38303 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38304 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38305 [XPG3 || XPG4] (pthread_t): Likewise.
38307 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38309 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38311 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38312 Change function return type to int.
38314 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38315 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38316 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38317 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38318 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38319 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38320 [!POSIX] (posix_madvise): Likewise.
38321 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38323 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38324 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38325 (mode_t): Likewise.
38326 (posix_mem_offset): Likewise.
38327 (posix_typed_mem_get_info): Likewise.
38328 (posix_typed_mem_open): Likewise.
38330 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38331 Change condition to [XOPEN2K8].
38333 * conform/conformtest.pl: Preprocess allow-header data with -x c
38334 instead of from stdin.
38335 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38336 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38337 [C99-based standards] (cerfc): Likewise.
38338 [C99-based standards] (cexp2): Likewise.
38339 [C99-based standards] (cexpm1): Likewise.
38340 [C99-based standards] (clog10): Likewise.
38341 [C99-based standards] (clog1p): Likewise.
38342 [C99-based standards] (clog2): Likewise.
38343 [C99-based standards] (clgamma): Likewise.
38344 [C99-based standards] (ctgamma): Likewise.
38345 [C99-based standards] (cerff): Likewise.
38346 [C99-based standards] (cerfcf): Likewise.
38347 [C99-based standards] (cexp2f): Likewise.
38348 [C99-based standards] (cexpm1f): Likewise.
38349 [C99-based standards] (clog10f): Likewise.
38350 [C99-based standards] (clog1pf): Likewise.
38351 [C99-based standards] (clog2f): Likewise.
38352 [C99-based standards] (clgammaf): Likewise.
38353 [C99-based standards] (ctgammaf): Likewise.
38354 [C99-based standards] (cerfl): Likewise.
38355 [C99-based standards] (cerfcl): Likewise.
38356 [C99-based standards] (cexp2l): Likewise.
38357 [C99-based standards] (cexpm1l): Likewise.
38358 [C99-based standards] (clog10l): Likewise.
38359 [C99-based standards] (clog1pl): Likewise.
38360 [C99-based standards] (clog2l): Likewise.
38361 [C99-based standards] (clgammal): Likewise.
38362 [C99-based standards] (ctgammal): Likewise.
38363 * conform/data/inttypes.h-data [C99-based standards]: Include
38364 stdint.h-data. Remove all expectations for stdint.h contents.
38365 [C99-based standards] (PRI*): Do not allow.
38366 [C99-based standards] (SCN*): Likewise.
38367 [C99-based standards] (*_t): Likewise.
38368 [C99-based-standards] (PRId8): Expect macro.
38369 [C99-based-standards] (PRIi8): Likewise.
38370 [C99-based-standards] (PRIo8): Likewise.
38371 [C99-based-standards] (PRIu8): Likewise.
38372 [C99-based-standards] (PRIx8): Likewise.
38373 [C99-based-standards] (PRIX8): Likewise.
38374 [C99-based-standards] (SCNd8): Likewise.
38375 [C99-based-standards] (SCNi8): Likewise.
38376 [C99-based-standards] (SCNo8): Likewise.
38377 [C99-based-standards] (SCNu8): Likewise.
38378 [C99-based-standards] (SCNx8): Likewise.
38379 [C99-based-standards] (PRIdLEAST8): Likewise.
38380 [C99-based-standards] (PRIiLEAST8): Likewise.
38381 [C99-based-standards] (PRIoLEAST8): Likewise.
38382 [C99-based-standards] (PRIuLEAST8): Likewise.
38383 [C99-based-standards] (PRIxLEAST8): Likewise.
38384 [C99-based-standards] (PRIXLEAST8): Likewise.
38385 [C99-based-standards] (SCNdLEAST8): Likewise.
38386 [C99-based-standards] (SCNiLEAST8): Likewise.
38387 [C99-based-standards] (SCNoLEAST8): Likewise.
38388 [C99-based-standards] (SCNuLEAST8): Likewise.
38389 [C99-based-standards] (SCNxLEAST8): Likewise.
38390 [C99-based-standards] (PRIdFAST8): Likewise.
38391 [C99-based-standards] (PRIiFAST8): Likewise.
38392 [C99-based-standards] (PRIoFAST8): Likewise.
38393 [C99-based-standards] (PRIuFAST8): Likewise.
38394 [C99-based-standards] (PRIxFAST8): Likewise.
38395 [C99-based-standards] (PRIXFAST8): Likewise.
38396 [C99-based-standards] (SCNdFAST8): Likewise.
38397 [C99-based-standards] (SCNiFAST8): Likewise.
38398 [C99-based-standards] (SCNoFAST8): Likewise.
38399 [C99-based-standards] (SCNuFAST8): Likewise.
38400 [C99-based-standards] (SCNxFAST8): Likewise.
38401 [C99-based-standards] (PRId16): Likewise.
38402 [C99-based-standards] (PRIi16): Likewise.
38403 [C99-based-standards] (PRIo16): Likewise.
38404 [C99-based-standards] (PRIu16): Likewise.
38405 [C99-based-standards] (PRIx16): Likewise.
38406 [C99-based-standards] (PRIX16): Likewise.
38407 [C99-based-standards] (SCNd16): Likewise.
38408 [C99-based-standards] (SCNi16): Likewise.
38409 [C99-based-standards] (SCNo16): Likewise.
38410 [C99-based-standards] (SCNu16): Likewise.
38411 [C99-based-standards] (SCNx16): Likewise.
38412 [C99-based-standards] (PRIdLEAST16): Likewise.
38413 [C99-based-standards] (PRIiLEAST16): Likewise.
38414 [C99-based-standards] (PRIoLEAST16): Likewise.
38415 [C99-based-standards] (PRIuLEAST16): Likewise.
38416 [C99-based-standards] (PRIxLEAST16): Likewise.
38417 [C99-based-standards] (PRIXLEAST16): Likewise.
38418 [C99-based-standards] (SCNdLEAST16): Likewise.
38419 [C99-based-standards] (SCNiLEAST16): Likewise.
38420 [C99-based-standards] (SCNoLEAST16): Likewise.
38421 [C99-based-standards] (SCNuLEAST16): Likewise.
38422 [C99-based-standards] (SCNxLEAST16): Likewise.
38423 [C99-based-standards] (PRIdFAST16): Likewise.
38424 [C99-based-standards] (PRIiFAST16): Likewise.
38425 [C99-based-standards] (PRIoFAST16): Likewise.
38426 [C99-based-standards] (PRIuFAST16): Likewise.
38427 [C99-based-standards] (PRIxFAST16): Likewise.
38428 [C99-based-standards] (PRIXFAST16): Likewise.
38429 [C99-based-standards] (SCNdFAST16): Likewise.
38430 [C99-based-standards] (SCNiFAST16): Likewise.
38431 [C99-based-standards] (SCNoFAST16): Likewise.
38432 [C99-based-standards] (SCNuFAST16): Likewise.
38433 [C99-based-standards] (SCNxFAST16): Likewise.
38434 [C99-based-standards] (PRId32): Likewise.
38435 [C99-based-standards] (PRIi32): Likewise.
38436 [C99-based-standards] (PRIo32): Likewise.
38437 [C99-based-standards] (PRIu32): Likewise.
38438 [C99-based-standards] (PRIx32): Likewise.
38439 [C99-based-standards] (PRIX32): Likewise.
38440 [C99-based-standards] (SCNd32): Likewise.
38441 [C99-based-standards] (SCNi32): Likewise.
38442 [C99-based-standards] (SCNo32): Likewise.
38443 [C99-based-standards] (SCNu32): Likewise.
38444 [C99-based-standards] (SCNx32): Likewise.
38445 [C99-based-standards] (PRIdLEAST32): Likewise.
38446 [C99-based-standards] (PRIiLEAST32): Likewise.
38447 [C99-based-standards] (PRIoLEAST32): Likewise.
38448 [C99-based-standards] (PRIuLEAST32): Likewise.
38449 [C99-based-standards] (PRIxLEAST32): Likewise.
38450 [C99-based-standards] (PRIXLEAST32): Likewise.
38451 [C99-based-standards] (SCNdLEAST32): Likewise.
38452 [C99-based-standards] (SCNiLEAST32): Likewise.
38453 [C99-based-standards] (SCNoLEAST32): Likewise.
38454 [C99-based-standards] (SCNuLEAST32): Likewise.
38455 [C99-based-standards] (SCNxLEAST32): Likewise.
38456 [C99-based-standards] (PRIdFAST32): Likewise.
38457 [C99-based-standards] (PRIiFAST32): Likewise.
38458 [C99-based-standards] (PRIoFAST32): Likewise.
38459 [C99-based-standards] (PRIuFAST32): Likewise.
38460 [C99-based-standards] (PRIxFAST32): Likewise.
38461 [C99-based-standards] (PRIXFAST32): Likewise.
38462 [C99-based-standards] (SCNdFAST32): Likewise.
38463 [C99-based-standards] (SCNiFAST32): Likewise.
38464 [C99-based-standards] (SCNoFAST32): Likewise.
38465 [C99-based-standards] (SCNuFAST32): Likewise.
38466 [C99-based-standards] (SCNxFAST32): Likewise.
38467 [C99-based-standards] (PRId64): Likewise.
38468 [C99-based-standards] (PRIi64): Likewise.
38469 [C99-based-standards] (PRIo64): Likewise.
38470 [C99-based-standards] (PRIu64): Likewise.
38471 [C99-based-standards] (PRIx64): Likewise.
38472 [C99-based-standards] (PRIX64): Likewise.
38473 [C99-based-standards] (SCNd64): Likewise.
38474 [C99-based-standards] (SCNi64): Likewise.
38475 [C99-based-standards] (SCNo64): Likewise.
38476 [C99-based-standards] (SCNu64): Likewise.
38477 [C99-based-standards] (SCNx64): Likewise.
38478 [C99-based-standards] (PRIdLEAST64): Likewise.
38479 [C99-based-standards] (PRIiLEAST64): Likewise.
38480 [C99-based-standards] (PRIoLEAST64): Likewise.
38481 [C99-based-standards] (PRIuLEAST64): Likewise.
38482 [C99-based-standards] (PRIxLEAST64): Likewise.
38483 [C99-based-standards] (PRIXLEAST64): Likewise.
38484 [C99-based-standards] (SCNdLEAST64): Likewise.
38485 [C99-based-standards] (SCNiLEAST64): Likewise.
38486 [C99-based-standards] (SCNoLEAST64): Likewise.
38487 [C99-based-standards] (SCNuLEAST64): Likewise.
38488 [C99-based-standards] (SCNxLEAST64): Likewise.
38489 [C99-based-standards] (PRIdFAST64): Likewise.
38490 [C99-based-standards] (PRIiFAST64): Likewise.
38491 [C99-based-standards] (PRIoFAST64): Likewise.
38492 [C99-based-standards] (PRIuFAST64): Likewise.
38493 [C99-based-standards] (PRIxFAST64): Likewise.
38494 [C99-based-standards] (PRIXFAST64): Likewise.
38495 [C99-based-standards] (SCNdFAST64): Likewise.
38496 [C99-based-standards] (SCNiFAST64): Likewise.
38497 [C99-based-standards] (SCNoFAST64): Likewise.
38498 [C99-based-standards] (SCNuFAST64): Likewise.
38499 [C99-based-standards] (SCNxFAST64): Likewise.
38500 [C99-based-standards] (PRIdMAX): Likewise.
38501 [C99-based-standards] (PRIiMAX): Likewise.
38502 [C99-based-standards] (PRIoMAX): Likewise.
38503 [C99-based-standards] (PRIuMAX): Likewise.
38504 [C99-based-standards] (PRIxMAX): Likewise.
38505 [C99-based-standards] (PRIXMAX): Likewise.
38506 [C99-based-standards] (SCNdMAX): Likewise.
38507 [C99-based-standards] (SCNiMAX): Likewise.
38508 [C99-based-standards] (SCNoMAX): Likewise.
38509 [C99-based-standards] (SCNuMAX): Likewise.
38510 [C99-based-standards] (SCNxMAX): Likewise.
38511 [C99-based-standards] (PRIdPTR): Likewise.
38512 [C99-based-standards] (PRIiPTR): Likewise.
38513 [C99-based-standards] (PRIoPTR): Likewise.
38514 [C99-based-standards] (PRIuPTR): Likewise.
38515 [C99-based-standards] (PRIxPTR): Likewise.
38516 [C99-based-standards] (PRIXPTR): Likewise.
38517 [C99-based-standards] (SCNdPTR): Likewise.
38518 [C99-based-standards] (SCNiPTR): Likewise.
38519 [C99-based-standards] (SCNoPTR): Likewise.
38520 [C99-based-standards] (SCNuPTR): Likewise.
38521 [C99-based-standards] (SCNxPTR): Likewise.
38522 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38524 * conform/data/stdint.h-data: Update comments to clarify
38526 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38528 [C99-based standards] (INT8_MAX): Likewise.
38529 [C99-based standards] (INT16_MIN): Likewise.
38530 [C99-based standards] (INT16_MAX): Likewise.
38531 [C99-based standards] (INT32_MIN): Likewise.
38532 [C99-based standards] (INT32_MAX): Likewise.
38533 [C99-based standards] (INT64_MIN): Likewise.
38534 [C99-based standards] (INT64_MAX): Likewise.
38535 [C99-based standards] (UINT8_MAX): Likewise.
38536 [C99-based standards] (UINT16_MAX): Likewise.
38537 [C99-based standards] (UINT32_MAX): Likewise.
38538 [C99-based standards] (UINT64_MAX): Likewise.
38539 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38540 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38541 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38542 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38543 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38544 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38545 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38546 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38547 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38548 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38549 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38550 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38551 [C99-based standards] (INT_FAST8_MIN): Likewise.
38552 [C99-based standards] (INT_FAST8_MAX): Likewise.
38553 [C99-based standards] (INT_FAST16_MIN): Likewise.
38554 [C99-based standards] (INT_FAST16_MAX): Likewise.
38555 [C99-based standards] (INT_FAST32_MIN): Likewise.
38556 [C99-based standards] (INT_FAST32_MAX): Likewise.
38557 [C99-based standards] (INT_FAST64_MIN): Likewise.
38558 [C99-based standards] (INT_FAST64_MAX): Likewise.
38559 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38560 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38561 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38562 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38563 [C99-based standards] (INTPTR_MIN): Likewise.
38564 [C99-based standards] (INTPTR_MAX): Likewise.
38565 [C99-based standards] (UINTPTR_MAX): Likewise.
38566 [C99-based standards] (INTMAX_MIN): Likewise.
38567 [C99-based standards] (INTMAX_MAX): Likewise.
38568 [C99-based standards] (UINTMAX_MAX): Likewise.
38569 [C99-based standards] (PTRDIFF_MIN): Likewise.
38570 [C99-based standards] (PTRDIFF_MAX): Likewise.
38571 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38572 [C99-based standards] (SIZE_MAX): Likewise.
38573 [C99-based standards] (WCHAR_MAX): Likewise.
38574 [C99-based standards] (WINT_MAX): Likewise.
38575 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38576 constraint on value.
38577 [C99-based standards] (WCHAR_MIN): Likewise.
38578 [C99-based standards] (WINT_MIN): Likewise.
38579 [C99-based standards] (*_t): Allow.
38580 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38581 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38582 Include math.h-data and complex.h-data. Remove all expectations
38583 of math.h and complex.h contents.
38584 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38586 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38587 (struct tm): Expect tag.
38588 [C99-based-standards] (wcstof): Expect function.
38589 [C99-based-standards] (wcstold): Likewise.
38590 [C99-based-standards] (wcstoll): Likewise.
38591 [C99-based-standards] (wcstoull): Likewise.
38592 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38593 macro-int-constant. Specify type.
38594 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38595 constraint on value.
38596 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38598 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38600 [ISO C standards]: Do not allow headers.
38601 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38602 wcs[abcdefghijklmnopqrstuvwxyz]*.
38603 [ISO C standards] (*_t): Do not allow.
38604 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38606 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38607 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38609 [ISO C standards]: Do not allow headers.
38610 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38611 is[abcdefghijklmnopqrstuvwxyz]*.
38612 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38613 to[abcdefghijklmnopqrstuvwxyz]*.
38614 [ISO C standards] (*_t): Do not allow.
38615 * conform/data/stdalign.h-data: New file.
38616 * conform/data/stdbool.h-data: Likewise.
38617 * conform/data/stdnoreturn.h-data: Likewise.
38619 2012-11-07 Roland McGrath <roland@hack.frob.com>
38622 * manual/filesys.texi (Directory Entries): Typo fix.
38623 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38625 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38627 * elf/elf.h (EM_AARCH64): New macro.
38628 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38629 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38630 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38631 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38632 (R_AARCH64_TLSDESC): Likewise.
38633 (NT_ARM_TLS): Likewise.
38634 (NT_ARM_HW_BREAK): Likewise.
38635 (NT_ARM_HW_WATCH): Likewise.
38637 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38640 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38641 (__ieee754_powl): Saturate nonzero exponents with absolute value
38642 below 0x1p-79 to +/- 0x1p-79.
38643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38644 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38645 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38646 nonzero exponents with absolute value below 0x1p-32 to +/-
38648 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38649 (__ieee754_powl): Saturate nonzero exponents with absolute value
38650 below 0x1p-79 to +/- 0x1p-79.
38651 * math/libm-test.inc (pow_test): Add more tests.
38653 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38655 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38656 _dl_s390_cap_flags with kernel. Increase string length.
38657 (_dl_s390_platforms): Add z196 and zEC12.
38659 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38661 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38662 Change XOPEN21K to XOPEN2K.
38664 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38666 * string/memmove.c: Use memcpy when possible.
38668 2012-11-06 Andreas Jaeger <aj@suse.de>
38670 * po/eo.po: Update from translation team.
38672 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38676 exponent and small x and y exponents, scale x or y up. Increase
38677 by 2 the exponent used in scaling up.
38678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38680 * math/libm-test.inc (fma_test): Add more tests.
38681 (fma_test_towardzero): Likewise.
38682 (fma_test_downward): Likewise.
38683 (fma_test_upward): Likewise.
38685 2012-11-05 Joseph Myers <joseph@codesourcery.com>
38688 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38692 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38693 namespace for names of struct fields.
38694 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38696 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38697 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38699 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38702 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38704 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38706 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38710 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38713 2012-11-04 Joseph Myers <joseph@codesourcery.com>
38716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38717 definitely overflow as x * y not x * y + z.
38718 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38719 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38720 * math/libm-test.inc (fma_test): Add more tests.
38721 (fma_test_towardzero): Likewise.
38722 (fma_test_downward): Likewise.
38723 (fma_test_upward): Likewise.
38725 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38729 * include/stub-tag.h: Remove file.
38730 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38732 * manual/maint.texi (Porting): Don't reference it.
38733 * Makerules ($(objpfx)stubs): Likewise.
38734 * dirent/closedir.c: Don't include <stub-tag.h>.
38735 * dirent/dirfd.c: Likewise.
38736 * dirent/fdopendir.c: Likewise.
38737 * dirent/getdents.c: Likewise.
38738 * dirent/getdents64.c: Likewise.
38739 * dirent/opendir.c: Likewise.
38740 * dirent/readdir.c: Likewise.
38741 * dirent/readdir64.c: Likewise.
38742 * dirent/readdir64_r.c: Likewise.
38743 * dirent/readdir_r.c: Likewise.
38744 * dirent/rewinddir.c: Likewise.
38745 * dirent/seekdir.c: Likewise.
38746 * dirent/telldir.c: Likewise.
38747 * gmon/profil.c: Likewise.
38748 * grp/setgroups.c: Likewise.
38749 * inet/if_index.c: Likewise.
38750 * io/access.c: Likewise.
38751 * io/chdir.c: Likewise.
38752 * io/chmod.c: Likewise.
38753 * io/chown.c: Likewise.
38754 * io/close.c: Likewise.
38755 * io/dup.c: Likewise.
38756 * io/dup2.c: Likewise.
38757 * io/dup3.c: Likewise.
38758 * io/euidaccess.c: Likewise.
38759 * io/faccessat.c: Likewise.
38760 * io/fchdir.c: Likewise.
38761 * io/fchmod.c: Likewise.
38762 * io/fchmodat.c: Likewise.
38763 * io/fchown.c: Likewise.
38764 * io/fchownat.c: Likewise.
38765 * io/fcntl.c: Likewise.
38766 * io/flock.c: Likewise.
38767 * io/fstatfs.c: Likewise.
38768 * io/fstatfs64.c: Likewise.
38769 * io/fstatvfs.c: Likewise.
38770 * io/fstatvfs64.c: Likewise.
38771 * io/futimens.c: Likewise.
38772 * io/fxstat.c: Likewise.
38773 * io/fxstat64.c: Likewise.
38774 * io/fxstatat.c: Likewise.
38775 * io/fxstatat64.c: Likewise.
38776 * io/getcwd.c: Likewise.
38777 * io/isatty.c: Likewise.
38778 * io/lchmod.c: Likewise.
38779 * io/lchown.c: Likewise.
38780 * io/link.c: Likewise.
38781 * io/linkat.c: Likewise.
38782 * io/lseek.c: Likewise.
38783 * io/lseek64.c: Likewise.
38784 * io/lxstat64.c: Likewise.
38785 * io/mkdir.c: Likewise.
38786 * io/mkdirat.c: Likewise.
38787 * io/mkfifo.c: Likewise.
38788 * io/mkfifoat.c: Likewise.
38789 * io/open.c: Likewise.
38790 * io/open64.c: Likewise.
38791 * io/openat.c: Likewise.
38792 * io/openat64.c: Likewise.
38793 * io/pipe.c: Likewise.
38794 * io/pipe2.c: Likewise.
38795 * io/poll.c: Likewise.
38796 * io/posix_fadvise.c: Likewise.
38797 * io/posix_fadvise64.c: Likewise.
38798 * io/posix_fallocate.c: Likewise.
38799 * io/posix_fallocate64.c: Likewise.
38800 * io/read.c: Likewise.
38801 * io/readlink.c: Likewise.
38802 * io/readlinkat.c: Likewise.
38803 * io/rmdir.c: Likewise.
38804 * io/sendfile.c: Likewise.
38805 * io/sendfile64.c: Likewise.
38806 * io/statfs.c: Likewise.
38807 * io/statfs64.c: Likewise.
38808 * io/statvfs.c: Likewise.
38809 * io/statvfs64.c: Likewise.
38810 * io/symlink.c: Likewise.
38811 * io/symlinkat.c: Likewise.
38812 * io/ttyname.c: Likewise.
38813 * io/ttyname_r.c: Likewise.
38814 * io/umask.c: Likewise.
38815 * io/unlink.c: Likewise.
38816 * io/unlinkat.c: Likewise.
38817 * io/utime.c: Likewise.
38818 * io/utimensat.c: Likewise.
38819 * io/write.c: Likewise.
38820 * io/xmknod.c: Likewise.
38821 * io/xmknodat.c: Likewise.
38822 * io/xstat.c: Likewise.
38823 * io/xstat64.c: Likewise.
38824 * login/getpt.c: Likewise.
38825 * login/grantpt.c: Likewise.
38826 * login/unlockpt.c: Likewise.
38827 * math/e_acoshl.c: Likewise.
38828 * math/e_acosl.c: Likewise.
38829 * math/e_asinl.c: Likewise.
38830 * math/e_atan2l.c: Likewise.
38831 * math/e_atanhl.c: Likewise.
38832 * math/e_coshl.c: Likewise.
38833 * math/e_expl.c: Likewise.
38834 * math/e_fmodl.c: Likewise.
38835 * math/e_gammal_r.c: Likewise.
38836 * math/e_hypotl.c: Likewise.
38837 * math/e_j0l.c: Likewise.
38838 * math/e_j1l.c: Likewise.
38839 * math/e_jnl.c: Likewise.
38840 * math/e_lgammal_r.c: Likewise.
38841 * math/e_log10l.c: Likewise.
38842 * math/e_log2l.c: Likewise.
38843 * math/e_logl.c: Likewise.
38844 * math/e_powl.c: Likewise.
38845 * math/e_rem_pio2l.c: Likewise.
38846 * math/e_sinhl.c: Likewise.
38847 * math/e_sqrtl.c: Likewise.
38848 * math/fclrexcpt.c: Likewise.
38849 * math/fedisblxcpt.c: Likewise.
38850 * math/feenablxcpt.c: Likewise.
38851 * math/fegetenv.c: Likewise.
38852 * math/fegetexcept.c: Likewise.
38853 * math/fegetround.c: Likewise.
38854 * math/feholdexcpt.c: Likewise.
38855 * math/fesetenv.c: Likewise.
38856 * math/fesetround.c: Likewise.
38857 * math/feupdateenv.c: Likewise.
38858 * math/fgetexcptflg.c: Likewise.
38859 * math/fraiseexcpt.c: Likewise.
38860 * math/fsetexcptflg.c: Likewise.
38861 * math/ftestexcept.c: Likewise.
38862 * math/k_cosl.c: Likewise.
38863 * math/k_rem_pio2l.c: Likewise.
38864 * math/k_sinl.c: Likewise.
38865 * math/k_tanl.c: Likewise.
38866 * math/s_asinhl.c: Likewise.
38867 * math/s_atanl.c: Likewise.
38868 * math/s_cbrtl.c: Likewise.
38869 * math/s_erfl.c: Likewise.
38870 * math/s_expm1l.c: Likewise.
38871 * math/s_log1pl.c: Likewise.
38872 * math/s_tanhl.c: Likewise.
38873 * misc/acct.c: Likewise.
38874 * misc/brk.c: Likewise.
38875 * misc/chflags.c: Likewise.
38876 * misc/chroot.c: Likewise.
38877 * misc/fchflags.c: Likewise.
38878 * misc/fgetxattr.c: Likewise.
38879 * misc/flistxattr.c: Likewise.
38880 * misc/fremovexattr.c: Likewise.
38881 * misc/fsetxattr.c: Likewise.
38882 * misc/fsync.c: Likewise.
38883 * misc/ftruncate.c: Likewise.
38884 * misc/futimes.c: Likewise.
38885 * misc/futimesat.c: Likewise.
38886 * misc/getdomain.c: Likewise.
38887 * misc/getdtsz.c: Likewise.
38888 * misc/gethostid.c: Likewise.
38889 * misc/gethostname.c: Likewise.
38890 * misc/getloadavg.c: Likewise.
38891 * misc/getpagesize.c: Likewise.
38892 * misc/getsysstats.c: Likewise.
38893 * misc/getxattr.c: Likewise.
38894 * misc/gtty.c: Likewise.
38895 * misc/ioctl.c: Likewise.
38896 * misc/lgetxattr.c: Likewise.
38897 * misc/listxattr.c: Likewise.
38898 * misc/llistxattr.c: Likewise.
38899 * misc/lremovexattr.c: Likewise.
38900 * misc/lsetxattr.c: Likewise.
38901 * misc/lutimes.c: Likewise.
38902 * misc/madvise.c: Likewise.
38903 * misc/mincore.c: Likewise.
38904 * misc/mlock.c: Likewise.
38905 * misc/mlockall.c: Likewise.
38906 * misc/mmap.c: Likewise.
38907 * misc/mprotect.c: Likewise.
38908 * misc/msync.c: Likewise.
38909 * misc/munlock.c: Likewise.
38910 * misc/munlockall.c: Likewise.
38911 * misc/munmap.c: Likewise.
38912 * misc/preadv.c: Likewise.
38913 * misc/preadv64.c: Likewise.
38914 * misc/ptrace.c: Likewise.
38915 * misc/pwritev.c: Likewise.
38916 * misc/pwritev64.c: Likewise.
38917 * misc/readv.c: Likewise.
38918 * misc/reboot.c: Likewise.
38919 * misc/remap_file_pages.c: Likewise.
38920 * misc/removexattr.c: Likewise.
38921 * misc/revoke.c: Likewise.
38922 * misc/select.c: Likewise.
38923 * misc/setdomain.c: Likewise.
38924 * misc/setegid.c: Likewise.
38925 * misc/seteuid.c: Likewise.
38926 * misc/sethostid.c: Likewise.
38927 * misc/sethostname.c: Likewise.
38928 * misc/setregid.c: Likewise.
38929 * misc/setreuid.c: Likewise.
38930 * misc/setxattr.c: Likewise.
38931 * misc/sstk.c: Likewise.
38932 * misc/stty.c: Likewise.
38933 * misc/swapoff.c: Likewise.
38934 * misc/swapon.c: Likewise.
38935 * misc/sync.c: Likewise.
38936 * misc/syncfs.c: Likewise.
38937 * misc/syscall.c: Likewise.
38938 * misc/truncate.c: Likewise.
38939 * misc/ualarm.c: Likewise.
38940 * misc/usleep.c: Likewise.
38941 * misc/ustat.c: Likewise.
38942 * misc/utimes.c: Likewise.
38943 * misc/vhangup.c: Likewise.
38944 * misc/writev.c: Likewise.
38945 * posix/_exit.c: Likewise.
38946 * posix/alarm.c: Likewise.
38947 * posix/execve.c: Likewise.
38948 * posix/fexecve.c: Likewise.
38949 * posix/fork.c: Likewise.
38950 * posix/fpathconf.c: Likewise.
38951 * posix/getaddrinfo.c: Likewise.
38952 * posix/getegid.c: Likewise.
38953 * posix/geteuid.c: Likewise.
38954 * posix/getgid.c: Likewise.
38955 * posix/getgroups.c: Likewise.
38956 * posix/getlogin.c: Likewise.
38957 * posix/getlogin_r.c: Likewise.
38958 * posix/getpgid.c: Likewise.
38959 * posix/getpid.c: Likewise.
38960 * posix/getppid.c: Likewise.
38961 * posix/getresgid.c: Likewise.
38962 * posix/getresuid.c: Likewise.
38963 * posix/getsid.c: Likewise.
38964 * posix/getuid.c: Likewise.
38965 * posix/glob64.c: Likewise.
38966 * posix/nanosleep.c: Likewise.
38967 * posix/pathconf.c: Likewise.
38968 * posix/pause.c: Likewise.
38969 * posix/posix_madvise.c: Likewise.
38970 * posix/pread.c: Likewise.
38971 * posix/pread64.c: Likewise.
38972 * posix/pwrite.c: Likewise.
38973 * posix/pwrite64.c: Likewise.
38974 * posix/sched_getaffinity.c: Likewise.
38975 * posix/sched_getp.c: Likewise.
38976 * posix/sched_gets.c: Likewise.
38977 * posix/sched_primax.c: Likewise.
38978 * posix/sched_primin.c: Likewise.
38979 * posix/sched_rr_gi.c: Likewise.
38980 * posix/sched_setaffinity.c: Likewise.
38981 * posix/sched_setp.c: Likewise.
38982 * posix/sched_sets.c: Likewise.
38983 * posix/sched_yield.c: Likewise.
38984 * posix/setgid.c: Likewise.
38985 * posix/setlogin.c: Likewise.
38986 * posix/setpgid.c: Likewise.
38987 * posix/setresgid.c: Likewise.
38988 * posix/setresuid.c: Likewise.
38989 * posix/setsid.c: Likewise.
38990 * posix/setuid.c: Likewise.
38991 * posix/sleep.c: Likewise.
38992 * posix/spawni.c: Likewise.
38993 * posix/sysconf.c: Likewise.
38994 * posix/times.c: Likewise.
38995 * posix/wait.c: Likewise.
38996 * posix/wait3.c: Likewise.
38997 * posix/wait4.c: Likewise.
38998 * posix/waitpid.c: Likewise.
38999 * resolv/gai_sigqueue.c: Likewise.
39000 * resource/getpriority.c: Likewise.
39001 * resource/getrlimit.c: Likewise.
39002 * resource/getrusage.c: Likewise.
39003 * resource/nice.c: Likewise.
39004 * resource/setpriority.c: Likewise.
39005 * resource/setrlimit.c: Likewise.
39006 * resource/ulimit.c: Likewise.
39007 * rt/aio_cancel.c: Likewise.
39008 * rt/aio_fsync.c: Likewise.
39009 * rt/aio_read.c: Likewise.
39010 * rt/aio_sigqueue.c: Likewise.
39011 * rt/aio_suspend.c: Likewise.
39012 * rt/aio_write.c: Likewise.
39013 * rt/clock_getres.c: Likewise.
39014 * rt/clock_gettime.c: Likewise.
39015 * rt/clock_nanosleep.c: Likewise.
39016 * rt/clock_settime.c: Likewise.
39017 * rt/lio_listio.c: Likewise.
39018 * rt/mq_close.c: Likewise.
39019 * rt/mq_getattr.c: Likewise.
39020 * rt/mq_notify.c: Likewise.
39021 * rt/mq_open.c: Likewise.
39022 * rt/mq_receive.c: Likewise.
39023 * rt/mq_send.c: Likewise.
39024 * rt/mq_setattr.c: Likewise.
39025 * rt/mq_timedreceive.c: Likewise.
39026 * rt/mq_timedsend.c: Likewise.
39027 * rt/mq_unlink.c: Likewise.
39028 * rt/shm_open.c: Likewise.
39029 * rt/shm_unlink.c: Likewise.
39030 * rt/timer_create.c: Likewise.
39031 * rt/timer_delete.c: Likewise.
39032 * rt/timer_getoverr.c: Likewise.
39033 * rt/timer_gettime.c: Likewise.
39034 * rt/timer_settime.c: Likewise.
39035 * setjmp/__longjmp.c: Likewise.
39036 * setjmp/setjmp.c: Likewise.
39037 * signal/kill.c: Likewise.
39038 * signal/killpg.c: Likewise.
39039 * signal/raise.c: Likewise.
39040 * signal/sigaction.c: Likewise.
39041 * signal/sigaltstack.c: Likewise.
39042 * signal/sigblock.c: Likewise.
39043 * signal/sigignore.c: Likewise.
39044 * signal/sigintr.c: Likewise.
39045 * signal/signal.c: Likewise.
39046 * signal/sigpause.c: Likewise.
39047 * signal/sigpending.c: Likewise.
39048 * signal/sigqueue.c: Likewise.
39049 * signal/sigreturn.c: Likewise.
39050 * signal/sigset.c: Likewise.
39051 * signal/sigsetmask.c: Likewise.
39052 * signal/sigstack.c: Likewise.
39053 * signal/sigsuspend.c: Likewise.
39054 * signal/sigtimedwait.c: Likewise.
39055 * signal/sigvec.c: Likewise.
39056 * signal/sigwait.c: Likewise.
39057 * signal/sigwaitinfo.c: Likewise.
39058 * signal/sysv_signal.c: Likewise.
39059 * socket/accept.c: Likewise.
39060 * socket/accept4.c: Likewise.
39061 * socket/bind.c: Likewise.
39062 * socket/connect.c: Likewise.
39063 * socket/getpeername.c: Likewise.
39064 * socket/getsockname.c: Likewise.
39065 * socket/getsockopt.c: Likewise.
39066 * socket/isfdtype.c: Likewise.
39067 * socket/listen.c: Likewise.
39068 * socket/recv.c: Likewise.
39069 * socket/recvfrom.c: Likewise.
39070 * socket/recvmsg.c: Likewise.
39071 * socket/send.c: Likewise.
39072 * socket/sendmsg.c: Likewise.
39073 * socket/sendto.c: Likewise.
39074 * socket/setsockopt.c: Likewise.
39075 * socket/shutdown.c: Likewise.
39076 * socket/sockatmark.c: Likewise.
39077 * socket/socket.c: Likewise.
39078 * socket/socketpair.c: Likewise.
39079 * stdio-common/ctermid.c: Likewise.
39080 * stdio-common/cuserid.c: Likewise.
39081 * stdio-common/remove.c: Likewise.
39082 * stdio-common/rename.c: Likewise.
39083 * stdio-common/renameat.c: Likewise.
39084 * stdio-common/tempname.c: Likewise.
39085 * stdlib/getcontext.c: Likewise.
39086 * stdlib/makecontext.c: Likewise.
39087 * stdlib/setcontext.c: Likewise.
39088 * stdlib/swapcontext.c: Likewise.
39089 * stdlib/system.c: Likewise.
39090 * streams/fattach.c: Likewise.
39091 * streams/fdetach.c: Likewise.
39092 * streams/getmsg.c: Likewise.
39093 * streams/getpmsg.c: Likewise.
39094 * streams/putmsg.c: Likewise.
39095 * streams/putpmsg.c: Likewise.
39096 * sysdeps/unix/bsd/getpt.c: Likewise.
39097 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39098 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39099 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39102 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39103 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39104 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39105 * sysvipc/msgctl.c: Likewise.
39106 * sysvipc/msgget.c: Likewise.
39107 * sysvipc/msgrcv.c: Likewise.
39108 * sysvipc/msgsnd.c: Likewise.
39109 * sysvipc/semctl.c: Likewise.
39110 * sysvipc/semget.c: Likewise.
39111 * sysvipc/semop.c: Likewise.
39112 * sysvipc/semtimedop.c: Likewise.
39113 * sysvipc/shmat.c: Likewise.
39114 * sysvipc/shmctl.c: Likewise.
39115 * sysvipc/shmdt.c: Likewise.
39116 * sysvipc/shmget.c: Likewise.
39117 * termios/tcdrain.c: Likewise.
39118 * termios/tcflow.c: Likewise.
39119 * termios/tcflush.c: Likewise.
39120 * termios/tcgetattr.c: Likewise.
39121 * termios/tcgetpgrp.c: Likewise.
39122 * termios/tcsendbrk.c: Likewise.
39123 * termios/tcsetattr.c: Likewise.
39124 * termios/tcsetpgrp.c: Likewise.
39125 * time/adjtime.c: Likewise.
39126 * time/clock.c: Likewise.
39127 * time/getitimer.c: Likewise.
39128 * time/gettimeofday.c: Likewise.
39129 * time/setitimer.c: Likewise.
39130 * time/settimeofday.c: Likewise.
39131 * time/stime.c: Likewise.
39132 * time/time.c: Likewise.
39134 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39136 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39139 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39141 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39143 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39147 FE_TONEAREST before applying Dekker multiplication and Knuth
39148 addition. Clear inexact exceptions and check for exact zero
39149 results afterwards.
39150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39151 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39152 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39153 * math/libm-test.inc (fma_test): Add more tests.
39154 (fma_test_towardzero): Likewise.
39155 (fma_test_downward): Likewise.
39156 (fma_test_upward): Likewise.
39157 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39159 (libc_fesetround): New macro.
39160 (libc_fesetroundf): Likewise.
39161 (libc_fesetroundl): Likewise.
39162 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39164 (libc_fesetround_387): Likewise.
39165 (libc_fesetroundf): New macro.
39166 (libc_fesetround): Likewise.
39167 (libc_fesetroundl): Likewise.
39168 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39170 (libc_fesetroundf): New macro.
39171 (libc_fesetround): Likewise.
39172 (libc_fesetroundl): Likewise.
39173 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39174 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39175 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39177 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39178 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39180 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39181 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39183 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39187 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39188 integer constant usable in #if and use that to give value to enum
39190 (FE_DIVBYZERO): Likewise.
39191 (FE_UNDERFLOW): Likewise.
39192 (FE_OVERFLOW): Likewise.
39193 (FE_INVALID): Likewise.
39194 (FE_INVALID_SNAN): Likewise.
39195 (FE_INVALID_ISI): Likewise.
39196 (FE_INVALID_IDI): Likewise.
39197 (FE_INVALID_ZDZ): Likewise.
39198 (FE_INVALID_IMZ): Likewise.
39199 (FE_INVALID_COMPARE): Likewise.
39200 (FE_INVALID_SOFTWARE): Likewise.
39201 (FE_INVALID_SQRT): Likewise.
39202 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39203 (FE_TONEAREST): Likewise.
39204 (FE_TOWARDZERO): Likewise.
39205 (FE_UPWARD): Likewise.
39206 (FE_DOWNWARD): Likewise.
39207 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39208 (FE_DIVBYZERO): Likewise.
39209 (FE_OVERFLOW): Likewise.
39210 (FE_UNDERFLOW): Likewise.
39211 (FE_INEXACT): Likewise.
39212 (FE_TONEAREST): Likewise.
39213 (FE_DOWNWARD): Likewise.
39214 (FE_UPWARD): Likewise.
39215 (FE_TOWARDZERO): Likewise.
39216 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39217 (FE_UNDERFLOW): Likewise.
39218 (FE_OVERFLOW): Likewise.
39219 (FE_DIVBYZERO): Likewise.
39220 (FE_INVALID): Likewise.
39221 (FE_TONEAREST): Likewise.
39222 (FE_TOWARDZERO): Likewise.
39223 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39224 (FE_OVERFLOW): Likewise.
39225 (FE_UNDERFLOW): Likewise.
39226 (FE_DIVBYZERO): Likewise.
39227 (FE_INEXACT): Likewise.
39228 (FE_TONEAREST): Likewise.
39229 (FE_TOWARDZERO): Likewise.
39230 (FE_UPWARD): Likewise.
39231 (FE_DOWNWARD): Likewise.
39232 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39233 (FE_DIVBYZERO): Likewise.
39234 (FE_OVERFLOW): Likewise.
39235 (FE_UNDERFLOW): Likewise.
39236 (FE_INEXACT): Likewise.
39237 (FE_TONEAREST): Likewise.
39238 (FE_DOWNWARD): Likewise.
39239 (FE_UPWARD): Likewise.
39240 (FE_TOWARDZERO): Likewise.
39242 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39244 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39246 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39248 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39249 commands. Quote $PWD.
39250 (blacklist_exports): Don't use remove_newlines. Replace "declare
39252 (remove_newlines): Remove.
39254 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39256 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39257 * stdlib/stdlib.h (atof): Moved to ...
39258 * include/bits/stdlib-float.h: Here. New file.
39259 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39260 * stdlib/bits/stdlib-float.h: New file.
39261 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39263 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39266 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39268 * conform/conformtest.pl (@headers): Add fenv.h.
39269 * conform/data/fenv.h-data: New file.
39270 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39271 include of <math/fenv.h>.
39273 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39274 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39275 && !UNIX98]. Enables tests for XOPEN2K8.
39276 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39277 POSIX2008]: Likewise.
39279 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39280 (struct rusage): Do not expect type or its members.
39283 * math/math.h (FP_NAN): Define macro to integer constant usable in
39284 #if and use that to give value to enum constant.
39285 (FP_INFINITE): Likewise.
39286 (FP_ZERO): Likewise.
39287 (FP_SUBNORMAL): Likewise.
39288 (FP_NORMAL): Likewise.
39290 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39292 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39293 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39296 2012-11-02 Roland McGrath <roland@hack.frob.com>
39298 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39299 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39300 autoconf-time if not.
39301 * configure.in: Remove AC_PREREQ.
39303 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39305 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39306 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39307 of the internal implementation.
39309 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39311 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39312 except include of <misc/sys/syslog.h>.
39314 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39317 function returns with a NULL context exit with zero.
39319 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39321 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39323 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39325 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39326 (run_program_cmd): This.
39327 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39328 (tst_langinfo): New variable. Use it.
39330 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39332 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39333 floating point opcodes.
39335 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39337 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39340 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39342 * sysdeps/mach/hurd/powerpc: Remove directory.
39343 * sysdeps/mach/powerpc: Likewise.
39345 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39347 * scripts/check-local-headers.sh: Ignore c++ headers.
39349 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39351 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39352 __libc_cleanup_region_start argument.
39354 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39359 x * y using scaling, not as x * y + z.
39360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39361 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39362 * math/libm-test.inc (fma_test): Add more tests.
39363 (fma_test_towardzero): Likewise.
39364 (fma_test_downward): Likewise.
39365 (fma_test_upward): Likewise.
39367 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39369 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39371 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39373 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39376 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39378 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39380 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39387 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39390 Fix the order of the list for glibc 2.17.
39391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39394 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39398 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39401 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39402 for low part of x being zero before using __atanl (y).
39403 * math/libm-test.inc (atan2_test): Add another test.
39405 * manual/install.texi (Configuring and compiling): Document
39406 general use of test-wrapper and test-wrapper-env.
39407 * INSTALL: Regenerated.
39409 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39410 (__fma): Do not extract and scale down low bits on after-rounding
39411 systems when result rounded to normal precision would have normal
39413 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39414 (__fmal): Do not extract and scale down low bits on after-rounding
39415 systems when result rounded to normal precision would have normal
39417 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39418 (__fmal): Do not extract and scale down low bits on after-rounding
39419 systems when result rounded to normal precision would have normal
39421 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39423 (fma_test): Add more tests.
39424 (fma_test_towardzero): Likewise.
39425 (fma_test_downward): Likewise.
39426 (fma_test_upward): Likewise.
39428 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39430 * sysdeps/i386/tininess.h: Renamed to ...
39431 * sysdeps/x86/tininess.h: This.
39432 * sysdeps/x86_64/tininess.h: Removed.
39434 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39436 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39437 input. Use $(build-program-cmd).
39438 ($(objpfx)tst-array1-static.out): Likewise.
39439 ($(objpfx)tst-array2.out): Likewise.
39440 ($(objpfx)tst-array3.out): Likewise.
39441 ($(objpfx)tst-array4.out): Likewise.
39442 ($(objpfx)tst-array5.out): Likewise.
39443 ($(objpfx)tst-array5-static.out): Likewise.
39445 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39447 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39450 * nss/nsswitch.h (nss_interface_function): Provide new
39451 macro for use with NSS functions.
39452 * grp/initgroups.c: Use new macro.
39453 * nss/getXXbyYY.c: Likewise.
39454 * nss/getXXbyYY_r.c: Likewise.
39455 * nss/getXXent.c: Likewise.
39456 * nss/getXXent_r.c: Likewise.
39457 * sysdeps/posix/getaddrinfo.c: Likewise.
39459 2012-10-30 Andreas Jaeger <aj@suse.de>
39461 * po/ru.po: Update Russion translation from translation project.
39463 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39468 result and shift together with sticky bit instead of replicating
39469 round-to-nearest rounding.
39470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39471 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39472 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39473 missing underflow exceptions.
39474 (fma_test_towardzero): Add more tests.
39475 (fma_test_downward): Likewise.
39476 (fma_test_upward): Likewise.
39479 * sysdeps/generic/tininess.h: New file.
39480 * sysdeps/i386/tininess.h: Likewise.
39481 * sysdeps/sh/tininess.h: Likewise.
39482 * sysdeps/x86_64/tininess.h: Likewise.
39483 * stdlib/tst-strtod-underflow.c: Likewise.
39484 * stdlib/tst-tininess.c: Likewise.
39485 * stdlib/strtod_l.c: Include <tininess.h>.
39486 (round_and_return): Do not set errno for exact underflow cases.
39487 Force an underflow exception when setting errno for underflow.
39488 Determine underflow based on rounding to normal precision if
39489 TININESS_AFTER_ROUNDING.
39490 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39491 ERANGE for exact underflow cases.
39492 * stdlib/Makefile (tests): Add tst-tininess and
39493 tst-strtod-underflow.
39494 ($(objpfx)tst-tininess): Use $(link-libm).
39495 ($(objpfx)tst-strtod-underflow): Likewise.
39497 2012-10-30 Andreas Jaeger <aj@suse.de>
39500 * elf/Makefile (tests): Remove conditional for have-initfini-array
39501 since this is now always required and the variable does not exist
39503 (tests-static): Likewise.
39504 (modules-names): Likewise.
39506 * po/eo.po: Add Esperanto translation from translation project.
39508 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39509 merged with constructor/destructor.
39510 (init_array): Likewise.
39511 * elf/tst-array2dep.c (fini_array): Likewise.
39512 (init_array): Likewise.
39514 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39516 * manual/message.texi: Delete @cartouche tags.
39518 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39520 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39522 * sysdeps/mach/hurd/fsync.c: Likewise.
39524 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39525 [_POSIX_REALTIME_SIGNALS]: Change condition to
39526 [_POSIX_REALTIME_SIGNALS > 0].
39528 2012-10-27 Andreas Jaeger <aj@suse.de>
39530 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39531 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39532 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39533 [__WORDSIZE != 64]: Likewise.
39535 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39537 * iconvdata/tst-table.sh: Remove ${SHELL}.
39538 * iconvdata/tst-tables.sh: Likewise.
39540 2012-10-25 David S. Miller <davem@davemloft.net>
39542 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39543 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39548 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39549 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39550 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39553 2012-10-25 Roland McGrath <roland@hack.frob.com>
39555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39556 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39559 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39560 Jim Blandy <jimb@codesourcery.com>
39562 * scripts/cross-test-ssh.sh: New file.
39563 * manual/install.texi (Configuring and compiling): Document use of
39565 * INSTALL: Regenerated.
39567 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39569 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39572 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39574 * Makeconfig (run-program-prefix): Fix comment.
39576 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39577 Jim Blandy <jimb@codesourcery.com>
39579 * Makeconfig (test-wrapper): New variable,
39580 (test-wrapper-env): Likewise.
39581 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39582 (run-built-tests): Define to yes.
39583 (run-program-prefix): Use $(test-wrapper).
39584 (built-program-cmd): Likewise.
39585 * Rules (make-test-out): Use $(test-wrapper-env) and
39586 $(host-built-program-cmd).
39587 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39588 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39590 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39591 $(test-wrapper-env) to tst-rtld-load-self.sh.
39592 ($(objpfx)order2.out): Use $(test-wrapper).
39593 ($(objpfx)tst-initorder.out): Likewise.
39594 ($(objpfx)tst-initorder2.out): Likewise.
39595 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39596 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39597 (test_wrapper_env): New variable. Use it to run ld.so.
39598 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39599 Use it to run ld.so.
39600 (test_wrapper_env): Likewise.
39601 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39602 $(test-wrapper) to run-iconv-test.sh.
39603 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39604 (ICONV): Use $test_wrapper.
39605 * posix/Makefile ($(objpfx)globtest.out): Pass
39606 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39607 globtest.sh, not $(run-program-prefix).
39608 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39609 (test_wrapper): Likewise.
39610 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39611 set together with run_via_rtld_prefix.
39612 (run_program_prefix): Define in terms of test_wrapper and
39613 run_via_rtld_prefix.
39615 2012-10-24 Roland McGrath <roland@hack.frob.com>
39617 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39618 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39622 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39623 Declare __clock_getres, __clock_gettime, __clock_settime,
39624 __clock_nanosleep, and __clock_getcpuclockid.
39625 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39626 Remove librt_hidden_def (clock_gettime).
39627 * sysdeps/unix/clock_gettime.c: Likewise.
39628 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39629 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39630 * rt/clock_getres.c: Define __clock_getres as an alias.
39631 * sysdeps/posix/clock_getres.c: Likewise.
39632 * rt/clock_settime.c: Define __clock_settime as an alias.
39633 * sysdeps/unix/clock_settime.c: Likewise.
39634 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39635 * sysdeps/unix/clock_nanosleep.c: Likewise.
39636 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39637 * rt/clock-compat.c: New file.
39638 * rt/Makefile (librt-routines): Add clock-compat and move
39639 $(clock-routines) to ...
39640 (routines): ... here, new variable.
39641 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39642 Don't add get_clockfreq here.
39643 * rt/Versions (libc: GLIBC_2.17): New version set.
39644 Add clock_* symbols here.
39645 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39646 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39647 (GLIBC_2.17): Add clock_* symbols.
39648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39650 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39659 * NEWS: Mention the move.
39661 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39662 Use __open, __read, __close rather than their public counterparts.
39663 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39664 (__get_clockfreq_via_cpuinfo): Likewise.
39665 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39666 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39668 * config.h.in (HAVE_IFUNC): New #undef.
39669 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39671 * configure: Regenerated.
39673 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39675 * configure.in: Move READELF check to start of file.
39676 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39677 libc_cv_asm_gnu_indirect_function in the process.
39678 * configure: Regenerated.
39680 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39682 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39683 send the output to /dev/null.
39684 (libc_cv_cc_with_libunwind): Likewise.
39685 (libc_cv_as_noexecstack): Likewise.
39686 * configure: Regenerate.
39688 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39690 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39692 * posix/globtest.sh (TMPDIR): Do not set.
39693 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39694 (testout): Likewise.
39696 2012-10-24 Andreas Jaeger <aj@suse.de>
39698 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39699 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39700 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39701 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39702 posix_fadvise64, posix_fallocate64.
39704 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39705 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39706 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39708 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39710 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39713 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39714 <bits/fcntl-linux.h>.
39715 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39718 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39719 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39720 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39721 [__WORDSIZE != 64]: Likewise.
39723 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39725 * Makeconfig (run-built-tests): New variable.
39726 * Rules [$(cross-compiling) = yes]: Change condition to
39727 [$(run-built-tests) = no].
39728 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39729 to [$(run-built-tests) = yes].
39730 * elf/Makefile [$(cross-compiling) = no]: Likewise
39731 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39732 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39733 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39734 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39735 * io/Makefile [$(cross-compiling) = no]: Likewise.
39736 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39737 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39738 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39739 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39740 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39741 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39742 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39743 * string/Makefile [$(cross-compiling) = no]: Likewise.
39745 * posix/Makefile ($(objpfx)globtest.out): Pass
39746 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39747 $(rtld-installed-name).
39748 * posix/globtest.sh (elf_objpfx): Remove variable.
39749 (rtld_installed_name): Likewise.
39750 (library_path): Likewise.
39751 (run_program_prefix): New variable. Use for running globtest
39754 2012-10-23 Jim Blandy <jimb@codesourcery.com>
39755 Joseph Myers <joseph@codesourcery.com>
39757 * Makeconfig (host-built-program-cmd): New variable.
39758 * elf/Makefile (tst-stackguard1-ARGS): Use
39759 $(host-built-program-cmd).
39760 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39761 (tst-spawn-ARGS): Likewise.
39762 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39764 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39765 Jim Blandy <jimb@codesourcery.com>
39767 * Makeconfig (run-via-rtld-prefix): New variable.
39768 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39769 (built-program-cmd): Likewise.
39771 2012-10-22 Andreas Jaeger <aj@suse.de>
39773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39774 __O_RSYNC if it exists, otherwise to O_SYNC.
39776 2012-10-22 Jim Blandy <jimb@codesourcery.com>
39777 Joseph Myers <joseph@codesourcery.com>
39779 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39781 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39783 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39786 2012-10-22 Andreas Jaeger <aj@suse.de>
39788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39793 bits/fcntl-linux.h.
39795 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39796 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39798 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39803 2012-10-21 Jim Blandy <jimb@codesourcery.com>
39804 Joseph Myers <joseph@codesourcery.com>
39806 * config.make.in (NM): New variable.
39808 2012-10-21 Andreas Jaeger <aj@suse.de>
39810 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39811 definitions and declarations that are provided by
39812 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39814 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39817 * elf/Makefile (tests-static): Add tst-leaks1-static.
39818 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39819 ($(objpfx)tst-leaks1-static): New rule.
39820 ($(objpfx)tst-leaks1-static-mem): Likewise.
39821 (tst-leaks1-static-ENV): New macro.
39822 * elf/dl-open.c (dl_open_worker): Check the main application
39823 only if SHARED is defined.
39824 * elf/tst-leaks1-static.c: New file.
39826 2012-10-20 Andreas Jaeger <aj@suse.de>
39828 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39829 generic values for Linux.
39830 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39831 and declarations that are provided by <bits/fcntl-linux.h> and
39832 include <bits/fcntl-linux.h>.
39833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39836 2012-10-20 Roland McGrath <roland@hack.frob.com>
39838 * io/fcntl.h: Move include of <bits/types.h> to the top and
39839 include it unconditionally.
39841 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39843 * wcsmbs/Makefile (tests-ifunc): New variable.
39844 (tests): Add $(tests-ifunc).
39845 * wcsmbs/test-wcschr-ifunc.c: New file.
39846 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39847 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39848 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39849 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39850 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39852 * string/Makefile (tests-ifunc): New variable.
39853 (tests): Add $(tests-ifunc).
39854 * string/test-memccpy.c (TEST_NAME): New macro.
39855 * string/test-memchr.c (TEST_NAME): Likewise.
39856 * string/test-memcmp.c (TEST_NAME): Likewise.
39857 * string/test-memcpy.c (TEST_NAME): Likewise.
39858 * string/test-memmem.c (TEST_NAME): Likewise.
39859 * string/test-memmove.c (TEST_NAME): Likewise.
39860 * string/test-memset.c (TEST_NAME): Likewise.
39861 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39862 * string/test-stpcpy.c (TEST_NAME): Likewise.
39863 * string/test-stpncpy.c (TEST_NAME): Likewise.
39864 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39865 * string/test-strcasestr.c (TEST_NAME): Likewise.
39866 * string/test-strcat.c (TEST_NAME): Likewise.
39867 * string/test-strchr.c (TEST_NAME): Likewise.
39868 * string/test-strcmp.c(TEST_NAME): Likewise.
39869 * string/test-strcpy.c (TEST_NAME): Likewise.
39870 * string/test-strcspn.c (TEST_NAME): Likewise.
39871 * string/test-strlen.c (TEST_NAME): Likewise.
39872 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39873 * string/test-strncmp.c (TEST_NAME): Likewise.
39874 * string/test-strncpy.c (TEST_NAME): Likewise.
39875 * string/test-strnlen.c (TEST_NAME): Likewise.
39876 * string/test-strpbrk.c (TEST_NAME): Likewise.
39877 * string/test-strrchr.c (TEST_NAME): Likewise.
39878 * string/test-strspn.c (TEST_NAME): Likewise.
39879 * string/test-strstr.c (TEST_NAME): Likewise.
39880 * string/test-bcopy-ifunc.c: New file.
39881 * string/test-bzero-ifunc.c: Likewise.
39882 * string/test-memccpy-ifunc.c: Likewise.
39883 * string/test-memchr-ifunc.c: Likewise.
39884 * string/test-memcmp-ifunc.c: Likewise.
39885 * string/test-memcpy-ifunc.c: Likewise.
39886 * string/test-memmem-ifunc.c: Likewise.
39887 * string/test-memmove-ifunc.c: Likewise.
39888 * string/test-mempcpy-ifunc.c: Likewise.
39889 * string/test-memset-ifunc.c: Likewise.
39890 * string/test-rawmemchr-ifunc.c: Likewise.
39891 * string/test-stpcpy-ifunc.c: Likewise.
39892 * string/test-stpncpy-ifunc.c: Likewise.
39893 * string/test-strcasecmp-ifunc.c: Likewise.
39894 * string/test-strcasestr-ifunc.c: Likewise.
39895 * string/test-strcat-ifunc.c: Likewise.
39896 * string/test-strchr-ifunc.c: Likewise.
39897 * string/test-strchrnul-ifunc.c: Likewise.
39898 * string/test-strcmp-ifunc.c: Likewise.
39899 * string/test-strcpy-ifunc.c: Likewise.
39900 * string/test-strcspn-ifunc.c: Likewise.
39901 * string/test-strlen-ifunc.c: Likewise.
39902 * string/test-strncasecmp-ifunc.c: Likewise.
39903 * string/test-strncat-ifunc.c: Likewise.
39904 * string/test-strncmp-ifunc.c: Likewise.
39905 * string/test-strncpy-ifunc.c: Likewise.
39906 * string/test-strnlen-ifunc.c: Likewise.
39907 * string/test-strpbrk-ifunc.c: Likewise.
39908 * string/test-strrchr-ifunc.c: Likewise.
39909 * string/test-strspn-ifunc.c: Likewise.
39910 * string/test-strstr-ifunc.c: Likewise.
39912 * debug/Makefile (tests-ifunc): New variable.
39913 (tests): Add $(tests-ifunc).
39914 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39915 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39916 * debug/test-stpcpy_chk-ifunc.c: New file.
39917 * debug/test-strcpy_chk-ifunc.c: Likewise.
39919 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39922 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39923 header is not read in.
39925 2012-10-19 Joseph Myers <joseph@codesourcery.com>
39927 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39928 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39929 directly. Pass built executable to script as
39930 $(built-program-cmd).
39931 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39932 $testprogram without using LD_LIBRARY_PATH and $ldso.
39934 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39935 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39936 $(rtld-installed-name).
39937 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39938 (rtld_installed_name): Likewise.
39939 (library_path): Likewise.
39940 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39941 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39942 $(run-program-prefix) to tst-tables.sh.
39943 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39944 it to run tst-table-from and tst-table-to.
39945 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39946 Pass it to tst-table.sh.
39947 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39948 $(run-program-prefix) to tst-gettext.sh.
39949 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39951 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39953 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39954 to run tst-gettext.
39955 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39956 to run tst-gettext2.
39957 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39958 to run tst-translit.
39959 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39960 $(run-program-prefix) to tst-mtrace.sh.
39961 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39963 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39964 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39965 $(rtld-installed-name).
39966 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39967 (rtld_installed_name): Likewise.
39968 (run_program_prefix): New variable. Use it to run wordexp-test.
39970 * Makeconfig (ARCH): Remove all definitions.
39971 (machine): Likewise.
39972 [ARCH]: Remove conditional code.
39973 [!objdir]: Give error.
39974 [!objdir] (objpfx): Remove.
39975 [!objdir] (common-objpfx): Likewise.
39976 [!objdir] (common-objdir): Likewise.
39977 * configure.in (config_makefile): Remove. Hardcode Makefile in
39978 AC_CONFIG_FILES call.
39979 * configure: Regenerated.
39982 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39984 (testout): Likewise.
39986 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39987 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39988 $(rtld-installed-name).
39989 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39990 (rtld_installed_name): Likwise.
39991 (runit): Remove function.
39992 (run_getconf): New variable, Use it for running getconf binary.
39994 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39997 * string/test-memmem.c (check_result): New function.
39998 (do_one_test): Use it.
39999 (check1): New function.
40000 (test_main): Use it.
40002 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
40004 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40006 2012-10-18 Joseph Myers <joseph@codesourcery.com>
40008 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40009 (_G_LSEEK64): Likewise.
40010 (_G_MMAP64): Likewise.
40011 (_G_FSTAT64): Likewise.
40012 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40013 (_G_LSEEK64): Likewise.
40014 (_G_MMAP64): Likewise.
40015 (_G_FSTAT64): Likewise.
40016 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40017 unconditional. Call __mmap64 directly.
40018 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40019 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40020 __lseek64 directly.
40021 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40022 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40024 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40025 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
40026 __lseek64 directly.
40027 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40028 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
40029 __lseek64 directly.
40030 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40031 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
40032 __lseek64 directly.
40033 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40034 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
40035 __fxstat64 directly.
40036 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40037 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40039 (freopen64) [!_G_OPEN64]: Remove conditional code.
40040 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40042 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40043 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40045 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40046 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40048 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40049 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40051 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40052 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40054 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40055 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40057 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40058 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40060 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40062 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40065 * manual/memory.texi (Malloc Tunable Parameters): Add note
40066 about free list pointers overwriting some perturb bytes.
40067 Wording suggested by Roland McGrath.
40069 2012-10-17 Joseph Myers <joseph@codesourcery.com>
40071 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40072 (lgamma_test): Likewise.
40073 (tgamma_test): Likewise.
40075 2012-10-16 Florian Weimer <fweimer@redhat.com>
40078 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40079 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40081 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40083 * NEWS: Mention BZ #14716.
40084 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40085 when removing AVAILABLE1_USES_J macro.
40087 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40089 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40090 (__bswap_64): __uint64_t for unsigned 64-bit int.
40092 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40094 * include/string.h (memmem): Declare libc hidden alias.
40095 * string/memmem.c (memmem): Define libc hidden alias.
40096 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40097 __read, __close instead of open, read, close.
40099 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40102 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40104 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40105 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40106 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40108 (__rawmemchr_sse2): Likewise.
40109 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40110 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40111 (__strchr_sse2): Likewise.
40112 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40113 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40114 (__strcasecmp_sse2): Likewise.
40115 (__strncasecmp_sse2): Likewise.
40116 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40117 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40118 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40119 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40120 (__strrchr_sse2): Likewise.
40121 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40123 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40124 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40125 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40126 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40127 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40128 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40129 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40130 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40131 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40132 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40133 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40134 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40135 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40136 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40137 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40138 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40139 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40140 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40141 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40142 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40143 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40144 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40145 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40146 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40147 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40148 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40149 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40150 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40151 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40152 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40154 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40156 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40157 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40158 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40159 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40161 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40163 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40164 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40165 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40166 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40168 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40169 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40170 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40171 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40172 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40173 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40174 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40175 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40176 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40177 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40178 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40179 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40180 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40181 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40182 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40184 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40185 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40186 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40187 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40188 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40189 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40190 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40191 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40192 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40193 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40194 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40195 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40196 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40197 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40198 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40199 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40200 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40201 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40202 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40203 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40204 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40205 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40206 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40207 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40208 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40210 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40211 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40212 * include/ifunc-impl-list.h: New file.
40213 * misc/ifunc-impl-list.c: Likewise.
40214 * misc/Makefile (routines): Add ifunc-impl-list.
40215 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40216 * string/test-string.h: Include <ifunc-impl-list.h>.
40217 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40218 TEST_NAME]: New variables.
40219 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40221 (test_init): Call __libc_ifunc_impl_list to initialize
40222 func_list if TEST_IFUNC and TEST_NAME are defined.
40224 * string/Makefile (strop-tests): Add bcopy and bzero.
40225 * string/test-bcopy.c: New file.
40226 * string/test-bzero.c: Likewise.
40227 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40229 * string/test-memset.c: Support bzero test if TEST_BZERO is
40231 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40233 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40235 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40238 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40240 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40241 * configure: Regenerated.
40243 * Makeconfig (+link-static-before-libc): Don't include
40244 $(link-static-libc).
40246 * libio/libio.h (_IO_pos_t): Remove.
40248 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40250 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40253 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40255 * crypt/crypt-entry.c: Include fips-private.h.
40256 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40257 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40258 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40259 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40261 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40263 * crypt/crypt-private.h: Include stdbool.h.
40264 (_ufc_setup_salt_r): Return bool.
40265 * crypt/crypt-entry.c: Include errno.h.
40266 (__crypt_r): Return NULL with EINVAL for bad salt.
40267 * crypt/crypt_util.c (bad_for_salt): New.
40268 (_ufc_setup_salt_r): Check that salt is long enough and within
40269 the specified alphabet.
40270 * crypt/badsalttest.c: New file.
40271 * crypt/Makefile (tests): Add it.
40272 ($(objpfx)badsalttest): New.
40274 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40276 * NEWS: Add entry for BZ #14602.
40278 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40280 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40282 * math/libm-test.inc: Update comment listing what functions and
40284 (isgreater_test): New function.
40285 (isgreaterequal_test): Likewise.
40286 (isless_test): Likewise.
40287 (islessequal_test): Likewise.
40288 (islessgreater_test): Likewise.
40289 (isunordered_test): Likewise.
40290 (main): Call the new functions.
40292 2012-10-09 Roland McGrath <roland@hack.frob.com>
40294 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40295 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40296 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40297 * sysdeps/i386/configure: Regenerated.
40298 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40299 * sysdeps/mach/configure: Regenerated.
40300 * sysdeps/mach/hurd/configure: Regenerated.
40301 * sysdeps/powerpc/configure: Regenerated.
40302 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40303 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40304 * sysdeps/s390/s390-32/configure: Regenerated.
40305 * sysdeps/s390/s390-64/configure: Regenerated.
40306 * sysdeps/sh/configure: Regenerated.
40307 * sysdeps/sparc/configure: Regenerated.
40308 * sysdeps/unix/sysv/linux/configure: Regenerated.
40309 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40310 * sysdeps/x86_64/configure: Regenerated.
40312 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40313 defined. Don't check if MAP is NULL.
40315 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40317 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40318 (_G_stat64): Likewise.
40319 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40320 (_G_stat64): Likewise.
40321 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40322 instead of struct _G_stat64.
40323 * libio/fileops.c (mmap_remap_check): Likewise.
40324 (decide_maybe_mmap): Likewise.
40325 (_IO_new_file_seekoff): Likewise.
40326 (_IO_file_stat): Likewise.
40327 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40329 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40330 instead of struct _G_stat64.
40331 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40333 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40336 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40338 (CHECK_EOL): New macro.
40339 (two_way_short_needle): Check beginning of haystack for EOL. Use
40341 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40342 Replace with CHECK_EOL.
40343 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40344 Replace with CHECK_EOL.
40346 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40348 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40350 * math/libm-test.inc: Update comment listing what functions and
40352 (finite_test): New function.
40353 (isinf_test): Likewise.
40354 (isnan_test): Likewise.
40355 (fpclassify_test): Test subnormal input.
40356 (isfinite_test): Likewise.
40357 (isnormal_test): Likewise.
40358 (main): Call the new functions.
40360 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40363 * Makerules (%.dynsym): Force C locale when running
40364 $(OBJDUMP) --dynamic-syms.
40366 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40368 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40371 2012-10-06 David S. Miller <davem@davemloft.net>
40373 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40374 upper 32-bits of the length value in %o2 since we use branch-on-register
40375 tests which consider the entire 64-bit register.
40377 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40379 * string/test-strstr.c (check2): Add a test for page boundary.
40381 2012-10-05 David S. Miller <davem@davemloft.net>
40383 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40384 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40386 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40388 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40389 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40390 and bzero when HWCAP_SPARC_CRYPTO is present.
40392 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40395 * string/test-strstr.c (check2): New function.
40396 (test_main): Call check2.
40398 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40400 * string/bug-strcasestr1.c (do_test): Moved to ...
40401 * string/test-strcasestr.c (check1): Here. New function.
40402 (do_one_test): Break out result checking code into ...
40403 (check_result): This. New function.
40404 (do_one_test): Call check_result.
40405 (test_main): Call check1.
40406 * string/bug-strchr1.c (do_test): Moved to ...
40407 * string/test-strchr.c (check1): Here. New function.
40408 (do_one_test): Break out result checking code into ...
40409 (check_result): This. New function.
40410 (do_one_test): Call check_result.
40411 (test_main): Call check1.
40412 * string/bug-strstr1.c (main): Moved to ...
40413 * string/test-strstr.c (check1): Here. New function.
40414 (do_one_test): Break out result checking code into ...
40415 (check_result): This. New function.
40416 (do_one_test): Call check_result.
40417 (test_main): Call check1.
40418 * string/bug-strcasestr1.c: Removed.
40419 * string/bug-strchr1.c: Likewise.
40420 * string/bug-strstr1.c: Likewise.
40422 * elf/Makefile (dl-routines): Add hwcaps.
40423 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40424 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40425 (_dl_important_hwcaps): Moved to ...
40426 * elf/dl-hwcaps.c: Here. New file.
40427 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40430 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40431 if IS_IN_rtld isn't defined.
40433 * elf/dl-support.c (_dl_sysinfo_map): New.
40434 Include "get-dynamic-info.h" and "setup-vdso.h".
40435 (_dl_non_dynamic_init): Call setup_vdso.
40436 * elf/dynamic-link.h: Don't include <assert.h>.
40437 (elf_get_dynamic_info): Moved to ...
40438 * elf/get-dynamic-info.h: Here. New file.
40439 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40440 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40441 * elf/setup-vdso.h: Here. New file.
40442 * elf/rtld.c: Include "setup-vdso.h".
40443 (dl_main): Call setup_vdso.
40445 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40447 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40448 creal in comment listing functions tested. List finite, isinf,
40449 isnan, isless, islessequal, isgreater, isgreaterequal,
40450 islessgreater, isunordered, lgamma_r and pow10 as functions and
40451 macros not tested. Mention which functions not tested are aliases
40452 for other functions. Fix typo. Note that signs of NaNs are not
40455 * scripts/config.guess: Update from config.git.
40456 * scripts/config.sub: Likewise.
40458 2012-10-04 Roland McGrath <roland@hack.frob.com>
40460 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40461 * misc/madvise.c (madvise): Renamed to __madvise.
40462 Make madvise a weak alias.
40463 * include/sys/mman.h: Declare __madvise.
40464 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40465 * sysdeps/unix/syscalls.list
40466 (madvise): Make __madvise the strong name, and madvise a weak alias.
40467 * sysdeps/unix/sysv/linux/syscalls.list
40468 (madvise, mmap): Remove redundant entries.
40469 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40470 * malloc/malloc.c (mtrim): Likewise.
40471 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40473 2012-10-03 Roland McGrath <roland@hack.frob.com>
40475 * sysdeps/mach/hurd/dl-cache.c: File removed.
40476 * config.h.in (USE_LDCONFIG): New #undef.
40477 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40478 * configure: Regenerated.
40479 * elf/Makefile (dl-routines): Add dl-cache only under
40480 [$(use-ldconfig) = yes].
40481 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40482 cache on [USE_LDCONFIG].
40483 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40485 * elf/rtld.c (dl_main): Likewise.
40487 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40489 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40490 _SC_LEVEL4_CACHE_LINESIZE.
40492 2012-10-03 Roland McGrath <roland@hack.frob.com>
40494 * sysdeps/unix/bsd/confstr.h: File removed.
40496 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40498 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40501 2012-10-02 Roland McGrath <roland@hack.frob.com>
40503 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40504 Make 'mapoff' field ElfW(Off) rather than off_t.
40506 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40508 * nscd/Makefile: Remove nscd-cflags and all its users.
40509 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40510 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40513 * malloc.c (malloc_printerr): Clarify error message.
40515 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40519 Set bit_FMA_Usable if FMA is supported.
40520 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40522 (bit_FMA4_Usable): Updated.
40523 (index_FMA_Usable): New macro.
40524 (CPUID_FMA): Likewise
40525 (HAS_FMA): Defined with bit_FMA_Usable.
40527 2012-10-01 Roland McGrath <roland@hack.frob.com>
40529 * bits/types.h (__swblk_t): Type removed.
40530 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40531 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40533 (__SWBLK_T_TYPE): Likewise.
40534 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40535 (__SWBLK_T_TYPE): Likewise.
40536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40537 (__SWBLK_T_TYPE): Likewise.
40538 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40539 (__SWBLK_T_TYPE): Likewise.
40541 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40542 Honza Horak <hhorak@redhat.com>
40544 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40545 (xdr_mapname): Use YPMAXMAP as maxsize.
40546 (xdr_peername): Use YPMAXPEER as maxsize.
40547 (xdr_keydat): Use YPAXRECORD as maxsize.
40548 (xdr_valdat): Use YPMAXRECORD as maxsize.
40550 2012-10-01 Roland McGrath <roland@hack.frob.com>
40552 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40554 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40555 * csu/init-first.c: ... here.
40556 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40557 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40558 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40559 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40560 * sysdeps/i386/init-first.c: File removed.
40561 * sysdeps/sh/init-first.c: File removed.
40563 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40567 if x * y might underflow to zero and z is zero.
40568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40569 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40570 * math/libm-test.inc (min_subnorm_value): New variable.
40571 (fma_test): Add more tests.
40572 (fma_test_towardzero): Likewise.
40573 (fma_test_downward): Likewise
40574 (fma_test_upward): Likewise.
40575 (initialize): Set min_subnorm_value.
40577 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40582 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40583 mode for addition resulting in exact zero.
40584 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40588 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40589 * math/libm-test.inc (fma_test): Add more tests.
40590 (fma_test_towardzero): New function.
40591 (fma_test_downward): Likewise.
40592 (fma_test_upward): Likewise.
40593 (main): Call the new functions.
40595 2012-09-28 David S. Miller <davem@davemloft.net>
40597 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40599 2012-09-28 Roland McGrath <roland@hack.frob.com>
40601 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40602 instead of SIGALRM.
40604 * sysdeps/gnu/_G_config.h: Moved to ...
40605 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40606 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40607 * sysdeps/generic/_G_config.h: ... here.
40609 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40611 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40613 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40614 Conditionalize target on [libnss_test1.so-version].
40616 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40618 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40619 (elfobjdir): Move out of conditionals.
40621 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40622 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40623 (__nss_lookup_function): Conditionalize label remove_from_tree on
40624 [!DO_STATIC_NSS || SHARED], matching its only use.
40626 2012-09-28 David S. Miller <davem@davemloft.net>
40628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40629 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40631 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40633 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40634 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40635 when HWCAP_SPARC_CRYPTO is present.
40637 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40639 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40641 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40644 * stdio-common/vfprintf.c (process_string_arg): Revert
40647 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40649 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40651 * stdio-common/tst-sprintf.c: Include <locale.h>
40652 (main): Test sprintf's handling of incomplete multibyte
40655 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40657 * elf/dl-runtime.c (VERSYMIDX): Removed.
40658 * elf/dl-version.c (VERSYMIDX): Likewise.
40659 * elf/do-rel.h (VERSYMIDX): Likewise.
40660 (VALIDX): Likewise.
40661 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40662 * elf/rtld.c (VALIDX): Likewise.
40663 (ADDRIDX): Likewise.
40664 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40665 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40666 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40667 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40668 (VALIDX): Likewise.
40669 (ADDRIDX): Likewise.
40671 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40673 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40675 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40678 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40680 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40681 addresses are in the same scope as 192.0.2/24.
40682 * posix/gai.conf: Document new scope table defaults.
40684 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40687 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40688 for ftell. Compute offsets from write pointers instead.
40689 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40691 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40694 * libio/Makefile (tests): New test case tst-fseek.
40695 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40696 combination works in wide mode.
40697 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40698 state when the external buffer state changes.
40700 2012-09-27 David S. Miller <davem@davemloft.net>
40703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40704 pass reloc->r_addend in as the 'high' argument to
40705 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40709 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40711 * rt/tst-aio2.c: Include <pthread.h>.
40712 * rt/tst-aio3.c: Likewise.
40714 2012-09-27 Steve Ellcey <sellcey@mips.com>
40716 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40718 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40720 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40721 contents on [SHARED].
40723 2012-09-26 Marek Polacek <polacek@redhat.com>
40727 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40728 for C++ and GCC <4.3 as well as for non GCC compilers.
40730 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40734 2012-09-25 Roland McGrath <roland@hack.frob.com>
40736 * Makefile.in (all, install): Declare with .PHONY.
40737 Reported by Michael Hope <michael.hope@linaro.org>.
40739 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40741 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40742 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40744 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40746 (sydep_routines): Add the new and the internal functions.
40747 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40748 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40750 (GLIBC_2.17): Add the new function.
40751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40752 (GLIBC_2.17): Likewise.
40753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40754 (GLIBC_2.17): Likewise.
40755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40756 (GLIBC_2.17): Likewise.
40757 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40759 2012-09-25 Alan Modra <amodra@gmail.com>
40761 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40762 Add release barrier before setting once_control to say
40763 initialisation is done. Add hints on lwarx. Use macro in
40765 (clear_once_control): Add release barrier.
40767 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40770 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40772 * math/s_clog10.c (__clog10): Likewise.
40773 * math/s_clog10f.c (__clog10f): Likewise.
40774 * math/s_clog10l.c (__clog10l): Likewise.
40775 * math/s_clogf.c (__clogf): Likewise.
40776 * math/s_clogl.c (__clogl): Likewise.
40777 * math/Makefile (libm-calls): Add x2y2m1.
40778 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40779 (__x2y2m1): Likewise.
40780 (__x2y2m1l): Likewise.
40781 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40782 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40783 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40784 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40785 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40786 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40787 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40788 * sysdeps/i386/fpu/libm-test-ulps: Update.
40789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40792 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40793 int as type of variable DEPTH.
40794 (glob): Use size_t instead of int as type of variables NEWCOUNT
40797 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40799 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40800 Add s_sincosf-sse2.
40801 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40802 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40803 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40804 macros for using routine as __sincosf_ia32.
40805 Use macro for function declaration and weak_alias.
40806 * sysdeps/i386/fpu/libm-test-ulps: Update.
40808 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40811 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40812 subnormal argument.
40813 * math/s_cexpf.c (__cexpf): Likewise.
40814 * math/s_csinf.c (__csinf): Likewise.
40815 * math/s_csinhf.c (__csinhf): Likewise.
40816 * math/s_ctanf.c (__ctanf): Likewise.
40817 * math/s_ctanhf.c (__ctanhf): Likewise.
40818 * math/s_ccosh.c (__ccoshf): Likewise.
40819 * math/s_cexp.c (__cexpl): Likewise.
40820 * math/s_csin.c (__csin): Likewise.
40821 * math/s_csinh.c (__csinh): Likewise.
40822 * math/s_ctan.c (__ctan): Likewise.
40823 * math/s_ctanh.c (ctanh): Likewise.
40824 * math/s_ccoshl.c (__ccoshl): Likewise.
40825 * math/s_cexpl.c (__cexpl): Likewise.
40826 * math/s_csinl.c (__csinl): Likewise.
40827 * math/s_csinhl.c (__csinhl): Likewise.
40828 * math/s_ctanl.c (__ctanl): Likewise.
40829 * math/s_ctanhl.c (__ctanhl): Likewise.
40831 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40833 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40834 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40835 (_IO_off_t): Define to __off_t, not _G_off_t.
40836 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40837 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40838 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40839 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40840 type of __dummy and __dummy2 fields.
40841 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40842 (_G_ssize_t): Likewise.
40843 (_G_off_t): Likewise.
40844 (_G_pid_t): Likewise.
40845 (_G_uid_t): Likewise.
40846 (_G_wchar_t): Likewise.
40847 (_G_wint_t): Likewise.
40848 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40849 (_G_ssize_t): Likewise.
40850 (_G_off_t): Likewise.
40851 (_G_pid_t): Likewise.
40852 (_G_uid_t): Likewise.
40853 (_G_wchar_t): Likewise.
40854 (_G_wint_t): Likewise.
40855 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40856 (_G_ssize_t): Likewise.
40857 (_G_off_t): Likewise.
40858 (_G_pid_t): Likewise.
40859 (_G_uid_t): Likewise.
40860 (_G_wchar_t): Likewise.
40861 (_G_wint_t): Likewise.
40863 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40865 * malloc/arena.c: Include malloc-sysdep.h.
40866 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40867 is sufficient to shrink the heap or an unmap is needed.
40868 * sysdeps/generic/malloc-sysdep.h: New file. Define
40869 new function check_may_shrink_heap.
40870 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40871 new function check_may_shrink_heap.
40873 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40875 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40878 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40880 * catgets/test-gencat.sh: Add "set -e".
40881 * elf/tst-pathopt.sh: Likewise.
40882 * grp/tst_fgetgrent.sh: Likewise.
40883 * iconvdata/run-iconv-test.sh: Likewise.
40884 * intl/tst-gettext.sh: Likewise.
40885 * intl/tst-gettext2.sh: Likewise.
40886 * intl/tst-gettext4.sh: Likewise.
40887 * intl/tst-gettext6.sh: Likewise.
40888 * intl/tst-translit.sh: Likewise.
40889 * io/ftwtest-sh: Likewise.
40890 * libio/test-freopen.sh: Likewise.
40891 * malloc/tst-mtrace.sh: Likewise.
40892 * posix/globtest.sh: Likewise.
40893 * posix/tst-getconf.sh: Likewise.
40894 * posix/wordexp-tst.sh: Likewise.
40895 * stdio-common/tst-printf.sh: Likewise.
40896 * stdio-common/tst-unbputc.sh: Likewise.
40897 * stdlib/tst-fmtmsg.sh: Likewise.
40898 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40899 * catgets/Makefile: Do not specify -e option when running
40900 testsuite shell scripts.
40901 * elf/Makefile: Likewise.
40902 * grp/Makefile: Likewise.
40903 * iconvdata/Makefile: Likewise.
40904 * intl/Makefile: Likewise.
40905 * io/Makefile: Likewise.
40906 * libio/Makefile: Likewise.
40907 * malloc/Makefile: Likewise.
40908 * posix/Makefile: Likewise.
40909 * stdio-common/Makefile: Likewise.
40910 * stdlib/Makefile: Likewise.
40911 * sysdeps/x86_64/Makefile: Likewise.
40913 * io/ftwtest-sh: Add copyright header.
40914 * posix/globtest.sh: Likewise.
40915 * posix/tst-getconf.sh: Likewise.
40916 * posix/wordexp-tst.sh: Likewise.
40917 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40919 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40922 * Makeconfig (+link): Defined as $(+link-static) if
40923 $(build-shared) isn't yes.
40924 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40926 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40928 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40931 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40932 new chunk size with MALLOC_ALIGN_MASK.
40934 2012-09-24 Joseph Myers <joseph@codesourcery.com>
40937 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40939 (__printf_fphex): Determine rounding using get_rounding_mode and
40941 * stdio-common/tst-printf-round.c (struct hex_test): New
40943 (hex_tests): New variable.
40944 (test_hex_in_one_mode): New function.
40945 (do_test): Also run tests for hex float output.
40947 2012-09-21 Joseph Myers <joseph@codesourcery.com>
40949 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40950 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40951 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40952 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40953 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40954 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40955 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40956 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40958 2012-09-20 Joseph Myers <joseph@codesourcery.com>
40960 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40961 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40962 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40963 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40965 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40968 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40970 * elf/tst-rtld-load-self.sh: New test.
40971 * elf/Makefile: Run it.
40973 2012-09-18 Joseph Myers <joseph@codesourcery.com>
40975 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40976 (tst-writev-ENV): Remove.
40977 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40979 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40981 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40983 2012-09-17 Joseph Myers <joseph@codesourcery.com>
40985 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40987 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40989 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40990 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40991 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40994 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40997 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40998 * config.make.in (have-cpp-asm-debuginfo): Removed.
40999 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41000 * configure: Regenerated.
41002 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41005 * stdio-common/printf_fp.c: Include <stdbool.h> and
41007 (___printf_fp): Determine rounding using get_rounding_mode and
41009 * stdio-common/tst-printf-round.c: New file.
41010 * stdio-common/Makefile (tests): Add tst-printf-round.
41011 (link-libm): New variable.
41012 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41014 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
41017 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41018 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41020 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41023 2012-09-13 Joseph Myers <joseph@codesourcery.com>
41025 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41026 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41027 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41028 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41030 2012-09-12 Joseph Myers <joseph@codesourcery.com>
41033 * include/rounding-mode.h: New file.
41034 * sysdeps/generic/get-rounding-mode.h: Likewise.
41035 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41036 * stdlib/strtod_l.c: Include <rounding-mode.h>.
41037 (MAX_VALUE): New macro.
41038 (MIN_VALUE): Likewise.
41039 (overflow_value): New function.
41040 (underflow_value): Likewise.
41041 (round_and_return): Use overflow_value and underflow_value to
41042 determine return values in overflow and underflow cases. Use
41043 round_away to determine rounding depending on rounding mode.
41044 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41045 determine return values in overflow and underflow cases.
41046 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41047 (struct test_results): New structure.
41048 (struct test): Use struct test_results to store expected results
41049 for all rounding modes.
41050 (TEST): Include expected results for all rounding modes.
41051 (test_in_one_mode): New function.
41052 (do_test): Use test_in_one_mode to compute and check results.
41053 Check results for all rounding modes.
41054 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41057 2012-12-09 Allan McRae <allan@archlinux.org>
41059 * sysdeps/i386/fpu/libm-test-ulps: Update
41061 2012-09-11 Joseph Myers <joseph@codesourcery.com>
41063 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41064 (_G_int32_t): Likewise.
41065 (_G_uint16_t): Likewise.
41066 (_G_uint32_t): Likewise.
41067 (_G_HAVE_BOOL): Likewise.
41068 (_G_HAVE_ATEXIT): Likewise.
41069 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41070 (_G_HAVE_IO_FILE_OPEN): Likewise.
41071 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41072 (_G_int32_t): Likewise.
41073 (_G_uint16_t): Likewise.
41074 (_G_uint32_t): Likewise.
41075 (_G_HAVE_BOOL): Likewise.
41076 (_G_HAVE_ATEXIT): Likewise.
41077 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41078 (_G_HAVE_IO_FILE_OPEN): Likewise.
41079 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41080 (_G_int32_t): Likewise.
41081 (_G_uint16_t): Likewise.
41082 (_G_uint32_t): Likewise.
41083 (_G_HAVE_BOOL): Likewise.
41084 (_G_HAVE_ATEXIT): Likewise.
41085 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41086 (_G_HAVE_IO_FILE_OPEN): Likewise.
41088 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41090 * csu/libc-tls.c: Update copyright years.
41092 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41094 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41095 [!_G_USING_THUNKS]: Remove conditional code.
41096 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41097 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41099 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41100 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41101 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41102 (_G_VTABLE_LABEL_PREFIX): Likewise.
41103 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41104 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41105 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41106 (_G_VTABLE_LABEL_PREFIX): Likewise.
41107 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41108 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41109 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41110 (_G_VTABLE_LABEL_PREFIX): Likewise.
41111 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41113 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41115 * libio/Makefile: Include ../Makeconfig before tests.
41116 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41117 only if $(build-shared) is yes.
41119 * iconv/gconv_db.c: Update copyright years.
41121 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41123 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41124 unwind info if defined PIC. Fix special cases description.
41125 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41127 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41129 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41131 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41133 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41135 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41138 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41139 (LDLIBS-tst-chk4): This.
41140 (LDFLAGS-tst-chk5): Renamed to ...
41141 (LDLIBS-tst-chk5): This.
41142 (LDFLAGS-tst-chk6): Renamed to ...
41143 (LDLIBS-tst-chk6): This.
41144 (LDFLAGS-tst-lfschk4): Renamed to ...
41145 (LDLIBS-tst-lfschk4): This.
41146 (LDFLAGS-tst-lfschk5): Renamed to ...
41147 (LDLIBS-tst-lfschk5): This.
41148 (LDFLAGS-tst-lfschk6): Renamed to ...
41149 (LDLIBS-tst-lfschk6): This.
41151 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41152 on $(common-objpfx)soversions.mk.
41154 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41157 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41160 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41162 * malloc/arena.c (arena_get_retry): New function that gets
41163 another arena for the caller to try its request on.
41164 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41165 current arena cannot fulfill the request.
41166 (__libc_memalign): Likewise.
41167 (__libc_memalign): Likewise.
41168 (__libc_pvalloc): Likewise.
41169 (__libc_calloc): Likewise.
41171 2012-09-05 John Tobey <john.tobey@gmail.com>
41174 * manual/arith.texi (Operations on Complex): Fix description
41175 of carg branch cut.
41177 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41180 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41184 * manual/memory.texi (Memory): Make order of menu items match
41187 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41189 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41190 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41191 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41193 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41195 * csu/libc-tls.c (static_dtv): Renamed to ...
41196 (_dl_static_dtv): This. Make it global.
41197 (_dl_initial_dtv): Removed.
41198 (__libc_setup_tls): Updated.
41199 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41200 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41203 2012-09-06 Petr Machata <pmachata@redhat.com>
41205 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41206 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41207 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41208 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41210 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41213 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41214 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41217 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41220 * Makeconfig (link-static-before-libc): Replace $(+prector)
41222 (link-static-after-libc): Replace $(+postctor) with
41224 (link-bounded): Replace $(+prector)/$(+postctor) with
41225 $(+prectorT)/$(+postctorT).
41226 (+prectorT): New macro.
41227 (+postctorT): Likewise.
41229 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41231 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41232 (round_str): Handle values above the maximum for IBM long double
41234 * stdlib/tst-strtod-round.c (tests): Regenerated.
41236 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41238 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41240 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41241 zarch_nohighgprs around the zarch optimized routines.
41242 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41243 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41244 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41247 2012-09-05 David S. Miller <davem@davemloft.net>
41249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41251 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41252 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41253 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41254 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41257 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41259 * malloc/arena.c: Fold copyright years.
41260 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41262 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41264 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41266 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41268 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41270 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41272 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41273 change internal state upon failure.
41275 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41277 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41278 * malloc/memusage.c (mmap): Likewise.
41279 (mmap64, mremap): Likewise. Adjust name in comment.
41281 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41283 * libio/fileops.c: Fix typos in comments.
41284 * libio/oldfileops.c: Likewise.
41285 * libio/wfileops.c: Likewise.
41287 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41290 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41291 (tst-malloc-usable-ENV): Set environment for test case.
41292 * malloc/hooks.c (malloc_check_get_size): New function to get
41294 * malloc/malloc.c (musable): Use malloc_check_get_size.
41295 * malloc/tst-malloc-usable.c: New test case.
41297 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41299 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41301 2012-09-05 Allan McRae <allan@archlinux.org>
41304 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41305 determine header location.
41306 * configure: Regenerated.
41308 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41310 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41312 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41313 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41315 (test): Regenerate.
41317 2012-09-04 David S. Miller <davem@davemloft.net>
41319 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41320 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41321 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41323 2012-09-04 Florian Weimer <fweimer@redhat.com>
41325 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41328 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41330 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41333 * libio/iogetdelim.c: Include <limits.h>.
41334 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41335 + len + 1 would overflow.
41337 2012-09-03 Andreas Jaeger <aj@suse.de>
41339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41340 * sysdeps/i386/fpu/libm-test-ulps: Update.
41342 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41344 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41345 Add s_sinf-sse2, s_conf-sse2.
41347 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41348 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41349 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41350 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41352 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41353 for using routine as __sinf_ia32.
41354 Use macro for function declaration and weak_alias.
41355 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41356 for using routine as __cosf_ia32.
41357 Use macro for function declaration and weak_alias.
41359 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41360 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41362 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41363 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41366 * math/libm-test.inc (cos_test): Add more test cases.
41367 (sin_test): Likewise.
41368 (sincos_test): Likewise.
41370 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41372 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41373 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41375 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41377 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41380 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41381 first element of the GOT.
41382 (elf_machine_load_address): Return the difference between
41383 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41385 2012-09-01 Allan McRae <allan@archlinux.org>
41388 * configure.in (AWK): Require gawk version 3.0 or later.
41389 * configure: Regenerated.
41391 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41393 * sysdeps/unix/sysv/linux/kernel-features.h
41394 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41395 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41396 [__NR_clock_getres]: Make code unconditional.
41397 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41398 (clock_getcpuclockid): Remove code left unreachable by removal of
41400 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41401 code unconditional.
41402 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41403 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41404 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41405 Make code unconditional.
41406 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41407 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41408 * sysdeps/unix/sysv/linux/clock_settime.c
41409 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41411 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41412 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41414 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41417 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41418 scripts/test-installation.pl.
41420 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41421 and $ld_so_version if it is set.
41423 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41426 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41427 failure if reading from procfs failed.
41428 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41430 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41432 * sysdeps/unix/sysv/linux/kernel-features.h
41433 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41434 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41435 Remove conditional code.
41436 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41437 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41438 Remove conditional code.
41439 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41440 * sysdeps/unix/sysv/linux/i386/fxstat.c
41441 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41443 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41444 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41445 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41446 * sysdeps/unix/sysv/linux/i386/lxstat.c
41447 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41449 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41450 Remove conditional code.
41451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41452 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41453 Remove conditional code.
41454 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41455 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41456 <kernel-features.h>.
41457 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41459 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41460 Remove conditional code.
41461 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41462 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41463 Remove conditional.
41465 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41468 * NEWS: Add fixed bug number.
41470 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41473 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41474 underflowing exponent in case of negative sign.
41475 * stdlib/tst-strtod-round-data: Add more tests.
41476 * stdlib/tst-strtod-round.c (tests): Regenerated.
41479 * stdlib/strtod_l.c (NDIG): Remove.
41480 (HEXNDIG): Likewise.
41481 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41482 smallest representable value.
41483 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41484 lie within an exact representation of 1/2 ulp of the result.
41485 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41487 (TENS_P9_IDX): Define unconditionally.
41488 (TENS_P9_SIZE): Likewise.
41489 (TENS_P10_IDX): Likewise.
41490 (TENS_P10_SIZE): Likewise.
41491 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41492 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41493 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41494 entries for 10^2^13 and 10^2^14.
41495 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41496 (TENS_P13_IDX): Define.
41497 (TENS_P13_SIZE): Likewise.
41498 (TENS_P14_IDX): Likewise.
41499 (TENS_P14_SIZE): Likewise.
41500 (_fpioconst_pow10): Change array size to
41501 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41503 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41504 1024]: Add entries for 10^2^13 and 10^2^14.
41505 [LAST_POW10 > _LAST_POW10]: Remove #error.
41506 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41507 (_fpioconst_pow10): Change array size to
41508 FPIOCONST_POW10_ARRAY_SIZE.
41509 * stdlib/gen-fpioconst.c: New file.
41510 * stdlib/gen-tst-strtod-round.c: Likewise.
41511 * stdlib/tst-strtod-round-data: Likewise.
41512 * stdlib/tst-strtod-round.c: Likewise.
41513 * stdlib/Makefile (tests): Add tst-strtod-round.
41516 * stdlib/strtod_l.c: Include <stdint.h>.
41517 (NDEBUG): Do not define.
41518 (round_and_return): Change EXPONENT parameter to type intmax_t.
41519 Rearrange calculations to avoid internal overflow possibilities.
41520 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41521 Rearrange calculations to avoid internal overflow possibilities.
41522 Assert that number fits inside MPNSIZE limbs.
41523 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41524 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41525 calculations and add assertions to avoid internal overflow
41526 possibilities. Add casts to avoid signed/unsigned operations.
41527 * stdlib/tst-strtod-overflow.c: New file.
41528 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41530 2012-08-25 Marek Polacek <polacek@redhat.com>
41532 * time/time.h: Fix some typos in comments.
41534 2012-08-23 Roland McGrath <roland@hack.frob.com>
41536 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41537 * posix/tst-rfc3484-2.c: Likewise.
41538 * posix/tst-rfc3484-3.c: Likewise.
41540 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41542 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41543 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41545 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41547 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41548 #include of fxstatat64.c.
41550 2012-08-22 Roland McGrath <roland@hack.frob.com>
41552 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41553 * shadow/getspent_r.c: Likewise.
41554 * shadow/getspnam.c: Likewise.
41555 * shadow/getspnam_r.c: Likewise.
41556 * gshadow/getsgent.c: Likewise.
41557 * gshadow/getsgent_r.c: Likewise.
41558 * gshadow/getsgnam.c: Likewise.
41559 * gshadow/getsgnam_r.c: Likewise.
41560 * inet/getnetbyad.c: Likewise.
41561 * inet/getnetbyad_r.c: Likewise.
41562 * inet/getnetbynm.c: Likewise.
41563 * inet/getnetbynm_r.c: Likewise.
41564 * inet/getnetent.c: Likewise.
41565 * inet/getnetent_r.c: Likewise.
41566 * inet/getproto.c: Likewise.
41567 * inet/getproto_r.c: Likewise.
41568 * inet/getprtent.c: Likewise.
41569 * inet/getprtent_r.c: Likewise.
41570 * inet/getprtname.c: Likewise.
41571 * inet/getprtname_r.c: Likewise.
41572 * inet/getrpcbyname.c: Likewise.
41573 * inet/getrpcbyname_r.c: Likewise.
41574 * inet/getrpcbynumber.c: Likewise.
41575 * inet/getrpcbynumber_r.c: Likewise.
41576 * inet/getrpcent.c: Likewise.
41577 * inet/getrpcent_r.c: Likewise.
41578 * inet/getaliasent.c: Likewise.
41579 * inet/getaliasent_r.c: Likewise.
41580 * inet/getaliasname.c: Likewise.
41581 * inet/getaliasname_r.c: Likewise.
41582 * nscd/getgrgid_r.c: Likewise.
41583 * nscd/getgrnam_r.c: Likewise.
41584 * nscd/gethstbyad_r.c: Likewise.
41585 * nscd/gethstbynm3_r.c: Likewise.
41586 * nscd/getpwnam_r.c: Likewise.
41587 * nscd/getpwuid_r.c: Likewise.
41588 * nscd/getsrvbynm_r.c: Likewise.
41589 * nscd/getsrvbypt_r.c: Likewise.
41590 * nscd/gai.c: Likewise.
41592 * configure.in (build_nscd): New substituted variable, set
41593 by --disable-build-nscd and defaults to $use_nscd.
41594 * configure: Regenerated.
41595 * config.make.in (build-nscd): New substituted variable.
41596 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41597 Change conditional to require [$(build-nscd) = yes] as well.
41598 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41601 * configure.in (use_nscd): New substituted variable, set by
41602 --disable-nscd. If enabled, define USE_NSCD.
41603 * configure: Regenerated.
41604 * config.h.in: Add USE_NSCD.
41605 * config.make.in (use-nscd): New substituted variable.
41606 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41607 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41608 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41609 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41610 (CFLAGS-getgrnam_r.c): Likewise.
41611 (CFLAGS-initgroups.c): Likewise.
41612 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41613 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41615 * inet/getnetgrent_r.c
41616 (nscd_setnetgrent): New function, broken out of ...
41617 (setnetgrent): ... here. Call it.
41618 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41619 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41620 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41621 * nscd/Makefile (routines, aux): Move definitions after include of
41622 Makeconfig. Conditionalize on [$(use-nscd) != no].
41623 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41624 Conditionalize on [USE_NSCD].
41625 (is_nscd, nscd_init_cb): Likewise.
41626 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41627 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41628 * nss/nss_db/db-init.c: Likewise.
41629 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41631 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41632 (make_request): Use it.
41633 (cache_valid_p): New function.
41634 (__check_pf): Use it.
41635 * NEWS: Add item for --disable-nscd.
41637 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41639 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41640 to support sed >= 4.2.1-20-ga9bf076.
41641 * configure: Regenerated.
41643 2012-08-22 Roland McGrath <roland@hack.frob.com>
41645 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41646 Conditionalize whole body on [IREL].
41648 2012-08-22 Jeff Law <law@redhat.com>
41651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41652 if the family is PF_UNSPEC.
41654 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41656 * Makerules (lib-version): Rename from V.
41657 (install-lib-nosubdir): Change V to lib-version.
41659 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41662 * powerpc32/power6/wcschr.c: New file.
41663 * powerpc32/power6/wcscpy.c: New file.
41664 * powerpc32/power6/wcsrchr.c: New file.
41665 * powerpc64/power6/wcschr.c: New file.
41666 * powerpc64/power6/wcscpy.c: New file.
41667 * powerpc64/power6/wcsrchr.c: New file.
41669 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41671 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41672 (two_way_short_needle): Use it.
41673 * string/strstr.c (AVAILABLE1_USES_J): Define.
41674 * string/strcasestr.c: Likewise.
41676 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41678 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41681 * NEWS: Add an entry.
41682 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41683 define their defaults.
41684 (two_way_short_needle): Detect end-of-string on-the-fly.
41685 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41686 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41687 * string/bug-strcasestr1.c: New test.
41688 * string/Makefile: Run it.
41690 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41693 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41694 the first character.
41696 2012-08-21 Roland McGrath <roland@hack.frob.com>
41698 * csu/elf-init.c (__libc_csu_irel): Function removed.
41699 * csu/libc-start.c (apply_irel): New function.
41700 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41702 2012-08-21 Joseph Myers <joseph@codesourcery.com>
41704 * sysdeps/unix/sysv/linux/kernel-features.h
41705 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41706 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41707 <kernel-features.h>.
41708 [__NR_fadvise64_64]: Make code unconditional.
41709 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41710 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41711 !__NR_fadvise64_64)]: Likewise.
41712 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41713 !__NR_fadvise64_64))]: Likewise.
41714 [__NR_fadvise64]: Make code unconditional.
41715 [!__NR_fadvise64]: Remove conditional code.
41716 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41717 <kernel-features.h>.
41718 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41720 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41723 not include <kernel-features.h>.
41724 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41726 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41728 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41729 include <kernel-features.h>.
41730 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41732 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41735 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41737 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41738 slight instruction rearrangements per scrollpipe analysis.
41739 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41741 2012-08-20 Roland McGrath <roland@hack.frob.com>
41743 * manual/syslog.texi (syslog; vsyslog, closelog):
41744 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41745 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41747 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41748 DSOCAPS to match condition on defining it.
41750 2012-08-20 Joseph Myers <joseph@codesourcery.com>
41752 * sysdeps/unix/sysv/linux/kernel-features.h
41753 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41755 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41756 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41758 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41759 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41761 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41762 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41764 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41765 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41767 * sysdeps/unix/sysv/linux/kernel-features.h
41768 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41769 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41771 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41772 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41773 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41774 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41775 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41776 Make code unconditional.
41777 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41778 (__mmap64) [!__NR_mmap2]: Likewise.
41779 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41780 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41781 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41782 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41783 [__NR_mmap2]: Make code unconditional.
41784 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41785 (__mmap64) [!__NR_mmap2]: Likewise.
41787 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41789 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41791 2012-08-18 Andreas Jaeger <aj@suse.de>
41793 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41795 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41797 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41798 * include/unistd.h (__have_sock_cloexec): Likewise.
41799 (__have_pipe2): Likewise.
41800 (__have_dup3): Likewise.
41802 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41805 * include/unistd.h (__have_pipe2): Change define into an extern int.
41806 (__have_dup3): Likewise.
41807 * socket/have_sock_cloexec.c: Include fcntl.h.
41808 (__have_pipe2): New variable.
41809 (__have_dup3): Likewise.
41811 2012-08-17 Mike Frysinger <vapier@gentoo.org>
41813 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41815 2012-08-17 Marek Polacek <polacek@redhat.com>
41817 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41818 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41820 2012-08-17 Roland McGrath <roland@hack.frob.com>
41822 * configure.in: Add AC_SUBST for sysheaders.
41823 * configure: Regenerated.
41824 * config.make.in (sysheaders): New substituted variable.
41826 * sysdeps/unix/mkfifo.c: Moved ...
41827 * sysdeps/posix/mkfifo.c: ... here.
41828 * sysdeps/unix/mkfifoat.c: Moved ...
41829 * sysdeps/posix/mkfifoat.c: ... here.
41831 * sysdeps/unix/utime.c: Moved ...
41832 * sysdeps/posix/utime.c: ... here.
41834 * sysdeps/unix/time.c: Moved ...
41835 * sysdeps/posix/time.c: ... here.
41836 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41837 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41839 * sysdeps/unix/nice.c: Moved ...
41840 * sysdeps/posix/nice.c: ... here.
41842 * sysdeps/unix/alarm.c: Moved ...
41843 * sysdeps/posix/alarm.c: ... here.
41845 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41847 2012-08-17 Jeff Law <law@redhat.com>
41849 * intl/Makefile (codeset_mo): New variable.
41850 ($(codeset_mo)): New target.
41851 (tst-codeset.out): Depend on that. Remove explicit rule.
41852 (tst-gettext3.out, tst-gettext5.out): Likewise.
41853 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41854 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41855 * intl/tst-codeset.sh: Remove.
41856 * intl/tst-gettext3.sh: Likewise.
41857 * intl/tst-gettext5.sh: Likewise.
41859 2012-08-17 Roland McGrath <roland@hack.frob.com>
41861 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41862 * sysdeps/unix/syscalls.list: ... here.
41864 * sysdeps/posix/getaddrinfo.c
41865 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41866 (gaiconf_init, gaiconf_reload): Use them.
41867 [!_STATBUF_ST_NSEC]
41868 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41869 Define using time_t rather than struct timespec.
41871 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41872 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41874 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41876 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41877 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41880 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41881 __libc_cleanup_push argument.
41883 * bits/param.h: New file.
41884 * misc/sys/param.h: New file.
41885 * include/sys/param.h: New file.
41886 * misc/Makefile (headers): Add bits/param.h.
41887 * sysdeps/generic/sys/param.h: File removed.
41888 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41889 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41890 * sysdeps/mach/hurd/bits/param.h: New file.
41891 * sysdeps/mach/hurd/sys/param.h: File removed.
41893 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41896 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41898 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41899 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41902 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41903 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41904 rather than -D_IO_MTSAFE_IO conditionally.
41905 * stdio-common/Makefile (CPPFLAGS): Likewise.
41906 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41907 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41908 Use $(libio-mtsafe).
41909 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41910 of -D_IO_MTSAFE_IO.
41911 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41912 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41913 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41914 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41915 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41916 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41917 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41918 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41919 (CFLAGS-fread_u_chk.c): Likewise.
41920 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41921 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41922 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41923 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41924 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41925 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41926 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41927 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41928 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41930 * libio/Makefile: Test [$(libc-reentrant) = yes]
41931 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41934 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41935 * sysdeps/pthread/configure: File removed.
41936 * sysdeps/pthread/Makeconfig: New file.
41937 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41938 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41940 2012-08-16 Gary Benson <gbenson@redhat.com>
41942 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41943 unmapping the first object in a namespace.
41945 2012-08-16 Roland McGrath <roland@hack.frob.com>
41947 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41948 (__internal_setnetgrent): ... this. Add internal_function to
41949 definition. Add libc_hidden_def.
41950 (setnetgrent): Update caller.
41951 (internal_endnetgrent): Renamed to ...
41952 (__internal_endnetgrent): ... this. Add internal_function to
41953 definition. Add libc_hidden_def.
41954 (endnetgrent): Update caller.
41955 (internal_getnetgrent_r): Renamed to ...
41956 (__internal_getnetgrent_r): ... this. Add internal_function to
41957 definition. Add libc_hidden_def.
41958 (__getnetgrent_r): Update caller.
41959 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41961 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41963 * stdlib/longlong.h: Update from GCC.
41965 2012-08-16 Roland McGrath <roland@hack.frob.com>
41967 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41968 on _QL, which is set by umul_ppmm but never used.
41969 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41970 variables, which are set by GMP macros but never used.
41971 * stdio-common/_itowa.c (_itowa): Likewise.
41972 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41973 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41975 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41977 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41978 struct La_sh_regs is not constant.
41979 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41980 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41981 and struct La_sparc64_regs are not constant.
41983 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41985 * sysdeps/unix/sysv/linux/kernel-features.h
41986 (__ASSUME_POSIX_TIMERS): Remove.
41987 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41988 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41989 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41990 Make code unconditional.
41991 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41992 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41993 Make code unconditional.
41994 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41995 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41996 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41997 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41998 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41999 Make code unconditional.
42000 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42001 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42002 (__libc_missing_posix_timers): Remove.
42004 2012-08-15 Roland McGrath <roland@hack.frob.com>
42006 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42007 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42009 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42011 * elf/dl-sym.c: Include <stdlib.h>.
42013 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42014 constants, which avoids warnings in 32-bit builds.
42016 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42017 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42019 * misc/lseek.c: File moved to ...
42020 * io/lseek.c: ... here.
42022 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42024 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42025 shifting LEN more than 31 bits at once.
42027 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42030 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42031 segmentation fault for a case of two empty input strings.
42032 * string/test-strncasecmp.c (check1): Renamed to...
42033 (bz12205): ...this.
42034 (bz14195): Add new testcase for two empty input strings and N > 0.
42035 (test_main): Call new testcase, adapt for renamed function.
42037 2012-08-15 Andreas Jaeger <aj@suse.de>
42040 * crypt/md5test2.c: New test, based on test supplied by Serge
42041 Belyshev <belyshev@depni.sinp.msu.ru>.
42042 * crypt/Makefile (xtests): Add md5test-giant..
42043 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42045 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42048 * crypt/md5.c (md5_process_block): Don't assume the buffer
42049 length is less than 2**32.
42050 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42051 length is less than 2**64.
42053 2012-08-15 Roland McGrath <roland@hack.frob.com>
42055 * string/str-two-way.h: Include <sys/param.h>.
42056 (MAX): Macro removed.
42058 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42059 Move #define and #undef of memmove to just before and after
42060 including <string.h>.
42062 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42063 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42064 and after including <string.h>. Move declarations of
42065 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42066 to before #include "string/memmove.c".
42068 * include/dirent.h: Declare __getdirentries.
42070 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42071 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42073 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42075 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42076 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42077 * sysdeps/i386/configure: Regenerated.
42078 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42079 STABS_CURRENT_FILE, and STABS_FUN.
42080 (END): Remove call to STABS_FUN_END.
42081 (STABS_CURRENT_FILE1): Delete.
42082 (STABS_CURRENT_FILE): Likewise.
42083 (STABS_FUN): Likewise.
42084 (STABS_FUN_END): Likewise.
42085 (STABS_FUN2): Likewise.
42086 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42087 * sysdeps/x86_64/configure: Regenerated.
42089 2012-08-14 Roland McGrath <roland@hack.frob.com>
42091 * elf/dl-open.c: Include <atomic.h>.
42092 * elf/dl-lookup.c: Likewise.
42094 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42096 * sysdeps/unix/sysv/linux/kernel-features.h
42097 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42098 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42100 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42102 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42103 condition on __ASSUME_CLONE_THREAD_FLAGS.
42105 2012-08-14 Andreas Jaeger <aj@suse.de>
42107 * sysdeps/i386/fpu/libm-test-ulps: Update.
42109 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42111 * include/atomic.h (atomic_exchange_and_add): Split into ...
42112 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42115 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42119 2012-08-13 Jeff Law <law@redhat.com>
42121 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42122 null byte in the output string.
42124 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42126 * sysdeps/unix/sysv/linux/kernel-features.h
42127 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42128 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42129 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42130 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42131 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42132 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42133 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42135 2012-08-09 Jeff Law <law@redhat.com>
42138 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42139 When avoid_arena is set, don't retry in the that arena. Pick the
42140 next one, whatever it might be.
42141 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42142 (arena_lock): Pass in new parameter to arena_get2.
42143 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42145 (__libc_malloc): Unify retrying after main arena failure with
42146 __libc_memalign version.
42147 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42149 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42152 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42153 to __redirect_strstr.
42154 (__strstr_sse42): Use typeof __redirect_strstr.
42155 (__strstr_ia32): Likewise.
42156 (__libc_strstr): New prototype.
42157 (strstr): Renamed to ...
42158 (__libc_strstr): This.
42159 (strstr): New strong alias of __libc_strstr.
42160 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42161 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42164 (__libc_time): New prototype.
42165 (time_ifunc): Replace time with __libc_time.
42166 (time): New strong alias and hidden definition of __libc_time.
42167 (__GI_time): Remove strong alias.
42168 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42169 Include <stddef.h>.
42170 (memmove): Redefined to __redirect_memmove.
42171 (__memmove_sse2): Use typeof __redirect_memmove.
42172 (__memmove_ssse3): Likewise.
42173 (__memmove_ssse3_back): Likewise.
42174 (__libc_memmove): New prototype.
42175 (memmove): Renamed to ...
42176 (__libc_memmove): This.
42177 (memmove): New strong alias of __libc_memmove.
42179 2012-08-08 Mark Salter <msalter@redhat.com>
42182 (R_MN10300_TLS_GD): Define.
42183 (R_MN10300_TLS_LD): Likewise.
42184 (R_MN10300_TLS_LDO): Likewise.
42185 (R_MN10300_TLS_GOTIE): Likewise.
42186 (R_MN10300_TLS_IE): Likewise.
42187 (R_MN10300_TLS_LE): Likewise.
42188 (R_MN10300_TLS_DTPMOD): Likewise.
42189 (R_MN10300_TLS_DTPOFF): Likewise.
42190 (R_MN10300_TLS_TPOFF): Likewise.
42191 (R_MN10300_SYM_DIFF): Likewise.
42192 (R_MN10300_ALIGN): Likewise.
42193 (R_MN10300_NUM): Update.
42195 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42197 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42200 2012-08-08 Roland McGrath <roland@hack.frob.com>
42202 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42204 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42205 sysdeps/unix -> sysdeps/posix move.
42206 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42208 2012-08-07 Allan McRae <allan@archlinux.org>
42211 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42212 (SUNOS_CPP): Likewise.
42213 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42215 (open_input): Call CPP using execvp.
42217 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42219 * sysdeps/unix/sysv/linux/kernel-features.h
42220 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42221 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42222 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42223 (__ASSUME_WAITID_SYSCALL): Likewise.
42224 * sysdeps/unix/sysv/linux/dl-execstack.c
42225 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42226 code unconditional.
42227 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42229 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42230 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42231 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42233 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42235 [__ASSUME_WAITID_SYSCALL]: Likewise.
42236 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42238 2012-08-07 Roland McGrath <roland@hack.frob.com>
42240 * sysdeps/unix/closedir.c: Renamed to ...
42241 * sysdeps/posix/closedir.c: ... here.
42242 * sysdeps/unix/dirfd.c: Renamed to ...
42243 * sysdeps/posix/dirfd.c: ... here.
42244 * sysdeps/unix/dirstream.h: Renamed to ...
42245 * sysdeps/posix/dirstream.h: ... here.
42246 * sysdeps/unix/fdopendir.c: Renamed to ...
42247 * sysdeps/posix/fdopendir.c: ... here.
42248 * sysdeps/unix/opendir.c: Renamed to ...
42249 * sysdeps/posix/opendir.c: ... here.
42250 * sysdeps/unix/readdir.c: Renamed to ...
42251 * sysdeps/posix/readdir.c: ... here.
42252 * sysdeps/unix/readdir_r.c: Renamed to ...
42253 * sysdeps/posix/readdir_r.c: ... here.
42254 * sysdeps/unix/rewinddir.c: Renamed to ...
42255 * sysdeps/posix/rewinddir.c: ... here.
42256 * sysdeps/unix/seekdir.c: Renamed to ...
42257 * sysdeps/posix/seekdir.c: ... here.
42258 * sysdeps/unix/telldir.c: Renamed to ...
42259 * sysdeps/posix/telldir.c: ... here.
42260 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42261 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42262 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42263 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42265 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42266 * bits/fcntl.h: ... here.
42268 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42270 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42271 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42272 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42273 (struct flock): Move l_start, l_len to the beginning.
42274 Use __pid_t for l_pid.
42275 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42276 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42277 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42278 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42279 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42280 [__USE_LARGEFILE64] (struct flock64): New type.
42281 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42283 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42284 * bits/dirent.h: ... here.
42286 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42287 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42289 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42291 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42292 Change from 2.6.0 to 2.6.16.
42293 * sysdeps/unix/sysv/linux/configure: Regenerated.
42294 * sysdeps/unix/sysv/linux/kernel-features.h
42295 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42296 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42298 (__ASSUME_UTIMES): Likewise.
42299 (__ASSUME_CLONE_STOPPED): Remove.
42300 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42301 architectures, not kernel version.
42302 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42303 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42304 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42305 (__ASSUME_WAITID_SYSCALL): Likewise.
42306 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42307 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42308 * README: State 2.6.16 as minimum Linux kernel version. Do not
42309 refer to older versions.
42311 2012-08-06 Roland McGrath <roland@hack.frob.com>
42313 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42314 Define alphasort64 as an alias.
42315 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42316 Define versionsort64 as an alias.
42317 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42318 Define scandir64 as an alias.
42319 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42320 Define scandirat64 as an alias.
42321 * dirent/alphasort64.c (alphasort64):
42322 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42323 * dirent/versionsort64.c: Likewise.
42324 * dirent/scandir64.c: Likewise.
42325 * dirent/scandirat64.c: Likewise.
42326 * sysdeps/wordsize-64/alphasort.c: File removed.
42327 * sysdeps/wordsize-64/alphasort64.c: File removed.
42328 * sysdeps/wordsize-64/scandir.c: File removed.
42329 * sysdeps/wordsize-64/scandir64.c: File removed.
42330 * sysdeps/wordsize-64/scandirat.c: File removed.
42331 * sysdeps/wordsize-64/scandirat64.c: File removed.
42332 * sysdeps/wordsize-64/versionsort.c: File removed.
42333 * sysdeps/wordsize-64/versionsort64.c: File removed.
42334 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42335 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42336 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42337 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42338 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42339 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42340 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42341 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42343 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42345 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42347 [defined __arch64__ || defined __sparcv9]
42348 (__INO_T_MATCHES_INO64_T): New macro.
42349 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42350 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42351 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42352 * sysdeps/unix/sysv/linux/bits/dirent.h
42353 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42354 (_DIRENT_MATCHES_DIRENT64): New macro.
42356 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42357 Define lockf64 as an alias.
42358 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42359 Define fseeko64 as an alias.
42360 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42361 Define ftello64 as an alias.
42362 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42363 Define _IO_fgetpos64 and fgetpos64 as aliases.
42364 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42365 Define _IO_fsetpos64 and fsetpos64 as aliases.
42366 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42367 Conditionalize body on this.
42368 * libio/fseeko64.c: Likewise.
42369 * libio/ftello64.c: Likewise.
42370 * libio/iofgetpos64.c: Likewise.
42371 * libio/iofsetpos64.c: Likewise.
42372 * sysdeps/wordsize-64/lockf.c: File removed.
42373 * sysdeps/wordsize-64/lockf64.c: File removed.
42374 * sysdeps/wordsize-64/fseeko.c: File removed.
42375 * sysdeps/wordsize-64/fseeko64.c: File removed.
42376 * sysdeps/wordsize-64/ftello.c: File removed.
42377 * sysdeps/wordsize-64/ftello64.c: File removed.
42378 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42379 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42380 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42381 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42382 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42383 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42384 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42385 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42386 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42387 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42388 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42389 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42390 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42391 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42393 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42394 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42395 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42397 [defined __arch64__ || defined __sparcv9]
42398 (__OFF_T_MATCHES_OFF64_T): New macro.
42399 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42400 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42402 (__OFF_T_MATCHES_OFF64_T): New macro.
42404 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42406 * stdlib/secure-getenv.c (__secure_getenv): Replace
42407 GLIBC_2_16 with GLIBC_2_17.
42409 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42411 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42412 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42414 2012-08-03 David S. Miller <davem@davemloft.net>
42416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42418 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42420 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42422 (__ASSUME_CORRECT_SI_PID): Likewise.
42423 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42424 (__ASSUME_TMPFS_NAME): Likewise.
42425 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42426 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42427 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42428 (HAVE_AUX_SECURE): Make definition unconditional.
42429 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42430 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42432 2012-08-03 Roland McGrath <roland@hack.frob.com>
42434 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42435 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42436 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42437 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42438 __eloop_threshold instead of SYMLOOP_MAX.
42440 * sysdeps/generic/eloop-threshold.h: New file.
42441 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42443 * elf/chroot_canon.c (chroot_canon): Likewise.
42445 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42448 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42449 Change to 2.6.0 everywhere.
42450 * sysdeps/unix/sysv/linux/configure: Regenerated.
42451 * sysdeps/unix/sysv/linux/kernel-features.h
42452 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42453 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42455 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42456 (__ASSUME_FUTEX_REQUEUE): Remove.
42457 (__ASSUME_STATFS64): Define unconditionally.
42458 (__ASSUME_AT_SECURE): Likewise.
42459 (__ASSUME_CORRECT_SI_PID): Likewise.
42460 (__ASSUME_TGKILL): Define without depending on kernel version for
42462 (__ASSUME_UTIMES): Likewise.
42463 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42465 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42466 (__ASSUME_TMPFS_NAME): Likewise.
42467 * README: Update reference to Linux kernel versions.
42469 2012-08-02 Marek Polacek <polacek@redhat.com>
42472 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42473 libc_cv_asm_type_prefix with %.
42474 * configure: Regenerated.
42475 * include/libc-symbols.h: Remove comment about
42476 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42477 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42478 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42479 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42480 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42481 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42482 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42483 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42484 * elf/tst-unique2mod1.c: Likewise.
42485 * elf/tst-unique1mod2.c: Likewise.
42486 * elf/tst-unique1mod1.c: Likewise.
42487 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42488 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42489 Replace ASM_TYPE_DIRECTIVE with .type.
42490 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42491 * sysdeps/i386/sysdep.h: Likewise.
42492 * sysdeps/x86_64/sysdep.h: Likewise.
42493 * sysdeps/sh/sysdep.h: Likewise.
42494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42495 Do not define ASM_TYPE_DIRECTIVE.
42496 * sysdeps/powerpc/sysdep.h: Likewise.
42497 * sysdeps/powerpc/powerpc32/sysdep.h:
42498 Replace ASM_TYPE_DIRECTIVE with .type.
42499 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42500 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42501 * sysdeps/i386/fpu/e_powf.S: Likewise.
42502 * sysdeps/i386/fpu/e_expl.S: Likewise.
42503 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42504 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42505 * sysdeps/i386/fpu/e_pow.S: Likewise.
42506 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42507 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42508 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42509 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42510 * sysdeps/i386/fpu/e_log2.S: Likewise.
42511 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42512 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42513 * sysdeps/i386/fpu/e_powl.S: Likewise.
42514 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42515 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42516 * sysdeps/i386/fpu/e_logl.S: Likewise.
42517 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42518 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42519 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42521 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42522 * sysdeps/i386/fpu/e_log.S: Likewise.
42523 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42524 * sysdeps/i386/fpu/e_logf.S: Likewise.
42525 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42526 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42527 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42528 * sysdeps/i386/fpu/e_log10.S: Likewise.
42529 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42530 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42531 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42532 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42533 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42534 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42535 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42536 * sysdeps/i386/i686/strtok.S: Likewise.
42537 * sysdeps/i386/i386-mcount.S: Likewise.
42538 * sysdeps/i386/strtok.S: Likewise.
42539 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42540 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42541 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42542 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42543 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42544 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42545 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42546 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42547 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42548 * sysdeps/x86_64/_mcount.S: Likewise.
42549 * sysdeps/x86_64/strtok.S: Likewise.
42550 * sysdeps/sh/_mcount.S: Likewise.
42552 2012-08-01 Roland McGrath <roland@hack.frob.com>
42554 * libio/iofopen.c: Include <fcntl.h>.
42555 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42556 (_IO_fopen64, fopen64): Define as aliases.
42557 * libio/iofopen64.c: Include <fcntl.h>.
42558 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42559 Conditionalize body on this.
42560 * sysdeps/wordsize-64/iofopen.c: File removed.
42561 * sysdeps/wordsize-64/iofopen64.c: File removed.
42563 2012-08-01 Marek Polacek <polacek@redhat.com>
42565 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42566 Use dlfcn directly instead of a variable.
42567 (binfmt-subdir): Do not define.
42570 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42572 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42573 Remove all definitions.
42574 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42575 <kernel-features.h>.
42576 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42577 (miss_F_GETOWN_EX): Remove all definitions.
42578 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42580 [!__ASSUME_FCNTL64]: Remove conditional code.
42581 [__ASSUME_FCNTL64]: Make code unconditional.
42582 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42583 <kernel-features.h>.
42584 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42585 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42586 (lockf64) [__NR_fcntl64]: Make code unconditional.
42587 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42589 * sysdeps/unix/sysv/linux/kernel-features.h
42590 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42591 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42592 Make code unconditional.
42593 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42594 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42596 [__NR_vfork]: Make code unconditional.
42597 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42598 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42600 [__NR_vfork]: Make code unconditional.
42601 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42602 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42604 2012-08-01 Roland McGrath <roland@hack.frob.com>
42606 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42607 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42609 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42610 Define mkstemp64 as an alias.
42611 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42612 Define mkstemps64 as an alias.
42613 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42614 Define mkostemp64 as an alias.
42615 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42616 Define mkostemps64 as an alias.
42617 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42618 Conditionalize body on this.
42619 * misc/mkostemp64.c: Likewise.
42620 * misc/mkostemps64.c: Likewise.
42621 * misc/mkstemps64.c: Likewise.
42622 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42623 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42624 * sysdeps/wordsize-64/mkostemp.c: File removed.
42625 * sysdeps/wordsize-64/mkstemp.c: File removed.
42626 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42627 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42628 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42629 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42632 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42633 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42634 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42635 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42637 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42638 compat_symbol macros from <shlib-compat.h> rather than the underlying
42639 default_symbol_version and symbol_version macros, so that DEFAULT
42640 lines in shlib-versions are respected.
42641 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42643 2012-08-01 Florian Weimer <fweimer@redhat.com>
42645 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42646 Declare with warn_unused_result.
42647 (setgid, setregid, setegid, setresgid): Likewise.
42648 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42650 * WUR-REPORT: Remove set*id functions.
42652 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42654 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42656 2012-07-31 Roland McGrath <roland@hack.frob.com>
42659 * include/sys/socket.h (__libc_accept, __libc_accept4):
42660 Add attribute_hidden.
42661 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42663 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42665 * inet/getnetgrent_r.c (setup): Likewise.
42667 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42669 2012-07-31 David S. Miller <davem@davemloft.net>
42671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42673 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42676 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42677 value between 1.0 and 2.0 and smaller part has absolute value less
42679 * math/s_clog10.c (__clog10): Likewise.
42680 * math/s_clog10f.c (__clog10f): Likewise.
42681 * math/s_clog10l.c (__clog10l): Likewise.
42682 * math/s_clogf.c (__clogf): Likewise.
42683 * math/s_clogl.c (__clogl): Likewise.
42684 * math/libm-test.inc (clog_test): Add more tests.
42685 (clog10_test): Likewise.
42686 * sysdeps/i386/fpu/libm-test-ulps: Update.
42687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42689 2012-07-31 Florian Weimer <fweimer@redhat.com>
42691 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42692 Exit with zero in case no suitable GID is found, and write a
42693 message to standard error.
42695 2012-07-30 Roland McGrath <roland@hack.frob.com>
42697 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42699 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42700 (MAXPATHLEN): Removed.
42701 (NOGROUP, NODEV): New macros.
42702 (setbit, clrbit, isset, isclr): New macros.
42703 (howmany, roundup, powerof2): New macros.
42704 (DEV_BSIZE): New macro.
42706 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42707 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42709 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42710 definition on [!__NO_LONG_DOUBLE_MATH].
42712 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42713 PTR_MANGLE and PTR_DEMANGLE.
42715 * socket/accept4.c (accept4): Rename to __libc_accept4.
42716 Define accept4 as a weak alias.
42718 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42719 on [_DIRENT_HAVE_D_TYPE].
42720 * io/ftw.c (ftw_dir): Likewise.
42722 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42724 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42726 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42727 Use the BSD numbers rather than the arbitrary ones we had.
42728 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42729 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42730 (SIGXCPU, SIGXFSZ): New macros.
42733 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42734 initializer on [_LIBC_REENTRANT].
42736 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42737 definitions inside [_POSIX_MAPPED_FILES].
42739 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42741 * dirent/opendir.c: Include <fcntl.h>.
42743 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42744 (__libc_getspecific): Likewise.
42745 (__libc_key_create): Likewise.
42747 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42748 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42749 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42750 (tmpfile64): Define as alias.
42751 * sysdeps/wordsize-64/tmpfile.c: File removed.
42752 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42753 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42754 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42756 * stdio-common/vfscanf.c: Include <stdbool.h>.
42757 * nss/makedb.c: Likewise.
42758 * stdio-common/_i18n_number.h: Likewise.
42759 * argp/argp-help.c: Likewise.
42760 * posix/wordexp.c: Likewise.
42761 * sysdeps/posix/spawni.c: Likewise.
42762 * nss/nss_files/files-initgroups.c: Likewise.
42763 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42764 * nss/nss_files/files-initgroups.c: Likewise.
42765 * nss/nss_db/db-netgrp.c: Likewise.
42766 * nss/nss_db/db-initgroups.c: Likewise.
42767 * io/fchmodat.c: Include <sys/stat.h>.
42769 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42770 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42772 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42775 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42776 Add multiple inclusion protection.
42778 2012-07-27 David S. Miller <davem@davemloft.net>
42780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42782 2012-07-27 Gary Benson <gbenson@redhat.com>
42785 * elf/rtld.c: Include <stap-probe.h>.
42786 (dl_main): Added static probes "init_start" and "init_complete".
42787 * elf/dl-load.c: Include <stap-probe.h>.
42788 (lose): Take new parameter "nsid".
42789 Added static probe "map_failed".
42790 (_dl_map_object_from_fd): Pass namespace id to lose.
42791 Added static probe "map_start".
42792 (open_verify): Pass namespace id to lose.
42793 * elf/dl-open.c: Include <stap-probe.h>.
42794 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42795 and "reloc_complete".
42796 * elf/dl-close.c: Include <stap-probe.h>.
42797 (_dl_close_worker): Added static probes "unmap_start" and
42799 * elf/rtld-debugger-interface.txt: New file documenting the above.
42801 2012-07-26 Roland McGrath <roland@hack.frob.com>
42803 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42804 rather than a string variable.
42805 * sunrpc/rpc_main.c (h_output): Likewise.
42806 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42808 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42810 * inet/check_native.c: New file.
42812 2012-07-26 Joseph Myers <joseph@codesourcery.com>
42815 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42816 if larger part has absolute value 1.0.
42817 * math/s_clog10.c (__clog10): Likewise.
42818 * math/s_clog10f.c (__clog10f): Likewise.
42819 * math/s_clog10l.c (__clog10l): Likewise.
42820 * math/s_clogf.c (__clogf): Likewise.
42821 * math/s_clogl.c (__clogl): Likewise.
42822 * math/libm-test.inc (clog_test): Add more tests.
42823 (clog10_test): Likewise.
42824 * sysdeps/i386/fpu/libm-test-ulps: Update.
42825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42827 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42828 (pltexit): Likewise.
42829 (La_regs): Likewise.
42830 (La_retval): Likewise.
42831 (int_retval): Likewise.
42832 Update #error for removed macros to refer only to definitions in
42834 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42836 (pltexit): Likewise.
42837 (La_regs): Likewise.
42838 (La_retval): Likewise.
42839 (int_retval): Likewise.
42840 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42842 (pltexit): Likewise.
42843 (La_regs): Likewise.
42844 (La_retval): Likewise.
42845 (int_retval): Likewise.
42846 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42848 (pltexit): Likewise.
42849 (La_regs): Likewise.
42850 (La_retval): Likewise.
42851 (int_retval): Likewise.
42852 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42854 (pltexit): Likewise.
42855 (La_regs): Likewise.
42856 (La_retval): Likewise.
42857 (int_retval): Likewise.
42858 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42860 (pltexit): Likewise.
42861 (La_regs): Likewise.
42862 (La_retval): Likewise.
42863 (int_retval): Likewise.
42864 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42866 (pltexit): Likewise.
42867 (La_regs): Likewise.
42868 (La_retval): Likewise.
42869 (int_retval): Likewise.
42870 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42871 macro definitions in tst-audit.h.
42872 * sysdeps/i386/tst-audit.h: New file.
42873 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42874 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42875 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42876 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42877 * sysdeps/sh/tst-audit.h: Likewise.
42878 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42879 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42880 * sysdeps/x86_64/tst-audit.h: Likewise.
42882 2012-07-26 Andreas Jaeger <aj@suse.de>
42884 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42887 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42888 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42889 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42891 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42892 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42893 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42895 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42898 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42900 (si_call_addr, si_syscall, si_arch): Define new macro.
42901 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42903 (si_call_addr, si_syscall, si_arch): Define new marcro.
42904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42906 (si_call_addr, si_syscall, si_arch): Define new macro.
42907 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42909 (si_call_addr, si_syscall, si_arch): Define new macro.
42911 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42914 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42915 Change to 2.4.21 where previously 2.4.1.
42916 * sysdeps/unix/sysv/linux/configure: Regenerated.
42917 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42918 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42919 Linux kernel version.
42920 (__ASSUME_STD_AUXV): Remove.
42921 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42923 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42924 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42925 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42926 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42927 (__ASSUME_NETLINK_SUPPORT): Likewise.
42928 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42929 (__no_netlink_support): Remove conditional definition.
42930 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42932 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42933 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42934 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42935 (if_nameindex_ioctl): Remove.
42936 (if_nameindex_netlink): Do not handle __no_netlink_support.
42937 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42939 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42940 Remove conditional code.
42941 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42943 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42945 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42946 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42947 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42949 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42950 [!__ASSUME_STD_AUXV]: Remove conditional code.
42951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42952 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42953 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42955 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42956 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42958 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42960 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42961 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42963 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42965 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42968 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42971 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42972 code unconditional.
42973 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42975 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42977 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42980 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42982 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42985 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42986 code unconditional.
42987 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42989 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42991 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42994 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42995 code unconditional.
42996 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42998 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43000 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43003 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
43005 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43006 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43007 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43008 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43009 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43010 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43011 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43012 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43013 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43014 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43015 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43016 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43017 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43018 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43019 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43020 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43021 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43023 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43025 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43026 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43027 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43029 2012-07-25 Florian Weimer <fweimer@redhat.com>
43031 * Versions.def: Add GLIBC_2.17.
43032 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43033 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43034 Introduce __libc_secure_getenv.
43035 * stdlib/Versions (2.17): Add secure_getenv
43036 (GLIBC_PRIVATE): Add __libc_secure_getenv.
43037 * stdlib/secure-getenv.c: Rename __secure_getenv to
43038 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
43039 symbol __secure_getenv for GLIBC_2.0.
43040 * stdlib/tst-secure-getenv.c: New.
43041 * stdlib/Makefile (tests): Add testcase.
43042 * manual/startup.texi (Environment Access): Document
43044 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43045 __libc_secure_getenv.
43046 * inet/ruserpass.c (ruserpass): Likewise.
43047 * malloc/mtrace.c (mtrace): Likewise.
43048 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43049 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43050 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43051 * sysdeps/posix/tempname.c: Likewise. Evaluate
43052 HAVE_SECURE_GETENV.
43053 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43054 __secure_getenv to __libc_secure_getenv.
43055 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43062 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43068 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43070 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43071 (struct La_i86_retval): Likewise.
43072 (struct La_x86_64_regs): Likewise.
43073 (struct La_x86_64_retval): Likewise.
43074 (struct La_x32_regs): Likewise.
43075 (struct La_x32_retval): Likewise.
43076 (struct La_ppc32_regs): Likewise.
43077 (struct La_ppc32_retval): Likewise.
43078 (struct La_ppc64_regs): Likewise.
43079 (struct La_ppc64_retval): Likewise.
43080 (struct La_sh_regs): Likewise.
43081 (struct La_sh_retval): Likewise.
43082 (struct La_s390_32_regs): Likewise.
43083 (struct La_s390_32_retval): Likewise.
43084 (struct La_s390_64_regs): Likewise.
43085 (struct La_s390_64_retval): Likewise.
43086 (struct La_sparc32_regs): Likewise.
43087 (struct La_sparc32_retval): Likewise.
43088 (struct La_sparc64_regs): Likewise.
43089 (struct La_sparc64_retval): Likewise.
43090 (struct audit_ifaces): Remove architecture-specific pltenter and
43092 * sysdeps/i386/ldsodefs.h: New file.
43093 * sysdeps/powerpc/ldsodefs.h: Likewise.
43094 * sysdeps/s390/ldsodefs.h: Likewise.
43095 * sysdeps/sh/ldsodefs.h: Likewise.
43096 * sysdeps/sparc/ldsodefs.h: Likewise.
43097 * sysdeps/x86_64/ldsodefs.h: Likewise.
43099 2012-07-25 Marek Polacek <polacek@redhat.com>
43102 * math/libm-test.inc (yn_test): Add another test.
43103 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43104 to ERANGE when the result is +-Inf.
43105 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43106 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43107 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43108 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43110 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43112 * conform/data/time.h-data (NULL): Use macro-constant. Require
43114 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43116 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43118 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43120 * configure.in <sysdeps resolving>: Correct printing
43122 * configure: Regenerate.
43124 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43126 * math/w_ilogb.c: Include <limits.h>.
43127 * math/w_ilogbl.c: Likewise.
43129 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43131 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43132 va_copy. Document allowing for unavailable va_copy only as
43133 pre-C99 compatibility.
43134 * manual/string.texi (Copying and Concatenation): Use va_copy
43135 instead of __va_copy in concat example.
43137 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43139 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43140 (__sendto): Use create_address_port. Initialize APORT and deallocate
43143 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43144 with O_NOLINK passed to __file_name_lookup.
43146 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43147 with O_NOLINK passed to __file_name_lookup.
43149 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43150 negative N or less than NGIDS.
43152 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43153 type to string_t. Set ERANGE as errno and return it if NAME is not big
43154 enough. Use memcpy instead of strncpy.
43156 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43158 * elf/Makefile (check-data): Remove.
43159 (localplt.data): New vpath directive.
43160 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43161 instead of $(check-data).
43162 * scripts/data/localplt-generic.data: Move to ...
43163 * sysdeps/generic/localplt.data: ... here.
43164 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43165 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43166 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43169 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43172 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43175 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43178 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43181 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43185 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43187 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43188 PPC32 and PPC64 files.
43189 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43190 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43192 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43194 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43195 __makecontext_ret to ...
43196 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43197 ... here and call exit if uc_link is NULL. New file.
43198 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43199 __makecontext_ret.S.
43200 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43201 __makecontext_ret to ...
43202 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43203 ... here and call exit if uc_link is NULL. New file.
43204 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43205 __makecontext_ret.S.
43207 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43209 * elf/elf.h (R_390_IRELATIVE): New definition.
43210 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43211 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43212 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43213 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43214 (elf_machine_lazy_rel): Likewise.
43215 * sysdeps/s390/dl-irel.h: New file.
43216 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43217 * sysdeps/s390/s390-64/memset.S: New asm code.
43218 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43219 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43220 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43221 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43222 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43223 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43224 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43225 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43226 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43227 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43228 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43229 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43230 * sysdeps/s390/s390-32/memset.S: New asm code.
43231 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43233 2012-07-17 Marek Polacek <polacek@redhat.com>
43236 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43237 * sysdeps/s390/s390-64/configure.in: Likewise.
43238 * sysdeps/sparc/configure.in: Likewise.
43239 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43240 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43241 * sysdeps/i386/configure.in: Likewise.
43242 * sysdeps/x86_64/configure.in: Likewise.
43243 * sysdeps/sh/configure.in: Likewise.
43244 * sysdeps/s390/s390-32/configure: Regenerated.
43245 * sysdeps/s390/s390-64/configure: Likewise.
43246 * sysdeps/x86_64/configure: Likewise.
43247 * sysdeps/sh/configure: Likewise.
43248 * sysdeps/powerpc/powerpc64/configure: Likewise.
43249 * sysdeps/powerpc/powerpc32/configure: Likewise.
43250 * sysdeps/sparc/configure: Likwise.
43251 * sysdeps/i386/configure: Likewise.
43253 * elf/dl-open.c: Comment fixes.
43255 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43257 * Makefile [CXX] (check-data): Remove.
43258 [CXX] (c++-types.data): New vpath directive.
43259 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43260 vpath. Do not allow for C++ type data being missing.
43261 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43262 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43263 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43264 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43265 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43266 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43267 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43270 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43273 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43276 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43279 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43282 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43285 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43288 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43291 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43292 definitions to architecture-specific files.
43293 (TLS_IE): Likewise.
43294 (TLS_LD): Likewise.
43295 (TLS_GD): Likewise.
43296 * sysdeps/i386/tls-macros.h: New file.
43297 * sysdeps/powerpc/tls-macros.h: Likewise.
43298 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43299 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43300 * sysdeps/sh/tls-macros.h: Likewise.
43301 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43302 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43303 * sysdeps/x86_64/tls-macros.h: Likewise.
43305 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43307 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43308 zero value for regular exit case.
43310 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43311 (__start_context): Preserve zero value for regular exit case.
43313 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43314 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43316 * manual/setjmp.texi (setcontext): Clarify normal process
43317 termination when uc_link is the null pointer.
43318 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43321 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43323 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43324 preprocessor. Test for each exception mask separately.
43326 2012-07-16 Andreas Jaeger <aj@suse.de>
43328 * po/ru.po: Update from translation team.
43330 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43332 * conform/data/string.h-data (NULL): Use macro-constant. Require
43334 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43335 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43336 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43337 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43338 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43340 2012-07-13 Andreas Jaeger <aj@suse.de>
43342 * po/fr.po: Update from translation team.
43344 2012-07-12 Marek Polacek <polacek@redhat.com>
43347 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43348 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43351 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43354 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43355 Change to 2.4.1 where previously 2.4.0.
43356 * sysdeps/unix/sysv/linux/configure: Regenerated.
43357 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43358 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43360 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43361 (__ASSUME_AT_CLKTCK): Remove.
43362 (__ASSUME_AT_PAGESIZE): Likewise.
43363 (__ASSUME_AT_XID): Likewise.
43364 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43365 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43366 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43368 (HAVE_AUX_PAGESIZE): Likewise.
43369 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43370 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43371 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43373 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43377 the temporary buffer used to invoke __gethostbyname2_r,
43378 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43379 host_data / struct gaih_addrtuple.
43380 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43381 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43382 header file nss/nsswitch.h.
43383 * nss/nsswitch.h (global scope): Add definition of implementation
43384 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43385 resolv/nss_dns/dns-host.c).
43387 2012-07-11 Andreas Jaeger <aj@suse.de>
43389 * po/fr.po: Update from translation team.
43391 * po/sv.po: Update from translation team
43392 * po/fr.po: Another update from translation team.
43394 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43396 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43397 for subnormals or multiply small sinh result by itself.
43398 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43401 2012-07-11 David S. Miller <davem@davemloft.net>
43403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43405 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43408 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43409 (INTERNAL_MARK): Shift it here.
43411 2012-07-10 Marek Polacek <polacek@redhat.com>
43414 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43415 libc_cv_asm_global_directive with .globl.
43416 * configure: Regenerated.
43417 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43419 * sysdeps/i386/configure: Regenerated.
43420 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43422 * sysdeps/x86_64/configure: Regenerated.
43423 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43424 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43425 * elf/tst-unique2mod2.c: Likewise.
43426 * elf/tst-unique2mod1.c: Likewise.
43427 * elf/tst-unique1mod2.c: Likewise.
43428 * elf/tst-unique1mod1.c: Likewise.
43429 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43430 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43431 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43432 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43433 * sysdeps/mach/sysdep.h: Likewise.
43434 * sysdeps/i386/sysdep.h: Likewise.
43435 * sysdeps/i386/i386-mcount.S: Likewise.
43436 * sysdeps/x86_64/_mcount.S: Likewise.
43437 * sysdeps/x86_64/sysdep.h: Likewise.
43438 * sysdeps/sh/_mcount.S: Likewise.
43439 * sysdeps/sh/sysdep.h: Likewise.
43440 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43441 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43442 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43443 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43444 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43445 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43446 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43447 * locale/localeinfo.h: Likewise.
43448 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43449 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43451 2012-07-09 Roland McGrath <roland@hack.frob.com>
43454 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43456 * manual/message.texi (The Uniforum approach): Likewise.
43457 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43458 (glibc iconv Implementation): Likewise.
43460 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43463 * math/s_clog.c (__clog): Avoid scaling a value down where that
43464 could result in underflow.
43465 * math/s_clog10.c (__clog10): Likewise.
43466 * math/s_clog10f.c (__clog10f): Likewise.
43467 * math/s_clog10l.c (__clog10l): Likewise.
43468 * math/s_clogf.c (__clogf): Likewise.
43469 * math/s_clogl.c (__clogl): Likewise.
43470 * math/libm-test.inc (clog_test): Add more tests.
43471 (clog10_test): Likewise.
43472 * sysdeps/i386/fpu/libm-test-ulps: Update.
43473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43475 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43478 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43479 by 7 not 8 to examine high bit of fractional part.
43482 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43483 for call to __mcount_internal.
43484 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43485 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43486 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43488 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43491 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43492 approximation for values within 0x1p-13f of an odd multiple of
43494 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43495 exception. Add more tests.
43496 * sysdeps/i386/fpu/libm-test-ulps: Update.
43499 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43500 inputs and return -1 for them. Do not check for +Inf in case not
43501 reachable for +Inf.
43502 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43503 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43505 and return -1 for them. Do not check for +Inf in case not
43506 reachable for +Inf.
43507 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43509 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43510 and return -1 for them. Do not check for +Inf in case not
43511 reachable for +Inf.
43512 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43513 spurious underflow.
43514 * sysdeps/i386/fpu/libm-test-ulps: Update.
43515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43517 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43519 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43521 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43525 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43526 could result in spurious underflow. Scale down values above
43527 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43528 * math/s_csqrtf.c (__csqrtf): Likewise.
43529 * math/s_csqrtl.c (__csqrtl): Likewise.
43530 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43531 spurious underflow.
43532 * sysdeps/i386/fpu/libm-test-ulps: Update.
43533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43535 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43537 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43539 * catgets/xopen-msg.awk: New file.
43540 * catgets/xopen-msg.sed: Removed.
43542 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43544 * intl/po2test.awk: New file.
43545 * intl/po2test.sed: Removed.
43547 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43550 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43551 or multiply small sinh result by itself.
43552 * math/s_ctanf.c (__ctanf): Likewise.
43553 * math/s_ctanh.c (__ctanh): Likewise.
43554 * math/s_ctanhf.c (__ctanhf): Likewise.
43555 * math/s_ctanhl.c (__ctanhl): Likewise.
43556 * math/s_ctanl.c (__ctanl): Likewise.
43557 * math/libm-test.inc (ctan_test_tonearest): New function.
43558 (ctan_test_towardzero): Likewise.
43559 (ctan_test_downward): Likewise.
43560 (ctan_test_upward): Likewise.
43561 (ctanh_test_tonearest): Likewise.
43562 (ctanh_test_towardzero): Likewise.
43563 (ctanh_test_downward): Likewise.
43564 (ctanh_test_upward): Likewise.
43565 (main): Call these new functions.
43566 * sysdeps/i386/fpu/libm-test-ulps: Update.
43567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43569 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43571 * .gitignore: Delete /ports entry.
43573 2012-07-03 Andreas Jaeger <aj@suse.de>
43575 * po/bg.po: Update from translation team.
43576 * po/cs.po: Likewise.
43577 * po/de.po: Likewise.
43578 * po/hr.po: Likewise.
43579 * po/nl.pl: Likewise.
43580 * po/pl.po: Likewise.
43581 * po/vi.po: Likewise.
43583 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43585 * Makeconfig [!+link] (+link-before-libc): New variable.
43586 [!+link] (+link-after-libc): Likewise.
43587 [!+link] (+link-tests): Likewise.
43588 [!+link] (+link): Define in terms of $(+link-before-libc) and
43589 $(+link-after-libc).
43590 [!+link-static] (+link-static-before-libc): New variable.
43591 [!+link-static] (+link-static-after-libc): Likewise.
43592 [!+link-static] (+link-static-tests): Likewise.
43593 [!+link-static] (+link-static): Define in terms of
43594 $(+link-static-before-libc) and $(+link-static-after-libc).
43595 [build-shared] (link-libc-before-gnulib): New variable.
43596 [build-shared] (link-libc-tests): Likewise.
43597 [build-shared] (link-libc): Define in terms of
43598 $(link-libc-before-gnulib).
43599 [!build-shared] (link-libc-tests): New variable.
43600 (link-libc-static-tests): New variable.
43601 [!gnulib] (gnulib-arch): New variable.
43602 [!gnulib] (gnulib-tests): Likewise.
43603 [!gnulib] (static-gnulib-arch): Likewise.
43604 [!gnulib] (static-gnulib-tests): Likewise.
43605 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43606 Define with "=" instead of ":=".
43607 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43608 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43609 * Rules (binaries-all-notests): New variable.
43610 (binaries-all-tests): Likewise.
43611 (binaries-static-notests): Likewise.
43612 (binaries-static-tests): Likewise.
43613 (binaries-all): Define using $(binaries-all-notests) and
43614 $(binaries-all-tests).
43615 (binaries-static): Define using $(binaries-static-notests) and
43616 $(binaries-static-tests).
43617 (binaries-shared-tests): New variable.
43618 (binaries-shared-notests): Likewise.
43619 (binaries-shared): Remove variable.
43620 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43621 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43622 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43623 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43624 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43625 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43626 * elf/Makefile (sln-modules): New variable.
43627 (extra-objs): Add $(sln-modules:=.o).
43628 (ldconfig-modules): Add static-stubs.
43629 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43630 * elf/static-stubs.c: New file.
43633 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43634 by 7 not 8 to examine high bit of fractional part. Use volatile
43635 variables when splitting into final array of floats if
43636 __FLT_EVAL_METHOD__ != 0.
43637 * math/libm-test.inc (cos_test): Add another test.
43638 (sin_test): Likewise.
43639 * sysdeps/i386/fpu/libm-test-ulps: Update.
43642 * math/libm-test.inc (cosh_test): Add more tests.
43644 * version.h (RELEASE): Set to "development".
43645 (VERSION): Set to "2.16.90".
43647 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43649 * NEWS: Update copyright. Remove last-updated date.
43650 Mention math library bug fixes and timezone data changes.
43651 * README: Mention GNU/Hurd, x32, and HPPA support status.
43653 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43655 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43657 2012-06-27 Andreas Jaeger <aj@suse.de>
43659 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43661 2012-06-25 Andreas Jaeger <aj@suse.de>
43663 * sysdeps/s390/fpu/libm-test-ulps: Update.
43665 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43666 Thomas Schwinge <thomas@codesourcery.com>
43668 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43669 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43673 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43675 * sysdeps/mach/start.c: Remove file.
43676 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43677 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43678 * sysdeps/sh/init-first.c: Likewise.
43680 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43681 registers for frame unwinding purposes, add CFI directives.
43682 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43683 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43684 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43687 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43688 __fortify_fail returning.
43689 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43691 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43692 sysdeps/sh/____longjmp_chk.S.
43693 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43694 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43695 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43696 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43698 * sysdeps/sh/abort-instr.h: New file.
43699 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43700 process in case exit returns.
43702 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43703 initialize the GOT register before use.
43705 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43706 calculation of ARGC > 4.
43708 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43709 meaningful names to some local labels.
43711 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43712 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43714 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43715 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43716 (__arch_compare_and_exchange_val_16_acq): Likewise.
43717 (__arch_compare_and_exchange_val_32_acq): Likewise.
43718 (atomic_exchange_and_add): Fix gUSA sequence.
43719 (atomic_add): Likewise.
43720 (atomic_add_negative): Likewise.
43721 (atomic_add_zero): Likewise.
43722 (atomic_bit_test_set): Likewise.
43724 2012-06-22 Andreas Schwab <schwab@redhat.com>
43727 * include/link.h (struct link_map): Add l_free_initfini.
43728 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43730 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43731 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43732 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43735 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43737 * configure.in: Use AC_LANG_SOURCE.
43738 * configure: Regenerate.
43740 2012-06-22 Roland McGrath <roland@hack.frob.com>
43742 * configure.in (libc_cv_localstatedir): New substituted variable.
43743 * configure: Regenerated.
43744 * config.make.in (localstatedir): New variable, substituted from
43745 libc_cv_localstatedir.
43746 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43747 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43748 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43749 * sysdeps/gnu/configure: Regenerated.
43751 2012-06-21 Jeff Law <law@redhat.com>
43754 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43755 free. Simplify list management for _LIBC case.
43757 2012-06-21 Joseph Myers <joseph@codesourcery.com>
43760 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43761 Clear sign bit of 64-bit integer value before comparing against
43764 * sysdeps/mach/configure: Regenerated.
43766 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43769 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43771 2012-06-21 Jeff Law <law@redhat.com>
43774 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43775 uint16_t for elements in the "seen" array to avoid char overflows.
43776 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43777 * elf/dl-open.c (dl_open_worker): Likewise.
43779 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43781 * scripts/list-sources.sh: Scan PORTS for translations.
43782 * po/libc.pot: Regenerated.
43784 2012-06-21 Andreas Jaeger <aj@suse.de>
43787 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43789 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43790 * bits/byteswap-16.h (__bswap_16): Likewise.
43791 * bits/byteswap.h (__bswap_constant_16): Likewise.
43793 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43796 * sysdeps/i386/fpu_control.h: Removed.
43797 * sysdeps/x86_64/fpu_control.h: Moved to ...
43798 * sysdeps/x86/fpu_control.h: Here.
43800 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43801 (_FPU_SETCW): Likewise.
43803 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43806 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43807 * sysdeps/x86/fpu/bits/mathinline.h: This.
43808 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43812 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43813 functions if __x86_64__ is defined.
43815 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43817 * string/endian.h: Add !__ASSEMBLER__ condition for including
43818 conversion interfaces.
43820 2012-06-15 Joseph Myers <joseph@codesourcery.com>
43823 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43824 of ABS(x) in calculating zero to negative powers other than odd
43826 * math/libm-test.inc (pow_test): Add more tests.
43828 2012-06-15 Andreas Jaeger <aj@suse.de>
43830 * manual/contrib.texi (Contributors): Update entry of Liubov
43831 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43834 2012-06-15 Cyril Hrubis <metan@ucw.cz>
43836 * string/string.h: Add __wur to GNU version of strerror_r.
43838 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43841 * string/Makefile (tests): Add tst-strtok_r.
43842 * string/tst-strtok_r.c: New file.
43843 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43844 RAX_LP/RDX_LP on SAVE_PTR.
43846 2012-06-14 Roland McGrath <roland@hack.frob.com>
43848 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43850 2012-06-14 Joseph Myers <joseph@codesourcery.com>
43852 * libm_test.inc (csqrt_test): Allow more spurious underflow
43854 (j0_test): Likewise.
43855 (j1_test): Likewise.
43856 (y0_test): Likewise.
43857 (y1_test): Likewise.
43859 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43861 * po/Makefile (libc.pot): Use UTF-8 charset.
43863 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43866 Suppress sign-conversion warning from FD_SET.
43867 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43868 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43869 not unsigned long int.
43870 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43872 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43876 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43877 __extern_always_inline instead of __extern_inline.
43878 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43879 (__signbit): Likewise.
43880 (__signbitl): Support C++ namespace.
43881 (lrintf): New inline function.
43883 (llrintf): Likewise.
43884 (llrint): Likewise.
43894 (floorf): Likewise.
43895 (nearbyint): Likewise.
43896 (nearbyintf): Likewise.
43898 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43900 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43901 non-default versions.
43903 2012-06-11 Roland McGrath <roland@hack.frob.com>
43906 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43908 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43910 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43911 (FE_UPWARD, FE_DOWNWARD): Don't define.
43912 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43913 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43915 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43917 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43918 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43920 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43922 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43924 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43925 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43927 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43930 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43931 * sysdeps/i386/fpu/Implies: New file.
43932 * sysdeps/x86_64/fpu/Implies: Likewise.
43933 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43934 * sysdeps/x86/fpu/bits/fenv.h: This.
43936 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43939 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43942 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43943 character 0xffff that matches the last element of the
43946 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43948 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43951 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43954 values higher than 25.6283.
43956 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43958 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43959 subnormal exponent extraction and add some __builtin_expect.
43960 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43961 Fix for subnormal mantissa calculation.
43963 2012-06-04 Mike Frysinger <vapier@gentoo.org>
43965 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43966 cpu2 is -1 and errno is not ENOSYS.
43968 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43971 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43972 * sysdeps/x86/bits/string.h: This.
43973 * sysdeps/x86_64/bits/string.h: Removed.
43975 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43976 if not compiling for x86-64, but compiling for >= i486.
43978 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43979 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43981 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43982 New macro from Linux kernel 3.4.0.
43983 (FP_XSTATE_MAGIC2): Likewise.
43984 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43985 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43986 (struct _fpx_sw_bytes): New struct.
43987 (struct _xsave_hdr): Likewise.
43988 (struct _ymmh_state): Likewise.
43989 (struct _xstate): Likewise.
43991 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43992 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43993 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43994 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43995 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43996 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43998 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43999 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44000 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44001 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44002 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44003 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44005 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44008 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44009 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44010 (sysdep_headers): Include sys/platform/ppc.h.
44011 * sysdeps/powerpc/test-gettimebase.c: Test for
44012 __ppc_get_timebase() to catch future ISA opcode/insn changes.
44013 * manual/Makefile (appendices): Include platform.texi.
44014 * manual/contrib.texi (Contributors): Update @node pointers.
44015 * manual/maint.texi (Maintenance): Likewise.
44016 (Platform): New node.
44017 * manual/platform.texi: New file. Document the new features.
44019 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44020 Jakub Jelinek <jakub@redhat.com>
44023 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44024 where __builtin_expect is unavailable.
44026 2012-06-03 David S. Miller <davem@davemloft.net>
44028 * stdlib/longlong.h: Updated from GCC.
44030 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44033 * sysdeps/powerpc/powerpc32/mcount.c: New file.
44034 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44037 (GLIBC_2.16): Likewise.
44039 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44041 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44043 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44046 (default-abi): New variable.
44047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44048 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44050 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44052 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44054 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44057 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44058 definition. Document in comment.
44060 2012-06-01 David S. Miller <davem@davemloft.net>
44062 * stdlib/longlong.h: Updated from GCC.
44064 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44067 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44068 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44069 sys/debugreg.h sys/io.h here.
44070 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44071 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44073 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44074 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44075 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44076 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44077 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44078 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44080 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44081 Define only if __x86_64__ is defined.
44083 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44086 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44087 Use int64_t for variable i.
44088 * math/libm-test.inc (fmod_test): Add more tests.
44090 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44091 z computation is not scheduled after fetestexcept.
44092 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44093 Use math_force_eval instead of asm to ensure calculation scheduled
44094 before exception test.
44095 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44096 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44098 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44101 computation is not scheduled after fetestexcept.
44103 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44106 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44107 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44109 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44111 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44112 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44114 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44117 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44119 (__WCHAR_MIN): Support __WORDSIZE == 64.
44120 (__WCHAR_MAX): Likewise.
44122 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44123 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44126 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44127 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44130 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44131 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44133 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44134 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44136 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44137 Defined to 1 if __x86_64__ isn't defined.
44138 (_STAT_VER_LINUX_OLD): New.
44139 (st_atime): Remove duplicate.
44140 (st_mtime): Likewise.
44141 (st_ctime): Likewise.
44143 2012-05-31 David S. Miller <davem@davemloft.net>
44145 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44148 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44150 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44154 * elf/dl-reloc.c: Include <_itoa.h>.
44155 (_dl_reloc_bad_type): Remove use of INTUSE.
44156 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44157 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44158 * stdio-common/psiginfo.c (psiginfo): Likewise.
44159 * stdio-common/psignal.c (psignal): Likewise.
44160 * string/strsignal.c (strsignal): Likewise.
44161 * include/signal.h (_sys_siglist): Declare hidden proto.
44162 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44163 INTVARDEF with libc_hidden_data_def.
44164 * stdio-common/itoa-udigits.c: Likewise.
44165 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44166 (_itoa_lower_digits_internal): Remove declaration.
44167 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44168 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44169 (_sys_sigabbrev_internal): Remove aliases.
44170 (_sys_siglist): Define hidden alias.
44172 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44177 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44180 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44181 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44183 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44184 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44185 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44186 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44187 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44188 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44190 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44191 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44192 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44194 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44202 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44203 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44204 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44206 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44207 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44208 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44209 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44210 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44211 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44213 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44214 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44216 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44217 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44219 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44220 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44221 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44223 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44224 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44226 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44228 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44229 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44230 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44232 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44234 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44236 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44238 * math/math.h (M_El): Use two more decimal places.
44239 (M_LOG2El): Likewise.
44240 (M_LOG10El): Likewise.
44241 (M_LN2l): Likewise.
44242 (M_LN10l): Likewise.
44244 (M_PI_2l): Likewise.
44245 (M_PI_4l): Likewise.
44246 (M_1_PIl): Likewise.
44247 (M_2_PIl): Likewise.
44248 (M_2_SQRTPIl): Likewise.
44249 (M_SQRT2l): Likewise.
44250 (M_SQRT1_2l): Likewise.
44252 2012-05-31 David S. Miller <davem@davemloft.net>
44254 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44255 values between float registers.
44256 * sysdeps/sparc/sparc64/memset.S: Likewise.
44257 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44259 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44261 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44262 -D_FORTIFY_SOURCE=1.
44263 (CPPFLAGS-tst-longjmp_chk.c): Define.
44264 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44265 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44266 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44267 CFLAGS-tst-wchar-h.c.
44269 2012-05-31 Marek Polacek <polacek@redhat.com>
44272 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44273 __endmntent_internal): Remove declaration.
44274 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44275 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44276 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44278 2012-05-30 David S. Miller <davem@davemloft.net>
44280 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44281 (___Q_simulate_exceptions): Use real FP ops rather than writing
44283 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44286 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44289 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44290 * sysdeps/x86/bits/xtitypes.h: This.
44292 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44293 * sysdeps/x86/bits/wordsize.h: This.
44295 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44296 * sysdeps/x86/bits/huge_vall.h: This.
44298 * sysdeps/i386/bits/select.h: Removed.
44299 * sysdeps/x86_64/bits/select.h: Renamed to ...
44300 * sysdeps/x86/bits/select.h: This.
44302 * sysdeps/i386/bits/setjmp.h: Removed.
44303 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44304 * sysdeps/x86/bits/setjmp.h: This.
44306 * sysdeps/i386/bits/mathdef.h: Removed.
44307 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44308 * sysdeps/x86/bits/mathdef.h: This.
44310 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44313 * include/sys/socket.h (__connect_internal)
44314 (__libc_sa_len_internal): Remove declaration.
44315 (__connect, __libc_sa_len): Declare hidden_proto.
44316 (SA_LEN): Remove use of INTUSE.
44317 * socket/connect.c: Add libc_hidden_def.
44318 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44319 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44320 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44322 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44323 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44324 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44325 of adding _internal alias.
44327 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44330 * sysdeps/i386/bits/link.h: Removed.
44331 * sysdeps/i386/bits/linkmap.h: Likewise.
44332 * sysdeps/x86_64/bits/link.h: Renamed to ...
44333 * sysdeps/x86/bits/link.h: This.
44334 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44335 * sysdeps/x86/bits/linkmap.h: This.
44337 * sysdeps/i386/bits/endian.h: Removed.
44338 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44339 * sysdeps/x86/bits/endian.h: This.
44341 * sysdeps/i386/bits/byteswap.h: Removed.
44342 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44343 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44344 * sysdeps/x86/bits/byteswap.h: This.
44345 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44346 * sysdeps/x86/bits/byteswap-16.h: This.
44347 * sysdeps/i386/Implies: Add x86.
44348 * sysdeps/x86_64/Implies: Likewise.
44350 2012-05-30 David S. Miller <davem@davemloft.net>
44352 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44353 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44354 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44355 (FP_TRAPPING_EXCEPTIONS): Define.
44356 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44357 (FP_TRAPPING_EXCEPTIONS): Define.
44358 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44359 subnormals only when inexact has been signalled or underflow
44360 exceptions are enabled.
44361 (_FP_PACK_CANONICAL): Likewise.
44363 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44367 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44369 2012-05-30 Richard Henderson <rth@twiddle.net>
44371 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44372 with #ifndef NOT_IN_libc.
44374 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44375 marked to avoid plt entry.
44377 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44380 * Makeconfig (default-abi): New macro.
44381 (abi-includes): Likewise.
44382 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44383 $(abi-$(default-abi)-lib-soname) for soname if defined.
44384 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44386 * Makefile (installed-stubs): Likewise.
44387 * include/stubs-biarch.h: Removed.
44388 * scripts/lib-names.awk: Only handle one library at a time.
44389 * scripts/soversions.awk: Remove WORDSIZE support.
44390 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44392 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44394 (syscall-list-default-condition): Likewise.
44395 (syscall-list-default-condition): Likewise.
44396 (syscall-list-includes): Likewise.
44397 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44398 syscall-list-* with abi-*. Handle undefined abi-variants.
44399 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44400 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44401 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44402 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44403 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44404 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44406 (syscall-list-32-options): Likewise.
44407 (syscall-list-32-condition): Likewise.
44408 (syscall-list-64-options): Likewise.
44409 (syscall-list-64-condition): Likewise.
44410 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44412 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44415 (abi-64-ld-soname): New macro.
44416 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44417 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44420 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44421 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44423 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44425 * sysdeps/unix/sysv/linux/kernel-features.h
44426 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44427 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44428 include <kernel-features.h>.
44429 [!__NR_ftruncate64]: Remove conditional code.
44430 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44431 [__NR_ftruncate64]: Make code unconditional.
44432 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44433 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44434 include <kernel-features.h>.
44435 [!__NR_ftruncate64]: Remove conditional code.
44436 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44437 [__NR_ftruncate64]: Make code unconditional.
44438 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44440 include <kernel-features.h>.
44441 [!__NR_ftruncate64]: Remove conditional code.
44442 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44443 [__NR_ftruncate64]: Make code unconditional.
44444 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44446 include <kernel-features.h>.
44447 [!__NR_ftruncate64]: Remove conditional code.
44448 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44449 [__NR_ftruncate64]: Make code unconditional.
44450 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44452 * configure.in (libc_cv_fpie): Weaken to a compile test using
44453 LIBC_TRY_CC_OPTION.
44454 * configure: Regenerated.
44456 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44471 2012-05-27 David S. Miller <davem@davemloft.net>
44473 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44475 (__Q_simulate_exceptions): Return void. Change to simulate
44476 exceptions by writing into the %fsr.
44477 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44478 (__Qp_handle_exceptions): Likewise.
44480 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44481 __Qp_handle_exceptions.
44482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44483 __Qp_handle_exceptions.
44484 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44485 as unused and give dummy FP_RND_NEAREST initializer.
44486 (FP_INHIBIT_RESULTS): Define.
44487 (___Q_simulate_exceptions): Update declaration.
44488 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44490 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44491 as unused and give dummy FP_RND_NEAREST initializer.
44492 (__Qp_handle_exceptions): Update declaration.
44493 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44496 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44498 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44499 the temporary FPU control word.
44500 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44501 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44502 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44503 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44504 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44505 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44506 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44507 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44508 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44509 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44510 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44512 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44514 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44517 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44519 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44520 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44521 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44522 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44524 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44525 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44528 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44530 * po/h.po: Update from translation team.
44532 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44534 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44536 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44537 handling of denormals.
44538 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44539 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44540 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44541 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44542 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44543 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44547 2012-05-26 Marek Polacek <polacek@redhat.com>
44550 * math/libm-test.inc (fma_test): Don't always expect underflow
44553 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44556 * elf/tst-execstack.c: Include stackinfo.h.
44557 (do_test): Adjust test case to ensure that pthread_getattr_np
44558 behaviour remains the same after marking stack executable.
44560 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44562 * sysdeps/unix/sysv/linux/kernel-features.h
44563 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44564 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44566 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44567 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44568 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44570 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44571 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44573 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44575 * configure.in: Define the default includes to being none.
44576 * configure: Regenerated.
44578 2012-05-25 Roland McGrath <roland@hack.frob.com>
44580 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44581 * sysdeps/x86_64/setjmp.S: Likewise.
44582 * sysdeps/i386/bsd-setjmp.S: Likewise.
44583 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44584 * sysdeps/i386/setjmp.S: Likewise.
44585 * sysdeps/i386/__longjmp.S: Likewise.
44586 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44587 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44589 * include/stap-probe.h: New file.
44590 * configure.in: Handle --enable-systemtap.
44591 * configure: Regenerated.
44592 * config.h.in (USE_STAP_PROBE): New #undef.
44593 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44594 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44595 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44597 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44601 to 2.4.0 where earlier.
44602 * sysdeps/unix/sysv/linux/configure: Regenerated.
44603 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44604 <kernel-features.h>.
44605 [__ASSUME_32BITUIDS]: Make code unconditional.
44606 [!__ASSUME_32BITUIDS]: Remove conditional code.
44607 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44608 <kernel-features.h>.
44609 [__ASSUME_32BITUIDS]: Make code unconditional.
44610 [!__ASSUME_32BITUIDS]: Remove conditional code.
44611 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44612 [__ASSUME_32BITUIDS]: Make code unconditional.
44613 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44614 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44615 <kernel-features.h>.
44616 [__ASSUME_32BITUIDS]: Make code unconditional.
44617 [!__ASSUME_32BITUIDS]: Remove conditional code.
44618 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44619 <kernel-features.h>.
44620 [__ASSUME_32BITUIDS]: Make code unconditional.
44621 [!__ASSUME_32BITUIDS]: Remove conditional code.
44622 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44623 <kernel-features.h>.
44624 [__ASSUME_32BITUIDS]: Make code unconditional.
44625 [!__ASSUME_32BITUIDS]: Remove conditional code.
44626 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44627 <kernel-features.h>.
44628 [__ASSUME_32BITUIDS]: Make code unconditional.
44629 [!__ASSUME_32BITUIDS]: Remove conditional code.
44630 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44631 <kernel-features.h>.
44632 [__ASSUME_32BITUIDS]: Make code unconditional.
44633 [!__ASSUME_32BITUIDS]: Remove conditional code.
44634 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44635 <kernel-features.h>.
44636 [__ASSUME_32BITUIDS]: Make code unconditional.
44637 [!__ASSUME_32BITUIDS]: Remove conditional code.
44638 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44639 <kernel-features.h>.
44640 [__ASSUME_32BITUIDS]: Make code unconditional.
44641 [!__ASSUME_32BITUIDS]: Remove conditional code.
44642 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44643 <kernel-features.h>.
44644 [__ASSUME_32BITUIDS]: Make code unconditional.
44645 [!__ASSUME_32BITUIDS]: Remove conditional code.
44646 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44647 <kernel-features.h>.
44648 [__ASSUME_32BITUIDS]: Make code unconditional.
44649 [!__ASSUME_32BITUIDS]: Remove conditional code.
44650 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44651 <kernel-features.h>.
44652 [__ASSUME_32BITUIDS]: Make code unconditional.
44653 [!__ASSUME_32BITUIDS]: Remove conditional code.
44654 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44655 <kernel-features.h>.
44656 [__NR_setresgid] (__setresgid): Do not declare.
44657 [__ASSUME_32BITUIDS]: Make code unconditional.
44658 [!__ASSUME_32BITUIDS]: Remove conditional code.
44659 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44660 <kernel-features.h>.
44661 [__NR_setresuid] (__setresuid): Do not declare.
44662 [__ASSUME_32BITUIDS]: Make code unconditional.
44663 [!__ASSUME_32BITUIDS]: Remove conditional code.
44664 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.c: Do not include
44685 <kernel-features.h>.
44686 [__ASSUME_32BITUIDS]: Make code unconditional.
44687 [!__ASSUME_32BITUIDS]: Remove conditional code.
44688 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44689 <kernel-features.h>.
44690 [__ASSUME_32BITUIDS]: Make code unconditional.
44691 [!__ASSUME_32BITUIDS]: Remove conditional code.
44692 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44693 <kernel-features.h>.
44694 [__ASSUME_32BITUIDS]: Make code unconditional.
44695 [!__ASSUME_32BITUIDS]: Remove conditional code.
44696 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44697 <kernel-features.h>.
44698 [__ASSUME_32BITUIDS]: Make code unconditional.
44699 [!__ASSUME_32BITUIDS]: Remove conditional code.
44700 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44701 <kernel-features.h>.
44702 [__ASSUME_32BITUIDS]: Make code unconditional.
44703 [!__ASSUME_32BITUIDS]: Remove conditional code.
44704 * sysdeps/unix/sysv/linux/kernel-features.h
44705 (__ASSUME_SETRESUID_SYSCALL): Remove.
44706 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44707 (__ASSUME_32BITUIDS): Likewise.
44708 (__ASSUME_LDT_WORKS): Likewise.
44709 (__ASSUME_O_DIRECTORY): Likewise.
44710 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44711 architecture but not kernel version.
44712 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44713 (__ASSUME_MMAP2_SYSCALL): Likewise.
44714 (__ASSUME_STAT64_SYSCALL): Likewise.
44715 (__ASSUME_IPC64): Likewise.
44716 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44717 <kernel-features.h>.
44718 [__ASSUME_32BITUIDS]: Make code unconditional.
44719 [!__ASSUME_32BITUIDS]: Remove conditional code.
44720 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44721 <kernel-features.h>.
44722 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44723 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44724 132096]: Remove conditional code.
44725 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44726 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
44735 <kernel-features.h>.
44736 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44738 (__setresgid): Do not declare.
44739 [__ASSUME_32BITUIDS]: Make code unconditional.
44740 [!__ASSUME_32BITUIDS]: Remove conditional code.
44741 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44742 <kernel-features.h>.
44743 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44745 (__setresuid): Do not declare.
44746 [__ASSUME_32BITUIDS]: Make code unconditional.
44747 [!__ASSUME_32BITUIDS]: Remove conditional code.
44748 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44749 <kernel-features.h>.
44750 [__ASSUME_32BITUIDS]: Make code unconditional.
44751 [!__ASSUME_32BITUIDS]: Remove conditional code.
44752 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44753 <kernel-features.h>.
44754 [__ASSUME_32BITUIDS]: Make code unconditional.
44755 [!__ASSUME_32BITUIDS]: Remove conditional code.
44757 2012-05-25 Richard Henderson <rth@twiddle.net>
44759 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44760 dl_hwcap to ifunc resolver.
44761 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44763 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44764 dl_hwcap to ifunc resolver.
44765 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44767 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44770 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44771 for |x| <= 2**-26, not 2**-57.
44772 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44775 2012-05-24 Jeff Law <law@redhat.com>
44777 * stdio-common/Makefile (tests): Add bug25.
44778 * stdio-common/bug25.c: New test.
44780 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44783 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44784 multiple of MALLOC_ALIGNMENT in size.
44785 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44787 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44789 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44791 (FILENAME_MAX): Use macro-int-constant.
44792 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44793 (_IOFBF): Use macro-int-constant.
44794 (_IOLBF): Likewise.
44795 (_IONBF): Likewise.
44796 (SEEK_CUR): Likewise.
44797 (SEEK_END): Likewise.
44798 (SEEK_SET): Likewise.
44799 (TMP_MAX): Likewise.
44800 (EOF): Use macro-int-constant. Require < 0.
44801 (NULL): Use macro-constant. Require == 0.
44802 (stdin): Require type to be FILE *.
44803 (stdout): Likewise.
44804 (stderr): Likewise.
44805 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44806 macro-int-constant.
44807 (EXIT_SUCCESS): Likewise.
44808 (NULL): Use macro-constant. Require == 0.
44809 (RAND_MAX): Use macro-int-constant.
44810 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44811 [C99-based standards] (strtof): Require function.
44812 [C99-based standards] (strtold): Likewise.
44813 [C99-based standards] (strtoll): Likewise.
44814 [C99-based standards] (strtoull): Likewise.
44815 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44816 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44817 [ISO || ISO99 || ISO11] (math.h): Likewise.
44818 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44819 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44822 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44825 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44826 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44827 * intl/dgettext.c (DCGETTEXT): Likewise.
44828 * intl/gettext.c (DCGETTEXT): Likewise.
44829 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44830 * posix/regex_internal.h (gettext): Likewise.
44831 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44832 Remove declaration.
44833 * include/argz.h (__argz_count_internal)
44834 (__argz_stringify_internal): Remove declaration.
44835 (__argz_count, __argz_stringify): Declare hidden proto.
44836 * intl/dcgettext.c: Remove use of INTDEF.
44837 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44838 * string/argz-stringify.c: Likewise.
44839 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44840 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44841 Declare hidden proto.
44842 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44843 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44844 Declare hidden proto.
44845 * include/stdio.h (__asprintf_internal): Don't declare.
44846 (__asprintf): Don't define as macro. Declare hidden proto.
44847 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44848 (__fsetlocking): Declare hidden proto.
44849 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44850 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44852 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44853 (_IO_setlinebuf): Remove use of INTUSE.
44854 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44855 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44856 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44857 Remove declaration.
44858 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44859 (_IO_do_flush): Remove use of INTUSE.
44860 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44861 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44862 (_IO_adjust_column, _IO_least_wmarker)
44863 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44864 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44865 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44866 (_IO_default_doallocate, _IO_wdefault_doallocate)
44867 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44868 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44869 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44870 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44871 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44872 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44873 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44874 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44875 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44876 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44877 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44878 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44879 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44881 (_IO_flush_all_internal, _IO_adjust_column_internal)
44882 (_IO_default_uflow_internal, _IO_default_finish_internal)
44883 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44884 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44885 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44886 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44887 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44888 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44889 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44890 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44891 (_IO_file_close_internal, _IO_file_close_it_internal)
44892 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44893 (_IO_file_init_internal, _IO_file_attach_internal)
44894 (_IO_file_fopen_internal, _IO_file_read_internal)
44895 (_IO_file_sync_internal, _IO_file_seek_internal)
44896 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44897 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44898 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44899 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44900 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44901 (_IO_list_all_internal, _IO_link_in_internal)
44902 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44903 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44904 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44905 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44906 (_IO_do_write_internal, _IO_padn_internal)
44907 (_IO_getline_info_internal, _IO_getline_internal)
44908 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44909 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44910 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44911 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44912 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44913 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44914 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44915 with libc_hidden_ver, remove use of INTUSE.
44916 * libio/genops.c: Likewise.
44917 * libio/freopen.c: Likewise.
44918 * libio/freopen64.c: Likewise.
44919 * libio/iofclose.c: Likewise.
44920 * libio/iofdopen.c: Likewise.
44921 * libio/iofflush.c: Likewise.
44922 * libio/iofflush_u.c: Likewise.
44923 * libio/iofgets.c: Likewise.
44924 * libio/iofgets_u.c: Likewise.
44925 * libio/iofopen.c: Likewise.
44926 * libio/iofopncook.c: Likewise.
44927 * libio/iofread.c: Likewise.
44928 * libio/iofread_u.c: Likewise.
44929 * libio/ioftell.c: Likewise.
44930 * libio/iofwrite.c: Likewise.
44931 * libio/iogetline.c: Likewise.
44932 * libio/iogets.c: Likewise.
44933 * libio/iogetwline.c: Likewise.
44934 * libio/iopadn.c: Likewise.
44935 * libio/iopopen.c: Likewise.
44936 * libio/ioseekoff.c: Likewise.
44937 * libio/ioseekpos.c: Likewise.
44938 * libio/iosetbuffer.c: Likewise.
44939 * libio/iosetvbuf.c: Likewise.
44940 * libio/ioungetc.c: Likewise.
44941 * libio/ioungetwc.c: Likewise.
44942 * libio/iovdprintf.c: Likewise.
44943 * libio/iovsprintf.c: Likewise.
44944 * libio/iovsscanf.c: Likewise.
44945 * libio/memstream.c: Likewise.
44946 * libio/obprintf.c: Likewise.
44947 * libio/oldfileops.c: Likewise.
44948 * libio/oldiofclose.c: Likewise.
44949 * libio/oldiofdopen.c: Likewise.
44950 * libio/oldiofopen.c: Likewise.
44951 * libio/oldiopopen.c: Likewise.
44952 * libio/oldstdfiles.c: Likewise.
44953 * libio/putc.c: Likewise.
44954 * libio/setbuf.c: Likewise.
44955 * libio/setlinebuf.c: Likewise.
44956 * libio/stdfiles.c: Likewise.
44957 * libio/strops.c: Likewise.
44958 * libio/vasprintf.c: Likewise.
44959 * libio/vscanf.c: Likewise.
44960 * libio/vsnprintf.c: Likewise.
44961 * libio/vswprintf.c: Likewise.
44962 * libio/wfiledoalloc.c: Likewise.
44963 * libio/wfileops.c: Likewise.
44964 * libio/wgenops.c: Likewise.
44965 * libio/wmemstream.c: Likewise.
44966 * libio/wstrops.c: Likewise.
44967 * libio/__fpurge.c: Likewise.
44968 * libio/__fsetlocking.c: Likewise.
44969 * assert/assert.c: Likewise.
44970 * debug/fgets_chk.c: Likewise.
44971 * debug/fgets_u_chk.c: Likewise.
44972 * debug/fread_chk.c: Likewise.
44973 * debug/fread_u_chk.c: Likewise.
44974 * debug/gets_chk.c: Likewise.
44975 * debug/obprintf_chk.c: Likewise.
44976 * debug/vasprintf_chk.c: Likewise.
44977 * debug/vdprintf_chk.c: Likewise.
44978 * debug/vsnprintf_chk.c: Likewise.
44979 * debug/vsprintf_chk.c: Likewise.
44980 * malloc/mtrace.c: Likewise.
44981 * misc/error.c: Likewise.
44982 * misc/syslog.c: Likewise.
44983 * stdio-common/asprintf.c: Likewise.
44984 * stdio-common/fxprintf.c: Likewise.
44985 * stdio-common/getw.c: Likewise.
44986 * stdio-common/isoc99_fscanf.c: Likewise.
44987 * stdio-common/isoc99_scanf.c: Likewise.
44988 * stdio-common/isoc99_vfscanf.c: Likewise.
44989 * stdio-common/isoc99_vscanf.c: Likewise.
44990 * stdio-common/isoc99_vsscanf.c: Likewise.
44991 * stdio-common/printf-prs.c: Likewise.
44992 * stdio-common/printf_fp.c: Likewise.
44993 * stdio-common/printf_fphex.c: Likewise.
44994 * stdio-common/printf_size.c: Likewise.
44995 * stdio-common/putw.c: Likewise.
44996 * stdio-common/scanf.c: Likewise.
44997 * stdio-common/sprintf.c: Likewise.
44998 * stdio-common/tmpfile.c: Likewise.
44999 * stdio-common/vfprintf.c: Likewise.
45000 * stdio-common/vfscanf.c: Likewise.
45001 * stdlib/strfmon_l.c: Likewise.
45002 * sunrpc/openchild.c: Likewise.
45003 * sunrpc/xdr_stdio.c: Likewise.
45004 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45005 * sysdeps/mach/hurd/tmpfile.c: Likewise.
45007 2012-05-24 Roland McGrath <roland@hack.frob.com>
45009 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45011 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45012 in the third column, to generate for the shared library an IFUNC
45013 that uses _dl_vdso_vsym.
45014 * Makerules (COMPILE.c, compile-stdin.c): New variables.
45015 * Makeconfig (object-suffixes-noshared): New variable.
45017 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45018 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45019 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45020 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45023 * include/sys/time.h (__gettimeofday): Remove macro.
45024 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45025 * time/gettimeofday.c (__gettimeofday): Remove #undef.
45027 (__gettimeofday): Add libc_hidden_def.
45028 (gettimeofday): Add libc_hidden_weak.
45029 * sysdeps/mach/gettimeofday.c: Likewise.
45030 * sysdeps/posix/gettimeofday.c: Likewise.
45031 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45032 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45034 (__gettimeofday_internal): Remove strong_alias.
45035 (__gettimeofday): Add libc_hidden_def.
45036 (gettimeofday): Add libc_hidden_weak.
45037 * sysdeps/unix/syscalls.list (gettimeofday):
45038 Remove __gettimeofday_internal alias.
45040 2012-05-24 Daniel Jacobowitz <drow@false.org>
45041 H.J. Lu <hongjiu.lu@intel.com>
45044 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45045 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45046 (largebin_index_32_big): New.
45047 (largebin_index): Use it for 16-byte alignment.
45048 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45049 correction with front_misalign.
45051 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45079 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45080 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45082 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45086 * math/libm-test.inc (exp_test): Add test from bug 14036.
45087 (pow_test): Add test from bug 10846.
45089 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45091 (special_function): Do not include flags in test name.
45092 (parse_args): Likewise.
45093 * sysdeps/i386/fpu/libm-test-ulps: Update.
45094 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45095 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45096 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45099 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45101 * math/libm-test.inc ("Philosophy"): Update comment about
45103 (UNDERFLOW_EXCEPTION): New macro.
45104 (UNDERFLOW_EXCEPTION_OK): Likewise.
45105 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45106 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45107 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45108 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45109 (INVALID_EXCEPTION_OK): Update value.
45110 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45111 (OVERFLOW_EXCEPTION_OK): Likewise.
45112 (IGNORE_ZERO_INF_SIGN): Likewise.
45113 (test_exceptions): Handle underflow exceptions.
45114 (acos_test): Update for underflow exception expectations.
45115 (cexp_test): Likewise.
45116 (clog_test): Likewise.
45117 (clog10_test): Likewise.
45118 (csqrt_test): Likewise.
45119 (ctan_test): Likewise.
45120 (ctanh_test): Likewise.
45121 (exp_test): Likewise.
45122 (exp10_test): Likewise.
45123 (exp2_test): Likewise.
45124 (expm1_test): Likewise.
45125 (fma_test): Likewise.
45126 (j0_test): Likewise.
45127 (jn_test): Likewise.
45128 (nexttoward_test): Likewise.
45129 (pow_test): Likewise.
45130 (scalbn_test): Likewise.
45131 (scalbln_test): Likewise.
45132 (tan_test): Likewise.
45133 (y1_test): Likewise.
45134 * sysdeps/i386/fpu/libm-test-ulps: Update.
45135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45137 2012-05-23 David S. Miller <davem@davemloft.net>
45139 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45140 (__libc_sigaction): Remove unused local variables.
45142 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45144 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45146 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45148 mktime: avoid signed integer overflow
45149 * time/mktime.c (__mktime_internal): Do not mishandle the case
45150 where diff == INT_MIN.
45152 mktime: simplify computation of average
45153 * time/mktime.c (ranged_convert): Use new time_t_avg function
45154 instead of rolling our own (probably-slower) code.
45156 mktime: do not assume signed right shift propagates sign bit
45157 * time/mktime.c (isdst_differ): New static function.
45158 (__mktime_internal): No need to normalize tm_isdst now.
45159 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45162 mktime: merge another wrapv change from gnulib
45163 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45164 from some compilers.
45166 mktime: remove incorrect attempt at unusual arithmetics
45167 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45168 The code didn't really work on such machines anyway.
45169 (TYPE_MINIMUM): Assume two's complement.
45170 (twos_complement_arithmetic): Verify that long_int and time_t
45171 are two's complement (or unsigned, in the latter case).
45173 mktime: check signed shifts on long_int and time_t, too
45174 * time/mktime.c (SHR): Check that shifts work as desired
45175 on the types long_int and time_t too, as SHR is used on
45178 mktime: do not assume 'long' is wide enough
45179 * time/mktime.c (verify): Move decl up.
45180 (long_int): New type.
45181 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45182 to remove assumption in the code that 'long' is wide enough to
45183 store year values. This assumption is not true on x32 and on
45184 some non-glibc platforms.
45186 mktime: merge wrapv change from gnulib
45187 * time/mktime.c (WRAPV): New macro.
45188 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45189 (guess_time_tm, __mktime_internal): Do not assume that signed
45190 integer overflow wraps around; modern compilers generate code
45191 where this assumption is no longer valid.
45193 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45195 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45196 Replace "jmp L(pseudo_end)" with "ret".
45197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45200 2012-05-23 Andreas Jaeger <aj@suse.de>
45202 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45203 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45205 2012-05-23 Andreas Jaeger <aj@suse.de>
45206 Maximilian Attems <max@stro.at>
45208 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45211 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45213 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45214 code so that pseudo_end is just ret and the stack pointer is
45215 correct also for static library in error case.
45217 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45219 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45220 move to syscalls.list.
45221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45226 * manual/install.texi (Running make install): Do not mention Linux
45227 kernel version for which pt_chown is not needed.
45228 (Linux): Do not mention problems with nscd with 2.0 kernels.
45229 * INSTALL: Regenerated.
45231 2012-05-23 Andreas Jaeger <aj@suse.de>
45233 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45234 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45236 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45237 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45238 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45240 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45241 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45242 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45243 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45244 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45245 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45246 * sysdeps/unix/sysv/linux/bits/in.h
45247 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45249 2012-05-22 Roland McGrath <roland@hack.frob.com>
45251 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45252 (PREPARE_VERSION): Just use assert instead, it will be elided
45253 under [NDEBUG] anyway.
45255 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45257 * sysdeps/unix/sysv/linux/Makefile: Include
45258 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45259 (sysdep_routines): Remove sysctl.
45260 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45261 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45262 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45263 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45264 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45266 2012-05-22 Andreas Jaeger <aj@suse.de>
45268 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45269 that pseudo_end is just ret and the stack pointer is correct also
45270 for static library in error case.
45272 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45275 * nss/nsswitch.c (defconfig_entries): New variable.
45276 (__nss_database_lookup): Don't leak defconfig entries.
45277 (nss_parse_service_list): Don't leak on error paths.
45278 (free_database_entries): New function.
45279 (free_defconfig): New function.
45280 (free_mem): Move common code to free_database_entries.
45282 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45284 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45286 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45288 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45289 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45292 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45293 (INTERNAL_SYSCALL_TYPES): Likewise.
45294 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45295 (LOAD_REGS_TYPES_[1-6]): Likewise.
45296 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45297 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45299 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45301 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45302 copysignl for GLIBC_2_0.
45303 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45304 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45306 logbl for GLIBC_2_0.
45307 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45308 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45310 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45312 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45313 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45315 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45318 * time/mktime.c: Update copyright years.
45320 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45322 mktime: merge comment-quoting-style change from gnulib
45323 * time/mktime.c: Quote 'like this' in comments.
45324 The GNU coding standards suggest that we no longer quote `like this',
45325 as "`" and "'" are typically rendered asymmetrically nowadays.
45326 The typical gnulib style is to quote 'like this' when quoting
45327 code, and "like this" when quoting English.
45329 * time/mktime.c (compile-command): Add "-I.".
45331 mktime: merge mktime-internal.h change from gnulib
45332 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45334 mktime: merge time_r change from gnulib
45335 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45337 mktime: merge DEBUG change from gnulib
45338 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45339 case system <time.h> has a #define.
45341 mktime: merge <sys/types.h> change from gnulib
45342 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45343 since <time.t> is now guaranteed to define time_t.
45345 mktime: merge HAVE_CONFIG_H change from gnulib
45346 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45348 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45353 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45355 (struct rusage): Use anonymous union to pad each field to
45358 2012-05-21 David S. Miller <davem@davemloft.net>
45360 * Makefules (o-iterator): Remove .s cases.
45361 (compile-command.s): Delete.
45362 (COMPILE.s): Delete.
45363 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45365 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45367 * configure.in (libc_cv_predef_stack_protector): Only consider
45368 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45369 * configure: Regenerated.
45371 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45374 New macro. Use R*LP on int and pointer.
45375 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45376 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45377 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45378 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45380 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45381 [__WORDSIZE_TIME64_COMPAT32] instead of
45382 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45383 (struct utmp): Likewise.
45384 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45385 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45387 (__WORDSIZE_TIME64_COMPAT32): This.
45388 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45389 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45390 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45391 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45392 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45393 (__WORDSIZE_TIME64_COMPAT32): New macro.
45395 2012-05-21 Andreas Jaeger <aj@suse.de>
45397 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45398 only if [SHARED]. Add prototype for __wcschr_ia32.
45400 2012-05-21 Roland McGrath <roland@hack.frob.com>
45402 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45403 of %rbp unmolested in the jmp_buf while mangling the low bits.
45404 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45405 unmolested high bits of %rbp while demangling the low bits.
45406 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45408 2012-05-21 Andreas Jaeger <aj@suse.de>
45410 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45411 * sunrpc/svc_simple.c: Use it for registerrpc.
45412 * sunrpc/xcrypt.c: Use it for passwd2des.
45414 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45416 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45418 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45419 Don't define if [__SYSCALL_WORDSIZE != 32].
45420 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45423 2012-05-21 Bruno Haible <bruno@clisp.org>
45424 Andreas Jaeger <aj@suse.de>
45426 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45427 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45428 inptr and inend for must_buffer_ch.
45429 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45430 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45431 * stdio-common/Makefile (tests): Remove bug15.
45432 (bug15-ENV): Remove macro.
45433 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45436 2012-05-19 Andreas Jaeger <aj@suse.de>
45437 Roland McGrath <roland@hack.frob.com>
45439 * manual/contrib.texi: Completely rewritten. It contains now an
45440 alphabetical list of contributors and their contributions.
45442 2012-05-21 Richard Henderson <rth@twiddle.net>
45444 * misc/getauxval.c (__getauxval): Use unsigned long int.
45445 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45446 (getauxval): Use unsigned long int.
45448 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45450 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45452 2012-05-21 Roland McGrath <roland@hack.frob.com>
45454 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45455 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45456 __alignof__ (long double).
45458 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45462 2012-05-20 Richard Henderson <rth@twiddle.net>
45464 * misc/getauxval.c: New file.
45465 * misc/sys/auxv.h: New file.
45466 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45467 (routines): Add getauxval.
45468 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45469 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45470 * elf/dl-sysdep.c (_dl_auxv): Remove.
45471 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45472 * elf/dl-support.c (_dl_auxv): New variable.
45473 (_dl_aux_init): Initialize it.
45474 * manual/startup.texi (Auxiliary Vector): New node.
45475 * sysdeps/generic/bits/hwcap.h: New file.
45476 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45477 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45478 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45479 * sysdeps/sparc/sysdep.h: ... here. Include it.
45480 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45481 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45493 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45497 2012-05-19 David S. Miller <davem@davemloft.net>
45499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45501 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45504 * math/s_ccosh.c: Include <float.h>
45505 (__ccosh): Avoid internal overflow calculating sinh and cosh
45506 values before multiplying by sin and cos values.
45507 * math/s_ccoshf.c: Likewise.
45508 * math/s_ccoshl.c: Likewise.
45509 * math/s_csin.c: Likewise.
45510 * math/s_csinf.c: Likewise.
45511 * math/s_csinl.c: Likewise.
45512 * math/s_csinh.c: Likewise.
45513 * math/s_csinhf.c: Likewise.
45514 * math/s_csinhl.c: Likewise.
45515 * math/libm-test.inc (ccos_test): Add more tests.
45516 (ccosh_test): Likewise.
45517 (csin_test): Likewise.
45518 (csinh_test): Likewise.
45519 * sysdeps/i386/fpu/libm-test-ulps: Update.
45520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45522 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45524 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45525 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45527 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45529 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45531 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45532 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45533 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45534 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45535 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45536 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45537 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45538 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45539 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45540 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45541 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45542 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45543 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45544 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45545 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45546 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45547 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45548 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45549 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45550 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45551 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45552 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45553 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45554 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45555 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45556 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45557 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45558 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45559 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45560 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45561 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45563 2012-05-18 Andreas Jaeger <aj@suse.de>
45565 * csu/.gitignore: Delete.
45567 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45569 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45570 (timex): Use __syscall_slong_t.
45572 2012-05-18 Andreas Jaeger <aj@suse.de>
45573 Carlos O'Donell <carlos_odonell@mentor.com>
45575 * manual/install.texi (Configuring and compiling): Update
45576 description about files modified in the source directory.
45577 * INSTALL: Regenerated.
45579 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45581 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45582 value. Use "or" to set return value to -1.
45583 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45584 negate return value.
45586 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45588 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45589 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45590 failure if the compiler has Graphite support disabled.
45591 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45593 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45594 (CFLAGS-memmove.c): Likewise.
45595 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45598 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45600 * sysdeps/x86_64/x32/_itoa.h: New file.
45602 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45603 getdents system call only if kernel and user dirents have the
45604 same d_ino and d_off.
45606 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45607 LLONG_MAX != LONG_MAX.
45608 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45609 (_fitoa_word): Likewise.
45611 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45613 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45614 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45615 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45617 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45618 include <bits/wordsize.h>. Check __x86_64__ instead of
45620 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45621 if __x86_64__ is defined. Use anonymous union on fpstate.
45623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45626 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45628 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45629 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45630 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45631 Refer to _rtld_local_ro instead of _rtld_global_ro.
45632 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45634 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45636 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45638 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45639 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45640 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45642 * sysdeps/powerpc/powerpc32/dl-machine.c
45643 (__elf_machine_runtime_setup) [PROF]: Don't reference
45646 2012-05-18 Andreas Jaeger <aj@suse.de>
45648 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45649 function only available for GCCs before 3.4 since GCC 3.4
45650 introduced a builtin.
45652 (llrintf): Likewise.
45653 (llrint): Likewise.
45660 (nearbyint): Likewise.
45661 (nearbyintf): Likewise.
45665 (floorf): Likewise.
45667 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45669 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45670 on both fields and cast pointer to __syscall_ulong_t.
45672 * bits/types.h (__fsword_t): New type.
45673 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45674 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45676 (__FSWORD_T_TYPE): Likewise.
45677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45678 (__FSWORD_T_TYPE): Likewise.
45679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45680 (__FSWORD_T_TYPE): Likewise.
45681 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45682 (__FSWORD_T_TYPE): Likewise.
45683 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45684 __SWORD_TYPE with __fsword_t.
45685 (statfs64): Likewise.
45687 2012-05-17 David S. Miller <davem@davemloft.net>
45689 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45691 2012-05-17 Andreas Jaeger <aj@suse.de>
45693 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45696 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45698 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45700 2012-05-17 Andreas Jaeger <aj@suse.de>
45702 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45705 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45707 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45709 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45711 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45712 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45714 2012-05-17 Andreas Jaeger <aj@suse.de>
45715 Carlos O'Donell <carlos_odonell@mentor.com>
45718 * sysdeps/x86_64/multiarch/init-arch.h
45719 (bit_YMM_Usable): Rename to...
45720 (bit_AVX_Usable): ... this.
45721 (bit_FMA4_Usable): New macro.
45722 (bit_XMM_state): New macro.
45723 (bit_YMM_state): New macro.
45724 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45725 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45726 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45727 (CPUID_OSXSAVE): New macro.
45728 (CPUID_AVX): New macro.
45729 (CPUID_FMA4): New macro.
45730 (index_YMM_Usable): Rename to...
45731 (index_AVX_Usable): ... this.
45732 (HAS_AVX): Use HAS_ARCH_FEATURE.
45733 (HAS_FMA4): Likewise.
45734 (HAS_YMM_USABLE): Remove.
45735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45736 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45738 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45739 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45740 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45741 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45742 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45744 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45746 * math/libm-test.c: Support platforms without multiple rounding modes.
45747 * math/bug-nextafter.c: Support platforms without FP exceptions.
45748 * math/bug-nexttoward.c: Likewise.
45749 * math/test-fenv.c: Likewise.
45750 * math/test-misc.c: Likewise.
45751 * stdlib/bug-getcontext.c: Likewise.
45753 2012-05-17 Andreas Jaeger <aj@suse.de>
45755 * manual/examples/search.c (critter_cmp): Change signature to
45757 * manual/string.texi (Collation Functions): Likewise.
45759 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45761 * bits/types.h: Fold copyright years.
45762 * bits/typesizes.h: Likewise.
45763 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45767 * time/time.h: Likewise.
45769 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45772 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45773 in instead of returning them. Return void.
45774 (__libc_mallinfo): Accumulate over all arenas.
45775 (__malloc_stats): Adjust for change in int_mallinfo interface.
45777 2012-05-16 Roland McGrath <roland@hack.frob.com>
45780 * configure.in (NM): Add AC_CHECK_TOOL for it.
45781 (libc_extra_cflags): New substituted variable.
45782 Check for -fstack-protector being used implicitly.
45783 * configure: Regenerated.
45784 * config.make.in (config-extra-cflags): New variable,
45785 gets @libc_extra_cflags@.
45786 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45789 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45790 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45791 * configure: Regenerated.
45792 * config.make.in (CPPUNDEFS): New substituted variable.
45793 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45794 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45795 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45797 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45799 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45800 (mq_attr): Use __syscall_slong_t.
45802 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45804 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45805 Check __x86_64__ instead of __WORDSIZE.
45806 (_STAT_VER_LINUX): Likewise.
45807 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45808 __syscall_ulong_t and __syscall_slong_t.
45809 (stat64): Likewise.
45811 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45813 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45815 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45817 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45819 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45821 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45824 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45825 include <bits/wordsize.h>. Check __x86_64__ instead of
45827 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45829 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45831 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45832 include <bits/wordsize.h>. Check __x86_64__ instead of
45834 (user_regs_struct): Use "__extension__ unsigned long long"
45835 instead of "unsigned long" if __x86_64__ is defined.
45836 (user): Likewise. Pad after pointer field if __ILP32__ is
45839 2012-05-16 Joseph Myers <joseph@codesourcery.com>
45841 * configure.in (makeinfo): Require version 4.5 or later. Allow
45843 * configure: Regenerated.
45844 * manual/install.texi (texinfo): Increase version requirement to
45846 * INSTALL: Regenerated.
45848 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45850 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45852 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45854 * sysdeps/x86_64/x32/ffs.c: New file.
45856 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45858 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45859 defined. Use __syscall_ulong_t.
45860 (shminfo): Use __syscall_ulong_t.
45861 (shm_info): Likewise.
45863 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45866 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45868 (msgqnum_t): Use __syscall_ulong_t.
45869 (msglen_t): Likewise.
45870 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45873 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45874 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45876 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45878 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45879 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45881 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45884 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45885 include <bits/wordsize.h>. Check __x86_64__ instead of
45888 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45889 "unsigned long long int" if __x86_64__ is defined.
45890 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45892 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45893 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45894 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45896 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45898 (GET_PC): Cast to uintptr_t first.
45899 (GET_FRAME): Likewise.
45900 (GET_STACK): Likewise.
45902 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45903 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45904 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45905 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45906 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45907 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45908 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45909 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45910 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45911 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45912 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45913 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45914 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45915 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45916 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45917 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45918 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45919 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45920 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45921 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45922 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45923 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45924 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45925 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45926 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45927 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45928 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45929 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45930 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45932 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45934 * Makerules (+depfiles): Also collect depfiles from .oS in
45936 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45937 .oS, $(libnldbl-routines)).
45939 * Makerules (native-compile-mkdep-flags): Define.
45940 * sunrpc/Makefile (extra-objs): Add $(addprefix
45941 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45942 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45943 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45944 calling $(make-target-directory).
45946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45948 * bits/types.h (__snseconds_t): Removed.
45949 * time/time.h (struct timespec): Replace __snseconds_t with
45951 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45952 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45955 (__SNSECONDS_T_TYPE): Likewise.
45956 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45957 (__SNSECONDS_T_TYPE): Likewise.
45958 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45959 (__SNSECONDS_T_TYPE): Likewise.
45961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45963 * sysdeps/mach/hurd/bits/typesizes.h
45964 (__SYSCALL_SLONG_TYPE): New macro.
45965 (__SYSCALL_ULONG_TYPE): Likewise.
45967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45969 * bits/types.h (__syscall_slong_t): New type.
45970 (__syscall_ulong_t): Likewise.
45972 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45973 (__SYSCALL_ULONG_TYPE): Likewise.
45974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45975 (__SYSCALL_SLONG_TYPE): Likewise.
45976 (__SYSCALL_ULONG_TYPE): Likewise.
45977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45978 (__SYSCALL_SLONG_TYPE): Likewise.
45979 (__SYSCALL_ULONG_TYPE): Likewise.
45980 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45981 (__SYSCALL_SLONG_TYPE): Likewise.
45982 (__SYSCALL_ULONG_TYPE): Likewise.
45984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45986 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45987 Add sigaltstack-offsets.sym.
45988 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45989 <sigaltstack-offsets.h>.
45990 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45991 longjmp_msg pointer.
45992 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45993 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45995 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45997 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45999 * elf/stackguard-macros.h: Remove file.
46000 * sysdeps/generic/stackguard-macros.h: New file.
46001 * sysdeps/i386/stackguard-macros.h: Likewise.
46002 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46003 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46004 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46005 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46006 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46007 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46008 * sysdeps/x86_64/stackguard-macros.h: Likewise.
46009 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46010 <elf/stackguard-macros.h>.
46013 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46014 __aligned__ in attribute.
46015 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46016 (gregset_t): Likewise.
46018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46020 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46021 * sysdeps/x86_64/64/Implies-after: Here. New file.
46022 * sysdeps/x86_64/x32/Implies-after: New file.
46024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46026 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46027 and access return value for _dl_profile_fixup. Use R10_LP to
46030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46032 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46036 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46037 * sysdeps/x86_64/x32/sysdep.h: New file.
46039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46041 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46042 * sysdeps/x86_64/setjmp.S: Likewise.
46044 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46046 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46047 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46048 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46049 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46050 remove unused global constant.
46052 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
46054 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46055 include of <not-cancel.h>.
46057 2012-05-15 Roland McGrath <roland@hack.frob.com>
46059 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46061 2012-05-15 Jeff Law <law@redhat.com>
46062 Andreas Jaeger <aj@suse.de>
46065 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46067 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46068 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46069 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46070 code changing __hst_map_handle.map.
46072 2012-05-15 Roland McGrath <roland@hack.frob.com>
46074 * configure.in (sysnames): Look for Implies-before and Implies-after
46076 * configure: Regenerated.
46078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46080 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46081 8-byte data alignment with LP_SIZE alignment.
46083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46085 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46090 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46094 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46095 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46096 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46098 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46102 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46103 (stackinfo_sub_sp): Likewise.
46105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46107 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46112 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46122 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46126 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46127 into R11_LP and load __x86_64_shared_cache_size_half into
46130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46132 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46135 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46141 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46143 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46144 powerpc32/power7/fpu/s_logb.c via #include.
46145 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46146 powerpc32/power7/fpu/s_logbf.c via #include.
46147 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46148 powerpc32/power7/fpu/s_logbl.c via #include.
46150 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46152 * README.libm: Remove file.
46154 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46156 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46157 count for x32. Use R*_LP and omit operand-size suffix.
46159 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46161 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46162 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46163 * sysdeps/x86_64/x32/shlib-versions: New file.
46165 2012-05-14 Roland McGrath <roland@hack.frob.com>
46167 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46168 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46169 Use _dl_fatal_printf instead.
46171 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46173 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46174 set if not set by the user. Do not allow for being unset.
46175 * sysdeps/unix/sysv/linux/configure: Regenerated.
46177 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46179 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46180 the `q' suffix from lea and replace .quad with ASM_ADDR.
46182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46185 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46187 (PTR_DEMANGLE): Likewise.
46189 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46191 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46193 (ASM_ADDR): Likewise.
46194 (RAX_LP): Likewise.
46195 (RBP_LP): Likewise.
46196 (RBX_LP): Likewise.
46197 (RCX_LP): Likewise.
46198 (RDI_LP): Likewise.
46199 (RSI_LP): Likewise.
46200 (RSP_LP): Likewise.
46203 (R10_LP): Likewise.
46204 (R10_LP): Likewise.
46205 (R11_LP): Likewise.
46206 (R12_LP): Likewise.
46207 (R13_LP): Likewise.
46208 (R14_LP): Likewise.
46209 (R15_LP): Likewise.
46211 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46213 * sysdeps/x86_64/x32/dl-machine.h: New file.
46215 2012-05-14 Andreas Jaeger <aj@suse.de>
46217 * manual/Makefile (subdir): Remove export of subdir.
46218 (all): Remove target.
46219 (.PHONY): Remove all from list.
46220 (mkinstalldirs): Remove.
46221 (.PHONY): Remove installdirs from list.
46222 ($(inst_infodir)/libc.info): Use make-target-directory.
46223 (installdirs): Remove.
46224 (subdir_%): Remove.
46225 (glibc-targets): Remove.
46228 ($(objpfx)stubs ../po/manual.pot): Remove.
46229 ($(objpfx)stamp%): Remove.
46230 (make-target-directory): Remove.
46231 (subdir_install): Remove.
46232 (routines): Remove.
46239 * manual/.gitignore: Remove, it's not needed anymore.
46240 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46242 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46244 (texis): Renamed to $(objpfx)texis.
46245 (texis-path): New, contains path to generated files.
46246 (chapters.%): Use texis-path for complete path, add extra argument
46248 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46249 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46250 (summary,texi, stamp-summary): Use complete path of
46251 files. Generate files in build dir.
46252 (dir-add.texi): Build in build dir.
46253 (libm-err.texi,stamp-libm-err): Likewise.
46254 (version.texi, stamp-version): Likewise.
46255 (.%c.texi): Likewise.
46256 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46257 (mostlyclean): Remove target.
46258 (realclean): Remove target.
46259 (generated): Add new variable with contents from mostlyclean and
46260 realclean, remove entries duplicated in common-mostlyclean, add
46261 stamp-libm-err and stamp-version.
46262 (generated-dirs): Add libc directory.
46263 ($(inst_infodir)/libc.info): Install files from build dir.
46265 * manual/install.texi (Configuring and compiling): Adjust since
46266 the info files are not part of the tar ball anymore.
46268 2012-05-14 Andreas Jaeger <aj@suse.de>
46270 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46273 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46276 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46277 to 2.2.0 where earlier.
46278 * sysdeps/unix/sysv/linux/configure: Regenerated.
46279 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46280 Remove conditional code.
46281 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46282 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46283 Remove conditional code.
46284 [!__NR_lchown]: Likewise.
46285 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46286 [__NR_lchown]: Likewise.
46287 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46288 comment referencing __ASSUME_LCHOWN_SYSCALL.
46289 * sysdeps/unix/sysv/linux/i386/sigaction.c
46290 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46291 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46292 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46293 Remove conditional code.
46294 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46295 (__protocol_available): Remove #if 0 code.
46296 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46298 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46299 * sysdeps/unix/sysv/linux/kernel-features.h
46300 (__ASSUME_GETCWD_SYSCALL): Don't define.
46301 (__ASSUME_REALTIME_SIGNALS): Likewise.
46302 (__ASSUME_PREAD_SYSCALL): Likewise.
46303 (__ASSUME_PWRITE_SYSCALL): Likewise.
46304 (__ASSUME_POLL_SYSCALL): Likewise.
46305 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46306 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46308 (__ASSUME_SIOCGIFNAME): Don't define.
46309 (__ASSUME_MSG_NOSIGNAL): Likewise.
46310 (__ASSUME_SENDFILE): Define unconditionally.
46311 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46312 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46314 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46315 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46316 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46317 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46318 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46319 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46320 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46322 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46325 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46331 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46334 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46337 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46338 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46340 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46343 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46344 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46345 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46346 Remove conditional code.
46347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46348 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46349 Remove conditional code.
46350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46351 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46352 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46353 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46354 Remove conditional code.
46355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46356 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46357 Remove conditional code.
46358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46359 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46360 Remove conditional code.
46361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46362 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46363 Remove conditional code.
46364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46365 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46366 Remove conditional code.
46367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46368 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46369 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46371 * sysdeps/unix/sysv/linux/sigaction.c
46372 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46373 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46374 * sysdeps/unix/sysv/linux/sigpending.c
46375 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46376 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46377 * sysdeps/unix/sysv/linux/sigprocmask.c
46378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46380 * sysdeps/unix/sysv/linux/sigsuspend.c
46381 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46382 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46383 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46384 (__libc_missing_rt_sigs): Remove.
46385 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46386 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46387 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46388 Remove conditional code.
46389 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46390 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46392 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46393 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46394 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46395 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46397 2012-05-14 Andreas Jaeger <aj@suse.de>
46399 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46400 it's not used in glibc.
46401 (__coshm1): Likewise.
46402 (__acosh1p): Likewise.
46405 * manual/string.texi (Copying and Concatenation): Add missing
46406 variable in concat example.
46407 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46409 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46412 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46413 __builtin_clzl with __builtin_clzll.
46415 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46418 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46421 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46423 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46424 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46425 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46426 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46428 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46430 * NEWS: Update ia64 info.
46432 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46434 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46437 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46439 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46440 * sysdeps/unix/syscalls.list (dup3): Likewise.
46441 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46442 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46444 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46446 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46447 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46449 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46451 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46453 (TLS_IE): Use mov/add instead of movq/addq to load thread
46455 (TLS_GD_PREFIX): New.
46458 2012-05-11 David S. Miller <davem@davemloft.net>
46460 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46461 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46462 (_FPU_SETCW): Likewise.
46464 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46466 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46467 is 32-byte aligned.
46469 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46472 * iconvdata/gb18030.c: Update tables.
46473 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46474 characters specially.
46475 (BODY for TO_LOOP): Add encoding of missing ranges.
46477 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46480 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46481 * sysdeps/mach/hurd/dup3.c: Likewise.
46482 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46483 * sysdeps/powerpc/memmove.c:: Likewise.
46485 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46488 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46490 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46492 * elf/elf.h (R_X86_64_RELATIVE64): New.
46493 (R_X86_64_NUM): Updated.
46494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46495 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46496 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46497 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46498 tst-quad1pie tst-quad2pie
46499 (modules-names): Add tst-quadmod1 tst-quadmod2.
46500 ($(objpfx)tst-quad1): New dependency.
46501 ($(objpfx)tst-quad2): Likewise.
46502 ($(objpfx)tst-quad1pie): Likewise.
46503 ($(objpfx)tst-quad2pie): Likewise.
46504 * sysdeps/x86_64/tst-quad1.c: New file.
46505 * sysdeps/x86_64/tst-quad1pie.c: New file.
46506 * sysdeps/x86_64/tst-quad2.c: Likewise.
46507 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46508 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46509 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46510 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46511 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46513 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46515 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46516 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46517 * streams/stropts.h (t_scalar_t): Define type.
46519 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46520 (_PATH_PRESERVE): Set to "/var/lib".
46521 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46523 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46526 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46527 if __dir_mkfile succeeded.
46529 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46530 checking for _hurd_dtablesize. Unlock it right after having
46531 finished _hurd_dtable allocation.
46533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46535 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46536 * sysdeps/mach/hurd/configure: Regenerated.
46537 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46538 special-casing to...
46539 * sysdeps/gnu/configure.in: ... this new file.
46540 * sysdeps/unix/sysv/linux/configure: Regenerated.
46541 * sysdeps/gnu/configure: New generated file.
46543 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46544 for Linux: use nsec instead of usec, as well as:
46545 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46546 members of type struct timespec.
46547 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46549 (struct stat64): Likewise.
46550 (_STATBUF_ST_NSEC): New macro.
46551 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46553 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46554 __strtoul_internal rather than strtoul.
46556 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46558 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46561 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46563 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46564 which preserves existing values.
46565 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46567 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46569 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46570 TIMEOUT values. Return EINVAL for NFDS values either negative or
46571 greater than FD_SETSIZE.
46573 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46575 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46576 allocated, call __vm_protect to finish enabling the existing space, and
46577 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46578 allocate the remainder.
46580 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46582 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46583 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46585 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46587 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46588 sysdeps/mach/hurd/readlink.c.
46590 * posix/tst-sysconf.c (posix_options): Only use
46591 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46592 _POSIX_SYNCHRONIZED_IO when they are defined
46593 * sysdeps/mach/hurd/bits/posix_opt.h:
46594 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46595 (_XOPEN_REALTIME): Undefine macro.
46596 (_XOPEN_REALTIME_THREADS): Undefine macro.
46597 (_XOPEN_SHM): Undefine macro.
46598 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46600 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46602 (_POSIX_ASYNC_IO): Undefine macro.
46603 (_POSIX_PRIORITIZED_IO): Undefine macro.
46604 (_POSIX_SPIN_LOCKS): Define macro to -1.
46606 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46607 SA_NODEFER, SA_RESETHAND.
46608 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46609 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46614 * elf/Makefile (pldd-modules): Define unconditionally.
46616 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46618 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46622 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46623 Return ENOENT when name is empty.
46624 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46626 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46628 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46630 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46632 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46634 Fix mlock in all cases except non-readable pages.
46635 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46636 instead of VM_PROT_ALL as parameter to __vm_wire function.
46638 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46639 (__mkdir): When path is `/', just fail with EEXIST.
46640 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46642 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46644 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46645 <sys/uio.h> (for writev).
46646 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46647 and <sys/param.h> (for MIN).
46649 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46651 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46652 REQUESTED_TIME. Properly set the remaining time and return EINTR
46655 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46657 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46658 Depend on against $(link-rpcuserlibs).
46660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46662 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46663 (__libc_stack_end): Do not use attribute_relro.
46664 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46665 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46666 to libthread-provided value.
46667 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46673 * bits/libc-lock.h (__libc_once_get): New macro.
46674 * sysdeps/mach/bits/libc-lock.h: Likewise.
46675 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46676 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46677 instead of using implementation details.
46679 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46680 * libio/freopen.c: Likewise.
46681 * libio/freopen64.c: Likewise.
46682 * misc/syslog.c: Likewise.
46683 * nscd/connections.c: Likewise.
46684 * nscd/netgroupcache.c: Likewise.
46685 * sysdeps/posix/getcwd.c: Likewise.
46687 2012-05-10 Roland McGrath <roland@hack.frob.com>
46689 * math/w_ilogbf.c: Add #include <limits.h>.
46691 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46693 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46694 path instead of returning without unlocking.
46696 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46697 immediate-write ioctls.
46698 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46702 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46703 __builtin_frame_address instead of making assumptions about the
46704 location of the return address relative to DATA. Force early load of
46705 the return address.
46706 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46707 __builtin_frame_address.
46710 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46711 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46712 implement dup3 and do some further code clean-ups.
46713 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46714 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46716 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46718 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46720 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46721 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46722 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46723 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46724 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46727 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46728 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46729 when handler == SIG_ERR, not when handler != SIG_ERR.
46731 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46733 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46734 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46737 accept4 for GNU Hurd.
46738 * include/sys/socket.h (__libc_accept4): New prototype.
46739 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46740 to implement __libc_accept4.
46741 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46743 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46745 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46746 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46747 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46748 signal-defines.sym.
46750 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46752 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46754 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46756 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46757 assertion on O_CLOEXEC flag.
46758 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46759 * hurd/intern-fd.c: Likewise.
46760 * hurd/port2fd.c: Likewise.
46762 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46765 * bits/in.h (IPV6_PKTINFO): Define new macro.
46766 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46768 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46773 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46774 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46775 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46776 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46777 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46778 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46779 * math/libm-test.inc (logb_test) : Additional logb tests.
46781 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46782 Andreas Jaeger <aj@suse.de>
46784 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46785 * configure: Regenerated.
46786 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46787 * config.make.in (link-obsolete-rpc): New substituted variable.
46788 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46789 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46790 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46791 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46792 so that libc.a contains the symbols.
46793 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46794 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46795 * sunrpc/auth_none.c: Likewise.
46796 * sunrpc/auth_unix.c: Likewise.
46797 * sunrpc/authdes_prot.c: Likewise.
46798 * sunrpc/authuxprot.c: Likewise.
46799 * sunrpc/clnt_gen.c: Likewise.
46800 * sunrpc/clnt_perr.c: Likewise.
46801 * sunrpc/clnt_raw.c: Likewise.
46802 * sunrpc/clnt_simp.c: Likewise.
46803 * sunrpc/clnt_tcp.c: Likewise.
46804 * sunrpc/clnt_udp.c: Likewise.
46805 * sunrpc/clnt_unix.c: Likewise.
46806 * sunrpc/des_crypt.c: Likewise.
46807 * sunrpc/des_soft.c: Likewise.
46808 * sunrpc/get_myaddr.c: Likewise.
46809 * sunrpc/key_call.c: Likewise.
46810 * sunrpc/key_prot.c: Likewise.
46811 * sunrpc/netname.c: Likewise.
46812 * sunrpc/pm_getmaps.c: Likewise.
46813 * sunrpc/pm_getport.c: Likewise.
46814 * sunrpc/pmap_clnt.c: Likewise.
46815 * sunrpc/pmap_prot.c: Likewise.
46816 * sunrpc/pmap_prot2.c: Likewise.
46817 * sunrpc/pmap_rmt.c: Likewise.
46818 * sunrpc/publickey.c: Likewise.
46819 * sunrpc/rpc_cmsg.c: Likewise.
46820 * sunrpc/rpc_common.c: Likewise.
46821 * sunrpc/rpc_dtable.c: Likewise.
46822 * sunrpc/rpc_prot.c: Likewise.
46823 * sunrpc/rpc_thread.c: Likewise.
46824 * sunrpc/rtime.c: Likewise.
46825 * sunrpc/svc.c: Likewise.
46826 * sunrpc/svc_auth.c: Likewise.
46827 * sunrpc/svc_raw.c: Likewise.
46828 * sunrpc/svc_run.c: Likewise.
46829 * sunrpc/svc_tcp.c: Likewise.
46830 * sunrpc/svc_udp.c: Likewise.
46831 * sunrpc/svc_unix.c: Likewise.
46832 * sunrpc/svcauth_des.c: Likewise.
46833 * sunrpc/xcrypt.c: Likewise.
46834 * sunrpc/xdr.c: Likewise.
46835 * sunrpc/xdr_array.c: Likewise.
46836 * sunrpc/xdr_float.c: Likewise.
46837 * sunrpc/xdr_intXX_t.c: Likewise.
46838 * sunrpc/xdr_mem.c: Likewise.
46839 * sunrpc/xdr_rec.c: Likewise.
46840 * sunrpc/xdr_ref.c: Likewise.
46841 * sunrpc/xdr_sizeof.c: Likewise.
46842 * sunrpc/xdr_stdio.c: Likewise.
46844 2012-05-10 Roland McGrath <roland@hack.frob.com>
46846 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46847 change. Update copyright years.
46849 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46851 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46853 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46854 Joseph Myers <joseph@codesourcery.com>
46855 Paul Pluzhnikov <ppluzhnikov@google.com>
46858 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46860 [cross-compiling] (extra-libs): Likewise.
46861 [cross-compiling] (extra-libs-others): Likewise.
46862 [cross-compiling] (librpcsvc-routines): Likewise.
46863 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46864 [cross-compiling] (omit-deps): Likewise.
46865 (sunrpc-CPPFLAGS): New variable.
46866 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46867 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46868 (cross-rpcgen-objs): New variable.
46869 (extra-objs): Append $(cross-rpcgen-objs).
46870 ($(cross-rpcgen-objs)): New rule.
46871 ($(objpfx)cross-rpcgen): Likewise.
46872 (rpcgen-cmd): Define to use $(built-program-file). Expand
46874 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46875 ($(objpfx)x%.stmp): Likewise.
46876 * sunrpc/proto.h [IS_IN_build] (_): Define.
46877 [IS_IN_build] (_libc_intl_domainname): Likewise.
46879 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46882 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46883 and R_X86_64_TPOFF64.
46885 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46887 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46888 sysdeps/unix/sysv/syscalls.list.
46891 * sysdeps/unix/sysv/syscalls.list: Remove file.
46893 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46896 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46897 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46898 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46899 (__LC_IDENTIFICATION): Make these macros useful in #if
46900 expressions, as required by C99.
46902 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46904 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46905 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46908 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46910 * stdlib/longlong.h: Updated from GCC.
46912 2012-05-09 Andreas Jaeger <aj@suse.de>
46914 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46915 default is first entry.
46916 (run_mode): Set type.
46917 (main): Remove informal message about syslog.
46918 (options): Fix typo.
46921 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46924 (llrintf): Likewise.
46925 (llrint): Likewise.
46928 (nearbyint): Likewise.
46929 (nearbyintf): Likewise.
46931 2012-05-09 Andreas Jaeger <aj@suse.de>
46932 Pedro Alves <palves@redhat.com>
46934 * nscd/nscd.c (run_mode): Use enum.
46935 (main): Cleanup coding style issue.
46937 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
46938 Andreas Jaeger <aj@suse.de>
46940 * nscd/nscd.c (go_background): Replaced with...
46941 (run_mode): ... this.
46942 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46943 (options): Add -F --foreground.
46944 (main): Implement it.
46945 (parse_opt): Parse it.
46947 2012-05-09 Andreas Jaeger <aj@suse.de>
46950 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46951 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46952 -Wconversion warning.
46953 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46956 2012-05-09 Joseph Myers <joseph@codesourcery.com>
46958 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46960 (LC_ALL): Use macro-int-constant.
46961 (LC_COLLATE): Likewise.
46962 (LC_CTYPE): Likewise.
46963 (LC_MESSAGES): Likewise.
46964 (LC_MONETARY): Likewise.
46965 (LC_NUMERIC): Likewise.
46966 (LC_TIME): Likewise.
46967 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46968 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46970 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46972 [C99-based standards] (float_t): Expect type.
46973 [C99-based standards] (double_t): Expect type.
46974 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46976 [C99-based standards] (HUGE_VALL): Likewise.
46977 [C99-based standards] (INFINITY): Likewise.
46978 [C99-based standards] (NAN): Likewise.
46979 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46980 [C99-based standards] (FP_NAN): Likewise.
46981 [C99-based standards] (FP_NORMAL): Likewise.
46982 [C99-based standards] (FP_SUBNORMAL): Likewise.
46983 [C99-based standards] (FP_ZERO): Likewise.
46984 [C99-based standards] (FP_FAST_FMA): Use
46985 optional-macro-int-constant. Specify type. Require == 1.
46986 [C99-based standards] (FP_FAST_FMAF): Likewise.
46987 [C99-based standards] (FP_FAST_FMAL): Likewise.
46988 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46989 [C99-based standards] (FP_ILOGBNAN): Likewise.
46990 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46992 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46993 [C99-based standards] (math_errhandling): Specify type.
46994 [ISO99 || ISO11] (signgam): Do not allow.
46995 [non-C99-based standards] (copysignf): Do not allow.
46996 [non-C99-based standards] (exp2f): Likewise.
46997 [non-C99-based standards] (log2f): Likewise.
46998 [non-C99-based standards] (modff): Allow.
46999 [non-C99-based standards] (erff): Do not allow.
47000 [non-C99-based standards] (erfcf): Likewise.
47001 [non-C99-based standards] (gammaf): Likewise.
47002 [non-C99-based standards] (hypotf): Likewise.
47003 [non-C99-based standards] (j0f): Likewise.
47004 [non-C99-based standards] (j1f): Likewise.
47005 [non-C99-based standards] (jnf): Likewise.
47006 [non-C99-based standards] (lgammaf): Likewise.
47007 [non-C99-based standards] (tgammaf): Likewise.
47008 [non-C99-based standards] (y0f): Likewise.
47009 [non-C99-based standards] (y1f): Likewise.
47010 [non-C99-based standards] (ynf): Likewise.
47011 [non-C99-based standards] (isnanf): Likewise.
47012 [non-C99-based standards] (acoshf): Likewise.
47013 [non-C99-based standards] (asinhf): Likewise.
47014 [non-C99-based standards] (atanhf): Likewise.
47015 [non-C99-based standards] (cbrtf): Likewise.
47016 [non-C99-based standards] (expm1f): Likewise.
47017 [non-C99-based standards] (ilogbf): Likewise.
47018 [non-C99-based standards] (log1pf): Likewise.
47019 [non-C99-based standards] (logbf): Likewise.
47020 [non-C99-based standards] (nextafterf): Likewise.
47021 [non-C99-based standards] (remainderf): Likewise.
47022 [non-C99-based standards] (rintf): Likewise.
47023 [non-C99-based standards] (scalbf): Likewise.
47024 [non-C99-based standards] (copysignl): Likewise.
47025 [non-C99-based standards] (exp2l): Likewise.
47026 [non-C99-based standards] (log2l): Likewise.
47027 [non-C99-based standards] (modfl): Allow.
47028 [non-C99-based standards] (erfl): Do not allow.
47029 [non-C99-based standards] (erfcl): Likewise.
47030 [non-C99-based standards] (gammal): Likewise.
47031 [non-C99-based standards] (hypotl): Likewise.
47032 [non-C99-based standards] (j0l): Likewise.
47033 [non-C99-based standards] (j1l): Likewise.
47034 [non-C99-based standards] (jnl): Likewise.
47035 [non-C99-based standards] (lgammal): Likewise.
47036 [non-C99-based standards] (tgammal): Likewise.
47037 [non-C99-based standards] (y0l): Likewise.
47038 [non-C99-based standards] (y1l): Likewise.
47039 [non-C99-based standards] (ynl): Likewise.
47040 [non-C99-based standards] (isnanl): Likewise.
47041 [non-C99-based standards] (acoshl): Likewise.
47042 [non-C99-based standards] (asinhl): Likewise.
47043 [non-C99-based standards] (atanhl): Likewise.
47044 [non-C99-based standards] (cbrtl): Likewise.
47045 [non-C99-based standards] (expm1l): Likewise.
47046 [non-C99-based standards] (ilogbl): Likewise.
47047 [non-C99-based standards] (log1pl): Likewise.
47048 [non-C99-based standards] (logbl): Likewise.
47049 [non-C99-based standards] (nextafterl): Likewise.
47050 [non-C99-based standards] (remainderl): Likewise.
47051 [non-C99-based standards] (rintl): Likewise.
47052 [non-C99-based standards] (scalbl): Likewise.
47053 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47054 [non-C99-based standards] (FP_*): Do not allow.
47055 [C99-based standards] (FP_*): Change to
47056 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47057 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47059 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47060 (SIG_ERR): Likewise.
47061 [X/Open-based standards] (SIG_HOLD): Likewise.
47062 (SIG_IGN): Likewise.
47063 (SIGABRT): Use macro-int-constant. Specify type. Require
47065 (SIGFPE): Likewise.
47066 (SIGILL): Likewise.
47067 (SIGINT): Likewise.
47068 (SIGSEGV): Likewise.
47069 (SIGTER): Likewise.
47070 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47071 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47072 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47073 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47074 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47075 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47076 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47077 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47078 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47079 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47080 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47081 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47082 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47083 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47084 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47085 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47086 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47087 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47088 [X/Open-based standards] (SIGTRAP): Likewise.
47089 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47090 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47091 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47092 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47093 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47096 2012-05-08 Ian Wienand <ianw@vmware.com>
47099 * time/tzset.c (__tzset_parse_tz): Update default rules for
47100 daylight time changes in the Energy Policy Act of 2005.
47102 2012-05-09 Andreas Jaeger <aj@suse.de>
47105 * elf/ldconfig.c (parse_conf): Change string to make clear that
47106 ldconfig only issued a warning if ld.so.conf does not exist.
47108 2012-05-08 David S. Miller <davem@davemloft.net>
47110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47111 movxtod instead of popping the value on the stack.
47113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47115 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47117 * config.h.in: Add HAVE_ARM_PCS_VFP.
47119 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47122 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47123 checking but the checks are disabled for any reason.
47125 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47127 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47128 and ELF64_R_TYPE with ELFW(R_TYPE).
47130 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47132 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47133 (ulimit): Likewise.
47135 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47136 (settimeofday): Likewise.
47138 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47140 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47141 a struct th_u2 inside the union, and move tu_block/tu_code into
47142 a new th_u3 union of tu_block/tu_code inside of that. Move
47143 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47144 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47145 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47146 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47147 (th_stuff): Change to th_u1.tu_stuff.
47149 (th_msg): Change to th_u1.th_u2.tu_data.
47151 2012-05-07 David S. Miller <davem@davemloft.net>
47153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47156 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47157 (SETUP_PIC_REG): Use it.
47158 (SETUP_PIC_REG_LEAF): Use it.
47160 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47164 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47166 (EXPL_FINITE): Likewise.
47167 (FLDLOG): Likewise.
47168 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47169 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47171 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47173 (EXPL_FINITE): Likewise.
47174 (FLDLOG): Likewise.
47175 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47176 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47178 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47179 test of -max_value argument for long double.
47180 * sysdeps/i386/fpu/libm-test-ulps: Update.
47181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47183 2012-05-06 David S. Miller <davem@davemloft.net>
47185 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47186 quad soft-float symbols whose references which are compiler
47188 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47190 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47194 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47196 (EXPL_FINITE): Likewise.
47197 (FLDLOG): Likewise.
47200 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47201 Adjust comments for base varying.
47202 (__expl_finite): Change alias to EXPL_FINITE.
47203 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47205 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47206 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47207 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47208 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47209 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47211 (EXPL_FINITE): Likewise.
47212 (FLDLOG): Likewise.
47215 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47216 Adjust comments for base varying.
47217 (__expl_finite): Change alias to EXPL_FINITE.
47218 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47223 * math/libm-test.inc (check_float_internal): Correct ulp
47224 calculation for subnormal expected results.
47226 2012-05-06 Andreas Jaeger <aj@suse.de>
47228 * Makeconfig (+math-flags): New, set to -frounding-math.
47229 (+cflags): Add +math-flags so that all of glibc gets compiled with
47232 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47234 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47236 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47242 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47243 (__ieee754_expl): Allow for and saturate large arguments.
47244 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47245 (u_threshold): Likewise.
47246 (__exp): Call __ieee754_exp before checking for overflow and
47248 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47249 (u_threshold): Likewise.
47250 (__expf): Call __ieee754_expf before checking for overflow and
47252 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47253 (u_threshold): Likewise.
47254 (__expl): Call __ieee754_expl before checking for overflow and
47256 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47257 (__ieee754_expl): Allow for and saturate large arguments.
47258 * math/libm-test.inc (exp_test): Add another test. Do not allow
47259 missing overflow exception on overflow.
47260 (expm1_test): Do not allow missing overflow exception on overflow.
47262 * sysdeps/i386/fpu/e_expl.c: Move to ...
47263 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47264 rather than using inline asm.
47265 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47266 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47267 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47269 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47272 (signal): Likewise.
47276 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47278 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47279 sysdeps/unix/common/syscalls.list.
47280 (fchmod): Likewise.
47281 (fchown): Likewise.
47282 (ftruncate): Likewise.
47283 (getrusage): Likewise.
47284 (gettimeofday): Likewise.
47285 (setpgid): Likewise.
47286 (setregid): Likewise.
47287 (setreuid): Likewise.
47288 (sigaction): Likewise.
47289 (truncate): Likewise.
47290 (vhangup): Likewise.
47291 * sysdeps/unix/common/syscalls.list: Remove file.
47292 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47293 * sysdeps/unix/sysv/linux/Implies: Likewise.
47295 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47297 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47299 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47303 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47306 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47309 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47312 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47315 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47318 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47321 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47325 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47329 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47332 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47336 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47340 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47342 * sysdeps/unix/common/bits/dirent.h: Remove file.
47343 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47345 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47346 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47347 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47348 * sysdeps/unix/bsd/isatty.c: Likewise.
47349 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47350 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47351 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47353 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47356 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47357 long double comparison inaccuracies.
47358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47361 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47363 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47364 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47366 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47369 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47370 nonzero digits before rounding a hex value.
47371 * stdlib/tst-strtod.c (tests): Add another test.
47373 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47375 * sysdeps/s390/fpu/libm-test-ulps: Update.
47377 2012-05-03 Andreas Jaeger <aj@suse.de>
47379 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47380 does not get optimized out.
47381 (malloc_opt_barrier): New.
47383 2012-05-03 Andreas Jaeger <aj@suse.de>
47384 Roland McGrath <roland@hack.frob.com>
47386 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47387 intermediate file deletion.
47388 (generated): Add .symlist files.
47390 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47393 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47394 Redirect under this condition.
47395 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47396 [__USE_GNU] (__dprintf_chk): Not under this condition.
47397 [__USE_GNU] (__vdprintf_chk): Likewise.
47398 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47399 under this condition.
47400 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47401 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47402 [__USE_XOPEN2K8] (vdprintf): Likewise.
47403 [__USE_GNU] (__dprintf_chk): Not under this condition.
47404 [__USE_GNU] (__vdprintf_chk): Likewise.
47405 [__USE_GNU] (dprintf): Likewise.
47406 [__USE_GNU] (vdprintf): Likewise.
47408 2012-05-03 Roland McGrath <roland@hack.frob.com>
47410 * elf/Makefile (common-generated): Set this instead of generated for
47411 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47412 $(all-built-dso)-derived lists.
47414 2012-05-03 Andreas Jaeger <aj@suse.de>
47416 * sysdeps/i386/fpu/libm-test-ulps: Update.
47419 * FAQ.in: Likewise.
47420 * scripts/gen-FAQ.pl: Likewise.
47421 * manual/install.texi (Installation): Point to online location of
47423 * Makefile (files-for-dist): Remove FAQ.
47426 2012-05-02 Allan McRae <allan@archlinux.org>
47428 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47429 (LDFLAGS-reldepmod5.so): Likewise.
47430 (LDFLAGS-reldep6mod1.so): Likewise.
47431 (LDFLAGS-reldep6mod4.so): Likewise.
47432 (LDFLAGS-reldep8mod3.so): Likewise.
47433 (LDFLAGS-unload4mod1.so): Likewise.
47434 (LDFLAGS-unload4mod2.so): Likewise.
47435 (LDFLAGS-tst-initorder): Likewise.
47436 (LDFLAGS-tst-initordera2.so): Likewise.
47437 (LDFLAGS-tst-initordera3.so): Likewise.
47438 (LDFLAGS-tst-initordera4.so): Likewise.
47439 (LDFLAGS-tst-initorderb2.so): Likewise.
47440 (LDFLAGS-noload): Likewise.
47441 (LDFLAGS-next): Likewise.
47442 (LDFLAGS-order2mod1.so): Likewise.
47443 (LDFLAGS-order2mod2.so): Likewise.
47444 (LDFLAGS-tst-initorder2): Likewise.
47445 (LDFLAGS-tst-initorder2a.so): Likewise.
47446 (LDFLAGS-tst-initorder2b.so): Likewise.
47447 (LDFLAGS-tst-initorder2c.so): Likewise.
47448 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47450 2012-05-02 David S. Miller <davem@davemloft.net>
47452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47454 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47457 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47459 2012-05-02 Andreas Jaeger <aj@suse.de>
47461 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47462 since we manipulate rounding mode.
47463 (CPPFLAGS-test-idouble.c): Likewise.
47464 (CPPFLAGS-test-ifloat.c): Likewise.
47465 (CFLAGS-test-ldouble.c): Likewise.
47466 (CFLAGS-test-double.c): Likewise.
47467 (CFLAGS-test-float.c): Likewise.
47468 (CFLAGS-test-misc.c): Likewise.
47469 (CFLAGS-test-test-fenv.c): Likewise.
47471 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47475 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47476 comparisons to determine direction to adjust input.
47478 2012-05-01 Roland McGrath <roland@hack.frob.com>
47480 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47481 output to the target.
47483 * scripts/localplt.awk: New file.
47484 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47485 (check-localplt-CFLAGS): Variable removed.
47486 ($(all-built-dso:=.jmprel)): New static pattern rule.
47487 (generated): Add those targets.
47488 (localplt-built-dso): New variable.
47489 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47491 * elf/check-localplt.c: File removed.
47493 * scripts/check-execstack.awk: New file.
47494 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47495 (check-execstack-CFLAGS): Variable removed.
47496 ($(objpfx)check-execstack.h): Target removed.
47497 ($(objpfx)execstack-default): New target.
47498 (generated): Add that instead of check-execstack.h.
47499 ($(all-built-dso:=.phdr)): New static pattern rule.
47500 (generated): Add those targets.
47501 * elf/check-execstack.c: File removed.
47503 * scripts/check-textrel.awk: New file.
47504 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47505 (check-textrel-CFLAGS): Variable removed.
47506 (all-built-dso): Use := to define.o
47507 ($(all-built-dso:=.dyn)): New static pattern rule.
47508 (generated): Add those targets.
47509 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47510 * config.make.in (READELF): New substituted variable.
47511 * elf/check-textrel.c: File removed.
47513 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47515 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47517 * conform/data/ctype.h-data [C99-based standards] (isblank):
47519 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47520 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47522 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47523 Specify type. Require positive value.
47524 (EILSEQ): Likewise.
47525 (ERANGE): Likewise.
47526 [ISO || POSIX] (EILSEQ): Do not expect.
47527 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47528 Specify type. Require positive value.
47529 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47530 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47531 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47532 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47533 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47534 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47535 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47536 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47537 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47538 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47539 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47540 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47541 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47542 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47543 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47544 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47545 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47546 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47547 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47548 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47549 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47550 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47551 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47552 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47553 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47554 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47555 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47556 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47557 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47558 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47559 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47560 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47561 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47562 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47563 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47564 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47565 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47566 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47567 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47568 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47569 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47570 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47571 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47572 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47573 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47574 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47575 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47576 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47577 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47578 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47579 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47580 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47581 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47582 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47583 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47584 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47585 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47586 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47587 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47588 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47589 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47590 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47591 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47592 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47593 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47594 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47595 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47596 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47597 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47598 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47599 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47600 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47601 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47602 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47603 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47604 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47605 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47607 (FLT_ROUNDS): Expect as macro, not constant.
47608 (FLT_MANT_DIG): Use macro-int-constant.
47609 (DBL_MANT_DIG): Likewise.
47610 (LDBL_MANT_DIG): Likewise.
47611 (FLT_DIG): Likewise.
47612 (DBL_DIG): Likewise.
47613 (LDBL_DIG): Likewise.
47614 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47615 (DBL_MIN_EXP): Likewise.
47616 (LDBL_MIN_EXP): Likewise.
47617 (FLT_MAX_EXP): Use macro-int-constant.
47618 (DBL_MAX_EXP): Likewise.
47619 (LDBL_MAX_EXP): Likewise.
47620 (FLT_MAX_10_EXP): Likewise.
47621 (DBL_MAX_10_EXP): Likewise.
47622 (LDBL_MAX_10_EXP): Likewise.
47623 (FLT_MAX): Use macro-constant.
47624 (DBL_MAX): Likewise.
47625 (LDBL_MAX): Likewise.
47626 (FLT_EPSILON): Use macro-constant. Give upper bound.
47627 (DBL_EPSILON): Likewise.
47628 (LDBL_EPSILON): Likewise.
47629 (FLT_MIN): Likewise.
47630 (DBL_MIN): Likewise.
47631 (LDBL_MIN): Likewise.
47632 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47633 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47634 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47635 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47636 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47637 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47638 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47639 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47640 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47641 [ISO11] (FLT_TRUE_MIN): Likewise.
47642 [ISO11] (LDBL_TRUE_MIN): Likewise.
47643 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47644 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47645 (SCHAR_MIN): Use macro-int-constant. Specify type.
47646 (SCHAR_MAX): Likewise.
47647 (UCHAR_MAX): Likewise.
47648 (CHAR_MIN): Likewise.
47649 (CHAR_MAX): Likewise.
47650 (MB_LEN_MAX): Use macro-int-constant.
47651 (SHRT_MIN): Use macro-int-constant. Specify type.
47652 (SHRT_MAX): Likewise.
47653 (USHRT_MAX): Likewise.
47654 (INT_MAX): Likewise.
47655 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47657 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47659 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47661 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47662 bound negative. Suffix upper bound with "L".
47663 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47665 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47667 [C99-based standards] (LLONG_MAX): Likewise.
47668 [C99-based standards] (ULLONG_MAX): Likewise.
47669 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47671 [ISO11] (max_align_t): Require type.
47672 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47674 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47675 from $CFLAGS, without defining away __attribute__ calls.
47676 (checknamespace): Use $CFLAGS_namespace.
47678 * conform/conformtest.pl (@keywords): Only include C99 keywords
47679 for standards based on C99 or C11.
47681 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47683 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47686 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47687 usability of symbols in #if.
47689 * conform/conformtest.pl: If macro or constant types start
47690 "promoted:", expect the symbol to be of the following type
47691 promoted by the integer promotions.
47693 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47694 in one place. Also handle "macro-constant".
47696 * conform/conformtest.pl: Only accept expected macro values with
47697 "==". Parse all "macro" lines in one place.
47698 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47700 * conform/conformtest.pl: Handle braced types on "constant" lines
47701 instead of handling "typed-constant".
47702 * conform/data/signal.h-data: Use "constant" instead of
47705 * conform/conformtest.pl: Handle "optional-" at start of lines in
47706 one place rather than duplicating several cases. Handle each
47707 format of "macro" line with initial "optional-".
47709 * conform/conformtest.pl: Only accept expected constant or
47710 optional-constant values with "==". Parse all "constant" lines in
47711 one place. Parse all "optional-constant" lines in one place.
47712 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47713 * conform/data/fmtmsg.h-data: Likewise.
47714 * conform/data/netinet/in.h-data: Likewise.
47715 * conform/data/tar.h-data: Likewise.
47716 * conform/data/limits.h-data: Use "==" form on "constant" and
47717 "optional-constant" lines.
47719 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47720 Use -std=c99 for XOPEN2K.
47721 (@knownproblems): Remove.
47722 (newtoken): Don't check %isknown.
47724 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47725 Do not expect macro.
47726 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47727 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47728 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47729 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47730 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47731 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47732 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47733 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47734 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47735 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47736 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47737 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47738 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47739 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47740 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47741 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47742 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47743 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47744 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47745 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47746 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47747 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47748 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47749 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47750 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47751 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47752 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47753 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47754 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47755 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47756 [XPG3] (acosh): Likewise.
47757 [XPG3] (asinh): Likewise.
47758 [XPG3] (atanh): Likewise.
47759 [XPG3] (cbrt): Likewise.
47760 [XPG3] (expm1): Likewise.
47761 [XPG3] (ilogb): Likewise.
47762 [XPG3] (log1p): Likewise.
47763 [XPG3] (logb): Likewise.
47764 [XPG3] (nextafter): Likewise.
47765 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47766 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47767 [XPG3] (remainder): Likewise.
47768 [XPG3] (rint): Likewise.
47769 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47770 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47771 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47772 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47773 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47774 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47775 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47776 [UNIX98 || XOPEN2K] (scalb): Expect.
47777 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47778 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47779 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47780 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47781 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47782 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47783 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47784 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47785 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47786 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47787 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47788 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47789 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47790 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47791 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47792 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47793 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47794 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47795 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47796 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47797 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47798 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47799 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47800 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47801 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47802 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47803 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47804 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47805 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47806 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47807 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47808 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47809 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47810 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47811 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47812 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47813 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47814 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47815 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47816 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47817 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47818 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47819 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47820 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47821 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47822 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47823 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47824 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47825 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47826 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47827 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47828 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47829 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47830 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47831 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47832 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47833 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47834 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47835 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47836 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47837 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47838 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47839 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47840 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47841 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47842 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47843 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47844 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47845 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47846 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47847 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47848 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47849 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47850 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47851 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47852 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47853 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47854 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47855 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47856 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47857 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47858 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47859 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47860 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47861 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47862 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47863 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47864 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47865 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47866 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47867 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47868 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47869 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47870 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47871 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47872 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47873 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47874 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47875 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47876 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47877 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47878 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47879 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47880 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47881 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47882 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47883 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47884 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47885 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47886 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47887 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47888 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47889 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47890 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47891 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47892 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47893 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47894 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47895 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47896 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47897 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47898 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47899 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47900 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47901 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47902 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47903 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47904 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47905 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47906 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47907 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47908 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47909 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47910 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47911 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47912 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47913 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47915 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47916 _XOPEN_SOURCE_EXTENDED for XPG4.
47918 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47920 * Makeconfig (localtime): Remove variable.
47921 (inst_localtime-file): Likewise.
47923 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47944 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47948 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47949 comparisons to determine direction to adjust input.
47950 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47951 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47952 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47954 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47956 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47958 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47959 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47961 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47963 * math/libm-test.inc (nexttoward_test): Add more tests.
47965 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47968 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47969 in version GLIBC_2.1, not GLIBC_2.0.
47970 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47973 2012-04-30 Joseph Myers <joseph@codesourcery.com>
47976 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47978 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47979 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47980 * math/libm-test.inc (acos_test): Add more tests.
47981 (asin_test): Likewise.
47982 * sysdeps/i386/fpu/libm-test-ulps: Update.
47983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47986 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47988 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47989 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47990 * math/libm-test.inc (acos_test_tonearest): New function.
47991 (acos_test_towardzero): Likewise.
47992 (acos_test_downward): Likewise.
47993 (acos_test_upward): Likewise.
47994 (asin_test_tonearest): Likewise.
47995 (asin_test_towardzero): Likewise.
47996 (asin_test_downward): Likewise.
47997 (asin_test_upward): Likewise.
47998 (main): Call the new functions.
47999 * sysdeps/i386/fpu/libm-test-ulps: Update.
48000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48004 * math/e_exp10.c: Include <float.h>.
48005 (__ieee754_exp10): Handle underflow here rather than multiplying
48006 large negative argument by M_LN10.
48007 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48009 * math/e_exp10l.c: Include <float.h>.
48010 (__ieee754_exp10l): Handle underflow here rather than multiplying
48011 large negative argument by M_LN10l.
48012 * math/libm-test.inc (exp10_test): Add another test. Do not allow
48013 spurious overflow exception on underflow.
48015 2012-04-29 Marek Polacek <polacek@redhat.com>
48017 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48018 (__fortify_function): New macro.
48019 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48020 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48021 __extern_always_inline.
48022 * libio/bits/stdio2.h: Likewise.
48023 * libio/bits/stdio.h: Likewise.
48024 * string/string.h: Likewise.
48025 * string/bits/string3.h: Likewise.
48026 * include/stdio.h: Likewise.
48027 * stdlib/bits/stdlib.h: Likewise.
48028 * stdlib/stdlib.h: Likewise.
48029 * rt/bits/mqueue2.h: Likewise.
48030 * rt/mqueue.h: Likewise.
48031 * posix/bits/unistd.h: Likewise.
48032 * posix/unistd.h: Likewise.
48033 * io/bits/poll2.h: Likewise.
48034 * io/bits/fcntl2.h: Likewise.
48035 * io/fcntl.h: Likewise.
48036 * io/sys/poll.h: Likewise.
48037 * misc/bits/syslog.h: Likewise.
48038 * misc/bits/syslog-ldbl.h: Likewise.
48039 * misc/sys/syslog.h: Likewise.
48040 * socket/bits/socket2.h: Likewise.
48041 * socket/sys/socket.h: Likewise.
48042 * debug/tst-chk1.c: Likewise.
48043 * wcsmbs/bits/wchar2.h: Likewise.
48044 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48045 * wcsmbs/wchar.h: Likewise.
48047 2012-04-29 Andreas Jaeger <aj@suse.de>
48049 * Makerules (tests): Remove enable-check-abi protection.
48050 (check-abi-warn): Remove.
48051 (check-abi-%): Remove check-abi-warn usage.
48053 * configure.in: Remove check-abi configure option.
48054 * configure: Regenerated.
48055 * config.make.in (enable-check-abi): Remove.
48057 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
48060 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48061 double functions to double *_finite functions.
48064 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48065 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48067 * stdio-common/Makefile (tests): Add tst-sprintf3.
48068 * stdio-common/tst-sprintf3.c: New file.
48070 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48071 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48073 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48075 * conform/conformtest.pl: Remove duplicate typed-constant
48078 2012-04-28 David S. Miller <davem@davemloft.net>
48080 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48081 (check-abi-%): Remove AWK script prerequisite and explicit
48083 (check-abi): Rewrite to just diff the symlist with the abilist.
48084 (config-tls, config-abi-config): Delete, no longer used.
48085 (update-abi-%): Remove AWK script and explicit abilist directory.
48086 (update-abi): Rewrite to simply compare and conditionally copy the
48087 symlist and the sysdep abilist file. Remove update-abi-config
48089 * abilist/ld.abilist: Remove.
48090 * abilist/libBrokenLocale.abilist: Remove.
48091 * abilist/libanl.abilist: Remove.
48092 * abilist/libcrypt.abilist: Remove.
48093 * abilist/libdl.abilist: Remove.
48094 * abilist/librt.abilist: Remove.
48095 * abilist/libthread_db.abilist: Remove.
48096 * abilist/libutil.abilist: Remove.
48097 * scripts/extract-abilist.awk: Remove.
48098 * scripts/merge-abilist.awk: Remove.
48099 * sysdeps/generic/libcidn.abilist: New file.
48100 * sysdeps/generic/libnss_compat.abilist: New file.
48101 * sysdeps/generic/libnss_db.abilist: New file.
48102 * sysdeps/generic/libnss_dns.abilist: New file.
48103 * sysdeps/generic/libnss_files.abilist: New file.
48104 * sysdeps/generic/libnss_hesiod.abilist: New file.
48105 * sysdeps/generic/libnss_nis.abilist: New file.
48106 * sysdeps/generic/libnss_nisplus.abilist: New file.
48107 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48108 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48109 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48111 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48112 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48113 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48114 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48115 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48116 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48117 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48118 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48119 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48121 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48122 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48123 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48124 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48126 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48127 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48128 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48129 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48130 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48131 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48133 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48134 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48135 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48137 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48240 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48241 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48242 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48245 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48246 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48247 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48248 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48249 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48250 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48251 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48252 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48253 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48305 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48307 * conform/conformtest.pl: Fix typo in handling typed-constant from
48310 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48312 * README: Cut down references to pre-2.6 Linux kernels and
48313 Linuxthreads. Update lists of configurations in libc and ports
48314 and sort alphabetically. Say "or newer" with Linux kernel version
48317 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48319 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48322 * math/libm-test.inc (logb_test_downward): New test to expose
48323 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48326 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48329 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48331 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48332 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48334 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48336 * sysdeps/unix/i386/brk.S: Remove file.
48337 * sysdeps/unix/i386/dl-brk.S: Likewise.
48338 * sysdeps/unix/i386/pipe.S: Likewise.
48339 * sysdeps/unix/i386/sigreturn.S: Likewise.
48340 * sysdeps/unix/i386/syscall.S: Likewise.
48341 * sysdeps/unix/i386/vfork.S: Likewise.
48342 * sysdeps/unix/i386/wait.S: Likewise.
48344 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48345 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48347 * configure.in (arm*-none*): Do not allow without
48348 --enable-hacker-mode.
48349 (netbsd*): Remove case setting base_os.
48350 (386bsd*): Likewise.
48351 (freebsd*): Likewise.
48354 (sunos*): Likewise.
48355 (ultrix*): Likewise.
48356 (newsos*): Likewise.
48357 (dynix*): Likewise.
48363 (minix*): Likewise.
48364 (irix4*): Likewise.
48365 (irix6*): Likewise.
48366 (solaris[2-9]*): Likewise.
48368 * configure: Regenerated.
48370 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48373 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48374 overflow or cancellation in calculating denominator.
48375 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48376 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48377 down expression to avoid unexpected rounding in newer GCCs.
48378 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48380 2012-04-26 David S. Miller <davem@davemloft.net>
48382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48383 long-double compat symbols.
48384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48398 2012-04-25 David S. Miller <davem@davemloft.net>
48400 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48401 HWCAP_* values only after the memory barriers have been defined.
48402 (atomic_full_barrier): Define.
48403 (atomic_read_barrier): Define.
48404 (atomic_write_barrier): Define.
48406 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48408 * shlib-versions: Add libgcc_s version information.
48409 * sysdeps/generic/libgcc_s.h: Remove.
48410 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48412 * sysdeps/gnu/unwind-resume.c: Likewise.
48413 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48415 2012-04-25 David S. Miller <davem@davemloft.net>
48417 * sysdeps/unix/sparc/brk.S: Delete.
48418 * sysdeps/unix/sparc/dl-brk.S: Delete.
48419 * sysdeps/unix/sparc/pipe.S: Delete.
48420 * sysdeps/unix/sparc/sysdep.S: Delete.
48421 * sysdeps/unix/sparc/sysdep.h: Delete.
48422 * sysdeps/unix/sparc/vfork.S: Delete.
48423 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48424 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48425 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48426 (ret_ERRVAL, r0, r1, MOVE): Define.
48427 (JUMPTARGET): Remove.
48428 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48429 sysdeps/unix/sparc/sysdep.h
48430 (ENTRY, END): Remove.
48431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48433 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48435 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48436 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48439 * timezone/README: Update upstream location and email address for
48441 * timezone/zdump.c: Update from tzcode 2012b.
48442 * timezone/zic.c: Likewise.
48444 * configure.in (libc_cv_as_needed): Remove test.
48445 * configure: Regenerated.
48446 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48447 conditional definition.
48448 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48449 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48450 * config.make.in (have-as-needed): Remove variable.
48452 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48453 Paul Pluzhnikov <ppluzhnikov@google.com>
48455 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48458 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48460 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48461 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48462 * sysdeps/sh/strlen.S: Likewise.
48464 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48466 * sysdeps/unix/fork.S: Remove file.
48467 * sysdeps/unix/i386/fork.S: Likewise.
48468 * sysdeps/unix/sparc/fork.S: Likewise.
48470 * sysdeps/unix/system.c: Remove file.
48471 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48473 * sysdeps/unix/getegid.S: Remove file.
48474 * sysdeps/unix/geteuid.S: Likewise.
48476 2012-04-24 Roland McGrath <roland@hack.frob.com>
48478 * scripts/check-localplt.awk: New file.
48479 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48481 * scripts/data/localplt-generic.data: Add a comment.
48483 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48484 NODE when __dir_mkfile failed.
48485 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48486 Reported by Ludovic Courtès <ludo@gnu.org>.
48488 2012-04-24 Andreas Jaeger <aj@suse.de>
48490 * Makerules (common-clean): Also remove gen-as-const-headers
48493 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48495 * Makerules (native-compile): Do not change working directory for
48496 build. Use $(OUTPUT_OPTION) in command.
48497 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48499 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48502 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48503 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48504 * math/libm-test.inc (floor_test): Add more tests.
48505 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48507 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48509 * sysdeps/unix/getdents.c: Remove file.
48510 * sysdeps/unix/sysv/getdents.c: Likewise.
48511 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48513 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48514 sysdeps/unix/mman/syscalls.list.
48516 (mprotect): Likewise.
48518 (munmap): Likewise.
48519 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48520 * sysdeps/unix/mman/syscalls.list: Remove.
48521 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48523 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48524 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48525 * configure: Regenerated.
48526 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48527 $(libgcc_s_suffix).
48528 * config.make.in (libgcc_s_suffix): Remove variable.
48530 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48532 * sysdeps/unix/sysv/gethostname.c: Move to ...
48533 * sysdeps/posix/gethostname.c: ... here.
48535 * sysdeps/unix/execve.S: Remove file.
48537 * sysdeps/unix/_exit.S: Remove file.
48539 2012-04-23 Andreas Jaeger <aj@suse.de>
48542 * manual/Makefile: Remove make dist support, there's no
48543 need for a stand-alone documentation tar ball.
48544 (TEXI2DVI): Define always, it's not in Makeconfig.
48547 (edition): Removed.
48548 (glibc-doc-$(edition).tar): Removed
48552 (ETAGS): Remove, it's in Makeconfig.
48553 (move-if-change): Remove, it's in Makeconfig.
48555 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48558 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48559 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48560 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48561 (strtod_l, strtof_l, strtold_l): Remove __wur.
48562 It is not necessarily an error to ignore strtol's return value.
48563 One can reliably look at the stored endptr to decide whether
48564 the number had valid syntax.
48566 2012-04-21 Andreas Jaeger <aj@suse.de>
48569 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48571 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48573 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48574 * sysdeps/unix/sysv/Versions: Remove file.
48576 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48581 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48585 version from __vm86.
48587 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48589 * sysdeps/unix/common/lxstat.c: Remove file.
48590 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48592 * sysdeps/unix/sysv/Makefile: Remove file.
48594 * sysdeps/unix/sysv/direct.h: Remove file.
48596 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48597 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48598 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48599 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48600 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48601 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48602 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48604 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48606 * sysdeps/unix/xmknod.c: Remove file.
48607 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48609 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48611 * sysdeps/unix/sysv/i386/time.S: Remove file.
48613 * sysdeps/unix/fxstat.c: Remove file.
48614 * sysdeps/unix/xstat.c: Likewise.
48615 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48617 * sysdeps/unix/sysv/sigaction.c: Remove file.
48619 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48620 (sysdep_headers): Remove variable.
48621 [termio.h not in sysdep_headers] (generated): Likewise.
48622 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48623 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48624 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48625 * sysdeps/unix/sysv/tcflow.c: Likewise.
48626 * sysdeps/unix/sysv/tcflush.c: Likewise.
48627 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48628 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48629 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48630 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48631 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48633 * sysdeps/unix/siglist.c: Remove file.
48635 * sysdeps/unix/getppid.S: Remove file.
48637 * sysdeps/unix/mkdir.c: Remove file.
48638 * sysdeps/unix/rmdir.c: Likewise.
48640 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48642 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48644 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48645 errlist-compat value.
48647 2012-04-18 David S. Miller <davem@davemloft.net>
48649 * sysdeps/generic/memcopy.h (reg_char): Delete.
48650 * debug/strcat_chk.c: Use char, not reg_char.
48651 * debug/strcpy_chk.c: Likewise.
48652 * debug/strncat_chk.c: Likewise.
48653 * debug/strncpy_chk.c: Likewise.
48654 * string/memchr.c: Likewise.
48655 * string/memrchr.c: Likewise.
48656 * string/rawmemchr.c: Likewise.
48657 * string/strcat.c: Likewise.
48658 * string/strchr.c: Likewise.
48659 * string/strchrnul.c: Likewise.
48660 * string/strcmp.c: Likewise.
48661 * string/strcpy.c: Likewise.
48662 * string/strncat.c: Likewise.
48663 * string/strncmp.c: Likewise.
48664 * string/strncpy.c: Likewise.
48666 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48668 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48669 __builtin_memcopy is called when src and dest ranges are known to not
48672 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48674 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48675 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48676 fwd_align_merge macro call.
48677 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48678 bwd_align_merge macro call.
48679 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48681 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48683 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48684 bwd_align_merge macros.
48685 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48686 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48687 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48689 2012-04-18 David S. Miller <davem@davemloft.net>
48691 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48693 2012-04-18 Andreas Jaeger <aj@suse.de>
48696 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48697 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48698 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48700 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48701 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48702 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48704 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48705 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48706 Adjust for changed ldbl-128 files.
48708 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48709 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48710 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48712 2012-04-17 David S. Miller <davem@davemloft.net>
48714 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48716 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48718 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48719 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48720 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48721 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48722 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48723 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48725 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48728 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48729 * math/libm-test.inc: Add ilogb errno and exception tests.
48730 * math/w_ilogb.c: New file: ilogb wrapper.
48731 * math/w_ilogbf.c: New file: ilogbf wrapper.
48732 * math/w_ilogbl.c: New file: ilogbl wrapper.
48733 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48734 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48735 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48736 exception being thrown with 0.0 as argument.
48737 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48738 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48739 exception being thrown with 0.0 as argument.
48740 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48741 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48742 exception being thrown with 0.0 as argument.
48743 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48744 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48745 exception being thrown with 0.0 as argument.
48746 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48747 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48748 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48749 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48750 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48751 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48752 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48753 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48754 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48756 2012-04-17 Petr Baudis <pasky@ucw.cz>
48758 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48761 2012-04-16 Marek Polacek <polacek@redhat.com>
48763 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48765 2012-04-16 Marek Polacek <polacek@redhat.com>
48767 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48768 operands of fdivp instruction.
48770 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48772 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48773 * elf/tst-auditmod3b.c: Likewise.
48774 * elf/tst-auditmod4b.c: Likewise.
48775 * elf/tst-auditmod5b.c: Likewise.
48776 * elf/tst-auditmod6b.c: Likewise.
48777 * elf/tst-auditmod6c.c: Likewise.
48778 * elf/tst-auditmod7b.c: Likewise.
48779 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48780 * sysdeps/x86_64/preconfigure.in: Likewise.
48781 * sysdeps/x86_64/preconfigure: Regenerated.
48783 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48785 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48788 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
48790 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48791 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48793 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48796 * locale/iso-639.def: Fix gl language name. Spotted by
48799 2012-04-12 Roland McGrath <roland@hack.frob.com>
48802 * libio/libio.h (__io_write_fn): Update comment.
48804 2012-04-12 Petr Baudis <pasky@ucw.cz>
48807 * stdio.texi (Hook Functions): The user provided writer function
48808 is not allowed to return -1.
48810 2012-04-11 David S. Miller <davem@davemloft.net>
48812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48814 2012-04-11 Mike Frysinger <vapier@gentoo.org>
48816 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48817 Add a leading slash to rtkaio.
48819 2012-04-11 Jim Meyering <meyering@redhat.com>
48822 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48823 It is not necessarily an error to ignore fwrite's return
48824 value. One can reliably use ferror to test for errors after
48827 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48829 * bits/types.h (__snseconds_t): New type.
48830 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48832 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48833 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48834 (__SNSECONDS_T_TYPE): Likewise.
48835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48836 (__SNSECONDS_T_TYPE): Likewise.
48837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48838 (__SNSECONDS_T_TYPE): Likewise.
48840 2012-04-10 Andreas Jaeger <aj@suse.de>
48843 * manual/time.texi (Processor Time): Return type of times is
48844 elapsed real time since an arbitrary point in the past.
48845 (CPU Time): Move CLK_TCK from here...
48846 (Processor Time): ...to here. Correct description.
48847 * manual/conf.texi (Constants for Sysconf): Correct description of
48850 2012-04-10 David S. Miller <davem@davemloft.net>
48853 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48854 where the is a gap between DT_REL(A) and DT_JMPREL.
48856 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48858 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48859 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48860 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48862 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48864 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48865 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48866 (dl_main): Handle --inhibit-cache.
48867 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48869 * elf/dl-load.c (_dl_map_object): Use it.
48870 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48872 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48875 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48876 (__ieee754_powl): Saturate large exponents rather than testing for
48877 overflow of y*log2(x).
48878 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48879 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48883 * math/s_ctan.c: Include <float.h>.
48884 (__ctan): Avoid internal overflow or cancellation in calculating
48886 * math/s_ctanf.c: Likewise.
48887 * math/s_ctanl.c: Likewise.
48888 * math/s_ctanh.c: Likewise.
48889 * math/s_ctanhf.c: Likewise.
48890 * math/s_ctanhl.c: Likewise.
48891 * math/libm-test.inc (ctan_test): Add more tests.
48892 (ctanh_test): Likewise.
48893 * sysdeps/i386/fpu/libm-test-ulps: Update.
48894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48896 2012-04-09 Andreas Jaeger <aj@suse.de>
48899 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48900 is an optional BSD extension.
48903 * manual/stdio.texi (Opening Streams): Document additional fopen
48906 2012-04-09 Roland McGrath <roland@hack.frob.com>
48908 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48909 %eax without telling the compiler.
48911 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48914 * manual/install.texi: Use sourceware.org.
48916 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48919 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48920 (__ieee754_pow): Generate overflow and underflow using huge*huge
48921 and tiny*tiny rather than just returning constant infinity or zero
48922 for large exponents.
48923 * math/libm-test.inc (pow_test): Require overflow exceptions for
48924 applicable cases of large exponents.
48927 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48928 (__ieee754_pow): Use iterative multiplication algorithm only for
48929 integer exponents with absolute value below 1024. Check for odd
48930 integer exponents when using algorithm for real exponents.
48931 * math/libm-test.inc (pow_test): Add more tests.
48932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48934 2012-04-08 Joseph Myers <joseph@codesourcery.com>
48937 * math/libm-test.inc (exp_test): Do not allow overflow exception
48940 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48943 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48944 instead of __kernel_standard_f.
48946 2012-04-08 Mike Frysinger <vapier@gentoo.org>
48948 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48949 * sysdeps/x86_64/memset_chk.S: Likewise.
48951 2012-04-08 Andreas Jaeger <aj@suse.de>
48954 * manual/startup.texi (Environment Access): Describe return value
48955 for putenv and setenv.
48958 * manual/filesys.texi (Directory Entries): Add description for
48962 * manual/filesys.texi (Directory Entries): Clarify that it's file
48963 system not operating system in the description of DT_UNKNOWN.
48966 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48968 2012-04-08 Stephen Compall <s11@member.fsf.org>
48971 * manual/llio.texi (Opening and Closing Files): Add cross
48972 reference to explain mode argument.
48974 2012-04-07 Mike Frysinger <vapier@gentoo.org>
48976 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48977 * sysdeps/x86_64/memset_chk.S: Likewise.
48979 2012-04-07 David S. Miller <davem@davemloft.net>
48981 * elf/elf.h (R_SPARC_WDISP10): Define.
48982 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48984 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48985 R_SPARC_SIZE64 and R_SPARC_H34.
48987 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48989 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48990 conditions and remove no longer applicable assertion.
48992 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48994 * bits/byteswap.h: Include <features.h>.
48995 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48996 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48998 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49000 * bits/byteswap.h (__bswap_16): Removed.
49001 Include <bits/byteswap-16.h> to get __bswap_16.
49002 * sysdeps/i386/bits/byteswap.h: Likewise.
49003 * sysdeps/s390/bits/byteswap.h: Likewise.
49004 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49005 * bits/byteswap-16.h: New file.
49006 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49007 * sysdeps/s390/bits/byteswap-16.h: Likewise.
49008 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49009 * string/Makefile (headers): Add bits/byteswap-16.h.
49011 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49014 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49016 * nss/Makefile (tests-static, tests): Add tst-nss-static.
49017 * nss/tst-nss-static.c: New.
49019 2012-04-06 Robert Millan <rmh@gnu.org>
49022 * manual/llio.texi (File Position Primitive): lseek
49023 refers to WHENCE when it really means OFFSET.
49025 2012-04-06 Andreas Jaeger <aj@suse.de>
49027 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49028 strncmp declarations.
49030 * abilist/libc.abilist: Add __poll and __ppoll.
49032 2012-04-05 David S. Miller <davem@davemloft.net>
49034 * scripts/check-local-headers.sh: Accept a host triplet in the
49035 path matched by the exclude regexp.
49037 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49039 * sysdeps/powerpc/powerpc32/dl-machine.h
49040 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49041 * sysdeps/s390/s390-32/dl-machine.h
49042 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49043 * sysdeps/sparc/sparc32/dl-machine.h
49044 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49045 * sysdeps/sparc/sparc64/dl-machine.h
49046 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49048 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49050 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49051 undefined symbol errors.
49053 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49056 2012-04-05 Michael Matz <matz@suse.de>
49059 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49061 2012-04-05 Andreas Jaeger <aj@suse.de>
49064 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49067 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49069 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49070 which ROUND is no valid rounding mode.
49072 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49074 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49076 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49078 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49080 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49081 an exception using FPU order intentionally.
49083 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49085 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49086 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49087 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49088 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49090 2012-04-05 Simon Josefsson <simon@josefsson.org>
49093 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49094 EINVAL when BUFLEN is too smal.
49096 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49099 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49100 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49102 2012-04-03 Andreas Jaeger <aj@suse.de>
49105 * manual/setjmp.texi (System V contexts): Fix sentence.
49108 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49109 New macro for this case.
49110 [!__GNUC__] (__bswap_64): New inline function for this case.
49111 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49112 * bits/byteswap.h: Likewise.
49113 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49114 ull, guard with __GLIBC_HAVE_LONG_LONG.
49116 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49117 __GLIBC_HAVE_LONG_LONG.
49119 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49120 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49122 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49125 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49126 inptr and inend, rather than using last_ch.
49128 2012-04-02 David S. Miller <davem@davemloft.net>
49130 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49131 * stdio-common/printf-parse.h (read_int): Change return type to
49132 'int', return -1 on INT_MAX overflow.
49133 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49134 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49135 overflows INT_MAX. Check for overflow of in-format-string precision
49136 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49137 SIZE_MAX not INT_MAX for integer overflow test.
49138 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49139 skip the construct in the format string but do not record anything.
49140 * stdio-common/bug22.c: Adjust to test both width/prevision
49141 INT_MAX overflow as well as total length INT_MAX overflow. Check
49142 explicitly for proper errno values.
49144 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49146 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49148 * string/test-strcmp.c [! WIDE]: Likewise.
49149 * time/tst-mktime2.c: Likewise for INT_MAX.
49150 * string/test-string.h: #include <sys/param.h> for MIN.
49152 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49153 * sysdeps/i386/init-first.c (init): Likewise.
49154 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49155 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49156 * sysdeps/sh/init-first.c (init): Likewise.
49158 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49160 * po/ru.po: Update from translation team.
49161 * po/vi.po: Likewise.
49163 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49165 * resolv/nss_dns/dns-host.c: Merge copyright years.
49167 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49169 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49170 Optimize memcpy with prefetch if
49171 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49172 src, dst pointers have unequal 16 byte alignments.
49174 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49177 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49178 from a CNAME entry and return the minimum ttl for the query.
49179 (gaih_getanswer_slice): Likewise.
49181 2012-03-30 Jeff Law <law@redhat.com>
49183 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49185 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49186 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49188 * resolv/nss_dns/dns-host.c: Update copyright year.
49190 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49192 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49193 requests to save a system call. Fix check that all bytes are sent.
49195 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49196 comments for sendmmsg.
49198 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49201 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49202 with only 1 character between 0x0041 and 0x01b0.
49203 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49204 * wcsmbs/tst-mbsnrtowcs.c: New file.
49206 2012-03-29 David S. Miller <davem@davemloft.net>
49208 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49209 small copies by hand.
49211 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49214 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49215 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49218 2012-03-28 David S. Miller <davem@davemloft.net>
49220 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49221 that branches into memcpy.
49222 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49223 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49224 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49225 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49228 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49229 implementation too.
49230 * sysdeps/sparc/mempcpy.S: New file.
49232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49233 the IFUNC routine in the libc case.
49234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49236 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49237 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49238 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49239 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49240 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49241 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49242 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49243 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49245 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49246 loop to 256 bytes instead of 64 bytes and fix test signedness.
49248 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49249 * sysdeps/sparc/sparc32/Makefile: rather than here...
49250 * sysdeps/sparc/sparc64/Makefile: and here.
49252 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49254 * malloc/mallocbug.c: Avoid warnings about unused variables.
49256 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49259 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49260 in the right place. Discard and retry query if response is
49261 larger than input buffer size.
49263 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49268 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49269 x for large integer exponent.
49270 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49271 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49272 sign of result as needed afterwards.
49273 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49274 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49275 result for underflowing pow the same as for overflow.
49276 (__kernel_standard_l): Handle powl overflow and underflow here
49277 rather than calling __kernel_standard.
49278 * math/libm-test.inc (pow_test): Add more tests.
49293 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49294 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49295 (__kernel_standard_l): New function.
49296 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49298 * math/w_acosl.c (__acosl): Likewise.
49299 * math/w_asinl.c (__asinl): Likewise.
49300 * math/w_atan2l.c (__atan2l): Likewise.
49301 * math/w_atanhl.c (__atanhl): Likewise.
49302 * math/w_coshl.c (__coshl): Likewise.
49303 * math/w_exp10l.c (__exp10l): Likewise.
49304 * math/w_exp2l.c (__exp2l): Likewise.
49305 * math/w_fmodl.c (__fmodl): Likewise.
49306 * math/w_hypotl.c (__hypotl): Likewise.
49307 * math/w_j0l.c (__j0l, __y0l): Likewise.
49308 * math/w_j1l.c (__j1l, __y1l): Likewise.
49309 * math/w_jnl.c (__jnl, __ynl): Likewise.
49310 * math/w_lgammal.c (__lgammal): Likewise.
49311 * math/w_log10l.c (__log10l): Likewise.
49312 * math/w_log2l.c (__log2l): Likewise.
49313 * math/w_logl.c (__logl): Likewise.
49314 * math/w_powl.c (__powl): Likewise.
49315 * math/w_remainderl.c (__remainderl): Likewise.
49316 * math/w_scalbl.c (sysv_scalbl): Likewise.
49317 * math/w_sinhl.c (__sinhl): Likewise.
49318 * math/w_sqrtl.c (__sqrtl): Likewise.
49319 * math/w_tgammal.c (__tgammal): Likewise.
49320 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49321 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49322 * math/libm-test.inc (acos_test): Add more tests.
49323 (acosh_test): Likewise.
49324 (asin_test): Likewise.
49325 (atanh_test): Likewise.
49326 (exp_test): Likewise.
49327 (exp10_test): Likewise.
49328 (exp2_test): Likewise.
49329 (expm1_test): Likewise.
49330 (lgamma_test): Likewise.
49331 (log_test): Likewise.
49332 (log10_test): Likewise.
49333 (log1p_test): Likewise.
49334 (log2_test): Likewise.
49335 (pow_test): Do not allow some spurious overflow exceptions.
49336 (sqrt_test): Add more tests.
49337 (tgamma_test): Likewise.
49338 (y0_test): Likewise.
49339 (y1_test): Likewise.
49340 (yn_test): Likewise.
49342 2012-03-27 Anton Blanchard <anton@samba.org>
49344 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49346 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49347 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49348 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49350 2012-03-27 David S. Miller <davem@davemloft.net>
49352 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49354 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49355 have-as-vis3 check.
49357 2012-03-27 Andreas Jaeger <aj@suse.de>
49359 * sysdeps/x86_64/elf/configure.in: Moved to ...
49360 * sysdeps/x86_64/configure.in: ... here.
49361 * sysdeps/x86_64/elf/start.S: Moved to ...
49362 * sysdeps/x86_64/start.S: ... here.
49363 * sysdeps/x86_64/elf/configure: Delete.
49365 * sysdeps/x86_64/configure.in: Merge contents from
49366 sysdeps/i386/configure.in (without i686 check).
49368 * sysdeps/i386/elf/Versions: Merge into ...
49369 * sysdeps/i386/Versions: ... this.
49370 * sysdeps/i386/elf/Versions: Delete file.
49371 * sysdeps/i386/elf/start.S: Moved to ...
49372 * sysdeps/i386/start.S: ...here.
49373 * sysdeps/i386/elf/configure.in: Merge into...
49374 * sysdeps/i386/configure.in: ...here.
49375 * sysdeps/i386/elf/configure.in: Delete file.
49376 * sysdeps/i386/elf/configure: Delete file.
49378 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49379 * debug/backtracesyms.c: ... here.
49380 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49381 * debug/backtracesymsfd.c: ... here.
49382 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49383 * sysdeps/generic/ifunc-sel.h: ... here.
49385 * sysdeps/unix/i386/start.c: Delete file.
49386 * sysdeps/unix/sparc/start.c: Delete file.
49387 * sysdeps/unix/start.c: Delete file.
49389 * sysdeps/sh/elf/configure.in: Moved to ...
49390 * sysdeps/sh/configure.in: ... here.
49391 * sysdeps/sh/elf/start.S: Moved to ...
49392 * sysdeps/sh/start.S: ... here.
49393 * sysdeps/sh/elf/configure: Delete file.
49395 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49396 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49397 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49398 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49399 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49400 * sysdeps/powerpc/powerpc64/start.S: here.
49401 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49402 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49403 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49404 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49405 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49407 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49408 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49409 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49410 * sysdeps/powerpc/powerpc32/start.S: ... here.
49411 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49412 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49413 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49415 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49416 * sysdeps/powerpc/ifunc-sel.h: ... here.
49417 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49418 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49420 * sysdeps/sparc/elf/configure.in: Moved to ...
49421 * sysdeps/sparc/configure.in: ... here.
49422 * sysdeps/sparc/elf/configure: Delete file.
49423 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49424 * sysdeps/sparc/sparc32/start.S: ... here.
49425 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49426 * sysdeps/sparc/sparc64/start.S: ... here.
49427 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49428 * sysdeps/sparc/sparc32/Makefile: ... this.
49429 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49430 * sysdeps/sparc/sparc64/Makefile: ... this.
49432 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49433 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49434 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49435 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49436 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49437 * sysdeps/s390/s390-32/setjmp.S: ... here.
49438 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49439 * sysdeps/s390/s390-32/configure.in: ... here.
49440 * sysdeps/s390/s390-32/elf/configure: Delete file.
49441 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49442 * sysdeps/s390/s390-32/start.S: ... here.
49444 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49445 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49446 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49447 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49448 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49449 * sysdeps/s390/s390-64/setjmp.S: ... here.
49450 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49451 * sysdeps/s390/s390-64/configure.in: ... here
49452 * sysdeps/s390/s390-64/elf/configure: Delete file.
49453 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49454 * sysdeps/s390/s390-64/start.S: ... here.
49455 * sysdeps/s390/s390-64/elf/configure: Delete.
49457 * configure.in: Remove support for elf directories in sysdeps.
49459 * configure: Regenerated.
49460 * sysdeps/i386/configure: Regenerated.
49461 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49462 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49463 * sysdeps/s390/s390-32/configure: Regenerated.
49464 * sysdeps/s390/s390-64/configure: Regenerated.
49465 * sysdeps/sh/configure: Regenerated.
49466 * sysdeps/sparc/configure: Regenerated.
49467 * sysdeps/x86_64/configure: Regenerated.
49469 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49473 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49474 denormal result into account.
49476 2012-03-25 Roland McGrath <roland@hack.frob.com>
49478 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49479 Reported by Allan McRae <allan@archlinux.org>.
49481 2012-03-23 Jeff Law <law@redhat.com>
49483 * nss/getnssent.c (__nss_getent): Fix typo.
49485 2012-03-23 David S. Miller <davem@davemloft.net>
49487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49489 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49491 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49492 to pad to uint64_t for each field.
49493 (dl_tls_index): Replace unsigned long with uint64_t.
49495 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49496 Paul Pluzhnikov <ppluzhnikov@google.com>
49499 * grp/Makefile (otherlibs): Don't set it.
49500 * inet/Makefile (otherlibs): Likewise.
49501 * login/Makefile (otherlibs): Likewise.
49502 * nscd/Makefile (otherlibs): Likewise.
49503 * posix/Makefile (otherlibs): Likewise.
49504 * pwd/Makefile (otherlibs): Likewise.
49505 * rt/Makefile (otherlibs): Likewise.
49506 * sunrpc/Makefile (otherlibs): Likewise.
49507 * nss/Makefile (otherlibs): Likewise.
49508 Add libnss_files to routines and static-only-routines.
49509 ($(objpfx)getent): Remove rule.
49510 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49511 static-only-routines.
49513 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49516 * math/s_cexp.c: Include <float.h>.
49517 (__cexp): Handle exp result overflowing not necessarily
49518 overflowing both real and imaginary parts of result.
49519 * math/s_cexpf.c: Likewise.
49520 * math/s_cexpl.c: Likewise.
49521 * math/libm-test.inc (cexp_test): Add more tests.
49522 * sysdeps/i386/fpu/libm-test-ulps: Update.
49523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49525 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49527 * include/link.h (ELFW): New macro.
49528 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49529 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49531 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49533 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49536 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49538 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49540 (struct La_x32_retval): Likewise.
49542 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49544 * sysdeps/x86_64/preconfigure.in: New file.
49545 * sysdeps/x86_64/preconfigure: New generated file.
49547 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49550 * math/e_exp2l.c: Include <float.h>.
49551 (__ieee754_exp2l): Handle overflow and underflow cases
49552 separately. Only pass fractional part of argument to
49554 * math/libm-test.inc (exp2_test): Add more tests.
49556 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49557 negating x to take absolute value.
49558 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49560 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49563 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49564 computing low part if x was negated.
49565 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49567 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49569 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49570 la_x32_gnu_pltexit.
49571 (pltexit): Cast int_retval to ptrdiff_t.
49572 * elf/tst-auditmod3b.c: Likewise.
49573 * elf/tst-auditmod4b.c: Likewise.
49574 * elf/tst-auditmod5b.c: Likewise.
49575 * elf/tst-auditmod6b.c: Likewise.
49576 * elf/tst-auditmod6c.c: Likewise.
49577 * elf/tst-auditmod7b.c: Likewise.
49579 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49580 and x32_gnu_pltexit.
49582 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49583 __ELF_NATIVE_CLASS.
49584 (La_x32_regs): New macro.
49585 (La_x32_retval): Likewise.
49586 (la_x32_gnu_pltenter): New function prototype.
49587 (la_x32_gnu_pltexit): Likewise.
49589 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49591 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49596 * configure.in (libc_cv_cc_nofma): Check for option to disable
49597 generation of FMA instructions.
49598 * configure: Regenerate.
49599 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49600 * sysdeps/ieee754/dbl-64/Makefile: New file.
49601 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49602 Remove brandred-fma4.
49603 (CFLAGS-brandred-fma4.c): Remove.
49604 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49605 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49607 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49610 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49612 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49613 LLONG_MAX != LONG_MAX.
49614 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49615 (_fitoa_word): Likewise.
49616 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49617 LLONG_MAX != LONG_MAX.
49618 * stdio-common/_itowa.h: Include <_itoa.h>.
49619 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49620 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49621 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49622 only if not defined.
49623 (_ITOA_WORD_TYPE): Likewise.
49624 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49625 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49627 2012-03-21 David S. Miller <davem@davemloft.net>
49629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49631 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49633 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49634 of x86_64 when setting libc_cv_slibdir, libdir and
49636 * sysdeps/unix/sysv/linux/configure: Regenerated.
49638 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49640 * manual/lang.texi (Old Varargs): Remove section.
49641 (How Variadic): Update menu.
49642 (va_start): Do not mention varargs.h.
49644 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49645 Joseph Myers <joseph@codesourcery.com>
49647 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49649 * configure: Regenerated.
49651 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49653 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49654 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49657 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49660 * Makefile (files-for-dist): Remove NOTES.
49661 (NOTES): Remove rule.
49662 * README: Don't refer to NOTES.
49663 * manual/creature.texi: Don't include macros.texi.
49664 * manual/intro.texi (creature.texi): Remove comment referring to
49667 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49668 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49669 * configure: Regenerated.
49670 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49671 LIBC_TRY_CC_OPTION.
49672 (libc_cv_as_i686): Likewise.
49673 (libc_cv_cc_avx): Likewise.
49674 (libc_cv_cc_sse2avx): Likewise.
49675 (libc_cv_cc_fma4): Likewise.
49676 (libc_cv_cc_novzeroupper): Likewise.
49677 * sysdeps/i386/configure: Regenerated.
49680 * sysdeps/i386/fpu/s_cexp.S: Remove.
49681 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49682 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49683 * math/libm-test.inc (cexp_test): Add more tests.
49684 * sysdeps/i386/fpu/libm-test-ulps: Update.
49685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49687 2012-03-21 Allan McRae <allan@archlinux.org>
49689 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49691 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49694 * math/w_exp2.c: Do not include <float.h>.
49695 (o_threshold, u_threshold): Remove.
49696 (__exp2): Calculate result before checking finiteness and calling
49698 * math/w_exp2f.c: Likewise.
49699 * math/w_exp2l.c: Likewise.
49700 * math/libm-test.inc (exp2_test): Require overflow exception for
49704 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49705 range of signed 64-bit integers before using fistpll. Remove
49706 checks for whether integers fit in mantissa bits.
49707 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49708 the range of signed 32-bit integers before using fistpl. Remove
49709 checks for whether integers fit in mantissa bits.
49710 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49711 (__ieee754_powl): Test for y outside the range of signed 64-bit
49712 integers before using fistpll. Reduce 64-bit values to 63-bit
49714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49715 divide-by-zero is raised for zero to large negative powers.
49716 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49717 (__ieee754_powl): Test for y outside the range of signed 64-bit
49718 integers before using fistpll. Reduce 64-bit values to 63-bit
49720 * math/libm-test.inc (pow_test): Add more tests.
49722 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49724 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49725 <stdio-common/_itoa.h>.
49726 * debug/segfault.c: Likewise.
49727 * elf/dl-cache.c: Likewise.
49728 * elf/dl-minimal.c: Likewise.
49729 * elf/dl-misc.c: Likewise.
49730 * elf/dl-sysdep.c: Likewise.
49731 * elf/dl-version.c: Likewise.
49732 * elf/rtld.c: Likewise.
49733 * hurd/hurdsock.c: Likewise.
49734 * hurd/lookup-retry.c: Likewise.
49735 * malloc/malloc.c: Likewise.
49736 * malloc/mtrace.c: Likewise.
49737 * nscd/nscd_getgr_r.c: Likewise.
49738 * nscd/nscd_getpw_r.c: Likewise.
49739 * nscd/nscd_getserv_r.c: Likewise.
49740 * posix/getopt_init.c: Likewise.
49741 * posix/wordexp.c: Likewise.
49742 * stdio-common/_itoa.c: Likewise.
49743 * stdio-common/printf_fphex.c: Likewise.
49744 * stdio-common/vfprintf.c: Likewise.
49745 * string/_strerror.c: Likewise.
49746 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49747 * sysdeps/i386/i686/hp-timing.h: Likewise.
49748 * sysdeps/mach/_strerror.c: Likewise.
49749 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49750 * sysdeps/mach/hurd/sethostid.c: Likewise.
49751 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49752 * sysdeps/mach/xpg-strerror.c: Likewise.
49753 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49754 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49755 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49756 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49757 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49758 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49759 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49760 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49761 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49762 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49763 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49764 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49765 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49766 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49767 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49768 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49769 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49770 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49771 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49772 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49773 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49775 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49777 * stdio-common/_itoa.h: Moved to ...
49778 * sysdeps/generic/_itoa.h: Here.
49780 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49782 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49783 instead of "_itoa.h" and "_itowa.h".
49784 * stdio-common/vfprintf.: Likewise.
49786 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49788 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49790 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49791 (__signbit): Likwise.
49792 (llrintf): Likwise.
49795 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49797 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49800 2012-03-20 Joseph Myers <joseph@codesourcery.com>
49802 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49803 OVERFLOW_EXCEPTION_OK.
49804 * math/libm-test.inc ("Philosophy"): Update comment about
49806 (OVERFLOW_EXCEPTION): Define.
49807 (OVERFLOW_EXCEPTION_OK): Likewise.
49808 (INVALID_EXCEPTION_OK): Renumber.
49809 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49810 (IGNORE_ZERO_INF_SIGN): Likewise.
49811 (test_exceptions): Handle FE_OVERFLOW.
49812 (exp10_test): Expect overflow exceptions.
49813 (exp2_test): Likewise.
49814 (expm1_test): Likewise.
49815 (nextafter_test): Likewise.
49816 (pow_test): Likewise.
49817 (scalbn_test): Likewise.
49818 (scalbln_test): Likewise.
49820 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49822 * sysdeps/x86_64/bits/atomic.h
49823 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49825 (atomic_exchange_acq): Likewise.
49826 (__arch_exchange_and_add_body): Likewise.
49827 (__arch_add_body): Likewise.
49828 (atomic_add_negative): Likewise.
49829 (atomic_add_zero): Likewise.
49831 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49833 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49834 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49836 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49838 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49839 Check __x86_64__ instead of __WORDSIZE.
49841 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49843 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49845 2012-03-19 David S. Miller <davem@davemloft.net>
49847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49849 * sysdeps/sparc/fpu/fenv_private.h: New file.
49850 * sysdeps/sparc/fpu/math_private.h: Use it.
49851 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49853 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49854 (libc_feholdexcept_setroundl): Remove.
49855 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49857 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49858 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49860 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49862 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49863 int64_t instead of long int.
49864 (INSERT_WORDS64): Likwise.
49866 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49868 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49869 _Unwind_GetCFA return to _Unwind_Ptr first.
49871 2012-03-19 Joseph Myers <joseph@codesourcery.com>
49874 * math/s_clog.c: Include <float.h>.
49875 (__clog): Scale large or subnormal inputs.
49876 * math/s_clogf.c: Likewise.
49877 * math/s_clogl.c: Likewise.
49878 * math/s_clog10.c: Include <float.h>.
49879 (M_LOG10_2): Define.
49880 (__clog10): Scale large or subnormal inputs.
49881 * math/s_clog10f.c: Likewise.
49882 * math/s_clog10l.c: Likewise.
49883 * math/libm-test.inc (clog_test): Add more tests.
49884 (clog10_test): Likewise.
49885 * sysdeps/i386/fpu/libm-test-ulps: Update.
49886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49889 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49891 * math/libm-test.inc (atan2_test): Add another test.
49893 * Makerules (common-objdir-compile): Remove.
49894 * sysdeps/unix/Makefile (config-generated): Do not add
49895 $(unix-generated) to variable.
49896 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49897 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49899 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49901 [generic bits/local_lim.h] (before-compile): Do not append to
49903 [generic bits/local_lim.h] (common-generated): Likewise.
49904 [generic sys/param.h] (before-compile): Do not append to variable.
49905 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49906 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49907 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49908 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49910 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49911 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49912 [generic sys/param.h] ($(addprefix
49913 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49914 [generic sys/param.h] (common-generated): Do not append to
49916 [generic sys/param.h] (sysdep_headers): Likewise.
49917 [generic bits/errno.h] (before-compile): Do not append to
49919 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49921 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49922 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49923 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49924 [generic bits/errno.h] (common-generated): Do not append to
49926 [generic bits/ioctls.h] (before-compile): Do not append to
49928 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49930 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49931 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49932 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49934 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49935 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49936 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49937 [generic bits/ioctls.h] (common-generated): Do not append to
49939 [generic sys/syscall.h] (syscall.h): Remove variable.
49940 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49942 [generic sys/syscall.h] (before-compile): Do not append to
49944 [generic sys/syscall.h] (common-generated): Likewise.
49945 * sysdeps/unix/errnos-tmpl.c: Remove file.
49946 * sysdeps/unix/errnos.awk: Likewise.
49947 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49948 * sysdeps/unix/ioctls.awk: Likewise.
49949 * sysdeps/unix/mk-local_lim.c: Likewise.
49950 * sysdeps/unix/snarf-ioctls: Likewise.
49952 2012-03-19 Richard Henderson <rth@twiddle.net>
49954 * sysdeps/i386/fpu/fenv_private.h: New file.
49955 * sysdeps/i386/fpu/math_private.h: Use it.
49956 (math_opt_barrier, math_force_eval): Remove.
49957 (libc_feholdexcept_setround_53bit): Remove.
49958 (libc_feupdateenv_53bit): Remove.
49959 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49960 (math_opt_barrier, math_force_eval): Remove.
49961 (libc_feholdexcept): Remove.
49962 (libc_feholdexcept_setround): Remove.
49963 (libc_fetestexcept, libc_fesetenv): Remove.
49964 (libc_feupdateenv_test): Remove.
49965 (libc_feupdateenv, libc_feholdsetround): Remove.
49966 (libc_feresetround): Remove.
49968 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49969 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49971 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49972 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49973 (libc_feupdateenv_testl): New.
49974 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49975 (libc_feupdateenv_testf): New.
49976 (libc_feupdateenv): Use libc_feupdateenv_test.
49977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49978 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49980 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49981 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49982 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49983 (libc_feresetround_noex): New.
49984 (libc_feresetround_noexf): New.
49985 (libc_feresetround_noexl): New.
49986 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49987 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49988 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49989 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49991 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49992 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49994 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49995 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49996 SET_RESTORE_ROUND_NOEX.
49997 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49998 SET_RESTORE_ROUND_NOEXF.
49999 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50000 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50001 (libc_feholdsetroundf): New.
50002 (libc_feresetround, libc_feresetroundf): New.
50004 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50005 (libc_feholdexcept_setround_53bit): Convert from macro to function.
50006 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
50008 * sysdeps/generic/math_private.h: Include <fenv.h>.
50009 (default_libc_feholdexcept): New.
50010 (default_libc_feholdexcept_setround): New.
50011 (default_libc_fesetenv, default_libc_feupdateenv): New.
50012 (libc_feholdexcept): Only define if undefined.
50013 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50014 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50015 (libc_feholdexcept_setroundl): Likewise.
50016 (libc_feholdexcept_setround_53bit): Likewise.
50017 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50018 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50019 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50020 (libc_feupdateenv_53bit): Likewise.
50021 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50022 (libc_feholdexcept): Convert from macro to inline function.
50023 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50024 (libc_fesetenv, libc_feupdateenv): Likewise.
50026 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50027 not previously defined.
50028 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50029 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50030 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50031 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50032 * sysdeps/ieee754/flt-32/math_private.h: New file.
50033 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50034 math_private.h below SET_FLOAT_WORD.
50035 (__isnan, __isinf_ns, __finite): Remove.
50036 (__isnanf, __isinf_nsf, __finitef): Remove.
50038 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
50040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50042 2012-03-17 David S. Miller <davem@davemloft.net>
50045 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50048 2012-03-16 David S. Miller <davem@davemloft.net>
50050 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50054 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50056 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50057 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50058 sysdep_routines when subdir is sysvipc.
50059 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50060 __getshmlba helper.
50062 * sysdeps/sparc/fpu/libm-test/ulps: Update.
50064 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50066 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50069 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50071 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50072 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50073 (__lround): Renamed to ...
50074 (__llround): This. Replace long int with long long int.
50075 Define lround functions as aliases of llround functions.
50076 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50078 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50080 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50081 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50082 adresses to uintptr_t. Replace "long int" and "unsigned long
50083 int" with "greg_t" on va_arg.
50085 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50087 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50088 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50090 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50091 Move e_machine check before EI_CLASS check. Handle x32
50092 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50093 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50094 SKIP_EM_IA_64 and include
50095 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50097 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50098 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50099 (add_system_dir): New macro.
50101 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50102 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50104 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50115 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50117 * math/w_j0f.c (j0f): Likewise.
50119 * math/w_j0l.c (__j0l): Likewise.
50121 * math/w_j1.c (j1): Likewise.
50123 * math/w_j1f.c (j1f): Likewise.
50125 * math/w_j1l.c (__j1l): Likewise.
50127 * math/w_jn.c (jn): Likewise.
50129 * math/w_jnf.c (jnf): Likewise.
50131 * math/w_jnl.c (__jnl): Likewise.
50133 * math/libm-test.inc (j0_test): Add more tests.
50134 (j1_test): Likewise.
50135 (jn_test): Likewise. Add trailing semicolon to existing test.
50136 (y0_test): Likewise.
50137 (y1_test): Likewise.
50138 * sysdeps/i386/fpu/libm-test-ulps: Update.
50139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50143 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50144 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50145 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50146 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50147 (__tanl): Set errno for infinite argument.
50148 * sysdeps/i386/fpu/mptan.c: Remove.
50149 * sysdeps/i386/fpu/s_tan.S: Likewise.
50150 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50151 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50152 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50153 * math/libm-test.inc (tan_test): Add more tests and enable more
50154 tests for double and long double.
50155 * sysdeps/i386/fpu/libm-test-ulps: Update.
50156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50158 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50160 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50161 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50163 2012-03-16 Roland McGrath <roland@hack.frob.com>
50165 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50166 * configure.in: Use it for both main tree and add-ons.
50167 * configure: Regenerated.
50169 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50171 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50173 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50175 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50179 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50180 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50181 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50182 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50183 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50185 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50187 != 0 for prec == 2.
50188 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50189 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50190 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50191 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50192 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50193 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50194 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50195 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50196 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50197 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50198 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50199 * math/libm-test.inc (cos_test): Add more tests and enable more
50200 tests for long double.
50201 (sin_test): Likewise.
50202 (sincos_test): Likewise.
50203 * sysdeps/i386/fpu/libm-test-ulps: Update.
50204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50206 2012-03-16 David S. Miller <davem@davemloft.net>
50208 * sysdeps/sparc/fpu/math_private.h: New file.
50210 2012-03-15 David S. Miller <davem@davemloft.net>
50212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50226 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50227 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50229 * sysdeps/sparc/sparc-ifunc.h: New file.
50230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50268 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50269 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50271 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50275 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50277 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50281 2012-03-15 Andreas Jaeger <aj@suse.de>
50284 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50285 ieee754/flt-32 implementation for sin, cos and sincos.
50286 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50287 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50288 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50289 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50290 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50291 ieee754/flt-32 implementation for tan.
50293 * math/libm-test.inc (cos_test): Enable some large input tests for
50295 (sin_test): Likewise.
50296 (sincos_test): Likewise.
50297 (tan_test): Add tests for large input.
50299 * sysdeps/i386/fpu/libm-test-ulps: Update.
50301 2012-03-15 Andreas Jaeger <aj@suse.de>
50304 * math/libm-test.inc (cos_test): Add more test cases.
50305 (sin_test): Likewise.
50306 (sincos_test): Likewise.
50308 2012-03-15 Andreas Jaeger <aj@suse.de>
50311 * math/libm-test.inc (cos_test): Add a test case for large input
50313 (sin_test): Likewise.
50314 (sincos_test): Likewise.
50316 2012-03-15 Andreas Jaeger <aj@suse.de>
50317 Joseph Myers <joseph@codesourcery.com>
50320 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50321 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50322 * sysdeps/i386/fpu/branred.c: Likewise.
50323 * sysdeps/i386/fpu/dosincos.c: Likewise.
50324 * sysdeps/i386/fpu/mpa.c: Likewise.
50325 * sysdeps/i386/fpu/s_cos.S: Likewise.
50326 * sysdeps/i386/fpu/s_sin.S: Likewise.
50327 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50328 * sysdeps/i386/fpu/sincos32.c: Likewise.
50330 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50332 (libc_feupdateenv_53bit): Define.
50333 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50335 (libc_feupdateenv_53bit): Define.
50337 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50338 53 bit (without extend i386 double precision).
50340 * math/libm-test.inc (sincos_test): Add tests for large input.
50344 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50346 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50350 2012-03-15 David S. Miller <davem@davemloft.net>
50352 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50353 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50354 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50355 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50379 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50380 fmin/fmax sysdep routines.
50381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50383 2012-03-14 David S. Miller <davem@davemloft.net>
50385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50390 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50391 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50457 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50462 * sysdeps/sparc/configure.in: New file.
50463 * sysdeps/sparc/configure: Generate.
50464 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50465 * configure: Regenerate.
50466 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50467 * config.make.in (have-as-vis3): New.
50468 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50469 available use -Av9d instead of -Av9a.
50470 * sysdeps/sparc/sparc64/Makefile: Likewise.
50471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50480 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50486 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50487 fzeros/fnegs to load 0x80000000 into a float register instead of
50489 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50491 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50495 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50496 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50497 ($(inst_includedir)/bits/syscall.h): Remove rule.
50498 ($(objpfx)bits/syscall.d): Include instead of
50499 $(objpfx)syscall-list.d.
50500 (generated): Change syscall-list.h and syscall-list.d to
50501 bits/syscall.h and bits/syscall.d.
50503 2012-03-14 Roland McGrath <roland@hack.frob.com>
50506 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50508 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50511 * math/s_csqrt.c: Include <float.h>.
50512 (__csqrt): Scale large or subnormal inputs.
50513 * math/s_csqrtf.c: Likewise.
50514 * math/s_csqrtl.c: Likewise.
50515 * math/libm-test.inc (csqrt_test): Add more tests.
50516 * sysdeps/i386/fpu/libm-test-ulps: Update.
50517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50520 * math/libm-test.inc (hypot_test): Add more tests.
50522 2012-03-13 David S. Miller <davem@davemloft.net>
50525 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50526 double-precision for the calculation instead of scaling.
50528 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50530 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50531 manipulate bits before adding and subtracting TWO52[sx].
50532 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50533 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50535 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50537 2012-03-13 David S. Miller <davem@davemloft.net>
50539 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50540 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50542 rtld-global-offsets.h
50543 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50545 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50548 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50550 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50551 'err' in the ifdef scope in which it is actually used.
50553 * nss/nss_db/db-init.c: Include string.h
50555 2012-03-12 David S. Miller <davem@davemloft.net>
50557 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50558 masking out of the most significant byte of random value used.
50559 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50560 Fix coding style in previous change.
50562 * sysdeps/unix/sysv/linux/kernel-features.h
50563 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50564 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50566 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50569 2012-03-11 David S. Miller <davem@davemloft.net>
50571 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50572 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50573 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50574 for 'resultvar' otherwise things get truncated on 64-bit.
50576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50577 Fix masking out of the most significant byte of random value used.
50579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50581 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50585 2012-03-09 David S. Miller <davem@davemloft.net>
50587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50588 variables with appropriate CPP guards.
50589 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50590 from the frame pointer, not the stack pointer. Correct layout
50591 comments. Fix test on resulting framesize and the management of
50592 the outregs buffer for pltexit. Preserve floating point return
50593 values across _dl_call_pltexit call.
50594 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50595 framesize and the management of the outregs buffer for pltexit.
50596 Preserve floating point return values across _dl_call_pltexit
50598 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50599 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50600 (la_sparc64_gnu_pltexit): New functions.
50601 (print_exit): Fix format string for return register value.
50603 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50605 * sunrpc/Makefile (others): Add rpcgen.
50606 ($(objpfx)rpcgen): Remove special build rule and dependency on
50608 * sunrpc/rpcgen.c: New file.
50610 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50613 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50614 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50615 * sysdeps/i386/crti.S: Likewise.
50616 * sysdeps/i386/crtn.S: Likewise.
50617 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50618 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50619 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50620 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50621 * sysdeps/sh/crti.S: Likewise.
50622 * sysdeps/sh/crtn.S: Likewise.
50623 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50626 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50628 * locale/programs/locfile-kw.gperf: Likewise.
50629 * locale/programs/charmap-kw.h: Regenerated.
50630 * locale/programs/locfile-kw.h: Likewise.
50633 * intl/plural.y: Replace FSF snail mail address with URL.
50634 * intl/plural.c: Regenerated.
50636 2012-03-09 Richard Henderson <rth@twiddle.net>
50638 * include/math_private.h: Remove file.
50639 * math/math_private.h: Move file ...
50640 * sysdeps/generic/math_private.h: ... here.
50642 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50643 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50644 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50646 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50647 and <math_private.h>.
50648 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50649 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50650 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50651 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50652 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50653 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50654 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50656 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50657 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50659 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50660 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50661 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50662 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50663 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50664 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50665 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50666 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50667 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50669 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50670 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50672 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50673 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50674 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50675 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50677 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50678 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50679 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50680 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50681 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50682 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50683 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50684 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50685 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50686 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50687 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50688 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50689 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50690 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50691 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50692 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50693 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50694 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50695 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50697 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50698 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50699 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50700 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50701 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50702 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50703 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50704 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50705 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50706 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50707 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50709 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50711 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50712 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50713 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50714 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50715 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50716 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50717 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50718 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50719 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50720 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50721 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50722 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50724 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50727 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50728 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50729 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50730 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50731 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50732 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50735 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50736 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50737 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50738 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50739 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50740 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50741 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50742 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50743 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50744 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50745 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50746 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50747 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50748 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50749 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50750 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50751 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50753 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50754 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50755 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50756 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50758 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50759 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50760 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50761 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50762 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50763 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50764 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50765 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50766 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50767 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50768 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50769 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50770 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50771 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50772 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50773 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50774 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50775 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50776 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50777 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50778 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50779 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50780 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50781 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50782 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50783 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50784 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50785 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50786 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50787 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50788 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50789 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50790 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50791 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50792 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50793 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50794 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50795 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50796 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50797 * sysdeps/ieee754/k_standard.c: Likewise.
50798 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50799 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50800 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50801 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50802 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50803 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50804 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50805 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50806 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50807 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50808 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50809 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50810 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50811 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50812 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50813 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50814 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50815 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50816 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50817 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50818 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50819 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50820 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50821 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50822 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50823 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50824 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50825 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50826 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50827 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50828 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50829 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50830 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50831 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50832 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50833 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50835 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50836 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50837 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50838 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50839 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50840 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50841 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50842 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50843 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50844 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50845 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50846 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50848 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50849 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50850 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50851 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50852 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50853 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50854 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50855 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50856 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50857 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50858 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50859 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50860 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50861 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50862 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50864 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50865 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50866 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50868 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50870 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50871 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50872 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50873 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50874 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50875 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50876 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50877 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50878 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50879 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50880 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50881 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50882 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50883 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50884 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50885 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50886 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50887 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50888 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50889 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50890 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50891 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50892 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50893 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50894 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50895 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50896 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50897 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50899 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50900 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50901 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50902 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50903 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50904 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50905 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50906 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50907 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50908 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50909 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50910 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50911 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50912 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50913 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50914 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50915 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50916 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50917 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50918 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50919 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50920 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50921 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50922 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50923 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50924 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50925 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50926 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50927 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50928 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50929 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50930 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50931 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50932 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50933 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50934 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50935 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50936 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50937 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50938 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50939 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50940 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50941 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50942 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50943 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50944 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50945 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50946 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50947 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50948 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50949 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50950 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50951 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50952 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50953 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50954 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50955 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50956 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50957 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50958 * sysdeps/ieee754/s_lib_version.c: Likewise.
50959 * sysdeps/ieee754/s_matherr.c: Likewise.
50960 * sysdeps/ieee754/s_signgam.c: Likewise.
50961 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50962 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50963 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50964 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50965 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50966 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50967 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50968 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50969 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50970 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50971 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50972 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50973 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50974 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50975 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50976 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50977 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50978 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50979 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50980 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50981 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50983 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50985 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50986 * sunrpc/rpc_main.c: Likewise.
50987 * sunrpc/rpc_svcout.c: Likewise.
50989 2012-03-09 David S. Miller <davem@davemloft.net>
50991 * include/math_private.h: New file.
50993 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50995 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50996 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50997 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50998 from <bits/socket_type.h>.
50999 (enum __socket_type): Don't define here.
51000 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51002 bits/socket_type.h.
51005 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51006 checking __USE_GNU.
51008 * Makerules ($(inst_includedir)/%.h): New rule.
51009 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51010 (install-others): Remove variable setting.
51011 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51013 2012-03-08 Richard Henderson <rth@twiddle.net>
51015 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51016 from macro to inline function; merge with the
51017 !__LIBC_INTERNAL_MATH_INLINES version.
51018 (__ieee754_sqrtf): Likewise.
51020 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51021 to inline function.
51022 (__rintf, __floor, __floorf): Likewise.
51024 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51025 macro to inline function.
51026 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51029 not <math/math_private.h>.
51031 2012-03-08 David S. Miller <davem@davemloft.net>
51033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51035 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51037 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
51039 * resolv/gai_misc.c (handle_requests): Fix struct timespec
51041 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51042 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51044 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51046 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51047 be defined individually, they must be defined as a block. Define
51048 S for printing a string instead of hidint the different by using a
51049 macro for adding the 'l'.
51050 * stdio-common/tst-fphex-wide.c: Adjust.
51052 2012-03-07 Marek Polacek <polacek@redhat.com>
51054 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51056 2012-03-08 Marek Polacek <polacek@redhat.com>
51059 * stdio-common/Makefile (tests): Add tst-fphex-wide.
51060 * stdio-common/tst-fphex.c: Define a few macros to make the
51061 test reusable. Use them.
51062 * stdio-common/tst-fphex-wide.c: New file.
51064 2012-03-08 Joseph Myers <joseph@codesourcery.com>
51067 * manual/macros.texi (gnusystems): New macro.
51068 (nongnusystems): Likewise.
51069 (gnulinuxhurdsystems): Likewise.
51070 (gnuhurdsystems): Likewise..
51071 (gnulinuxsystems): Likewise.
51072 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51073 variants of the GNU system, not "GNU system".
51074 * manual/conf.texi: Likewise.
51075 * manual/errno.texi: Likewise. Update example of errno macro
51077 * manual/filesys.texi: Likewise.
51078 (getumask): Document as specific to GNU/Hurd.
51079 * manual/install.texi: Likewise. Reword some references to
51081 * manual/intro.texi: Likewise.
51082 * manual/io.texi: Likewise.
51083 (File Name Portability): Detail which constraints are inapplicable
51084 to all GNU systems and which are only inapplicable to GNU/Hurd.
51085 * manual/job.texi: Likewise.
51086 * manual/llio.texi: Likewise.
51087 (O_NOCTTY): Document as present on GNU/Linux.
51088 * manual/maint.texi: Likewise.
51089 * manual/memory.texi: Likewise.
51090 * manual/pattern.texi: Likewise.
51091 * manual/pipe.texi: Likewise.
51092 * manual/process.texi: Likewise.
51093 * manual/resource.texi: Likewise.
51094 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51096 * manual/setjmp.texi: Likewise.
51097 * manual/signal.texi: Likewise.
51098 * manual/startup.texi: Likewise.
51099 * manual/stdio.texi: Likewise.
51100 * manual/terminal.texi: Likewise.
51101 (ONLCR): Document as POSIX.
51102 (OXTABS): Document availability on GNU/Linux as XTABS.
51103 (ONOEOT): Document availability separately from other bits.
51104 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51105 * manual/time.texi: Likewise.
51106 * manual/users.texi: Likewise.
51107 * INSTALL: Regenerated.
51108 * sysdeps/gnu/errlist.c: Regenerated.
51110 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51111 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51112 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51114 * configure: Regenerated.
51116 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51118 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51119 default includes instead of AC_HEADER_CHECK.
51120 * sysdeps/i386/configure: Regenerated.
51123 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51124 * math/s_cacoshf.c (__cacoshf): Likewise.
51125 * math/s_cacoshl.c (__cacoshl): Likewise.
51126 * math/s_casinh.c (__casinh): Set signs of result from argument.
51127 * math/s_casinhf.c (__casinhf): Likewise.
51128 * math/s_casinhl.c (__casinhl): Likewise.
51129 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51130 (casinh_test): Add more tests.
51131 * sysdeps/i386/fpu/libm-test-ulps: Update.
51132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51134 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51136 * po/zh_TW.po: Update from translation team.
51138 * login/Makefile (distribute): Remove variable.
51139 * catgets/Makefile: Likewise.
51140 * mach/Makefile: Likewise.
51141 * malloc/Makefile: Likewise.
51142 * misc/Makefile: Likewise.
51143 * iconv/Makefile: Likewise.
51144 * nscd/Makefile: Likewise.
51145 * hurd/Makefile: Likewise.
51146 * manual/Makefile: Likewise.
51147 * locale/Makefile: Likewise.
51148 * intl/Makefile: Likewise.
51149 * conform/Makefile: Likewise.
51150 * nss/Makefile: Likewise.
51151 * time/Makefile: Likewise.
51152 * soft-fp/Makefile: Likewise.
51153 * dirent/Makefile: Likewise.
51154 * gmon/Makefile: Likewise.
51155 * po/Makefile: Likewise.
51156 * rt/Makefile: Likewise.
51157 * socket/Makefile: Likewise.
51158 * math/Makefile: Likewise.
51159 * signal/Makefile: Likewise.
51160 * debug/Makefile: Likewise.
51161 * elf/Makefile: Likewise.
51162 * timezone/Makefile: Likewise.
51163 * stdlib/Makefile: Likewise.
51164 * iconvdata/Makefile: Likewise.
51165 * sunrpc/Makefile: Likewise.
51166 * io/Makefile: Likewise.
51167 * argp/Makefile: Likewise.
51168 * inet/Makefile: Likewise.
51169 * hesiod/Makefile: Likewise.
51170 * grp/Makefile: Likewise.
51171 * csu/Makefile: Likewise.
51172 * wctype/Makefile: Likewise.
51173 * crypt/Makefile: Likewise.
51174 * libio/Makefile: Likewise.
51175 * string/Makefile: Likewise.
51176 * nis/Makefile: Likewise.
51177 * resolv/Makefile: Likewise.
51178 * stdio-common/Makefile: Likewise.
51179 * wcsmbs/Makefile: Likewise.
51180 * dlfcn/Makefile: Likewise.
51181 * posix/Makefile: Likewise.
51184 * timezone/Makefile: Don't install timezone files, just the programs
51187 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51189 * nss/databases.def: Add missing gshadow entry.
51191 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51193 2012-03-06 Marek Polacek <polacek@redhat.com>
51196 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51197 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51198 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51199 * stdio-common/tst-long-dbl-fphex.c: New file.
51201 2012-03-06 David S. Miller <davem@davemloft.net>
51203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51204 (set_obp_int): New function.
51205 (get_obp_int): New function.
51206 (__get_clockfreq_via_dev_openprom): Likewise.
51207 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51208 Avoid unused variable warnings on 'val' and use builtin_expect.
51209 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51211 (INLINE_CLONE_SYSCALL): Likewise.
51213 2012-03-05 David S. Miller <davem@davemloft.net>
51215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51217 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51222 only for |x| >= 40.
51223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51225 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51227 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51228 Replace gettimeofday with __vdso_gettimeofday.
51230 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51231 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51232 __vdso_clock_gettime and __vdso_getcpu.
51234 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51235 time with __vdso_time.
51237 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51239 * manual/lang.texi (size_t): Note types to which size_t may be
51240 equivalent with the GNU C Library, but do not describe when
51241 differences between them are significant.
51243 2012-03-05 Andreas Jaeger <aj@suse.de>
51245 * sysdeps/i386/fpu/libm-test-ulps: Update.
51247 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51250 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51251 (__ieee754_pow): Save and restore rounding mode and use
51252 round-to-nearest for main computations.
51253 * math/libm-test.inc (pow_test_tonearest): New function.
51254 (pow_test_towardzero): Likewise.
51255 (pow_test_downward): Likewise.
51256 (pow_test_upward): Likewise.
51257 (main): Call the new functions.
51258 * sysdeps/i386/fpu/libm-test-ulps: Update.
51259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51262 * math/libm-test.inc (cosh_test_tonearest): New function.
51263 (cosh_test_towardzero): Likewise.
51264 (cosh_test_downward): Likewise.
51265 (cosh_test_upward): Likewise.
51266 (sinh_test_tonearest): Likewise.
51267 (sinh_test_towardzero): Likewise.
51268 (sinh_test_downward): Likewise.
51269 (sinh_test_upward): Likewise.
51270 (main): Call the new functions.
51271 * sysdeps/i386/fpu/libm-test-ulps: Update.
51272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51274 2012-03-05 Tom de Vries <tom@codesourcery.com>
51276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51277 default stack guard is set in last bytes.
51278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51280 2012-03-05 Kees Cook <keescook@chromium.org>
51282 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51285 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51286 possibly allocate from heap instead of stack.
51287 * stdio-common/bug-vfprintf-nargs.c: New file.
51288 * stdio-common/Makefile (tests): Add nargs overflow test.
51290 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51294 2012-03-03 Marek Polacek <polacek@redhat.com>
51296 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51297 * math/math_private.h: Likewise.
51298 * stdlib/tst-strtod.c: Likewise.
51299 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51300 * sysdeps/x86_64/bits/atomic.h: Likewise.
51302 2012-03-02 David S. Miller <davem@davemloft.net>
51304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51308 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51309 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51310 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51311 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51313 2012-03-02 Roland McGrath <roland@hack.frob.com>
51316 * manual/examples/README: New file, says the example source files
51317 can be used under GPL>=2.
51318 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51319 line containing just "*/".
51320 * manual/examples/add.c: Add copyright header (GPL>=2).
51321 * manual/examples/argp-ex1.c: Likewise.
51322 * manual/examples/argp-ex2.c: Likewise.
51323 * manual/examples/argp-ex3.c: Likewise.
51324 * manual/examples/argp-ex4.c: Likewise.
51325 * manual/examples/atexit.c: Likewise.
51326 * manual/examples/db.c: Likewise.
51327 * manual/examples/dir.c: Likewise.
51328 * manual/examples/dir2.c: Likewise.
51329 * manual/examples/execinfo.c: Likewise.
51330 * manual/examples/filecli.c: Likewise.
51331 * manual/examples/filesrv.c: Likewise.
51332 * manual/examples/fmtmsgexpl.c: Likewise.
51333 * manual/examples/genpass.c: Likewise.
51334 * manual/examples/inetcli.c: Likewise.
51335 * manual/examples/inetsrv.c: Likewise.
51336 * manual/examples/isockad.c: Likewise.
51337 * manual/examples/longopt.c: Likewise.
51338 * manual/examples/memopen.c: Likewise.
51339 * manual/examples/memstrm.c: Likewise.
51340 * manual/examples/mkfsock.c: Likewise.
51341 * manual/examples/mkisock.c: Likewise.
51342 * manual/examples/mygetpass.c: Likewise.
51343 * manual/examples/pipe.c: Likewise.
51344 * manual/examples/popen.c: Likewise.
51345 * manual/examples/rprintf.c: Likewise.
51346 * manual/examples/search.c: Likewise.
51347 * manual/examples/select.c: Likewise.
51348 * manual/examples/setjmp.c: Likewise.
51349 * manual/examples/sigh1.c: Likewise.
51350 * manual/examples/sigusr.c: Likewise.
51351 * manual/examples/stpcpy.c: Likewise.
51352 * manual/examples/strdupa.c: Likewise.
51353 * manual/examples/strftim.c: Likewise.
51354 * manual/examples/strncat.c: Likewise.
51355 * manual/examples/subopt.c: Likewise.
51356 * manual/examples/swapcontext.c: Likewise.
51357 * manual/examples/termios.c: Likewise.
51358 * manual/examples/testopt.c: Likewise.
51359 * manual/examples/testpass.c: Likewise.
51360 * manual/examples/timeval_subtract.c: Likewise.
51363 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51365 * manual/timeval_subtract.c.texi: ... here, new file.
51367 2012-03-02 David S. Miller <davem@davemloft.net>
51369 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51371 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51374 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51375 (__sin): Save and restore rounding mode and use round-to-nearest
51376 for all computations.
51377 (__cos): Save and restore rounding mode and use round-to-nearest
51378 for all computations.
51379 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51381 (tan): Save and restore rounding mode and use round-to-nearest for
51383 * math/libm-test.inc (cos_test_tonearest): New function.
51384 (cos_test_towardzero): Likewise.
51385 (cos_test_downward): Likewise.
51386 (cos_test_upward): Likewise.
51387 (sin_test_tonearest): Likewise.
51388 (sin_test_towardzero): Likewise.
51389 (sin_test_downward): Likewise.
51390 (sin_test_upward): Likewise.
51391 (tan_test_tonearest): Likewise.
51392 (tan_test_towardzero): Likewise.
51393 (tan_test_downward): Likewise.
51394 (tan_test_upward): Likewise.
51395 (main): Call the new functions.
51396 * sysdeps/i386/fpu/libm-test-ulps: Update.
51397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51400 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51401 small n, then large n, before computing and testing k+n.
51402 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51407 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51408 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51410 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51414 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51415 * math/libm-test.inc (scalbn_test): Add more tests.
51416 (scalbln_test): Likewise.
51418 * manual/filesys.texi (mode_t): Describe constraints on size and
51419 signedness, not exact equivalence to a particular type.
51421 (ino64_t): Likewise.
51423 (nlink_t): Likewise.
51424 (blkcnt_t): Likewise.
51425 (blkcnt64_t): Likewise.
51426 * manual/llio.texi (off_t): Likewise.
51429 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51430 (__ieee754_exp): Save and restore rounding mode and use
51431 round-to-nearest for all computations.
51432 * math/libm-test.inc (exp_test_tonearest): New function.
51433 (exp_test_towardzero): Likewise.
51434 (exp_test_downward): Likewise.
51435 (exp_test_upward): Likewise.
51436 (main): Call the new functions.
51437 * sysdeps/i386/fpu/libm-test-ulps: Update.
51438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51440 2012-03-01 Chris Demetriou <cgd@google.com>
51442 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51443 have predictable order.
51445 2012-03-01 David S. Miller <davem@davemloft.net>
51447 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51449 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51450 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51451 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51452 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51454 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51455 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51456 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51458 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51459 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51460 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51461 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51462 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51467 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51468 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51470 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51471 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51472 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51473 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51474 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51477 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51478 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51479 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51480 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51483 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51484 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51486 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51487 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51488 * sysdeps/sparc/elf/configure: Regenerated.
51490 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51492 * configure.in (AS, LD): Require binutils 2.20 or later.
51493 * configure: Regenerated.
51494 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51495 as required minimum version.
51496 * INSTALL: Regenerated.
51500 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51501 before squaring exponent.
51502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51503 bottom long double and 27 bits of top long double before squaring
51505 * math/libm-test.inc (erfc_test): Add more tests.
51506 * sysdeps/i386/fpu/libm-test-ulps: Update.
51507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51510 2012-03-01 Kai Tietz <ktietz@redhat.com>
51512 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51513 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51514 containing bit-fields.
51515 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51516 * soft-fp/single.h (_FP_UNION_S): Likewise.
51517 * soft-fp/double.h (_FP_UNION_D): Likewise.
51519 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51522 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51523 not include ../strcmp.S.
51524 [USE_AS_STRNCASECMP_L]: Likewise.
51525 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51526 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51527 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51528 (__strncasecmp_l_ia32): Define as alias to
51529 __strncasecmp_l_nonascii.
51532 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51533 * sysdeps/i386/fpu/libm-test-ulps: Update.
51534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51536 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51539 2012-02-29 Jeff Law <law@redhat.com>
51541 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51542 out of bounds read.
51544 2012-02-29 Marek Polacek <polacek@redhat.com>
51547 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51548 * elf/Makefile: Add rules to run tst-unused-dep.out.
51550 2012-02-28 David S. Miller <davem@davemloft.net>
51552 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51553 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51554 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51555 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51556 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51557 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51559 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51561 * math/libm-test.inc (llround_test): Move one test from
51562 lround_test. Use TEST_f_L in moved test.
51563 (lround_test): Move misplaced test to llround_test. Add testcase
51566 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51568 * sysdeps/x86_64/fpu/e_expf.S: New file.
51569 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51571 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51574 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51575 of remain_len that may cause incomplete multi-byte character and
51577 * posix/bug-regex33.c: New file.
51578 * posix/Makefile (tests): Add bug-regex33.
51580 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51582 * manual/macros.texi: New file.
51583 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51584 * manual/libc.texinfo: Include macros.texi.
51585 * manual/creatute.texi: Likewise.
51586 * manual/install.texi: Likewise.
51587 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51588 @glibcadj{} in references to the GNU C Library.
51589 * manual/charset.texi: Likewise.
51590 * manual/conf.texi: Likewise.
51591 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51592 when not using those macros.
51593 * manual/creature.texi: Likewise.
51594 * manual/crypt.texi: Likewise.
51595 * manual/errno.texi: Likewise.
51596 * manual/filesys.texi: Likewise.
51597 * manual/header.texi: Likewise.
51598 * manual/install.texi: Likewise.
51599 * manual/intro.texi: Likewise.
51600 * manual/io.texi: Likewise.
51601 * manual/job.texi: Likewise.
51602 * manual/lang.texi: Likewise.
51603 * manual/libc.texiinfo: Likewise.
51604 * manual/llio.texi: Likewise.
51605 * manual/locale.texi: Likewise.
51606 * manual/maint.texi: Likewise.
51607 * manual/math.texi: Likewise.
51608 * manual/memory.texi: Likewise.
51609 * manual/message.texi: Likewise.
51610 * manual/nss.texi: Likewise.
51611 * manual/pattern.texi: Likewise.
51612 * manual/process.texi: Likewise.
51613 * manual/resource.texi: Likewise.
51614 * manual/search.texi: Likewise.
51615 * manual/setjmp.texi: Likewise.
51616 * manual/signal.texi: Likewise.
51617 * manual/socket.texi: Likewise.
51618 * manual/startup.texi: Likewise.
51619 * manual/stdio.texi: Likewise.
51620 * manual/string.texi: Likewise.
51621 * manual/sysinfo.texi: Likewise.
51622 * manual/syslog.texi: Likewise.
51623 * manual/terminal.texi: Likewise.
51624 * manual/time.texi: Likewise.
51625 * manual/users.texi: Likewise.
51626 * INSTALL: Regenerated.
51627 * NOTES: Regenerated.
51628 * sysdeps/gnu/errlist.c: Regenerated.
51630 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51632 * include/dirent.h: Include <dirstream.h> before
51635 2012-02-28 David S. Miller <davem@davemloft.net>
51637 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51638 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51639 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51640 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51642 2012-02-27 David S. Miller <davem@davemloft.net>
51644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51646 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51647 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51650 frame pointer instead of stack pointer relative arg slot.
51651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51652 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51653 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51655 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51658 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51660 2012-02-27 David S. Miller <davem@davemloft.net>
51662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51666 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51667 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51668 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51669 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51671 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51673 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51674 later. Allow versions 5-9.
51675 * configure: Regenerated.
51676 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51677 required minimum version and 4.6 as recommended version. Do not
51678 mention bugs in GCC 2.7 and 2.8.
51679 * INSTALL: Regenerated.
51681 2012-02-27 David S. Miller <davem@davemloft.net>
51683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51687 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51688 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51689 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51690 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51693 manipulate bits before adding and subtracting TWO112[sx].
51694 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51696 2012-02-27 Roland McGrath <roland@hack.frob.com>
51699 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51700 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51701 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51702 being in POSIX, because they are in 1003.1-2008.
51704 * rt/tst-aio.c: Include <fcntl.h>.
51705 * rt/tst-aio7.c: Likewise.
51706 * rt/tst-aio64.c: Likewise.
51708 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51710 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51712 * manual/install.texi (--with-headers): Describe headers as
51713 interface headers, not private headers.
51714 (Specific advice for GNU/Linux systems): Describe use of headers
51715 from "make headers_install", not private headers from older
51717 * INSTALL: Regenerated.
51718 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51720 * sysdeps/unix/sysv/linux/configure: Regenerated.
51722 * manual/llio.texi (fclean): Remove documentation.
51724 * manual/Makefile (libc-texi-generated): New variable. Include
51726 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51727 $(libc-texi-generated), not duplicated list of files.
51728 (version.texi, stamp-version): New rules.
51729 (realclean): Remove $(libc-texi-generated), not individual files
51730 from that list. Do not remove dir-add.texinfo.
51731 * manual/libc.texinfo: Comment out uses of edition numbers and
51732 references to printed manual. Remove last-updated dates.
51733 (EDITION): Comment out.
51735 (VERSION, UPDATED): Remove.
51736 (version.texi): Include.
51738 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51740 * sysdeps/posix/spawni.c: Include <signal.h>.
51741 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51742 * sysdeps/pthread/aio_fsync.c: Likewise.
51744 2012-02-26 Ulrich Drepper <drepper@gmail.com>
51746 * conform/Makefile (tests): Run only when not cross-compiling and
51747 when fast-check is not defined.
51749 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51750 * conform/data/limits.h-data: Fixes for POSIX2008.
51751 * conform/run-conformtest.sh: Run all tests.
51752 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51754 * include/bits/dlfcn.h: Likewise.
51755 * include/langinfo.h: Likewise.
51756 * include/monetary.h: Likewise.
51757 * include/sys/poll.h: Likewise.
51759 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51761 * posix/spawn.h: Define __need_sigset_t.
51762 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51763 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51764 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51765 to get sigevent_t only.
51766 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51767 only for __USE_GNU.
51768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51769 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51770 process_vm_writev only for __USE_GNU.
51771 * termios/termios.h: Declare tcgetsid also for POSIX2008.
51773 * conform/Makefile: For now ignore errors from run-conformtest.
51774 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51775 POSIX to avoid namespace pollution. Don't prepend headers.
51776 * conform/data/aio.h-data: Fixes for POSIX testing.
51777 * conform/data/fcntl.h-data: Likewise.
51778 * conform/data/glob.h-data: Likewise.
51779 * conform/data/grp.h-data: Likewise.
51780 * conform/data/pthread.h-data: Likewise.
51781 * conform/data/pwd.h-data: Likewise.
51782 * conform/data/signal.h-data: Likewise.
51783 * conform/data/spawn.h-data: Likewise.
51784 * conform/data/stdio.h-data: Likewise.
51785 * conform/data/stdlib.h-data: Likewise.
51786 * conform/data/stropts.h-data: Likewise.
51787 * conform/data/sys/mman.h-data: Likewise.
51788 * conform/data/sys/stat.h-data: Likewise.
51789 * conform/data/sys/types.h-data: Likewise.
51790 * conform/data/sys/wait.h-data: Likewise.
51791 * conform/data/time.h-data: Likewise.
51792 * conform/data/unistd.h-data: Likewise.
51793 * conform/data/utime.h-data: Likewise.
51795 * io/sys/stat.h: fchmod was always in POSIX.
51796 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51797 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51798 * rt/aio.h: Define __need_timespec before including <time.h>.
51799 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51800 struct. Add forward declaration of pthread_attr_t and use it in
51802 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51803 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51804 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51805 always remove CLK_TCK definition.
51807 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51809 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51811 2012-02-25 Ulrich Drepper <drepper@gmail.com>
51813 * conform/run-conformtest.sh: New file.
51814 * conform/Makefile: Run run-conformtest for tests.
51815 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51818 * conform/data/uchar.h-data: New file.
51819 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51820 * conform/data/arpa/inet.h-data: Likewise.
51821 * conform/data/assert.h-data: Likewise.
51822 * conform/data/complex.h-data: Likewise.
51823 * conform/data/cpio.h-data: Likewise.
51824 * conform/data/ctype.h-data: Likewise.
51825 * conform/data/dirent.h-data: Likewise.
51826 * conform/data/dlfcn.h-data: Likewise.
51827 * conform/data/errno.h-data: Likewise.
51828 * conform/data/fcntl.h-data: Likewise.
51829 * conform/data/float.h-data: Likewise.
51830 * conform/data/fmtmsg.h-data: Likewise.
51831 * conform/data/fnmatch.h-data: Likewise.
51832 * conform/data/ftw.h-data: Likewise.
51833 * conform/data/glob.h-data: Likewise.
51834 * conform/data/grp.h-data: Likewise.
51835 * conform/data/iconv.h-data: Likewise.
51836 * conform/data/inttypes.h-data: Likewise.
51837 * conform/data/langinfo.h-data: Likewise.
51838 * conform/data/libgen.h-data: Likewise.
51839 * conform/data/limits.h-data: Likewise.
51840 * conform/data/locale.h-data: Likewise.
51841 * conform/data/math.h-data: Likewise.
51842 * conform/data/monetary.h-data: Likewise.
51843 * conform/data/mqueue.h-data: Likewise.
51844 * conform/data/ndbm.h-data: Likewise.
51845 * conform/data/net/if.h-data: Likewise.
51846 * conform/data/netdb.h-data: Likewise.
51847 * conform/data/netinet/in.h-data: Likewise.
51848 * conform/data/nl_types.h-data: Likewise.
51849 * conform/data/poll.h-data: Likewise.
51850 * conform/data/pthread.h-data: Likewise.
51851 * conform/data/pwd.h-data: Likewise.
51852 * conform/data/regex.h-data: Likewise.
51853 * conform/data/sched.h-data: Likewise.
51854 * conform/data/search.h-data: Likewise.
51855 * conform/data/semaphore.h-data: Likewise.
51856 * conform/data/setjmp.h-data: Likewise.
51857 * conform/data/signal.h-data: Likewise.
51858 * conform/data/spawn.h-data: Likewise.
51859 * conform/data/stdarg.h-data: Likewise.
51860 * conform/data/stdio.h-data: Likewise.
51861 * conform/data/stdlib.h-data: Likewise.
51862 * conform/data/string.h-data: Likewise.
51863 * conform/data/strings.h-data: Likewise.
51864 * conform/data/stropts.h-data: Likewise.
51865 * conform/data/sys/ipc.h-data: Likewise.
51866 * conform/data/sys/mman.h-data: Likewise.
51867 * conform/data/sys/msg.h-data: Likewise.
51868 * conform/data/sys/resource.h-data: Likewise.
51869 * conform/data/sys/select.h-data: Likewise.
51870 * conform/data/sys/sem.h-data: Likewise.
51871 * conform/data/sys/shm.h-data: Likewise.
51872 * conform/data/sys/socket.h-data: Likewise.
51873 * conform/data/sys/stat.h-data: Likewise.
51874 * conform/data/sys/statvfs.h-data: Likewise.
51875 * conform/data/sys/time.h-data: Likewise.
51876 * conform/data/sys/timeb.h-data: Likewise.
51877 * conform/data/sys/times.h-data: Likewise.
51878 * conform/data/sys/types.h-data: Likewise.
51879 * conform/data/sys/uio.h-data: Likewise.
51880 * conform/data/sys/un.h-data: Likewise.
51881 * conform/data/sys/utsname.h-data: Likewise.
51882 * conform/data/sys/wait.h-data: Likewise.
51883 * conform/data/syslog.h-data: Likewise.
51884 * conform/data/tar.h-data: Likewise.
51885 * conform/data/termios.h-data: Likewise.
51886 * conform/data/utime.h-data: Likewise.
51887 * conform/data/utmpx.h-data: Likewise.
51888 * conform/data/varargs.h-data: Likewise.
51889 * conform/data/wchar.h-data: Likewise.
51890 * conform/data/wctype.h-data: Likewise.
51891 * conform/data/wordexp.h-data: Likewise.
51893 * include/stropts.h: New file.
51894 * include/uchar.h: New file.
51895 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51896 * include/assert.h: Likewise.
51897 * include/ctype.h: Likewise.
51898 * include/dirent.h: Likewise.
51899 * include/dlfcn.h: Likewise.
51900 * include/fcntl.h: Likewise.
51901 * include/fnmatch.h: Likewise.
51902 * include/glob.h: Likewise.
51903 * include/grp.h: Likewise.
51904 * include/libio.h: Likewise.
51905 * include/locale.h: Likewise.
51906 * include/math.h: Likewise.
51907 * include/net/if.h: Likewise.
51908 * include/netdb.h: Likewise.
51909 * include/netinet/in.h: Likewise.
51910 * include/pthread.h: Likewise.
51911 * include/pwd.h: Likewise.
51912 * include/regex.h: Likewise.
51913 * include/sched.h: Likewise.
51914 * include/search.h: Likewise.
51915 * include/setjmp.h: Likewise.
51916 * include/signal.h: Likewise.
51917 * include/stdio.h: Likewise.
51918 * include/stdlib.h: Likewise.
51919 * include/string.h: Likewise.
51920 * include/sys/cdefs.h: Likewise.
51921 * include/sys/mman.h: Likewise.
51922 * include/sys/msg.h: Likewise.
51923 * include/sys/resource.h: Likewise.
51924 * include/sys/select.h: Likewise.
51925 * include/sys/socket.h: Likewise.
51926 * include/sys/stat.h: Likewise.
51927 * include/sys/statvfs.h: Likewise.
51928 * include/sys/time.h: Likewise.
51929 * include/sys/times.h: Likewise.
51930 * include/sys/uio.h: Likewise.
51931 * include/sys/utsname.h: Likewise.
51932 * include/sys/wait.h: Likewise.
51933 * include/termios.h: Likewise.
51934 * include/time.h: Likewise.
51935 * include/ulimit.h: Likewise.
51936 * include/unistd.h: Likewise.
51937 * include/utime.h: Likewise.
51938 * include/wchar.h: Likewise.
51939 * include/wctype.h: Likewise.
51940 * include/wordexp.h: Likewise.
51942 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51944 * time/time.h: TIME_UTC must be a macro.
51945 Make timespec_get available for ISO C11 only as well.
51947 2012-02-24 Ulrich Drepper <drepper@gmail.com>
51949 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51950 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51952 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51954 * configure.in: Use -o not -a in test for unsupported multi-arch.
51956 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51958 * manual/texinfo.tex: Update to version 2012-01-19.16.
51960 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51962 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51964 2012-02-24 Roland McGrath <roland@hack.frob.com>
51967 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51968 * manual/fdl-1.3.texi: New file.
51969 * manual/fdl-1.1.texi: File removed.
51972 * manual/libc.texinfo (FDL_VERSION): New @set.
51973 Use it for mention of FDL in cover text.
51974 (Documentation License): Use it in @include file name.
51976 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51977 Roland McGrath <roland@hack.frob.com>
51980 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51981 (not LONG_LONG_MAX and LONG_LONG_MIN.
51982 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51983 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51985 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51987 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51991 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51992 manipulate bits before adding and subtracting TWO23[sx].
51993 * math/libm-test.inc (nearbyint_test): Add more tests.
51995 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51998 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51999 bits before adding and subtracting TWO23[sx].
52000 * math/libm-test.inc (rint_test): Add more tests.
52001 (rint_test_tonearest): Likewise.
52002 (rint_test_towardzero): Likewise.
52003 (rint_test_downward): Likewise.
52004 (rint_test_upward: Likewise.
52006 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52009 * include/stdc-predef.h: New file. Extracted from features.h.
52010 * include/features.h: Include stdc-predef.h.
52011 * Makefile (headers): Add stdc-predef.h.
52012 * CONFORMANCE (Compiler limitations): Update.
52014 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52016 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52018 2012-02-21 David S. Miller <davem@davemloft.net>
52020 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52021 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52023 2012-02-20 David S. Miller <davem@davemloft.net>
52025 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52026 using a normal save/restore sequence, rather than allocating a
52027 dummy stack frame just to store a frame pointer and restore.
52028 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52030 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52032 * manual/install.texi: Fix stray word in line-wrapped comment.
52034 2012-02-20 David S. Miller <davem@davemloft.net>
52036 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52037 both binutils and gcc support GOTDATA.
52039 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52040 "rd %pc" in the PIC register setup sequences.
52042 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52043 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52044 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52045 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52046 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52051 (SYSCALL_ERROR_HANDLER): Likewise.
52052 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52053 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52055 (SYSCALL_ERROR_HANDLER): Likewise.
52057 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52058 (HAVE_GCC_GOTDATA): New.
52059 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52060 relocation support in both binutils and gcc.
52061 * sysdeps/sparc/elf/configure: Regenerate.
52063 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52064 * sysdeps/sparc/sparc32/elf/configure: Delete.
52065 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52066 * sysdeps/sparc/sparc64/elf/configure: Delete.
52067 * sysdeps/sparc/elf/configure.in: New file.
52068 * sysdeps/sparc/elf/configure: Generate.
52070 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52071 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52072 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52073 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52074 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52076 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52078 * manual/install.texi: Do not mention specific glibc version
52080 * manual/libc.texinfo (VERSION, UPDATED): Update.
52081 (@copying): Use @copyright{} and range of years.
52083 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52086 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52087 [crti.S not in sysdirs] (generated): Do not append.
52088 [crti.S not in sysdirs] (omit-deps): Likewise.
52089 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52090 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52091 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52092 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52093 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52095 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52096 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52097 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52098 * csu/defs.awk: Remove file.
52099 * sysdeps/generic/initfini.c: Likewise.
52100 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52102 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52105 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52107 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52108 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52109 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52111 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52112 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52114 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52115 (__EPOLL_PACKED): Define to empty if not defined by
52117 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52121 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52123 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52124 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52125 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52126 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52128 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52132 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52134 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52136 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52137 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52141 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52143 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52144 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52146 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52148 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52149 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52151 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52153 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52156 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52158 * math/w_acos.c: Use non-signaling floating-point comparisons.
52159 * math/w_acosf.c: Likewise.
52160 * math/w_acosh.c: Likewise.
52161 * math/w_acoshf.c: Likewise.
52162 * math/w_acoshl.c: Likewise.
52163 * math/w_acosl.c: Likewise.
52164 * math/w_asin.c: Likewise.
52165 * math/w_asinf.c: Likewise.
52166 * math/w_asinl.c: Likewise.
52167 * math/w_atanh.c: Likewise.
52168 * math/w_atanhf.c: Likewise.
52169 * math/w_atanhl.c: Likewise.
52170 * math/w_exp2.c: Likewise.
52171 * math/w_exp2f.c: Likewise.
52172 * math/w_exp2l.c: Likewise.
52173 * math/w_j0.c: Likewise.
52174 * math/w_j0f.c: Likewise.
52175 * math/w_j0l.c: Likewise.
52176 * math/w_j1.c: Likewise.
52177 * math/w_j1f.c: Likewise.
52178 * math/w_j1l.c: Likewise.
52179 * math/w_jn.c: Likewise.
52180 * math/w_jnf.c: Likewise.
52181 * math/w_log.c: Likewise.
52182 * math/w_log10.c: Likewise.
52183 * math/w_log10f.c: Likewise.
52184 * math/w_log10l.c: Likewise.
52185 * math/w_log2.c: Likewise.
52186 * math/w_log2f.c: Likewise.
52187 * math/w_log2l.c: Likewise.
52188 * math/w_logf.c: Likewise.
52189 * math/w_logl.c: Likewise.
52190 * math/w_sqrt.c: Likewise.
52191 * math/w_sqrtf.c: Likewise.
52192 * math/w_sqrtl.c: Likewise.
52193 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52194 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52196 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52197 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52199 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52202 * manual/string.texi (strnlen): Use correct parameter name in
52203 equivalent expression.
52205 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52208 * manual/users.texi (seteuid): Consistently use neweuid for
52211 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52214 * manual/nss.texi (Services in the NSS configuration): Correct
52215 list of services in example configuration file.
52217 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52220 * manual/arith.texi: Remove statements about negative zero
52221 behaving identically to zero.
52223 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52226 * manual/install.texi: Do not document upgrading from libc5.
52228 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52231 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52233 2012-02-18 David S. Miller <davem@davemloft.net>
52235 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52236 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52237 %o7 across the call.
52238 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52241 SETUP_PIC_REG_LEAF.
52242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52243 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52244 * sysdeps/sparc/crtn.S: Likewise.
52246 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52248 * aout/Makefile: Remove.
52250 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52253 * manual/examples/argp-ex1.c (main): Format definition in GNU
52255 * manual/examples/argp-ex2.c (main): Likewise.
52256 * manual/examples/argp-ex3.c (main): Likewise.
52257 * manual/examples/argp-ex4.c (main): Likewise.
52258 * manual/examples/longopt.c (main): Use new-style prototype
52260 * manual/examples/strncat.c (main): Specify return type and use
52261 (void) for arguments.
52262 * manual/examples/subopt.c (main): Use char **argv argument.
52264 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52267 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52270 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52273 * manual/string.texi (strchr): Change when strchrnul is
52276 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52279 * manual/locale.texi (setlocale): Document LOCPATH.
52281 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52284 * manual/process.texi (execle): Move @dots{} before last argument.
52286 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52289 * manual/charset.texi (Generic Charset Conversion): Fix typo
52290 (LC_TYPE -> LC_CTYPE).
52292 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52295 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52296 (scalbnf): Likewise.
52297 (scalbnl): Likewise.
52298 (scalbln): Likewise.
52299 (scalblnf): Likewise.
52300 (scalblnl): Likewise.
52301 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52302 (vwarnx): Likewise.
52305 * manual/filesys.texi (telldir): Use braces around return type.
52306 * manual/llio.texi (mmap): Add space after comma.
52307 (mmap64): Likewise.
52308 * manual/math.texi (jn): Use @var{} on parameter names.
52314 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52316 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52318 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52319 (sched_get_priority_max): Likewise.
52320 * manual/signal.texi (sigvec): Add space after comma.
52321 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52323 (if_indextoname): Likewise.
52324 (if_freenameindex): Likewise.
52325 (sendto): Use ',' instead of '.' in prototype.
52326 * manual/startup.texi (syscall): Use @dots{} instead of literal
52328 * manual/stdio.texi (__fpending): Separate initial words of
52329 paragraph from @deftypefun line.
52330 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52332 (vsyslog): Use @var{} on parameter names.
52333 * manual/terminal.texi (stty): Use @var{} on parameter names.
52334 * manual/users.texi (getutmp): Use @var{} on parameter names.
52335 (getutmpx): Likewise.
52337 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52340 * manual/stdio.texi (fopen): Fix typos in description of
52343 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52346 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52347 get clock_id definition.
52349 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52352 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52353 (madvise): Cast every argument to void on its own.
52355 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52358 * manual/startup.texi (Exit Status): Fix typo.
52360 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52363 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52364 * manual/examples/argp-ex2.c: Likewise.
52365 * manual/examples/argp-ex3.c: Likewise.
52367 2012-02-16 Richard Henderson <rth@redhat.com>
52369 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52370 * sysdeps/s390/s390-32/initfini.c: Remove.
52371 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52372 * sysdeps/s390/s390-64/initfini.c: Remove.
52374 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52376 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52377 compiler output for sysdeps/generic/initfini.c.
52378 * sysdeps/sh/elf/initfini.c: Remove file.
52380 2012-02-16 David S. Miller <davem@davemloft.net>
52383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52385 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52386 * sysdeps/sparc/crti.S: New file.
52387 * sysdeps/sparc/crtn.S: New file.
52388 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52389 * sysdeps/sparc/sparc64/Makefile: Likewise.
52391 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52394 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52396 2012-02-15 Roland McGrath <roland@hack.frob.com>
52399 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52401 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52402 (write, read, close): Likewise.
52403 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52405 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52407 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52408 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52409 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52410 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52412 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52416 2012-02-14 Marek Polacek <polacek@redhat.com>
52418 * sysdeps/x86_64/crti.S: New file.
52419 * sysdeps/x86_64/crtn.S: New file.
52420 * sysdeps/x86_64/elf/initfini.c: Remove file.
52422 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52424 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52425 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52426 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52427 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52429 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52433 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52435 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52436 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52437 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52438 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52440 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52444 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52446 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52447 __feraiseexcept instead of feraiseexcept.
52449 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52450 nanosleep invocations.
52451 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52452 strings, and add error checking for a nanosleep invocations.
52454 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52456 Replace FSF snail mail address with URLs, as per GNU coding standards.
52457 Most of the snail mail addresses were wrong anyway, and omitting
52458 them makes the source code easier to maintain. Almost all of the
52459 changes are to license notices and to locale LC_IDENTIFICATION
52460 addresses, except for this one:
52461 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52462 not its snail mail address.
52464 2012-02-09 Richard Henderson <rth@twiddle.net>
52466 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52467 of kernel-features.h.
52469 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52471 2012-02-08 Marek Polacek <polacek@redhat.com>
52473 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52474 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52475 * sysdeps/gnu/_G_config.h: Likewise.
52476 * sysdeps/generic/_G_config.h: Likewise.
52478 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52480 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52484 * sysdeps/powerpc/powerpc32/crti.S: New file.
52485 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52486 * sysdeps/powerpc/powerpc64/crti.S: New file.
52487 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52489 * Makeconfig (have-initfini): Don't set.
52490 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52491 * configure.in (nopic_initfini): Don't substitute.
52492 * config.h.in (HAVE_INITFINI): Don't #undef.
52493 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52494 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52496 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52498 Support crti.S and crtn.S provided directly by architectures.
52499 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52500 [crti.S in sysdirs] (omit-deps): Likewise.
52501 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52502 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52503 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52504 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52505 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52506 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52507 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52508 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52509 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52510 compiler output for sysdeps/generic/initfini.c.
52511 * sysdeps/i386/elf/Makefile: Remove file.
52512 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52514 2012-02-07 Marek Polacek <polacek@redhat.com>
52516 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52517 * sysdeps/gnu/_G_config.h: Likewise.
52518 * sysdeps/mach/hurd/_G_config.h: Likewise.
52520 2012-02-07 Marek Polacek <polacek@redhat.com>
52522 * math/Makefile (tests): Add tst-CMPLX2.
52523 * math/tst-CMPLX2.c: New file.
52525 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52527 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52529 * math/libm-test.inc (jn_test): Add missing L suffix.
52531 2012-02-06 Marek Polacek <polacek@redhat.com>
52533 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52534 * sysdeps/i386/fpu/e_powf.S: Likewise.
52535 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52536 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52537 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52538 * sysdeps/i386/fpu/e_pow.S: Likewise.
52539 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52540 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52541 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52542 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52543 * sysdeps/i386/fpu/e_log2.S: Likewise.
52544 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52545 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52546 * sysdeps/i386/fpu/e_powl.S: Likewise.
52547 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52549 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52550 * sysdeps/i386/fpu/e_logl.S: Likewise.
52551 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52552 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52553 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52554 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52555 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52556 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52557 * sysdeps/i386/fpu/e_log.S: Likewise.
52558 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52560 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52561 * sysdeps/i386/fpu/e_logf.S: Likewise.
52562 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52563 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52564 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52565 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52566 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52567 * sysdeps/i386/fpu/e_log10.S: Likewise.
52568 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52569 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52570 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52571 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52572 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52573 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52574 * sysdeps/i386/asm-syntax.h: Likewise.
52575 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52576 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52577 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52578 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52579 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52580 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52581 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52582 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52583 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52584 * sysdeps/powerpc/sysdep.h: Likewise.
52585 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52586 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52588 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52591 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52593 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52595 * sysdeps/i386/sysdep.h: Include <features.h>.
52596 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52599 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52601 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52603 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52606 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52608 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52609 (SETUP_PIC_REG): Use GET_PC_THUNK.
52610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52613 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52615 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52616 for non-PIC compilation.
52617 (SETUP_PIC_REG): Add .p2align directive.
52618 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52619 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52620 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52621 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52622 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52623 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52624 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52625 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52626 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52627 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52628 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52629 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52630 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52631 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52632 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52633 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52634 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52638 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52640 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52641 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52642 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52644 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52645 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52650 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52651 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52652 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52653 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52654 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52655 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52656 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52657 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52658 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52660 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52662 * math/tst-CMPLX.c: Include <stdio.h>.
52664 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52666 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52668 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52669 * sysdeps/sparc/bits/mathdef.h: Likewise.
52671 2012-01-31 Marek Polacek <polacek@redhat.com>
52673 * libio/libio.h: Don't define _PARAMS.
52674 * locale/programs/config.h: Don't define PARAMS.
52675 * stdlib/strtol_l.c: Likewise.
52676 (__strtol_l): Remove PARAMS from the prototype.
52678 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52680 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52681 names. Just use the correct names. Remove unnecessary wrapper
52683 * malloc/arena.c: Likewise.
52684 * malloc/hooks.c: Likewise.
52686 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52687 ARENA_TEST says not to. Simplify test for creation of a new arena.
52688 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52690 2012-01-30 Ulrich Drepper <drepper@gmail.com>
52692 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52694 (update_get_addr): New function.
52695 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52696 GET_ADDR_MODULE parameter.
52698 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52700 * crypt/cert.c: Remove __STDC__ conditionals.
52701 * crypt/crypt-entry.c: Likewise.
52702 * crypt/crypt_util.c: Likewise.
52703 * libio/filedoalloc.c: Likewise.
52704 * libio/fileops.c: Likewise.
52705 * libio/genops.c: Likewise.
52706 * libio/iofclose.c: Likewise.
52707 * libio/iofdopen.c: Likewise.
52708 * libio/iofopen.c: Likewise.
52709 * libio/iofopen64.c: Likewise.
52710 * libio/iogetdelim.c: Likewise.
52711 * libio/iopopen.c: Likewise.
52712 * libio/obprintf.c: Likewise.
52713 * libio/oldfileops.c: Likewise.
52714 * libio/oldiofclose.c: Likewise.
52715 * libio/oldiofdopen.c: Likewise.
52716 * libio/oldiofopen.c: Likewise.
52717 * libio/oldiopopen.c: Likewise.
52718 * libio/wfiledoalloc.c: Likewise.
52719 * libio/wgenops.c: Likewise.
52720 * locale/programs/xmalloc.c: Likewise.
52721 * misc/syslog.c: Likewise.
52722 * stdio-common/xbug.c: Likewise.
52723 * string/memchr.c: Likewise.
52724 * string/memcmp.c: Likewise.
52725 * string/memrchr.c: Likewise.
52726 * string/rawmemchr.c: Likewise.
52727 * sysdeps/posix/getcwd.c: Likewise.
52728 * time/strftime_l.c: Likewise.
52730 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52732 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52733 * config.make.in (config-cflags-sse2avx): Define.
52734 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52737 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52739 * scripts/config.guess: Update from upstream config git repository.
52740 * scripts/config.sub: Likewise.
52742 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52744 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52746 (R_TILEPRO_*, R_TILEGX_*): New macros.
52748 * scripts/firstversions.awk: Fix bug in version range handling.
52750 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52752 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52754 * include/sys/epoll.h: New file.
52755 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52758 2012-01-28 Ulrich Drepper <drepper@gmail.com>
52760 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52761 Avoid unnecessary __WORDSIZE == 64 test.
52762 (fmaxf): Use VEX format if possible.
52767 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52768 * math/math_private.h: Remove libc_fegetround* and
52770 * sysdeps/i386/configure.in: Check for -msse2avx.
52771 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52772 also if SSE2AVX is defined.
52773 Remove libc_fegetround* and libc_fesetround*.
52774 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52775 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52779 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52780 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52782 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52784 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52786 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52788 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52790 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52792 2012-01-27 Ulrich Drepper <drepper@gmail.com>
52795 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52797 * Makeconfig (libm): Define.
52798 * elf/Makefile: Add rules to build and run tst-relsort1.
52799 * elf/tst-relsort1.c: New file.
52800 * elf/tst-relsort1mod1.c: New file.
52801 * elf/tst-relsort1mod2.c: New file.
52803 2012-01-27 Joseph Myers <joseph@codesourcery.com>
52805 * math/s_ldexp.c: Remove __STDC__ conditionals.
52806 * math/s_ldexpf.c: Likewise.
52807 * math/s_ldexpl.c: Likewise.
52808 * math/s_nextafter.c: Likewise.
52809 * math/s_nexttowardf.c: Likewise.
52810 * math/s_significand.c: Likewise.
52811 * math/s_significandf.c: Likewise.
52812 * math/s_significandl.c: Likewise.
52813 * math/w_jnl.c: Likewise.
52814 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52815 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52816 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52817 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52818 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52820 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52821 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52822 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52823 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52824 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52826 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52827 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52828 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52829 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52830 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52831 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52833 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52834 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52835 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52836 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52838 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52839 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52840 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52841 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52842 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52843 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52844 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52845 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52846 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52847 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52848 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52849 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52850 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52851 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52852 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52853 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52854 * sysdeps/ieee754/k_standard.c: Likewise.
52855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52856 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52857 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52858 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52859 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52860 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52862 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52863 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52864 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52865 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52866 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52867 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52868 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52869 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52871 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52872 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52874 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52875 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52876 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52877 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52878 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52879 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52880 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52881 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52884 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52885 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52886 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52887 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52888 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52890 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52891 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52892 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52893 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52894 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52895 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52896 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52897 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52898 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52899 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52902 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52903 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52904 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52905 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52908 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52909 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52910 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52911 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52912 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52913 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52914 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52915 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52916 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52917 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52918 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52919 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52920 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52921 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52922 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52923 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52924 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52925 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52926 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52927 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52928 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52929 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52930 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52931 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52932 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52933 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52934 * sysdeps/ieee754/s_matherr.c: Likewise.
52935 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52936 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52940 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52942 * crypt/md5.h: Remove __STDC__ conditionals.
52943 * libio/libioP.h: Likewise.
52944 * locale/programs/config.h: Likewise.
52945 * sysdeps/generic/sysdep.h: Likewise.
52946 * sysdeps/i386/asm-syntax.h: Likewise.
52947 * sysdeps/s390/asm-syntax.h: Likewise.
52948 * sysdeps/unix/sysdep.h: Likewise.
52949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52952 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52954 * libio/libio.h: Remove __STDC__ conditionals.
52955 * malloc/obstack.h: Likewise.
52956 * math/complex.h: Likewise.
52957 * math/math.h: Likewise.
52958 * sysdeps/generic/_G_config.h: Likewise.
52959 * sysdeps/gnu/_G_config.h: Likewise.
52960 * sysdeps/mach/hurd/_G_config.h: Likewise.
52961 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52962 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52963 * sysdeps/sparc/bits/mathdef.h: Likewise.
52965 2012-01-26 Ulrich Drepper <drepper@gmail.com>
52968 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52969 Clean up HAS_* macros.
52970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52971 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52976 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52977 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52978 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52979 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52981 2012-01-25 Joseph Myers <joseph@codesourcery.com>
52983 * elf/tst-unique3.cc (gets): Remove declaration.
52984 * elf/tst-unique3lib.cc (gets): Likewise.
52985 * elf/tst-unique3lib2.cc (gets): Likewise.
52986 * elf/tst-unique4.cc (gets): Likewise.
52988 2012-01-24 Ulrich Drepper <drepper@gmail.com>
52990 * include/stdio.h: Add C++ protection. Add gets declarations and
52992 * debug/tst-chk1.c: Don't declare gets here.
52993 * stdio-common/tst-gets.c: Likewise.
52995 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52997 * posix/glob: Remove directory.
52999 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53001 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53003 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
53005 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53006 of the non-standard EPFNOSUPPORT.
53008 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
53010 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53011 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53012 ANYWHERE set to 1 only on KERN_NO_SPACE error.
53014 2012-01-21 Ulrich Drepper <drepper@gmail.com>
53016 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53018 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53020 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53022 * nscd/grpcache.c (cache_addgr): Likewise.
53023 * nscd/hstcache.c (cache_addhst): Likewise.
53024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53025 * nscd/pwdcache.c (cache_addpw): Likewise.
53026 * nscd/servicescache.c (cache_addserv): Likewise.
53028 2012-01-16 Ulrich Drepper <drepper@gmail.com>
53030 * malloc/malloc.c: Various cleanups.
53031 * malloc/hooks.c: Likewise.
53033 * stdlib/Makefile (tests): Add bug-fmtmsg1.
53034 * stdlib/bug-fmtmsg1.c: New file.
53036 * stdlib/fmtmsg.c (init): Add missing unlock.
53037 Patch by Peng Haitao <penght@cn.fujitsu.com>.
53039 2012-01-12 Marek Polacek <polacek@redhat.com>
53041 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53044 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53046 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53047 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53048 macro to ensure uniqueness of label name.
53049 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53050 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53052 2012-01-11 Ulrich Drepper <drepper@gmail.com>
53054 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53057 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53058 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53061 2012-01-10 Ulrich Drepper <drepper@gmail.com>
53063 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53065 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53066 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53067 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53069 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53071 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53072 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53073 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53076 * math/bits/math-finite.h: Add ldexp support.
53078 2012-01-10 Marek Polacek <polacek@redhat.com>
53080 * locale/programs/localedef.h (show_archive_content): Add noreturn
53083 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53085 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53087 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53089 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53091 * io/Makefile (headers): Add bits/poll2.h.
53093 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53096 typo #include statement.
53098 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53100 * include/sys/cdefs.h: Define __attribute_alloc_size.
53101 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53102 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53103 * elf/pldd.c: Likewise.
53104 * iconv/iconv_charmap.c: Likewise.
53105 * iconv/iconvconfig.c: Likewise.
53106 * iconv/strtab.c: Likewise.
53107 * locale/programs/locale.c: Likewise.
53108 * locale/programs/localedef.h: Likewise.
53109 * locale/programs/simple-hash.c: Likewise.
53110 * nscd/nscd.h: Likewise.
53111 * nss/makedb.c: Likewise.
53112 * sysdeps/generic/ldconfig.h: Likewise.
53113 * locale/programs/localedef.c: Remove xmalloc prototype.
53114 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53116 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53121 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53123 * math/Makefile (tests): Add tst-CMPLX.
53124 * math/tst-CMPLX.c: New file.
53126 * math/complex.h (CMPLXL): Fix typo.
53128 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53129 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53131 * debug/tst-chk1.c: Add poll and ppoll tests.
53132 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53133 * include/sys/poll.h: Add hidden proto for ppoll.
53134 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53135 * sysdeps/mach/hurd/ppoll.c: Likewise.
53136 * io/ppoll.c: Likewise.
53137 * debug/poll_chk.c: New file.
53138 * debug/ppoll_chk.c: New file.
53139 * include/bits/poll2.h: New file.
53140 * io/bits/poll2.h: New file.
53143 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53145 * configure.in: static is always set to yes. Remove.
53146 * config.make.in: Don't set build-static.
53147 * Makeconfig: Remove use of build-static.
53148 * dlfcn/Makefile: Likewise.
53149 * elf/Makefile: Likewise.
53150 * math/Makefile: Likewise.
53151 * misc/Makefile: Likewise.
53152 * nptl/Makefile: Likewise.
53153 * sysdeps/mach/hurd/Makefile: Likewise.
53155 * configure.in: PWD_P is not used anymore.
53156 * config.make.in: Remove PWD_P entry.
53158 * configure.in: Remove last remnants of RANLIB.
53159 No need to check for signed size_t anymore.
53160 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53162 Remove __builtin_expect test because we require at least gcc 3.4.
53163 * aclocal.m4: Likewise.
53165 * wcsmbs/mbrtoc16.c: Implement using towc function.
53166 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53167 * wcsmbs/wcsmbsload.c: Likewise.
53168 * iconv/gconv_simple.c: Likewise.
53169 * iconv/gconv_int.h: Likewise.
53170 * iconv/gconv_builtin.h: Likewise.
53171 * iconv/iconv_prog.c: Remove CHAR16 handling.
53173 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53175 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53177 * configure.in: Remove --with-elf and --enable-bounded options.
53178 Dont set base_machine for ia64. More non-ELF conditions removed.
53179 Remove testing and setting of leading underscore information.
53180 * config.make.in (build-bounded): Set to no.
53181 * config.h.in: Remove NO_UNDERSCORES entry.
53182 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53184 * csu/start.c: Remove !NO_UNDERSCORE code.
53185 * locale/localeinfo.h: Likewise.
53186 * sysdeps/generic/machine-gmon.h: Likewise.
53187 * sysdeps/generic/sysdep.h: Likewise.
53188 * sysdeps/i386/sysdep.h: Likewise.
53189 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53190 * sysdeps/mach/sysdep.h: Likewise.
53191 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53193 * sysdeps/sh/sysdep.h: Likewise.
53194 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53195 * sysdeps/unix/i386/sysdep.S: Likewise.
53196 * sysdeps/unix/sparc/start.c: Likewise.
53197 * sysdeps/unix/sparc/sysdep.S: Likewise.
53198 * sysdeps/unix/sparc/sysdep.h: Likewise.
53199 * sysdeps/unix/start.c: Likewise.
53200 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53201 * sysdeps/x86_64/sysdep.h: Likewise.
53203 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53206 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53208 * argp/argp-fmtstream.h: Use const instead __const.
53209 * argp/argp.h: Likewise.
53210 * assert/assert.h: Likewise.
53211 * bits/fenv.h: Likewise.
53212 * bits/sched.h: Likewise.
53213 * bits/sigset.h: Likewise.
53214 * bits/sigthread.h: Likewise.
53215 * catgets/nl_types.h: Likewise.
53216 * conform/data/pthread.h-data: Likewise.
53217 * crypt/crypt-private.h: Likewise.
53218 * crypt/crypt.h: Likewise.
53219 * crypt/crypt_util.c: Likewise.
53220 * ctype/ctype.h: Likewise.
53221 * debug/execinfo.h: Likewise.
53222 * debug/mbsnrtowcs_chk.c: Likewise.
53223 * debug/mbsrtowcs_chk.c: Likewise.
53224 * debug/wcsnrtombs_chk.c: Likewise.
53225 * debug/wcsrtombs_chk.c: Likewise.
53226 * debug/wcstombs_chk.c: Likewise.
53227 * dirent/dirent.h: Likewise.
53228 * dlfcn/dlfcn.h: Likewise.
53229 * elf/neededtest4.c: Likewise.
53230 * grp/grp.h: Likewise.
53231 * gshadow/gshadow.h: Likewise.
53232 * iconv/gconv.h: Likewise.
53233 * iconv/gconv_int.h: Likewise.
53234 * iconv/gconv_simple.c: Likewise.
53235 * iconv/iconv.h: Likewise.
53236 * iconv/loop.c: Likewise.
53237 * iconv/skeleton.c: Likewise.
53238 * include/aio.h: Likewise.
53239 * include/aliases.h: Likewise.
53240 * include/argz.h: Likewise.
53241 * include/arpa/inet.h: Likewise.
53242 * include/assert.h: Likewise.
53243 * include/dirent.h: Likewise.
53244 * include/dlfcn.h: Likewise.
53245 * include/execinfo.h: Likewise.
53246 * include/fcntl.h: Likewise.
53247 * include/fenv.h: Likewise.
53248 * include/glob.h: Likewise.
53249 * include/grp.h: Likewise.
53250 * include/libintl.h: Likewise.
53251 * include/mntent.h: Likewise.
53252 * include/netdb.h: Likewise.
53253 * include/pwd.h: Likewise.
53254 * include/rpc/netdb.h: Likewise.
53255 * include/sched.h: Likewise.
53256 * include/search.h: Likewise.
53257 * include/shadow.h: Likewise.
53258 * include/signal.h: Likewise.
53259 * include/stdio.h: Likewise.
53260 * include/stdlib.h: Likewise.
53261 * include/string.h: Likewise.
53262 * include/sys/socket.h: Likewise.
53263 * include/sys/stat.h: Likewise.
53264 * include/sys/statfs.h: Likewise.
53265 * include/sys/statvfs.h: Likewise.
53266 * include/sys/syslog.h: Likewise.
53267 * include/sys/time.h: Likewise.
53268 * include/sys/uio.h: Likewise.
53269 * include/time.h: Likewise.
53270 * include/unistd.h: Likewise.
53271 * include/utmp.h: Likewise.
53272 * include/wchar.h: Likewise.
53273 * include/wctype.h: Likewise.
53274 * inet/aliases.h: Likewise.
53275 * inet/arpa/inet.h: Likewise.
53276 * inet/netinet/ether.h: Likewise.
53277 * inet/netinet/in.h: Likewise.
53278 * intl/libintl.h: Likewise.
53279 * io/bits/fcntl2.h: Likewise.
53280 * io/fcntl.h: Likewise.
53281 * io/ftw.h: Likewise.
53282 * io/sys/poll.h: Likewise.
53283 * io/sys/stat.h: Likewise.
53284 * io/sys/statfs.h: Likewise.
53285 * io/sys/statvfs.h: Likewise.
53286 * io/utime.h: Likewise.
53287 * libio/bits/stdio.h: Likewise.
53288 * libio/bits/stdio2.h: Likewise.
53289 * libio/libio.h: Likewise.
53290 * libio/libioP.h: Likewise.
53291 * libio/stdio.h: Likewise.
53292 * locale/lc-ctype.c: Likewise.
53293 * locale/locale.h: Likewise.
53294 * login/utmp.h: Likewise.
53295 * malloc/arena.c: Likewise.
53296 * malloc/malloc.c: Likewise.
53297 * malloc/malloc.h: Likewise.
53298 * malloc/mcheck.c: Likewise.
53299 * malloc/mtrace.c: Likewise.
53300 * math/bits/mathcalls.h: Likewise.
53301 * math/fenv.h: Likewise.
53302 * math/math_private.h: Likewise.
53303 * misc/bits/error.h: Likewise.
53304 * misc/bits/syslog.h: Likewise.
53305 * misc/err.h: Likewise.
53306 * misc/error.h: Likewise.
53307 * misc/fstab.h: Likewise.
53308 * misc/mntent.h: Likewise.
53309 * misc/regexp.h: Likewise.
53310 * misc/search.h: Likewise.
53311 * misc/sgtty.h: Likewise.
53312 * misc/sys/mman.h: Likewise.
53313 * misc/sys/syslog.h: Likewise.
53314 * misc/sys/uio.h: Likewise.
53315 * misc/sys/xattr.h: Likewise.
53316 * misc/ttyent.h: Likewise.
53317 * nis/rpcsvc/ypclnt.h: Likewise.
53318 * nss/nss.h: Likewise.
53319 * posix/bits/unistd.h: Likewise.
53320 * posix/fnmatch.h: Likewise.
53321 * posix/glob.h: Likewise.
53322 * posix/sched.h: Likewise.
53323 * posix/spawn.h: Likewise.
53324 * posix/sys/wait.h: Likewise.
53325 * posix/unistd.h: Likewise.
53326 * posix/wordexp.h: Likewise.
53327 * pwd/pwd.h: Likewise.
53328 * resolv/netdb.h: Likewise.
53329 * resource/sys/resource.h: Likewise.
53330 * rt/aio.h: Likewise.
53331 * rt/bits/mqueue2.h: Likewise.
53332 * rt/mqueue.h: Likewise.
53333 * shadow/shadow.h: Likewise.
53334 * signal/signal.h: Likewise.
53335 * socket/send.c: Likewise.
53336 * socket/sendto.c: Likewise.
53337 * socket/sys/socket.h: Likewise.
53338 * stdio-common/printf.h: Likewise.
53339 * stdlib/bits/stdlib.h: Likewise.
53340 * stdlib/fmtmsg.h: Likewise.
53341 * stdlib/monetary.h: Likewise.
53342 * stdlib/stdlib.h: Likewise.
53343 * stdlib/ucontext.h: Likewise.
53344 * streams/stropts.h: Likewise.
53345 * string/argz.h: Likewise.
53346 * string/bits/string2.h: Likewise.
53347 * string/string.h: Likewise.
53348 * string/strings.h: Likewise.
53349 * sunrpc/rpc/auth.h: Likewise.
53350 * sunrpc/rpc/auth_des.h: Likewise.
53351 * sunrpc/rpc/clnt.h: Likewise.
53352 * sunrpc/rpc/netdb.h: Likewise.
53353 * sunrpc/rpc/pmap_clnt.h: Likewise.
53354 * sunrpc/rpc/xdr.h: Likewise.
53355 * sysdeps/generic/inttypes.h: Likewise.
53356 * sysdeps/generic/net/if.h: Likewise.
53357 * sysdeps/generic/sys/swap.h: Likewise.
53358 * sysdeps/gnu/net/if.h: Likewise.
53359 * sysdeps/gnu/utmpx.h: Likewise.
53360 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53361 * sysdeps/i386/i486/bits/string.h: Likewise.
53362 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53363 * sysdeps/s390/bits/string.h: Likewise.
53364 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53365 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53366 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53367 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53368 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53369 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53370 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53371 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53372 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53373 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53374 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53375 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53376 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53377 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53378 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53379 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53380 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53382 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53383 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53385 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53386 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53387 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53388 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53389 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53390 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53391 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53392 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53393 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53394 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53395 * sysvipc/sys/ipc.h: Likewise.
53396 * sysvipc/sys/msg.h: Likewise.
53397 * sysvipc/sys/sem.h: Likewise.
53398 * sysvipc/sys/shm.h: Likewise.
53399 * termios/termios.h: Likewise.
53400 * time/sys/time.h: Likewise.
53401 * time/time.h: Likewise.
53402 * wcsmbs/bits/wchar2.h: Likewise.
53403 * wcsmbs/uchar.h: Likewise.
53404 * wcsmbs/wchar.h: Likewise.
53405 * wctype/wctype.h: Likewise.
53408 * Makeconfig: Remove all but ELF support including AIX support.
53409 * Makerules: Likewise.
53410 * config.h.in: Likewise.
53411 * config.make.in: Likewise.
53412 * configure: Likewise.
53413 * configure.in: Likewise.
53414 * csu/Makefile: Likewise.
53415 * csu/version.c: Likewise.
53416 * debug/Makefile: Likewise.
53417 * dlfcn/Makefile: Likewise.
53418 * elf/Makefile: Likewise.
53419 * extra-lib.mk: Likewise.
53420 * iconv/Makefile: Likewise.
53421 * include/libc-symbols.h: Likewise.
53422 * include/shlib-compat.h: Likewise.
53423 * resolv/Makefile: Likewise.
53424 * resolv/res_libc.c: Likewise.
53425 * rt/Makefile: Likewise.
53426 * sysdeps/i386/asm-syntax.h: Likewise.
53427 * sysdeps/i386/sysdep.h: Likewise.
53428 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53429 * sysdeps/mach/sysdep.h: Likewise.
53430 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53431 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53432 * sysdeps/s390/asm-syntax.h: Likewise.
53433 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53435 * sysdeps/sh/sysdep.h: Likewise.
53436 * sysdeps/unix/sparc/sysdep.h: Likewise.
53437 * sysdeps/wordsize-32/divdi3.c: Likewise.
53438 * sysdeps/x86_64/sysdep.h: Likewise.
53440 * argp/Versions: Remove _argp_unlock_xxx.
53443 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53444 * abilist/libBrokenLocale.abilist: Likewise.
53445 * abilist/libanl.abilist: Likewise.
53446 * abilist/libc.abilist: Likewise.
53447 * abilist/libcrypt.abilist: Likewise.
53448 * abilist/libdl.abilist: Likewise.
53449 * abilist/libm.abilist: Likewise.
53450 * abilist/libnsl.abilist: Likewise.
53451 * abilist/libpthread.abilist: Likewise.
53452 * abilist/libresolv.abilist: Likewise.
53453 * abilist/librt.abilist: Likewise.
53454 * abilist/libthread_db.abilist: Likewise.
53455 * abilist/libutil.abilist: Likewise.
53456 * abilist/libnss_db.abilist: New file.
53458 * scripts/abilist.awk: Add support for indirect functions.
53460 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53462 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53464 * shlib-versions: Remove entries for ports architectures.
53466 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53468 * elf/stackguard-macros.h: Remove support for IA-64.
53469 * elf/tst-auditmod1.c: Likewise.
53470 * sysdeps/generic/ldsodefs.h: Likewise.
53472 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53473 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53477 * configure.in: Remove --enable-omitfp support.
53479 * config.make.in: Likewise.
53480 * Makeconfig: Likewise.
53481 * manual/install.texi: Likewise.
53483 In case anyone cares, the IA-64 architecture could move to ports.
53484 * sysdeps/ia64/*: Removed.
53485 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53486 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53489 * configure.in: Remove entries for unsupported architectures.
53492 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53493 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53495 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53496 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53497 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53498 fall back to using wcrtomb.
53499 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53500 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53502 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53503 * wcsmbs/tst-c16c32-1.c: New file.
53505 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53508 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53510 * elf/tst-unique3.cc: Add explicit declaration of gets.
53511 * elf/tst-unique3lib.cc: Likewise.
53512 * elf/tst-unique3lib2.cc: Likewise.
53513 * elf/tst-unique4.cc: Likewise.
53515 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53517 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53520 * assert/assert.h (static_assert): Don't define for C++.
53521 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53522 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53524 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53526 * iconv/loop.c (single loop): Fix assertion in storing of
53529 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53531 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53533 * posix/getconf.c: Update copyright year.
53534 * nss/getent.c: Likewise.
53535 * nss/makedb.c: Likewise.
53536 * iconv/iconvconfig.c: Likewise.
53537 * iconv/iconv_prog.c: Likewise.
53538 * elf/ldconfig.c: Likewise.
53539 * elf/pldd.c: Likewise.
53540 * elf/sotruss.ksh: Likewise.
53541 * catgets/gencat.c: Likewise.
53542 * csu/version.c: Likewise.
53543 * elf/ldd.bash.in: Likewise.
53544 * elf/sprof.c (print_version): Likewise.
53545 * locale/programs/locale.c: Likewise.
53546 * locale/programs/localedef.c: Likewise.
53547 * login/programs/pt_chown.c: Likewise.
53548 * nscd/nscd.c (print_version): Likewise.
53549 * debug/xtrace.sh: Likewise.
53550 * malloc/memusage.sh: Likewise.
53551 * malloc/mtrace.pl: Likewise.
53552 * debug/catchsegv.sh: Likewise.
53554 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53556 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53559 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53562 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53563 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53565 * iconv/gconv_int.h: Likewise.
53566 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53567 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53568 from libc for GLIBC_2.16.
53569 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53570 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53571 * wcsmbs/uchar.h: Really define mbstate_t.
53572 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53573 * wcsmbs/c16rtomb.c: New file.
53574 * wcsmbs/mbrtoc16.c: New file.
53575 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53576 for C/POSIX locale.
53577 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53578 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53580 * wcsmbs/wchar.h: Add missing __restrict.
53582 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53585 * time/Makefile (routines): Add timespec_get.
53586 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53587 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53588 timespec for ISO C11.
53589 * time/timespec_get.c: New file.
53590 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53591 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53594 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53595 * stdlib/stdlib.h: Declare aligned_alloc.
53596 * Versions.def: Add GLIBC_2.16 for libc.
53597 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53600 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53603 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53607 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53610 * assert/assert.h (static_assert): Define.
53612 * version.h: Update for 2.16 development version.
53615 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53618 * version.h (RELEASE): Bump for 2.15 release.
53619 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53621 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53622 Patch by Marek Polacek <mpolacek@redhat.com>.
53624 * bits/byteswap.h: Protect long long constants with __extension__.
53625 * sysdeps/i386/bits/byteswap.h: Likewise.
53626 * sysdeps/ia64/bits/byteswap.h: Likewise.
53627 * sysdeps/s390/bits/byteswap.h: Likewise.
53628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53630 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53634 destination buffer.
53635 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53637 2011-12-23 Marek Polacek <polacek@redhat.com>
53639 * elf/dl-addr.c (determine_info): Add inline keyword.
53640 * elf/tst-auditmod4b.c (check_avx): Likewise.
53641 * elf/tst-auditmod6b.c (check_avx): Likewise.
53642 * elf/tst-auditmod6c.c (check_avx): Likewise.
53643 * elf/tst-auditmod7b.c (check_avx): Likewise.
53645 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53647 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53650 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53653 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53654 processing for last bytes.
53656 2011-08-06 Bruno Haible <bruno@clisp.org>
53659 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53660 U+0385, not to U+1FEE.
53663 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53664 entry for U+00A5 U+0301.
53666 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53669 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53670 buffer for the output is too small.
53672 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53676 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53677 SSE flags if possible.
53679 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53682 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53683 processing for last bytes.
53685 2011-12-22 Joseph Myers <joseph@codesourcery.com>
53687 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53688 (syscall-list-default-options, syscall-list-default-condition)
53689 (syscall-list-includes): Define.
53690 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53691 list of ABIs and options and #if conditions for each ABI. Do not
53692 handle common syscalls between ABIs specially.
53693 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53695 (syscall-list-variants, syscall-list-32bit-options)
53696 (syscall-list-32bit-condition, syscall-list-64bit-options)
53697 (syscall-list-64bit-condition): Define.
53698 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53699 (syscall-list-variants, syscall-list-32bit-options)
53700 (syscall-list-32bit-condition, syscall-list-64bit-options)
53701 (syscall-list-64bit-condition): Define.
53702 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53704 (syscall-list-variants, syscall-list-32bit-options)
53705 (syscall-list-32bit-condition, syscall-list-64bit-options)
53706 (syscall-list-64bit-condition): Define.
53707 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53709 (syscall-list-variants, syscall-list-32bit-options)
53710 (syscall-list-32bit-condition, syscall-list-64bit-options)
53711 (syscall-list-64bit-condition): Define.
53713 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53715 * locale/iso-639.def: Add brx entry.
53718 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53719 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53721 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53722 __feraiseexcept_renamed.
53724 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53727 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53728 EPOLLET with unsigned values.
53729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53730 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53732 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53733 to large cancellation.
53734 * math/s_cacoshf.c: Likewise.
53735 * math/s_cacoshl.c: Likewise.
53737 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53741 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53742 * math/s_cacoshf.c: Likewise.
53743 * math/s_cacoshl.c: Likewise.
53745 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53748 * iconv/gconv.h: Define __GCONV_SWAP.
53749 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53750 * iconvdata/utf-16.c: Likewise.
53751 * iconvdata/utf-32.c: Likewise.
53753 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53756 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53757 numerator after shifting it by one limb.
53759 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53761 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53762 under [__USE_EXTERN_INLINES].
53764 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53767 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53769 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53771 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53772 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53774 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53775 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53776 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53777 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53778 for strncasecmp/strncasecmp_l compilation.
53779 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53780 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53782 2011-12-08 Marek Polacek <mpolacek@redhat.com>
53785 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53788 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53791 * time/tzfile.c (__tzfile_read): Check values from file header.
53793 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53795 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53796 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53797 * powerpc/powerpc32/dl-start.S: Likewise.
53798 * powerpc/powerpc32/elf/start.S: Likewise.
53799 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53800 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53801 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53802 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53803 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53804 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53805 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53806 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53807 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53808 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53809 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53810 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53811 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53812 * powerpc/powerpc32/memset.S: Likewise.
53813 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53814 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53815 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53816 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53817 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53818 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53819 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53820 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53821 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53822 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53823 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53824 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53825 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53827 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53829 * math/libm-test.inc: Added more nearbyint tests.
53830 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53831 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53832 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53833 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53835 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53837 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53840 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53842 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53843 Add wcscpy-ssse3 wcscpy-c.
53844 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53845 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53846 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53847 * sysdeps/x86_64/wcschr.S: New file.
53848 * sysdeps/x86_64/wcsrchr.S: New file.
53849 * string/test-strcmp.c: Remove checking of wcscmp function for
53851 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53852 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53853 wcsrchr-sse2 wcsrchr-c.
53854 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53855 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53856 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53857 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53858 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53859 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53860 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53861 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53862 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53863 * wcsmbc/wcschr.c (WCSCHR): New macro.
53865 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53867 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53868 * wcsmbs/test-wcsrchr.c: New file.
53869 * string/test-strrchr.c: Add wcsrchr support.
53871 * wcsmbs/test-wcscpy.c: New file.
53872 * string/test-strcpy.c: Add wcscpy support.
53875 2011-12-10 Ulrich Drepper <drepper@gmail.com>
53877 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53880 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53883 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53885 2011-12-04 Ulrich Drepper <drepper@gmail.com>
53887 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53888 Minor optimizations.
53890 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53891 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53892 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53894 2011-12-03 Ulrich Drepper <drepper@gmail.com>
53896 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53897 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53898 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53899 for gcc to avoid warnings.
53900 * inet/Makefile (tests): Add tst-checks.
53901 * inet/tst-checks.c: New file.
53903 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53906 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53909 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53910 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53912 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53914 2011-12-02 Ulrich Drepper <drepper@gmail.com>
53916 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53919 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53921 2011-11-29 Joseph Myers <joseph@codesourcery.com>
53923 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53924 conditional on GCC version.
53925 (__arch_compare_and_exchange_val_8_acq)
53926 (__arch_compare_and_exchange_val_16_acq)
53927 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53928 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53929 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53931 2011-12-02 Joseph Myers <joseph@codesourcery.com>
53933 * sysdeps/sh/backtrace.c: New file.
53935 2011-12-02 Andreas Schwab <schwab@redhat.com>
53937 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53940 2011-12-01 Andreas Schwab <schwab@redhat.com>
53942 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53943 falling back to utime.
53945 2011-11-30 Andreas Schwab <schwab@redhat.com>
53947 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53948 expectations for float.
53950 2011-11-29 Andreas Schwab <schwab@redhat.com>
53952 * locale/weight.h (findidx): Add parameter len.
53953 * locale/weightwc.h (findidx): Likewise.
53954 * posix/fnmatch_loop.c (FCT): Adjust caller.
53955 * posix/regcomp.c (build_equiv_class): Likewise.
53956 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53957 * posix/regexec.c (check_node_accept_bytes): Likewise.
53958 * string/strcoll_l.c (STRCOLL): Likewise.
53959 * string/strxfrm_l.c (STRXFRM): Likewise.
53961 2011-11-17 Ulrich Drepper <drepper@gmail.com>
53963 * Makefile.in: Remove CVSOPT handling.
53964 * configure.in: Remove use of AC_REVISION.
53965 * iconvdata/Makefile (distribute): No need to filter out CVS.
53966 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53969 2011-11-16 Andreas Schwab <schwab@redhat.com>
53971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53972 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53973 [USE_AS_STRNCASECMP_L]: Likewise.
53974 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53975 NO_TLS_DIRECT_SEG_REFS.
53976 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53977 Fix argument offsets for non-PIC.
53978 [USE_AS_STRNCASECMP_L]: Likewise.
53979 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53980 NO_TLS_DIRECT_SEG_REFS.
53982 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53984 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53986 * locale/loadlocale.c (_nl_load_locale): Likewise.
53988 2011-11-15 Andreas Schwab <schwab@redhat.com>
53990 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53991 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53992 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53993 (SYSCALL_GETTIME): Set errno on error.
53995 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53996 count references to noai6ai_cached.
53998 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54000 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54002 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54003 FD_CLOEXEC for /proc/self/maps.
54005 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54006 FD_CLOEXEC for /proc/meminfo.
54008 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54011 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
54012 FD_CLOEXEC for given file.
54014 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54016 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54017 FD_CLOEXEC for /etc/hosts.
54018 (_gethtent): Likewise.
54020 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54022 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54023 cancellation and set FD_CLOEXEC for /etc/netgroup.
54025 * nss/nss_files/files-key.c (search): Don't allow cancellation when
54026 reading /etc/publickey.
54028 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54029 allow cancellation when reading /etc/group.
54031 * nss/nss_files/files-alias.c (internal_setent): Don't allow
54033 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
54035 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54036 when using data file.
54038 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54040 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54041 (write_nis_obj): Use "c" and "e" in fopen.
54043 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54045 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54047 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54049 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54051 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54054 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54056 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54058 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54060 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54061 file parsing and set FD_CLOEXEC.
54063 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54065 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54067 2011-11-14 Andreas Schwab <schwab@redhat.com>
54069 * malloc/arena.c (arena_get2): Don't call reused_arena when
54070 _int_new_arena failed.
54072 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54074 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54075 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54076 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54077 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54078 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54079 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54080 to compile strcasecmp and strncasecmp.
54081 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54082 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54086 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54088 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54089 locale-defines.sym to gen-as-const-headers.
54090 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54091 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54093 to compile strcasecmp and strncasecmp.
54094 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54095 strcasecmp_l and strncasecmp_l.
54096 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54097 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54098 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54099 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54100 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54101 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54102 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54103 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54104 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54105 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54106 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54108 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54110 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54111 result of SYSDEP_GETTIME_CPU to retval.
54112 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54113 parameter list to macro. Remove trailing semicolon. Adjust users.
54115 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54118 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54120 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54122 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54123 from unused variable.
54125 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54127 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54130 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54133 * sunrpc/rpc_prot.c (rejected): Fix case value.
54135 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54136 unsigned long long int to avoid warnings in shift.
54138 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54140 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54143 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54144 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54145 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54147 * nis/nis_table.c (nis_list): Use variable of correct type for
54148 result of __follow_path call.
54150 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54152 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54153 of math functions ceil, trunc, floor, round, and sqrt, when
54154 avaliable on the platform.
54155 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54157 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54158 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54159 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54161 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54163 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54164 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54166 2011-11-11 Roland McGrath <roland@hack.frob.com>
54168 * include/unistd.h: Fix __readlink return type.
54169 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54171 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54173 * stdlib/ucontext.h: Undo last change for makecontext.
54175 2011-11-11 Andreas Schwab <schwab@redhat.com>
54177 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54179 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54180 * setjmp/setjmp.h: Mark functions as non-leaf.
54181 * setjmp/bits/setjmp2.h: Likewise.
54182 * stdlib/ucontext.h: Likewise.
54184 2011-11-10 Andreas Schwab <schwab@redhat.com>
54186 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54187 (reused_arena): Don't check arena limit.
54188 (arena_get2): Atomically check arena limit.
54190 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54192 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54193 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54198 2011-11-07 Andreas Schwab <schwab@redhat.com>
54200 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54201 handler when locking.
54203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54204 Fix size of allocated buffer.
54206 2011-11-04 Andreas Schwab <schwab@redhat.com>
54209 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54210 declarations for long double functions.
54211 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54213 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54215 2011-11-03 Andreas Schwab <schwab@redhat.com>
54217 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54220 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54223 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54225 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54227 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54229 * include/alloca.h (stackinfo_alloca_round): Define.
54230 (extend_alloca): Use it.
54231 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54232 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54235 * scripts/check-local-headers.sh: Ignore libaudit.h.
54237 * nscd/Makefile (extra-objs): Make recursively expanded.
54239 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54241 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54244 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54245 * posix/tst-rfc3484-2.c: Likewise.
54246 * posix/tst-rfc3484-3.c: Likewise.
54248 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54250 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54252 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54253 process_vm_writev from libc using GLIBC_2.15 version.
54255 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54257 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54259 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54262 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54265 * nss/getent.c (initgroups_keys): Show error message in case no group
54268 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54269 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54270 __bump_nl_timestamp.
54271 * nscd/connections (nscd_init): When host database is served open
54272 netlink socket and request notification about configuration changes.
54273 (main_loop_poll): Track netlink file descriptor and bump timestamp
54274 in case data becomes available.
54275 (main_loop_epoll): Likewise.
54276 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54277 (database_pers_head): Add extra_data fileds.
54278 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54279 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54280 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54282 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54283 in6ai data, call __free_in6ai.
54284 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54285 Add -DHAVE_NETLINK.
54286 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54287 interface information. Reuse previous data if netlink timestamp
54289 (__bump_nl_timestamp): New function.
54290 (__free_in6ai): New function.
54292 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54295 close_not_cancel_no_status here.
54296 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54298 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54301 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54304 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54305 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54306 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54308 2011-07-03 Andreas Jaeger <aj@suse.de>
54311 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54312 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54313 * math/libm-test.inc (sin_test): Add test case.
54315 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54318 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54319 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54321 * elf/chroot_canon.c (chroot_canon): Cleanups.
54323 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54326 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54327 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54329 * string/test-strchr.c: Make usable for strchrnul testing.
54330 * string/test-strchrnul.c: New file.
54331 * string/Makefile (strop-tests): Add strchrnul.
54333 * po/it.po: Update from translation team.
54334 * po/es.po: Likewise.
54336 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54338 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54339 the three constants needed as parameters. Drop the others.
54340 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54341 __m128i_strloadu_tolower.
54342 Create and initialize variable zero and use it in all the places
54343 where _mm_setzero_si128 was used.
54345 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54346 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54347 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54348 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54350 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54351 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54352 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54353 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54354 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54355 __mpranred, __mptan.
54356 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54357 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54358 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54359 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54360 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54361 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54362 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54363 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54364 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54366 2011-10-28 Andreas Schwab <schwab@redhat.com>
54368 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54369 redefine if SHARED.
54370 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54373 wide char related routines to wcsmbs subdir.
54375 2011-10-27 Andreas Schwab <schwab@redhat.com>
54378 * misc/sys/cdefs.h (__THROWNL): Define.
54379 * posix/unistd.h: Use __THREADNL instead of __THREAD
54380 for memory synchronization functions.
54382 2011-10-26 Roland McGrath <roland@hack.frob.com>
54385 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54387 * manual/stdio.texi (Obstack Streams): Node removed.
54389 2011-10-26 Andreas Schwab <schwab@redhat.com>
54391 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54393 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54395 * math/math_private.h (math_force_eval): Allow non-addressable
54397 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54399 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54401 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54402 file is not needed.
54404 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54407 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54408 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54409 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54410 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54411 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54413 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54414 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54415 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54416 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54417 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54418 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54419 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54420 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54421 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54422 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54423 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54424 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54425 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54426 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54427 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54428 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54429 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54430 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54431 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54433 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54434 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54437 place. Use VEX encoding when compiling for AVX.
54439 2011-10-25 Andreas Schwab <schwab@redhat.com>
54441 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54442 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54444 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54446 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54448 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54449 useless if() expression.
54450 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54451 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54454 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54455 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54458 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54459 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54460 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54461 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54462 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54463 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54464 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54465 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54467 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54468 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54470 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54472 2011-10-25 Andreas Schwab <schwab@redhat.com>
54474 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54476 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54478 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54480 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54481 .text section. Avoid duplicate constants.
54482 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54486 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54490 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54491 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54492 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54493 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54494 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54495 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54496 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54497 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54498 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54499 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54500 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54502 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54503 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54504 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54505 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54506 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54507 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54508 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54509 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54510 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54511 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54512 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54513 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54514 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54515 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54516 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54517 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54518 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54519 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54520 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54521 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54522 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54524 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54525 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54526 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54528 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54530 * sysdeps/x86_64/dla.h: Move to ...
54531 * sysdeps/x86_64/fpu/dla.h: ...here.
54532 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54533 situations. Use __builtin_fma only for gcc 4.6 and up.
54535 * config.make.in: Add have-mfma4 entry.
54536 * configure.in: Substitute libc_cv_cc_fma4.
54537 * math/Makefile (dbl-only-routines): Add sincostab.
54538 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54539 Use __sincostab not sincos.
54540 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54542 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54547 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54548 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54549 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54550 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54553 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54555 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54556 define aliases when function name is a macro.
54557 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54558 sysdeps/ieee754/dbl-64/sincos.tbl.
54559 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54560 fma4-enabled routines.
54561 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54562 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54563 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54564 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54565 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54566 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54568 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54570 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54571 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54572 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54573 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54574 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54575 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54576 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54577 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54578 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54579 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54581 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54582 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54585 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54586 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54587 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54588 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54589 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54590 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54592 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54594 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54603 2011-10-24 Andreas Schwab <schwab@redhat.com>
54605 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54607 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54609 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54611 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54615 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54616 Remove unused variable magic_bits.
54617 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54619 * string/strnlen.c: Define and use STRNLEN macro.
54620 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54621 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54623 * wcsmbs/wcslen.c: Define and use WCSLEN.
54624 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54625 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54626 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54627 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54628 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54629 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54630 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54632 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54635 strnlen-sse2-no-bsf.
54636 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54637 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54638 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54639 Add strnlen support.
54640 (USE_AS_STRNLEN): New macro.
54641 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54642 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54643 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54644 * sysdeps/x86_64/wcslen.S: New file.
54646 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54648 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54649 XMM-moves are used for copying on small sizes.
54651 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54653 * wcsmbs/Makefile (strop-tests): Add wcschr.
54654 * wcsmbs/test-wcschr.c: New file.
54655 * string/test-strchr.c: Update.
54656 Add wcschr support.
54659 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54661 * wcsmbs/Makefile (strop-tests): Add wcslen.
54662 * wcsmbs/test-wcslen.c: New file.
54663 * string/test-strlen.c: Update.
54664 Add wcslen support.
54667 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54669 * po/it.po: Update from translation team.
54671 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54673 * sysdeps/x86_64/wcscmp.S: Update.
54674 Fix wrong comparison semantics.
54675 wcscmp shall use signed comparison not unsigned.
54676 Don't use substraction to avoid overflow bug.
54677 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54678 * wcsmbc/wcscmp.c: Likewise.
54679 * string/test-strcmp.c: Likewise.
54680 Add new tests to check cases with negative values.
54682 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54684 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54685 * sysdeps/x86_64/dla.h: ...here. New file.
54686 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54696 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54699 __ynl_finite aliases.
54701 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54705 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54707 [DLA_FMA] (EMULV): Use DLA_FMA.
54708 [DLA_FMA] (MUL12): Use EMULV.
54709 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54710 that are not needed.
54711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54719 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54721 * math/s_nan.c: Undef __nan.
54722 * math/s_nanf.c: Undef __nanf.
54723 * math/s_nanl.c: Undef __nanl.
54724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54727 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54729 * math/s_catan.c: Add branch predictions.
54730 * math/s_catanf.c: Likewise.
54731 * math/s_catanh.c: Likewise.
54732 * math/s_catanhf.c: Likewise.
54733 * math/s_catanhl.c: Likewise.
54734 * math/s_catanl.c: Likewise.
54735 * math/s_cexp.c: Likewise.
54736 * math/s_cexpf.c: Likewise.
54737 * math/s_cexpl.c: Likewise.
54738 * math/s_clog.c: Likewise.
54739 * math/s_clog10.c: Likewise.
54740 * math/s_clog10f.c: Likewise.
54741 * math/s_clog10l.c: Likewise.
54742 * math/s_clogf.c: Likewise.
54743 * math/s_clogl.c: Likewise.
54744 * math/s_csqrt.c: Likewise.
54745 * math/s_csqrtf.c: Likewise.
54746 * math/s_csqrtl.c: Likewise.
54747 * math/s_ctanf.c: Likewise.
54748 * math/s_ctanh.c: Likewise.
54749 * math/s_ctanhf.c: Likewise.
54750 * math/s_ctanhl.c: Likewise.
54751 * math/s_ctanl.c: Likewise.
54753 * math/math_private.h: Define __nan, __nanf, __nanl.
54754 * math/s_cacosh.c: Include <math_private.h>.
54755 * math/s_cacoshl.c: Likewise.
54756 * math/s_casinh.c: Likewise.
54757 * math/s_casinhf.c: Likewise.
54758 * math/s_casinhl.c: Likewise.
54759 * math/s_ccos.c: Rely entire on ccosh.
54760 * math/s_ccosf.c: Rely entire on ccoshf.
54761 * math/s_ccosl.c: Rely entirely on ccoshl.
54762 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54763 Remove tests for FE_INVALID.
54764 * math/s_ccoshf.c: Likewise.
54765 * math/s_ccoshl.c: Likewise.
54766 * math/s_csin.c: Likewise.
54767 * math/s_csinf.c: Likewise.
54768 * math/s_csinh.c Likewise.
54769 * math/s_csinhf.c: Likewise.
54770 * math/s_csinhl.c: Likewise.
54771 * math/s_csinl.c: Likewise.
54772 * math/s_ctan.c: Likewise.
54773 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54774 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54777 2011-10-21 Ulrich Drepper <drepper@gmail.com>
54779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54780 compilation problems.
54782 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54785 2011-10-20 Ulrich Drepper <drepper@gmail.com>
54787 * sysdeps/i386/configure.in: Test for -mfma4 option.
54788 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54789 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54790 COMMON_CPUID_INDEX_80000001.
54791 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54792 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54793 use it if FMA3 is not supported.
54794 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54796 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54797 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54799 2011-10-20 Andreas Schwab <schwab@redhat.com>
54802 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54803 it would create a cycle with a link time dependency.
54805 2011-10-19 Ulrich Drepper <drepper@gmail.com>
54807 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54809 * string/Makefile (strop-tests): Add rawmemchr.
54810 * string/test-rawmemchr.c: New file.
54812 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54814 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54815 when compiling str{,n}casecmp and when AVX is available. Hook up
54816 new optimized code in initializers.
54818 2011-10-19 Andreas Schwab <schwab@redhat.com>
54820 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54821 __feraiseexcept instead of feraiseexcept.
54823 2011-10-18 Ulrich Drepper <drepper@gmail.com>
54825 * math/math_private.h: Define defaults for libc_fetestexcept and
54827 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54828 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54829 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54830 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54831 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54832 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54833 libc_fetestexcept and libc_feupdateenv.
54835 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54836 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54837 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54838 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54839 libc_feholdexcept_setround.
54841 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54842 Add s_nearbyint-c and s_nearbyintf-c.
54843 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54844 nearbyintf inlines.
54845 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54846 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54847 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54848 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54850 * math/math_private.h: Define defaults for libc_fegetround,
54851 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54852 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54853 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54854 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54855 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54856 standard functions.
54857 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54858 Remove comments and hacks for old compiler versions.
54859 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54860 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54861 libc_feholdexceptl.
54863 2011-10-18 Andreas Schwab <schwab@redhat.com>
54865 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54866 (__feraiseexcept_renamed): Add __NTH.
54867 (feraiseexcept): Add __NTH. Rename local variables to fix
54868 namespace violations.
54870 2011-10-17 Ulrich Drepper <drepper@gmail.com>
54872 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54874 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54876 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54877 recently added interfaces.
54878 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54880 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54881 about macro parameter expansion.
54883 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54884 __NO_MATH_INLINES is defined. Cleanups.
54886 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54887 and __floorf is target has SSE4.1.
54888 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54889 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54890 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54891 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54893 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54895 (floorf): Likewise.
54897 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54899 2011-10-17 Andreas Schwab <schwab@redhat.com>
54901 * misc/sys/cdefs.h: Fix last change.
54903 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54906 2011-10-16 Ulrich Drepper <drepper@gmail.com>
54908 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54910 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54912 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54913 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54915 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54917 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54918 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54919 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54920 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54921 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54922 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54923 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54924 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54925 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54926 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54927 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54928 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54929 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54930 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54931 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54933 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54934 ceil, ceilf, floor, floorf.
54936 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54937 Perform IRELATIVE relocations last.
54939 * elf/do-rel.h: Add another parameter nrelative, replacing the
54940 local variable with the same name. Change name of the function
54941 to end in Rel or Rela (uppercase).
54942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54943 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54944 elf_dynamic_do_##reloc function.
54946 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54948 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54949 is sufficient, at least on modern CPUs.
54951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54953 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54954 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54956 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54958 * math/bits/math-finite.h: Add entries for exp.
54959 * math/e_expl.c: Add __*_finite alias.
54960 * sysdeps/i386/fpu/e_exp.S: Likewise.
54961 * sysdeps/i386/fpu/e_expf.S: Likewise.
54962 * sysdeps/i386/fpu/e_expl.c: Likewise.
54963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54964 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54965 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54967 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54968 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54969 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54971 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54972 is sufficient, at least on modern CPUs.
54974 * ctype/ctype-info.c (__ctype_init): Define.
54975 * include/ctype.h (__ctype_init): Declare.
54976 (__ctype_b_loc): The variable is always initialized.
54977 (__ctype_toupper_loc): Likewise.
54978 (__ctype_tolower_loc): Likewise.
54979 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54980 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54982 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54984 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54986 * configure.in: Also look in $cxxmachine/include for C++ system
54989 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54991 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54992 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54993 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54994 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54996 (USE_AS_WMEMCMP): New macro.
54998 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54999 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55000 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55001 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55003 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55004 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55005 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55006 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55007 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55008 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55009 (USE_AS_WMEMCMP): New macro.
55010 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55011 * sysdeps/string/test-memcmp.c: Update.
55012 Fix simple_wmemcmp.
55014 * wcsmbs/wmemcmp.c: Update.
55015 (WMEMCMP): New macro.
55018 2011-10-12 Andreas Jaeger <aj@suse.de>
55021 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55023 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55025 * libio/iofwide.c (do_length): Avoid warning.
55027 * ctype/ctype.h (__isctype_f): Add missing __THROW.
55029 2011-10-14 Ulrich Drepper <drepper@gmail.com>
55031 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55033 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55034 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55035 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55036 * sysdeps/i386/i686/fpu/e_log.S: New file.
55037 * sysdeps/i386/i686/fpu/e_logf.S: New file.
55038 * sysdeps/i386/i686/fpu/e_logl.S: New file.
55040 * ctype/ctype.h: Add support for inlined isXXX functions when
55041 compiling C++ code.
55043 2011-10-14 Andreas Schwab <schwab@redhat.com>
55045 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55047 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55049 2011-10-13 Roland McGrath <roland@hack.frob.com>
55052 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55054 2011-10-13 Andreas Schwab <schwab@redhat.com>
55056 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55057 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55060 * sysdeps/x86_64/memrchr.S: Check for zero size.
55062 * string/stratcliff.c: Add memrchr tests.
55064 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55067 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55068 rawmemchr-sse2 rawmemchr-sse2-bsf.
55069 * sysdeps/i386/i686/multiarch/memchr.S: New file.
55070 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55071 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55072 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55073 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55074 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55075 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55076 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55077 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55078 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55079 * string/memrchr.c (MEMRCHR): New macro.
55081 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55083 Add integration with gcc's -ffinite-math-only and optimize wrapper
55085 * Versions.def: Define GLIBC_2.15 version for libm.
55086 * math/Makefile (headers): Add bits/math-finite.h.
55087 * math/bits/math-finite.h: New file.
55088 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55089 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55090 * math/e_acoshl.c: Add __*_finite alias.
55091 * math/e_acosl.c: Likewise.
55092 * math/e_asinl.c: Likewise.
55093 * math/e_atan2l.c: Likewise.
55094 * math/e_atanhl.c: Likewise.
55095 * math/e_coshl.c: Likewise.
55096 * math/e_exp10.c: Likewise.
55097 * math/e_exp10f.c: Likewise.
55098 * math/e_exp10l.c: Likewise.
55099 * math/e_exp2l.c: Likewise.
55100 * math/e_fmodl.c: Likewise.
55101 * math/e_gammal_r.c: Likewise.
55102 * math/e_hypotl.c: Likewise.
55103 * math/e_j0l.c: Likewise.
55104 * math/e_j1l.c: Likewise.
55105 * math/e_jnl.c: Likewise.
55106 * math/e_lgammal_r.c: Likewise.
55107 * math/e_log10l.c: Likewise.
55108 * math/e_log2l.c: Likewise.
55109 * math/e_logl.c: Likewise.
55110 * math/e_powl.c: Likewise.
55111 * math/e_sinhl.c: Likewise.
55112 * math/e_sqrtl.c: Likewise.
55113 * math/e_scalb.c: Completely rewritten and optimized.
55114 * math/e_scalbf.c: Likewise.
55115 * math/e_scalbl.c: Likewise.
55116 * math/w_acos.c: Likewise.
55117 * math/w_acosf.c: Likewise.
55118 * math/w_acosl.c: Likewise.
55119 * math/w_acosh.c: Likewise.
55120 * math/w_acoshf.c: Likewise.
55121 * math/w_acoshl.c: Likewise.
55122 * math/w_asin.c: Likewise.
55123 * math/w_asinf.c: Likewise.
55124 * math/w_asinl.c: Likewise.
55125 * math/w_atan2.c: Likewise.
55126 * math/w_atan2f.c: Likewise.
55127 * math/w_atan2l.c: Likewise.
55128 * math/w_atanh.c: Likewise.
55129 * math/w_atanhf.c: Likewise.
55130 * math/w_atanhl.c: Likewise.
55131 * math/w_exp10.c: Likewise.
55132 * math/w_exp10f.c: Likewise.
55133 * math/w_exp10l.c: Likewise.
55134 * math/w_fmod.c: Likewise.
55135 * math/w_fmodf.c: Likewise.
55136 * math/w_fmodl.c: Likewise.
55137 * math/w_j0.c: Likewise.
55138 * math/w_j0f.c: Likewise.
55139 * math/w_j0l.c: Likewise.
55140 * math/w_j1.c: Likewise.
55141 * math/w_j1f.c: Likewise.
55142 * math/w_j1l.c: Likewise.
55143 * math/w_jn.c: Likewise.
55144 * math/w_jnf.c: Likewise.
55145 * math/w_log.c: Likewise.
55146 * math/w_logf.c: Likewise.
55147 * math/w_logl.c: Likewise.
55148 * math/w_log10.c: Likewise.
55149 * math/w_log10f.c: Likewise.
55150 * math/w_log10l.c: Likewise.
55151 * math/w_log2.c: Likewise.
55152 * math/w_log2f.c: Likewise.
55153 * math/w_log2l.c: Likewise.
55154 * math/w_pow.c: Likewise.
55155 * math/w_powf.c: Likewise.
55156 * math/w_powl.c: Likewise.
55157 * math/w_remainder.c: Likewise.
55158 * math/w_remainderf.c: Likewise.
55159 * math/w_remainderl.c: Likewise.
55160 * math/w_scalb.c: Likewise.
55161 * math/w_scalbf.c: Likewise.
55162 * math/w_scalbl.c: Likewise.
55163 * math/w_sqrt.c: Likewise.
55164 * math/w_sqrtf.c: Likewise.
55165 * math/w_sqrtl.c: Likewise.
55166 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55167 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55169 * math/math_private.h: Declare __kernel_standard_f.
55170 * math/w_cosh.c: Remove cruft and optimize a bit.
55171 * math/w_coshf.c: Likewise.
55172 * math/w_coshl.c: Likewise.
55173 * math/w_exp2.c: Likewise.
55174 * math/w_exp2f.c: Likewise.
55175 * math/w_exp2l.c: Likewise.
55176 * math/w_hypot.c: Likewise.
55177 * math/w_hypotf.c: Likewise.
55178 * math/w_hypotl.c: Likewise.
55179 * math/w_lgamma.c: Likewise.
55180 * math/w_lgamma_r.c: Likewise.
55181 * math/w_lgammaf.c: Likewise.
55182 * math/w_lgammaf_r.c: Likewise.
55183 * math/w_lgammal.c: Likewise.
55184 * math/w_lgammal_r.c: Likewise.
55185 * math/w_sinh.c: Likewise.
55186 * math/w_sinhf.c: Likewise.
55187 * math/w_sinhl.c: Likewise.
55188 * math/w_tgamma.c: Likewise.
55189 * math/w_tgammaf.c: Likewise.
55190 * math/w_tgammal.c: Likewise.
55191 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55193 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55194 Minor optimizations. Pretty printing. Remove cruft.
55195 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55196 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55197 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55198 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55199 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55200 * sysdeps/i386/fpu/e_asin.S: Likewise.
55201 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55202 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55203 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55204 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55205 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55206 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55207 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55208 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55209 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55210 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55211 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55212 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55213 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55214 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55215 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55216 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55217 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55218 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55219 * sysdeps/i386/fpu/e_log.S: Likewise.
55220 * sysdeps/i386/fpu/e_log10.S: Likewise.
55221 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55222 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55223 * sysdeps/i386/fpu/e_log2.S: Likewise.
55224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55225 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55226 * sysdeps/i386/fpu/e_logf.S: Likewise.
55227 * sysdeps/i386/fpu/e_logl.S: Likewise.
55228 * sysdeps/i386/fpu/e_pow.S: Likewise.
55229 * sysdeps/i386/fpu/e_powf.S: Likewise.
55230 * sysdeps/i386/fpu/e_powl.S: Likewise.
55231 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55232 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55233 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55235 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55236 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55237 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55238 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55239 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55240 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55241 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55243 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55244 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55245 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55246 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55247 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55248 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55249 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55250 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55251 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55253 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55254 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55255 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55256 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55257 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55260 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55261 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55262 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55263 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55264 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55265 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55266 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55267 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55268 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55269 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55270 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55271 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55272 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55273 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55274 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55275 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55276 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55277 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55278 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55279 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55280 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55281 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55282 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55283 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55285 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55287 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55288 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55289 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55290 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55291 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55292 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55293 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55294 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55295 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55296 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55297 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55298 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55299 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55300 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55301 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55304 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55305 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55306 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55307 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55308 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55309 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55310 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55311 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55312 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55314 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55316 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55317 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55318 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55319 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55320 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55321 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55322 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55323 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55324 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55325 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55326 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55327 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55328 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55329 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55330 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55331 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55332 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55333 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55334 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55335 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55336 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55337 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55338 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55339 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55340 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55341 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55342 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55343 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55344 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55345 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55346 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55348 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55349 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55350 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55351 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55352 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55353 (__isnanf): Likewise.
55354 (__isinf_ns): Likewise.
55355 (__isinf_nsf): Likewise.
55356 (__finite): Likewise.
55357 (__finitef): Likewise.
55358 (__ieee754_sqrt): Define as macro.
55359 (__ieee754_sqrtf): Define as macro.
55360 (__ieee754_sqrtl): Define as macro.
55361 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55363 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55364 __FINITE_MATH_ONLY__ consistent.
55365 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55367 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55369 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55372 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55374 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55376 * po/ja.po: Update from translation team.
55378 2011-10-08 Roland McGrath <roland@hack.frob.com>
55380 * locale/programs/locarchive.c (prepare_address_space): New function.
55381 (create_archive, enlarge_archive, open_archive): Use it.
55383 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55384 inside [SHARED], where it is used.
55386 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55388 * nss/getent.c (netgroup_keys): Remove unused variable.
55389 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55391 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55393 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55394 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55396 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55397 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55398 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55399 * math/Makefile (libm-calls): Add s_isinf_ns.
55400 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55401 * math/multc3.c: Likewise.
55402 * math/s_casin.c: Likewise.
55403 * math/s_casinf.c: Likewise.
55404 * math/s_casinl.c: Likewise.
55405 * math/s_ccos.c: Likewise.
55406 * math/s_ccosf.c: Likewise.
55407 * math/s_ccosl.c: Likewise.
55408 * math/s_ctan.c: Likewise.
55409 * math/s_ctanf.c: Likewise.
55410 * math/s_ctanh.c: Likewise.
55411 * math/s_ctanhf.c: Likewise.
55412 * math/s_ctanhl.c: Likewise.
55413 * math/s_ctanl.c: Likewise.
55414 * math/w_fmod.c: Likewise.
55415 * math/w_fmodf.c: Likewise.
55416 * math/w_fmodl.c: Likewise.
55417 * math/w_remainder.c: Likewise.
55418 * math/w_remainderf.c: Likewise.
55419 * math/w_remainderl.c: Likewise.
55420 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55421 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55424 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55425 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55426 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55427 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55429 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55431 * stdio-common/printf_fphex.c: Likewise.
55432 * stdio-common/printf_size.c: Likewise.
55434 * math/e_exp10.c: Include math_private.h using <...> not "...".
55435 * math/e_exp10f.c: Likewise.
55436 * math/e_exp10l.c: Likewise.
55437 * math/e_exp2l.c: Likewise.
55438 * math/e_j0l.c: Likewise.
55439 * math/e_j1l.c: Likewise.
55440 * math/e_jnl.c: Likewise.
55441 * math/e_lgammal_r.c: Likewise.
55442 * math/e_rem_pio2l.c: Likewise.
55443 * math/e_scalb.c: Likewise.
55444 * math/e_scalbf.c: Likewise.
55445 * math/e_scalbl.c: Likewise.
55446 * math/k_cosl.c: Likewise.
55447 * math/k_sinl.c: Likewise.
55448 * math/k_tanl.c: Likewise.
55449 * math/s_cacoshf.c: Likewise.
55450 * math/s_catan.c: Likewise.
55451 * math/s_catanf.c: Likewise.
55452 * math/s_catanh.c: Likewise.
55453 * math/s_catanhf.c: Likewise.
55454 * math/s_catanhl.c: Likewise.
55455 * math/s_catanl.c: Likewise.
55456 * math/s_ccosh.c: Likewise.
55457 * math/s_ccoshf.c: Likewise.
55458 * math/s_ccoshl.c: Likewise.
55459 * math/s_cexp.c: Likewise.
55460 * math/s_cexpf.c: Likewise.
55461 * math/s_cexpl.c: Likewise.
55462 * math/s_clog.c: Likewise.
55463 * math/s_clog10.c: Likewise.
55464 * math/s_clog10f.c: Likewise.
55465 * math/s_clog10l.c: Likewise.
55466 * math/s_clogf.c: Likewise.
55467 * math/s_clogl.c: Likewise.
55468 * math/s_csin.c: Likewise.
55469 * math/s_csinf.c: Likewise.
55470 * math/s_csinh.c: Likewise.
55471 * math/s_csinhf.c: Likewise.
55472 * math/s_csinhl.c: Likewise.
55473 * math/s_csinl.c: Likewise.
55474 * math/s_csqrt.c: Likewise.
55475 * math/s_csqrtf.c: Likewise.
55476 * math/s_csqrtl.c: Likewise.
55477 * math/s_ctan.c: Likewise.
55478 * math/s_ctanf.c: Likewise.
55479 * math/s_ctanh.c: Likewise.
55480 * math/s_ctanhf.c: Likewise.
55481 * math/s_ctanhl.c: Likewise.
55482 * math/s_ctanl.c: Likewise.
55483 * math/s_ldexp.c: Likewise.
55484 * math/s_ldexpf.c: Likewise.
55485 * math/s_ldexpl.c: Likewise.
55486 * math/s_significand.c: Likewise.
55487 * math/s_significandf.c: Likewise.
55488 * math/s_significandl.c: Likewise.
55489 * math/w_acos.c: Likewise.
55490 * math/w_acosf.c: Likewise.
55491 * math/w_acosh.c: Likewise.
55492 * math/w_acoshf.c: Likewise.
55493 * math/w_acoshl.c: Likewise.
55494 * math/w_acosl.c: Likewise.
55495 * math/w_asin.c: Likewise.
55496 * math/w_asinf.c: Likewise.
55497 * math/w_asinl.c: Likewise.
55498 * math/w_atan2.c: Likewise.
55499 * math/w_atan2f.c: Likewise.
55500 * math/w_atan2l.c: Likewise.
55501 * math/w_atanh.c: Likewise.
55502 * math/w_atanhf.c: Likewise.
55503 * math/w_atanhl.c: Likewise.
55504 * math/w_cosh.c: Likewise.
55505 * math/w_coshf.c: Likewise.
55506 * math/w_coshl.c: Likewise.
55507 * math/w_dremf.c: Likewise.
55508 * math/w_exp10.c: Likewise.
55509 * math/w_exp10f.c: Likewise.
55510 * math/w_exp10l.c: Likewise.
55511 * math/w_exp2.c: Likewise.
55512 * math/w_exp2f.c: Likewise.
55513 * math/w_fmod.c: Likewise.
55514 * math/w_fmodf.c: Likewise.
55515 * math/w_fmodl.c: Likewise.
55516 * math/w_hypot.c: Likewise.
55517 * math/w_hypotf.c: Likewise.
55518 * math/w_hypotl.c: Likewise.
55519 * math/w_j0.c: Likewise.
55520 * math/w_j0f.c: Likewise.
55521 * math/w_j0l.c: Likewise.
55522 * math/w_j1.c: Likewise.
55523 * math/w_j1f.c: Likewise.
55524 * math/w_j1l.c: Likewise.
55525 * math/w_jn.c: Likewise.
55526 * math/w_jnf.c: Likewise.
55527 * math/w_jnl.c: Likewise.
55528 * math/w_lgamma.c: Likewise.
55529 * math/w_lgamma_r.c: Likewise.
55530 * math/w_lgammaf.c: Likewise.
55531 * math/w_lgammaf_r.c: Likewise.
55532 * math/w_lgammal.c: Likewise.
55533 * math/w_lgammal_r.c: Likewise.
55534 * math/w_log.c: Likewise.
55535 * math/w_log10.c: Likewise.
55536 * math/w_log10f.c: Likewise.
55537 * math/w_log10l.c: Likewise.
55538 * math/w_log2.c: Likewise.
55539 * math/w_log2f.c: Likewise.
55540 * math/w_log2l.c: Likewise.
55541 * math/w_logf.c: Likewise.
55542 * math/w_logl.c: Likewise.
55543 * math/w_pow.c: Likewise.
55544 * math/w_powf.c: Likewise.
55545 * math/w_powl.c: Likewise.
55546 * math/w_remainder.c: Likewise.
55547 * math/w_remainderf.c: Likewise.
55548 * math/w_remainderl.c: Likewise.
55549 * math/w_scalb.c: Likewise.
55550 * math/w_scalbf.c: Likewise.
55551 * math/w_scalbl.c: Likewise.
55552 * math/w_sinh.c: Likewise.
55553 * math/w_sinhf.c: Likewise.
55554 * math/w_sinhl.c: Likewise.
55555 * math/w_sqrt.c: Likewise.
55556 * math/w_sqrtf.c: Likewise.
55557 * math/w_sqrtl.c: Likewise.
55558 * math/w_tgamma.c: Likewise.
55559 * math/w_tgammaf.c: Likewise.
55560 * math/w_tgammal.c: Likewise.
55562 * po/ja.po: Update from translation team.
55564 2011-09-29 Andreas Jaeger <aj@suse.de>
55567 * sunrpc/netname.c (netname2host): Fix logic.
55571 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55573 * math/w_remainder.c (__remainder): Likewise.
55574 * math/w_remainderf.c (__remainderf): Likewise.
55575 * math/libm-test.inc (remainder_test): Add test cases.
55577 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55579 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55582 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55584 * string/test-memcmp.c: Avoid unncessary #defines.
55585 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55587 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55589 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55590 Use new sse2 version for core i3 - i7 as it's faster
55591 than sse42 version.
55592 (bit_Prefer_PMINUB_for_stringop): New.
55593 * sysdeps/x86_64/rawmemchr.S: Update.
55594 Replace with faster SSE2 version.
55595 * sysdeps/x86_64/memrchr.S: New file.
55596 * sysdeps/x86_64/memchr.S: Update.
55597 Replace with faster SSE2 version.
55599 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55601 * elf/dl-load.c (lose): Add cast to avoid warning.
55603 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55605 * po/ca.po: Update from translation team.
55607 * inet/getnetgrent_r.c: Hook up nscd.
55608 * nscd/Makefile (routines): Add nscd_netgroup.
55609 (nscd-modules): Add netgroupcache.
55610 (CFLAGS-netgroupcache.c): Define.
55611 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55612 (cache_search): Add const to second parameter.
55613 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55615 (dbs): Add netgrdb entry.
55616 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55617 (verify_persistent_db): Handle netgrdb.
55618 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55619 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55621 (netgroup_response_header): Define.
55622 (innetgroup_response_header): Define.
55623 (datahead): Add netgroup_response_header and innetgroup_response_header
55625 * nscd/nscd.conf: Add entries for netgroup cache.
55626 * nscd/nscd.h (dbtype): Add netgrdb.
55627 (_PATH_NSCD_NETGROUP_DB): Define.
55628 (netgroup_iov_disabled): Declare.
55629 (xmalloc, xcalloc, xrealloc): Move declarations here.
55630 (cache_search): Adjust prototype.
55631 Add netgroup-related prototypes.
55632 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55633 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55634 (__nscd_innetgr): Declare.
55635 * nscd/selinux.c (perms): Use access_vector_t as element type and
55636 add netgroup-related initializers.
55637 * nscd/netgroupcache.c: New file.
55638 * nscd/nscd_netgroup.c: New file.
55639 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55640 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55641 For four parameters use innetgr.
55642 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55643 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55644 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55645 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55647 * nscd/connections.c (register_traced_file): Don't register file
55648 for disabled databases.
55650 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55652 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55654 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55655 from tree and freeing node.
55657 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55659 * nss/nsswitch.c (__nss_database_lookup): Handle
55660 nss_parse_service_list out of memory case.
55662 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55664 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55665 out of memory case.
55667 2011-10-04 Andreas Schwab <schwab@redhat.com>
55669 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55670 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55672 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55673 elf_machine_rela, elf_machine_lazy_rel.
55674 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55675 (ELF_DYNAMIC_DO_REL): Likewise.
55676 (ELF_DYNAMIC_DO_RELA): Likewise.
55677 (ELF_DYNAMIC_RELOCATE): Likewise.
55678 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55679 to ELF_DYNAMIC_DO_REL.
55680 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55681 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55682 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55685 skip_ifunc, don't call ifunc function if non-zero.
55686 (elf_machine_rela): Likewise.
55687 (elf_machine_lazy_rel): Likewise.
55688 (elf_machine_lazy_rela): Likewise.
55689 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55690 (elf_machine_lazy_rel): Likewise.
55691 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55693 (elf_machine_lazy_rel): Likewise.
55694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55696 (elf_machine_lazy_rel): Likewise.
55697 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55698 (elf_machine_lazy_rel): Likewise.
55699 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55700 (elf_machine_lazy_rel): Likewise.
55701 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55702 (elf_machine_lazy_rel): Likewise.
55703 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55704 (elf_machine_lazy_rel): Likewise.
55705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55706 (elf_machine_lazy_rel): Likewise.
55707 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55708 (elf_machine_lazy_rel): Likewise.
55710 2011-09-28 Ulrich Drepper <drepper@gmail.com>
55712 * nss/nss_files/files-init.c (_nss_files_init): Use static
55713 initialization for all the *_traced_file variables.
55715 2011-09-28 Andreas Schwab <schwab@redhat.com>
55717 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55719 2011-09-27 Roland McGrath <roland@hack.frob.com>
55722 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55724 2011-09-27 Andreas Schwab <schwab@redhat.com>
55726 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55727 Reread the line before reparsing it.
55729 2011-09-26 Andreas Schwab <schwab@redhat.com>
55731 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55733 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55734 Maxim Kuvyrkov <maxim@codesourcery.com>
55735 Joseph Myers <joseph@codesourcery.com>
55737 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55738 if needed for __stack_chk_guard.
55740 2011-09-19 Roland McGrath <roland@hack.frob.com>
55742 * sysdeps/posix/spawni.c (script_execute): Always define it.
55743 It will be optimized away if unused.
55744 (maybe_script_execute): New function.
55745 (__spawni): Call it.
55747 * Makerules: Don't include tls.make.
55748 (config-tls): Always set to thread.
55749 * tls.make.c: File removed.
55751 2011-09-19 Mike Frysinger <vapier@gentoo.org>
55753 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55754 * config.make.in (CPPFLAGS-config): New substituted variable.
55756 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55758 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55761 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55762 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55764 2011-09-15 Roland McGrath <roland@hack.frob.com>
55766 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55767 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55769 (CALL_FAIL): Likewise.
55770 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55771 (CALL_FAIL): Macro removed.
55772 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55774 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55776 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55777 for __FINITE_MATH_ONLY__ == 1.
55779 2011-09-15 Andreas Schwab <schwab@redhat.com>
55781 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55782 __ieee754_sqrt instead of sqrt.
55783 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55784 __ieee754_sqrtf instead of sqrtf.
55785 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55786 __floorf instead of floorf.
55787 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55788 __floorf, __truncf instead of floorf, truncf.
55790 2011-09-14 Ulrich Drepper <drepper@gmail.com>
55792 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55794 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55795 __extern_always_inline.
55796 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55799 2011-09-14 Andreas Schwab <schwab@redhat.com>
55801 * elf/rtld.c (dl_main): Also relocate in dependency order when
55802 doing symbol dependency testing.
55804 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55807 Always define `refsym'.
55809 2011-09-13 Andreas Schwab <schwab@redhat.com>
55811 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55812 (__FD_ELT): Renamed from __FDELT.
55813 * misc/bits/select2.h (__FD_ELT): Likewise.
55814 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55815 __FD_MASK instead of __FDELT, __FDMASK.
55816 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55818 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55821 * elf/Makefile (gen-ldd): Fix pattern.
55823 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55824 (init_tls): Likewise.
55826 2011-09-12 Ulrich Drepper <drepper@gmail.com>
55828 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55830 2011-09-12 Andreas Schwab <schwab@redhat.com>
55832 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55833 `struct cmsghdr *' instead of `void *'.
55834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55837 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55839 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55841 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55842 ldd_rewrite_script.
55844 2011-09-11 Ulrich Drepper <drepper@gmail.com>
55846 * configure.in: Remove --with-tls option.
55847 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55848 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55849 out in case it is missing.
55850 * sysdeps/ia64/elf/configure.in: Likewise.
55851 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55852 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55853 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55854 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55855 * sysdeps/sh/elf/configure.in: Likewise.
55856 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55857 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55858 * sysdeps/x86_64/elf/configure.in: Likewise.
55859 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55860 * sysdeps/mach/hurd/tls.h: Likewise.
55863 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55866 * configure.in: Fix use of AC_INIT.
55868 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55870 2011-09-10 Ulrich Drepper <drepper@gmail.com>
55872 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55874 * malloc/hooks.c: Likewise.
55877 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55878 variables statically.
55879 (narenas): Initialize.
55880 (list_lock): Initialize.
55881 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55882 initializtion of main_arena and list_lock. Small cleanups.
55883 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55884 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55885 Add initializers to main_arena and mp_.
55886 (malloc_state): Remove pagesize member. Change all users to use
55889 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55890 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55891 is always initialized.
55893 * malloc/malloc.c: Removed unused configurations and dead code.
55894 * malloc/arena.c: Likewise.
55895 * malloc/hooks.c: Likewise.
55896 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55898 * include/tls.h: Removed. USE___THREAD must always be defined.
55899 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55900 * elf/dl-libc.c: Likewise.
55901 * elf/dl-tsd.c: Likewise.
55902 * include/errno.h: Likewise.
55903 * include/netdb.h: Likewise.
55904 * include/resolv.h: Likewise.
55905 * inet/herrno-loc.c: Likewise.
55906 * inet/herrno.c: Likewise.
55907 * malloc/arena.c: Likewise.
55908 * malloc/hooks.c: Likewise.
55909 * malloc/malloc.c: Likewise.
55910 * resolv/res-state.c: Likewise.
55911 * resolv/res_libc.c: Likewise.
55912 * sysdeps/i386/dl-machine.h: Likewise.
55913 * sysdeps/ia64/dl-machine.h: Likewise.
55914 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55915 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55916 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55917 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55918 * sysdeps/sh/dl-machine.h: Likewise.
55919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55920 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55921 * sysdeps/unix/i386/sysdep.S: Likewise.
55922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55923 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55924 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55925 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55926 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55927 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55928 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55932 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55933 * sysdeps/x86_64/dl-machine.h: Likewise.
55934 * tls.make.c: Likewise.
55936 * configure.in: Remove --with-__thread option. Make tests for
55937 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55938 tls_model attribute fail if no support is available. Remove
55940 * Makeconfig: Adjust for dropped configure option. All features are
55942 * Makerules: Likewise.
55943 * Versions.def: Likewise.
55944 * argp/argp-fmtstream.c: Likewise.
55945 * argp/argp-fmtstream.h: Likewise.
55946 * argp/argp-help.c: Likewise.
55947 * assert/assert.c: Likewise.
55948 * config.h.in: Likewise.
55949 * config.make.in: Likewise.
55950 * configure: Likewise.
55951 * configure.in: Likewise.
55952 * csu/Versions: Likewise.
55953 * csu/init.c: Likewise.
55954 * elf/tst-audit2.c: Likewise.
55955 * elf/tst-tls10.c: Likewise.
55956 * elf/tst-tls10.h: Likewise.
55957 * elf/tst-tls11.c: Likewise.
55958 * elf/tst-tls12.c: Likewise.
55959 * elf/tst-tls14.c: Likewise.
55960 * elf/tst-tlsmod11.c: Likewise.
55961 * elf/tst-tlsmod12.c: Likewise.
55962 * elf/tst-tlsmod13.c: Likewise.
55963 * elf/tst-tlsmod13a.c: Likewise.
55964 * elf/tst-tlsmod14a.c: Likewise.
55965 * elf/tst-tlsmod15b.c: Likewise.
55966 * elf/tst-tlsmod16a.c: Likewise.
55967 * elf/tst-tlsmod16b.c: Likewise.
55968 * elf/tst-tlsmod7.c: Likewise.
55969 * elf/tst-tlsmod8.c: Likewise.
55970 * elf/tst-tlsmod9.c: Likewise.
55971 * gmon/gmon.c: Likewise.
55972 * grp/fgetgrent_r.c: Likewise.
55973 * grp/putgrent.c: Likewise.
55974 * hurd/fopenport.c: Likewise.
55975 * include/libc-symbols.h: Likewise.
55976 * include/tls.h: Likewise.
55977 * intl/gettextP.h: Likewise.
55978 * intl/loadinfo.h: Likewise.
55979 * locale/global-locale.c: Likewise.
55980 * locale/localeinfo.h: Likewise.
55981 * mach/devstream.c: Likewise.
55982 * malloc/arena.c: Likewise.
55983 * malloc/set-freeres.c: Likewise.
55984 * misc/err.c: Likewise.
55985 * misc/getttyent.c: Likewise.
55986 * misc/mntent_r.c: Likewise.
55987 * posix/getopt.c: Likewise.
55988 * posix/wordexp.c: Likewise.
55989 * pwd/fgetpwent_r.c: Likewise.
55990 * resolv/Versions: Likewise.
55991 * resolv/res_hconf.c: Likewise.
55992 * shadow/fgetspent_r.c: Likewise.
55993 * shadow/putspent.c: Likewise.
55994 * stdio-common/printf_fphex.c: Likewise.
55995 * stdio-common/tmpfile.c: Likewise.
55996 * stdlib/abort.c: Likewise.
55997 * stdlib/fmtmsg.c: Likewise.
55998 * sunrpc/auth_unix.c: Likewise.
55999 * sunrpc/clnt_perr.c: Likewise.
56000 * sunrpc/clnt_tcp.c: Likewise.
56001 * sunrpc/clnt_udp.c: Likewise.
56002 * sunrpc/clnt_unix.c: Likewise.
56003 * sunrpc/openchild.c: Likewise.
56004 * sunrpc/svc_simple.c: Likewise.
56005 * sunrpc/svc_tcp.c: Likewise.
56006 * sunrpc/svc_udp.c: Likewise.
56007 * sunrpc/svc_unix.c: Likewise.
56008 * sunrpc/xdr.c: Likewise.
56009 * sunrpc/xdr_array.c: Likewise.
56010 * sunrpc/xdr_rec.c: Likewise.
56011 * sunrpc/xdr_ref.c: Likewise.
56012 * sunrpc/xdr_stdio.c: Likewise.
56014 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56016 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56018 2011-07-03 Andreas Jaeger <aj@suse.de>
56020 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56021 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56022 regenerate with gen-libm-tests.pl.
56024 2010-05-12 Petr Baudis <pasky@suse.cz>
56027 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56028 around j0() zero points by switching to j1().
56029 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56032 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56034 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56036 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56038 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56041 Patch in part by Pavel Roskin <proski@gnu.org>.
56044 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56046 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56047 Free memory block if necessary.
56050 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56051 be NULL. Don't lock in this case.
56053 2011-09-09 Roland McGrath <roland@hack.frob.com>
56055 * elf/elf.h (ELFOSABI_GNU): New macro.
56056 (ELFOSABI_LINUX): Define to that.
56058 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
56060 * string/strncat.c (strncat): Undef the symbol in case it has been
56061 defined in bits/string.h.
56063 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56065 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56067 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56070 2011-08-17 Andreas Jaeger <aj@suse.de>
56072 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56074 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56075 Ian Lance Taylor <iant@google.com>
56077 * math/libm-test.inc (lround_test): New testcase.
56078 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56080 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56082 * Makefile: Remove support for automatic cvs check-ins.
56083 * Makerules: Likewise.
56084 * config.make.in: Likewise.
56085 * configure.in: Likewise.
56086 * intl/Makefile: Likewise.
56087 * locale/Makefile: Likewise.
56088 * po/Makefile: Likewise.
56089 * posix/Makefile: Likewise.
56090 * sysdeps/gnu/Makefile: Likewise.
56091 * sysdeps/mach/hurd/Makefile: Likewise.
56092 * sysdeps/sparc/sparc32/Makefile: Likewise.
56095 * posix/Makefile (bug-regex32-ENV): Define.
56096 Patch by John Stanley <jpsinthemix@verizon.net>.
56098 * misc/Makefile (headers): Add bits/select2.h.
56099 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56100 * misc/bits/select2.h: New file.
56101 * include/bits/select2.h: New file.
56102 * debug/Makefile (routines): Add fdelt_chk.
56103 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56104 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56106 * debug/fdelt_chk.c: New file.
56108 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56109 * wcsmbs/test-wmemcmp.c: Likewise.
56110 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56111 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56113 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56115 * string/Makefile (strop-tests): Add memcmp.
56116 * string/test-wmemcmp.c: New file.
56117 * string/test-memcmp.c: Add wmemcmp support.
56119 2011-09-08 Roland McGrath <roland@hack.frob.com>
56122 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56125 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56126 garbage value in a __mach_port_mod_refs call in the cases of the
56127 task-self and thread-self ports.
56129 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56131 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56133 2011-09-08 Andreas Schwab <schwab@redhat.com>
56135 * elf/dl-load.c (lose): Check for non-null L.
56137 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56139 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56141 * elf/dl-libc.c (dlerror_run): Pass back error code from
56145 * elf/dl-load.c (lose): Free l_origin if it is valid.
56147 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56149 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56152 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56153 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56154 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56156 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56158 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56159 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56160 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56161 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56162 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56163 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56164 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56165 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56166 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56167 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56169 2011-08-15 Alan Modra <amodra@gmail.com>
56172 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56173 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56174 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56175 ppc_mcount to static-only-routines.
56176 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56178 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56179 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56181 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56183 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56184 for finite and infinity parameters.
56186 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56189 and add nop instructions for throughput optimization.
56190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56192 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56195 aligned copy for power7 with vector-scalar instructions.
56196 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56198 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56203 2011-09-07 Andreas Schwab <schwab@redhat.com>
56206 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56209 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56211 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56212 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56213 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56214 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56217 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56219 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56220 Forgot to demangle the pointer.
56222 * sysdeps/i386/sysdep.h: Define atom_text_section.
56223 * sysdeps/x86_64/sysdep.h: Likewise.
56224 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56225 section with atom_text_section.
56226 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56227 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56228 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56229 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56230 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56232 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56233 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56234 already be defined. Change to take two parameters and don't assign
56235 result to variable. Adjust all users.
56236 Define INTERNAL_GETTIME if not already defined.
56237 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56240 HAVE_CLOCK_GETTIME_VSYSCALL.
56241 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56244 gettimeofday vsyscall, just use time.
56246 2011-09-06 Andreas Schwab <schwab@redhat.com>
56248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56251 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56253 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56255 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56257 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56259 syscall if possible.
56261 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56263 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56264 e_ident. Don't pass to find_mapsXX.
56265 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56267 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56270 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56271 * sysdeps/x86_64/multiarch/strchr.S: Update.
56272 Check bit_slow_BSF bit.
56273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56274 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56275 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56277 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56280 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56282 (tryshell): Define.
56283 (__spawni): Change last parameter to be flag. Test
56284 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56285 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56286 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56287 * posix/spawni.c: Likewise.
56288 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56289 * posix/spawnp.c: Likewise. Change normal version to use
56290 SPAWN_XFLAGS_USE_PATH.
56291 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56292 SPAWN_XFLAGS_TRY_SHELL.
56295 * posix/glob.h: Remove gcc 1.x support.
56298 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56300 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56303 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56305 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56306 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56307 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56308 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56309 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56312 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56314 * sysdeps/x86_64/wcscmp.S: New file.
56316 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56317 wcscmp-c wcscmp-sse2
56318 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56319 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56320 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56321 * wcsmbs/wcscmp.c: Allow renaming.
56323 2011-09-05 David S. Miller <davem@davemloft.net>
56325 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56326 stack slot, rather than the struct return pointer slot.
56327 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56328 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56330 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56332 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56334 * po/ja.po: Update from translation team.
56337 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56338 kernel in 64-bit binaries.
56340 2011-09-01 David S. Miller <davem@davemloft.net>
56342 * elf/elf.h (HWCAP_SPARC_*): Move to..
56343 * sysdeps/sparc/sysdep.h: this new file and add new values.
56344 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56345 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56346 _DL_HWCAP_COUNT to 24.
56347 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56349 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56350 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56351 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56353 instead of magic constants.
56354 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56356 2011-08-31 David S. Miller <davem@davemloft.net>
56358 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56360 Reimplement to do errno handling inline.
56361 (SYSCALL_ERROR_HANDLER): New macro.
56362 (__SYSCALL_STRING): Do not do errno handling in asm.
56363 (__CLONE_SYSCALL_STRING): Delete.
56364 (__INTERNAL_SYSCALL_STRING): Delete.
56365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56366 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56367 (PSEUDO): Reimplement to do errno handling inline.
56368 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56369 (SYSCALL_ERROR_HANDLER): New macro.
56370 (__SYSCALL_STRING): Do not do errno handling in asm.
56371 (__CLONE_SYSCALL_STRING): Delete.
56372 (__INTERNAL_SYSCALL_STRING): Delete.
56373 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56374 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56376 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56377 (inline_syscall*): Add 'err' argument.
56378 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56379 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56380 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56381 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56383 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56384 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56386 2011-08-30 Andreas Schwab <schwab@redhat.com>
56388 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56390 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56392 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56395 2011-08-24 David S. Miller <davem@davemloft.net>
56397 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56399 2011-08-24 Andreas Schwab <schwab@redhat.com>
56401 * elf/Makefile: Add rules to build and run unload8 test.
56402 * elf/unload8.c: New file.
56403 * elf/unload8mod1.c: New file.
56404 * elf/unload8mod1x.c: New file.
56405 * elf/unload8mod2.c: New file.
56406 * elf/unload8mod3.c: New file.
56408 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56411 2011-08-23 David S. Miller <davem@davemloft.net>
56413 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56414 subtract stack bias.
56415 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56416 %sp not %fp in calculations.
56417 (_JMPBUF_UNWINDS_ADJ): Likewise.
56419 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56420 (aio_suspend): Call it to force an exception region around the
56421 AIO_MISC_WAIT() invocation.
56423 2011-08-23 Andreas Schwab <schwab@redhat.com>
56425 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56428 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56430 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56432 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56433 and <dl-machine.h>.
56434 (Elf64_FuncDesc): Remove.
56436 2011-08-22 David S. Miller <davem@davemloft.net>
56438 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56439 sigaltstack check, add missing cfi directives.
56440 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56441 missing cfi directives, and sigaltstack handling.
56443 2011-08-16 Andreas Schwab <schwab@redhat.com>
56446 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56447 object is seen twice.
56448 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56450 * elf/Makefile (distribute): Add tst-initorder2.c.
56451 (tests): Add tst-initorder2.
56452 (modules-names): Add tst-initorder2a tst-initorder2b
56453 tst-initorder2c tst-initorder2d. Add rules to build them.
56454 ($(objpfx)tst-initorder2.out): New rule.
56455 * elf/tst-initorder2.c: New file.
56456 * elf/tst-initorder2.exp: New file.
56458 2011-08-22 Andreas Schwab <schwab@redhat.com>
56460 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56462 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56463 dependencies back to end of function.
56465 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56466 $(elfobjdir)/ld.so.
56468 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56471 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56473 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56474 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56475 of __vdso_gettimeofday.
56476 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56477 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56479 (_libc_vdso_platform_setup): Remove initialization of
56480 __vdso_gettimeofday and __vdso_time.
56482 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56484 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56485 and fgetc_unlocked.
56486 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56489 * elf/dl-open.c (add_to_global): Report additions to the global scope
56490 for LD_DEBUG=scopes.
56491 (dl_open_worker): Also print scope of newly loaded dependencies.
56492 (_dl_show_scope): Indicate if there is no scope.
56495 * stdio-common/Makefile (tests): Add bug24.
56496 * stdio-common/bug24.c: New file.
56498 2011-08-19 Andreas Jaeger <aj@suse.de>
56501 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56502 non-existant file when using close-on-exec mode.
56504 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56507 the very first instruction.
56509 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56510 the CFI state in the end.
56511 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56512 inclusion of dl-trampoline.h.
56513 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56515 2011-08-19 Andreas Schwab <schwab@redhat.com>
56517 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56518 expectations for long double.
56520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56521 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56523 2011-08-14 David S. Miller <davem@davemloft.net>
56525 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56526 artificual limit depends upon the system page size.
56528 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56530 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56531 * resolv/Makefile: Define CFLAGS-libresolv.
56533 2011-08-17 Andreas Schwab <schwab@redhat.com>
56535 * nss/makedb.c (compute_tables): Make variables used in nested
56538 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56540 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56541 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56542 if buffer was too small.
56544 * elf/pldd.c (main): Attach to all threads in the process.
56545 Rewrite /proc handling to use *at functions.
56547 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56549 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56550 specifies first scope to show.
56551 (dl_open_worker): Update callers. Move printing scope of new
56552 object to before the relocation.
56553 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56554 * sysdeps/generic/ldsodefs.h: Update declaration.
56556 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56557 string for the scope number.
56559 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56561 * nscd/servicescache.c (cache_addserv): Make sure written is always
56564 2011-08-14 Roland McGrath <roland@hack.frob.com>
56566 * sysdeps/i386/i486/bits/atomic.h
56567 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56568 statement expression, so as to suppress "set but not used" warning.
56569 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56571 * string/strncat.c (STRNCAT): Use prototype definition.
56573 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56574 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56576 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56577 (localedef-modules): Add localedef.
56578 (locale-modules): Add locale.
56580 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56581 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56582 to avoid a warning.
56584 2011-08-14 David S. Miller <davem@davemloft.net>
56586 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56587 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56589 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56591 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56592 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56593 * elf/rtld.c (dl_main): Set l_name of vDSO.
56594 Call _dl_show_scope when DL_DEBUG_SCOPES.
56595 (process_dl_debug): Recognize scopes flag and also set it for all.
56596 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56597 Declare _dl_show_scope.
56599 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56600 (do_dlopen): Pass caller_dlopen to dl_open.
56601 (__libc_dlopen_mode): Initialize caller_dlopen.
56603 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56604 of libc. Make tolower call locale-independent. Optimize a bit by
56605 using isdigit instead of isalnum.
56606 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56608 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56610 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56611 was a dependency or dynamically loaded.
56613 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56615 * intl/l10nflist.c: Allow architecture-specific pop function.
56616 * sysdeps/x86_64/l10nflist.c: New file.
56618 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56621 2011-08-10 Andreas Schwab <schwab@redhat.com>
56623 * include/dirent.h: Add libc_hidden_proto for scandirat and
56624 scandirat64. Don't declare __scandirat64.
56625 * dirent/scandirat.c: Add libc_hidden_def.
56626 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56627 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56629 2011-08-10 David S. Miller <davem@davemloft.net>
56631 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56637 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56639 * Versions.def [libc]: Add GLIBC_2.15.
56640 * dirent/Makefile (routines): Add scandirat and scandirat64.
56641 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56643 * dirent/dirent.h: Declare scandirat and scandirat64.
56644 * dirent/scandirat.c: New file.
56645 * dirent/scandirat64.c: New file.
56646 * sysdeps/wordsize-64/scandirat.c: New file.
56647 * sysdeps/wordsize-64/scandirat64.c: New file.
56648 * dirent/opendir.c: Define opendirat.
56649 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56651 * dirent/scandir64.c: Adjust for scandir.c change.
56652 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56653 __scandirat64, and __scandir_cancel_handler.
56654 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56655 additional parameter and use openat instead of open (outside of ld.so).
56656 Add new __opendir as wrapper around __opendirat.
56657 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56658 here without requiring old scandirat implementation.
56660 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56662 * dirent/scandir.c (cancel_handler): Renamed to
56663 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56664 defined. Adjust users.
56665 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56666 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56668 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56670 * string/test-string.h (IMPL): Use __STRING to expand name and then
56673 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56676 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56678 * string/Makefile: Update.
56679 (strop-tests): Append strncat.
56680 * string/test-wcscmp.c: New file.
56681 New comprehensive test for wcscmp.
56682 * string/test-strcmp.c: Update.
56683 (WIDE): New define.
56685 2011-07-22 Andreas Schwab <schwab@redhat.com>
56687 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56690 2011-07-26 Andreas Schwab <schwab@redhat.com>
56692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56693 encoding to ACE if AI_IDN.
56695 2011-08-01 Jakub Jelinek <jakub@redhat.com>
56697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56698 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56700 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56702 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56703 Fix overflow bug in strncat.
56704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56706 * string/test-strncat.c: Update.
56707 Add new tests for checking overflow bugs.
56709 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56712 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56713 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56714 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56715 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56716 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56717 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56718 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56719 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56722 (USE_AS_STRCAT): Define.
56723 Add strcat and strncat support.
56724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56726 2011-07-25 Andreas Schwab <schwab@redhat.com>
56728 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56729 __n bigger than INT_MAX+1.
56730 (__strncmp_g): Likewise.
56732 2011-07-23 Ulrich Drepper <drepper@gmail.com>
56734 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56735 * libio/stido.h: Likewise.
56737 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56742 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56744 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56746 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56749 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56754 (_dl_x86_64_save_sse): Likewise.
56756 2011-07-22 Ulrich Drepper <drepper@gmail.com>
56758 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56760 (_dl_x86_64_save_sse): Likewise.
56762 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56764 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56766 2011-07-21 Andreas Schwab <schwab@redhat.com>
56768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56770 (_dl_x86_64_save_sse): Use correct AVX check.
56772 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56774 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56775 bug in strncpy/strncat.
56776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56778 2011-07-21 Ulrich Drepper <drepper@gmail.com>
56780 * string/tester.c (test_strcat): Add tests for different alignments
56781 of source and destination.
56782 (test_strncat): Likewise.
56784 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56787 * posix/glob.c (glob): Check passed in values before using them in
56788 expressions to avoid some overflows.
56789 (glob_in_dir): Likewise.
56792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56793 check for AVX enablement so that we don't crash with old kernels and
56795 * elf/tst-audit4.c: Add same checks here.
56796 * elf/tst-audit6.c: Likewise.
56798 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56800 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56802 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56804 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56806 * po/cs.po: Update from translation team.
56807 * po/bg.po: Likewise.
56809 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56811 * misc/sys/cdefs.h: Add support for const attribute.
56812 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56813 to gnu_dev_{major,minor,makedev} functions.
56815 2011-07-20 Marek Polacek <mpolacek@redhat.com>
56817 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56819 2011-07-20 Andreas Schwab <schwab@redhat.com>
56821 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56824 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56826 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56827 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56828 register in order to avoid conflicts with the soft frame pointer
56829 being held in r11 when necessary.
56830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56831 (INTERNAL_VSYSCALL_NCS): Likewise.
56833 2011-07-14 Marek Polacek <mpolacek@redhat.com>
56835 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56836 * elf/dl-fini.c (_dl_fini): Adjust caller.
56837 * elf/dl-close.c (_dl_close_worker): Likewise.
56838 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56840 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56842 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56843 "aux_cache->nlibs < 0".
56845 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56846 in the reload-count case.
56848 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56851 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56852 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56853 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56854 * sysdeps/x86_64/multiarch/strcat.S: New file.
56855 * sysdeps/x86_64/multiarch/strncat.S: New file.
56856 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56857 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56858 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56859 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56860 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56861 (USE_AS_STRCAT): Define.
56862 Add strcat and strncat support.
56863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56864 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56865 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56866 * string/strncat.c: Update.
56867 (USE_AS_STRNCAT): Define.
56868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56869 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56871 * sysdeps/x86_64/multiarch/init-arch.h
56872 (bit_Prefer_PMINUB_for_stringop): New.
56873 (index_Prefer_PMINUB_for_stringop): Likewise.
56874 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56875 bit_Prefer_PMINUB_for_stringop.
56877 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56879 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56881 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56882 of casting of buffer.
56883 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56884 buffer32 and buffer64.
56885 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56886 writes instead of casting of buffer.
56887 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56889 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56892 2011-07-19 Andreas Schwab <schwab@redhat.com>
56894 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56896 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56898 * nscd/nscd.c (termination_handler): Don't do anything for a database
56899 if it has not yet been initialized.
56901 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56903 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56905 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56907 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56909 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56911 * po/nl.po: Update from translation team.
56912 * po/sv.po: Likewise.
56914 2011-07-16 Roland McGrath <roland@hack.frob.com>
56916 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56917 now disallowed by GCC.
56919 * configure.in (use-default-link): Default to yes if a test -shared
56920 link meets our qualifications.
56921 * configure: Regenerated.
56923 * config.make.in (output-format): New variable.
56924 * configure.in: Check for ld --print-output-format support.
56925 * configure: Regenerated.
56926 * Makerules ($(common-objpfx)format.lds)
56927 [$(output-format) != unknown]: Just use $(output-format),
56928 instead of the linker-script munging.
56930 2011-07-14 Roland McGrath <roland@hack.frob.com>
56932 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56933 of $(common-objpfx)shlib.lds.
56934 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56936 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56937 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56939 * configure.in (-z relro check): Adjust test code to add a large
56940 writable data section after it.
56941 * configure: Regenerated.
56943 2011-07-11 Roland McGrath <roland@hack.frob.com>
56945 * configure.in (-z relro check): Fix test code to make the variable
56947 * configure: Regenerated.
56949 2011-07-11 Ulrich Drepper <drepper@gmail.com>
56951 * nscd/nscd.h (struct traced_file): Define.
56952 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56953 elements. Add traced_files.
56954 (inotify_fd): Declare.
56955 (register_traced_file): Declare.
56956 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56957 (inotify_fd): Export.
56958 (resolv_conf_descr): Remove.
56959 (nscd_init): Move inotify descriptor creation to main.
56960 Don't register files for notification here.
56961 (register_traced_file): New function.
56962 (invalidate_cache): Don't use reset_res to determine whether to call
56963 res_init, go through the list of registered files.
56964 (main_loop_poll): The inotify descriptors are now stored in the
56965 structures for the traced files.
56966 (main_loop_epoll): Likewise
56967 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56968 to __nss_disable_nscd.
56969 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56970 for a database anymore. Check the records for all the registered
56972 * nss/Makefile (libnss_files-routines): Add files-init.
56973 (libnss_db-routines): Add db-init.
56974 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56975 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56976 * nss/nss_db/db-init.c: New file.
56977 * nss/nss_files/files-init.c: New file.
56978 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56979 __nss_lookup_function.
56980 (__nss_lookup_function): Call nss_load_library.
56981 (nss_load_all_libraries): New function.
56982 (__nss_disable_nscd): Take parameter with callback function for files
56983 to register. Set is_nscd. Load all the DSOs for the NSS modules
56984 used for the cached services.
56985 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56986 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56987 options for features to all the files in nscd.
56989 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56991 2011-07-10 Roland McGrath <roland@hack.frob.com>
56993 * csu/elf-init.c (__libc_csu_init): Comment typo.
56995 2011-07-09 Ulrich Drepper <drepper@gmail.com>
56997 * po/pl.po: Update from translation team.
56998 * po/ja.po: Likewise.
56999 * po/ru.po: Likewise.
57000 * po/ko.po: Likewise.
57001 * po/fr.po: Likewise.
57003 2011-07-09 Roland McGrath <roland@hack.frob.com>
57005 * configure.in (.ctors/.dtors header and trailer check):
57006 Use an empirical test on a built program.
57007 * configure: Regenerated.
57009 * configure.in (-z relro check): Use an empirical test on a built DSO.
57010 Detect, but do not require, on ia64.
57011 * configure: Regenerated.
57013 * configure.in (READELF): Find it with AC_CHECK_TOOL.
57014 Update tests that use readelf to use $READELF instead.
57015 * configure: Regenerated.
57017 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57019 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57020 if the result is not used.
57022 2011-07-05 Andreas Jaeger <aj@suse.de>
57025 * stdlib/tst-strtod.c: Add testcase.
57027 2011-07-07 Ulrich Drepper <drepper@gmail.com>
57029 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57030 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57031 The latter has a higher limit. Take additional parameter to pass to
57033 (__pathconf): Pass file to __statfs_link_max.
57034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57036 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57040 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57043 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57044 (__statfs_filesize_max): Likewise.
57045 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57047 2011-07-05 Andreas Jaeger <aj@suse.de>
57049 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57051 2011-07-06 Marek Polacek <mpolacek@redhat.com>
57053 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57055 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57058 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
57060 * Makefile (strop-tests): Add strncat.
57061 * string/test-strncat.c: New file.
57063 2011-06-30 Marek Polacek <mpolacek@redhat.com>
57065 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57067 2011-06-21 Andreas Jaeger <aj@suse.de>
57069 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57070 Copy rule from iconvdata/Makefile.
57072 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57075 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57076 but no long options are defined, just return 'W'.
57078 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57081 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57083 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57085 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57087 (innetgr): Likewise.
57089 2011-07-05 Roland McGrath <roland@hack.frob.com>
57091 * config.make.in (install_root): Default to $(DESTDIR).
57093 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57097 2011-07-02 Roland McGrath <roland@hack.frob.com>
57099 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57101 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57102 containing directory rather than embedding absolute directory names.
57104 * scripts/check-local-headers.sh: Rewritten using awk.
57105 Match by word, not by line. Print error messages for matches.
57106 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57108 * Makerules [shlib-lds-flags empty]:
57109 ($(common-objpfx)libc_pic.opts): New target.
57110 ($(common-objpfx)libc_pic.os.clean): New target.
57111 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57113 * config.make.in (OBJCOPY): New variable.
57114 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57115 * configure: Regenerated.
57117 * config.make.in (use-default-link): New variable.
57118 * configure.in (use_default_link): Grok --with-default-link to set it.
57119 * configure: Regenerated.
57120 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57121 (shlib-lds, shlib-lds-flags): Define to empty.
57123 * Makerules (shlib-lds): New variable.
57124 (shlib-lds-flags): New variable.
57125 (build-shlib, build-moduile, build-module-asneeded): Use it.
57126 ($(common-objpfx)libc.so): Use $(shlib-lds).
57127 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57128 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57130 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57131 DT_FLAGS/DT_FLAGS_1 with zero flags.
57133 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57134 linker script munging.
57136 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57138 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57140 * crypt/sha512.c (sha512_process_block): Perform total addition using
57141 128-bit if possible.
57142 (__sha512_finish_ctx): Likewise.
57143 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57145 * crypt/sha256.c (SWAP64): Define.
57146 (sha256_process_block): Perform total addition using 64-bit if
57148 (__sha256_finish_ctx): Likewise.
57150 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57152 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57154 * nscd/hstcache.c (cache_addhst): Likewise.
57155 * nscd/grpcache.c (cache_addgr): Likewise.
57156 * nscd/aicache.c (addhstaiX): Likewise
57157 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57159 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57161 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57162 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57163 * nscd/hstcache.c (cache_addhst): Likewise.
57164 * nscd/grpcache.c (cache_addgr): Likewise.
57165 * nscd/aicache.c (addhstaiX): Likewise
57167 2011-07-01 Andreas Schwab <schwab@redhat.com>
57169 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57170 domain only when needed.
57172 2011-06-30 Andreas Schwab <schwab@redhat.com>
57174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57175 is always restored.
57177 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57179 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57180 are re-adding the entry.
57181 * nscd/servicescache.c (cache_addserv): Likewise.
57183 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57185 * sysdeps/generic/dl-irel.h: fix protection against multiple
57187 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57189 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57192 * malloc/memusage.sh: Fix quoting in message.
57193 * debug/xtrace.sh: Likewise.
57195 * configure.in: Remove support for --experimental-malloc option, make
57197 * config.make.in: Likewise.
57198 * malloc/Makefile: Likewise.
57200 2011-06-27 Andreas Schwab <schwab@redhat.com>
57202 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57203 two-byte characters.
57205 2011-06-27 Roland McGrath <roland@hack.frob.com>
57207 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57208 AC_CACHE_CHECK invocation.
57209 * configure: Regenerated.
57211 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57213 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57216 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57217 bit from old_res_options.
57219 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57221 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57222 value type for setfct.
57224 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57227 __gettimeofday instead of gettimeofday.
57229 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57231 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57233 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57235 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57240 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57243 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57244 strcpy-sse2-unaligned strncpy-sse2-unaligned
57245 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57246 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57247 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57248 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57249 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57250 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57251 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57252 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57253 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57254 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57255 (STRCPY): Support SSE2 and SSSE3 versions.
57257 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57260 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57261 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57262 kernels which artificially limit size of requests.
57264 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57267 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57268 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57269 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57270 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57271 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57272 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57273 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57274 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57275 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57276 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57277 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57278 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57279 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57280 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57282 Enable unaligned load optimization for Intel Core i3, i5 and i7
57284 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57286 (index_Fast_Unaligned_Load): Define.
57287 (HAS_FAST_UNALIGNED_LOAD): Define.
57289 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57291 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57293 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57296 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57297 until it is clear that the information is realy needed.
57298 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57300 2011-06-22 Andreas Schwab <schwab@redhat.com>
57302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57304 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57306 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57307 /sys/devices/system/cpu/online if it is usable.
57309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57310 reading the information from the /proc filesystem to once a second.
57312 2011-06-21 Andreas Jaeger <aj@suse.de>
57314 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57315 NULL after inclusion of kernel headers.
57317 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57319 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57320 calls to internal_setent.
57323 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57324 addresses using gethostbyname4_r ignore IPv4 addresses.
57326 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57327 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57329 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57331 2011-06-20 David S. Miller <davem@davemloft.net>
57333 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57335 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57337 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57338 (elf_irel): Use it.
57339 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57340 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57341 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57342 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57343 * sysdeps/x86_64/dl-irel.h: Likewise.
57345 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57346 * elf/dl-sym.c: Likewise.
57348 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57350 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57351 need to dereference resplen2.
57353 2011-06-14 Andreas Schwab <schwab@redhat.com>
57355 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57357 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57359 * Makeconfig: Define vardbdir and inst_vardbdir.
57360 * nss/Makefile: Add rules to install db-Makefile.
57362 * nss/nss_db/db-XXX.c: Cleanup.
57364 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57365 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57367 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57368 * nss/makedb.c: Implement -g option to specify that value strings
57369 are generated and should not be added to table iterated over for
57371 * nss/nss_db/db-initgroups.c: New file.
57373 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57376 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57377 (internal_getgrouplist): Adjust to name change.
57378 Update use_initgroups_entry if this is not the first call.
57379 * nss/databases.def: Add initgroups entry.
57381 * nss/makedb.c (compute_tables): Check result of multiple hash table
57382 sizes to minimize maximum chain length.
57384 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57386 * Versions.def: Add entry for libnss_db.
57387 * shlib-versions: Likewise.
57388 * nss/Makefile: Add rules to build libnss_db.
57389 * nss/Versions: Add libnss_db information. Organize libnss_files
57391 * nss/db-Makefile: Add gshadow support. Change rules for the new
57392 makedb progra. Some minor improvements to generate smaller files.
57393 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57395 * nss/makedb.c: ...here.
57396 Improve database format to be smaller and require less memory at
57398 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57400 * nss/nss_db/db-netgrp.c: Likewise.
57401 * nss/nss_db/db-open.c: Likewise.
57402 * nss/nss_files/flies-XXX.x: Adjust comments.
57403 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57404 * nss/nss_files/files-grp.c: Likewise.
57405 * nss/nss_files/files-hosts.c: Likewise.
57406 * nss/nss_files/files-network.c: Likewise.
57407 * nss/nss_files/files-proto.c: Likewise.
57408 * nss/nss_files/files-pwd.c: Likewise.
57409 * nss/nss_files/files-rpc.c: Likewise.
57410 * nss/nss_files/files-service.c: Likewise.
57411 * nss/nss_files/files-sgrp.c: Likewise.
57412 * nss/nss_files/files-spwd.c: Likewise.
57413 * nss/nss_db/db-alias.c: Removed.
57414 * nss/nss_db/dummy-db.h: Removed.
57416 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57418 * nss/makedb.c: Rewritten to not use database library.
57419 * nss/Makefile: Update to build new makedb program.
57421 2011-06-14 Andreas Jaeger <aj@suse.de>
57423 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57424 memset declaration.
57426 2011-06-10 Andreas Schwab <schwab@redhat.com>
57428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57431 2011-06-10 Roland McGrath <roland@hack.frob.com>
57433 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57434 * elf/Makefile ($(objpfx)ld.so): Likewise.
57436 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57437 Don't list ld.so twice in dependencies.
57439 * posix/bug-regex31.c: Include <stdlib.h>.
57441 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57443 * nis/nss_compat/compat-spwd.c
57444 (getspent_next_nss_netgr): Remove unused variable.
57445 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57447 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57448 nonmembers" output to use the right array.
57450 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57452 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57454 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57455 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57456 * catgets/gencat.c (read_input_file): Likewise.
57457 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57459 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57460 variable definition inside #if's controlling its use.
57462 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57464 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57466 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57468 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57471 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57473 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57474 * configure: Regenerated.
57476 * Makerules: Revert last change.
57477 * elf/Makefile: Likewise.
57479 2011-06-09 Roland McGrath <roland@hack.frob.com>
57481 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57482 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57483 (reloc-link): Likewise.
57485 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57487 * elf/Makefile: Add rules to build pldd.
57488 * elf/pldd.c: New file.
57489 * elf/pldd-xx.c: New file.
57491 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57493 * version.h: Update for 2.15 development version.
57495 2011-06-07 David S. Miller <davem@davemloft.net>
57497 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57500 elf_machine_lazy_rel): Likewise.
57501 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57502 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57503 elf_machine_lazy_rel): Likewise.
57504 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57505 dl_hwcap via passed in argument.
57506 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57509 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57511 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57513 2011-06-06 Roland McGrath <roland@hack.frob.com>
57516 * manual/fdl-1.1.texi: New file, verbatim from:
57517 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57518 * manual/lgpl-2.1.texi: New file, verbatim from:
57519 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57520 * manual/Makefile (licenses): New variable, list those new file names.
57522 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57524 * manual/fdl.texi: File removed.
57525 * manual/lesser.texi: File removed.
57526 * manual/libc.texinfo (Copying, Documentation License):
57527 Use new @include file names, put @appendix directive before @include.
57529 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57532 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57533 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57534 (mq_open): Add __NTH.
57536 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57539 Assume Intel Core i3/i5/i7 processor if AVX is available.
57541 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57543 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57546 2011-05-31 Andreas Schwab <schwab@redhat.com>
57548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57549 memory. Use alloca_account. Fix memory leak when retrying.
57551 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57553 * version.h (RELEASE): Bump for 2.14 release.
57554 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57556 * config.make.in (RANLIB): Remove entry.
57558 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57560 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57561 (libc.pot): Work around missing support for .ksh extension in xgettext.
57564 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57565 if both request failed.
57566 (send_dg): In case of server errors clear resplen or *resplen2.
57569 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57570 when there are multiple maps.
57571 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57572 (_dl_fini): Remove test here.
57574 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57576 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57579 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57580 bit from old_res_options.
57581 (gaih_inet): Likewise.
57584 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57587 * resolv/res_init.c (res_setoptions): Make the code more compact.
57590 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57594 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57596 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57599 * malloc/malloc.h: Declare malloc hook variables as volatile.
57601 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57605 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57606 raise in the comment.
57607 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57609 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57611 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57614 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57615 grow the buffers more if it already has to be sufficient.
57616 (build_wcs_upper_buffer): Likewise.
57617 * posix/regexec.c (check_matching): Likewise.
57618 (clean_state_log_if_needed): Likewise.
57619 (extend_buffers): Don't enlarge buffers beyond size of the input
57621 Patches mostly by Emil Wojak <emil@wojak.eu>.
57622 * posix/bug-regex32.c: New file.
57623 * posix/Makefile (tests): Add bug-regex32.
57625 * locale/findlocale.c (_nl_find_locale): Return right away if
57626 _nl_explode_name failed.
57627 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57629 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57631 * debug/xtrace.sh: Unify messages.
57632 * malloc/memusage.sh: Likewise.
57635 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57636 time symbol from vDSO. Substitute with vsyscall if not available.
57637 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57640 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57641 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57642 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57643 Add sendmmsg and internal_sendmmsg.
57644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57645 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57648 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57649 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57652 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57655 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57656 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57658 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57662 * iconvdata/Makefile (tests): Add bug-iconv9.
57663 * iconvdata/bug-iconv9.c: New file.
57665 2011-05-27 Andreas Schwab <schwab@redhat.com>
57668 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57670 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57672 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57673 (struct user_regs_struct): Change intcs field back to cs.
57675 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57677 * po/ja.po: Update from translation team.
57679 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57683 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57685 2011-05-20 Andreas Schwab <schwab@redhat.com>
57687 * stdlib/longlong.h: Update from GCC.
57689 2011-05-23 Andreas Schwab <schwab@redhat.com>
57691 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57693 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57694 Add parameter name.
57695 (__sysconf): Pass it down.
57697 2011-05-22 Ulrich Drepper <drepper@gmail.com>
57700 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57702 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57703 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57704 add in in __libc_use_alloca calls. Adjust callers.
57705 (glob): Use malloc in some situations.
57707 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57708 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57711 2011-05-21 Ulrich Drepper <drepper@gmail.com>
57713 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57714 and CLOCK_BOOTTIME_ALARM.
57717 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57720 * string/_strerror.c (__strerror_r): Print negative errors as signed
57724 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57725 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57726 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57728 * configure.in: Fix typo in redirection and correct removal of test
57729 files in two cases.
57732 * locale/setlocale.c (new_composite_name): Fix test to check for
57733 identical name of all categories.
57736 * libio/filedoalloc.c (local_isatty): New function.
57737 (_IO_file_doallocate): Use local_isatty.
57738 * stdio-common/perror.c (perror): In case a new stream is used
57739 forward the stream error.
57740 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57743 2011-05-20 Ulrich Drepper <drepper@gmail.com>
57746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57748 * include/alloca.h (extend_alloca_account): Define.
57751 * posix/regex.h: Fix comments with documentation of user-accessible
57752 fields after compilation and describe correct free'ing of pattern
57753 after re_compile_pattern.
57754 Patch by Reuben Thomas <rrt@sc3d.org>.
57756 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57758 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57759 and -mno-altivec to prevent the compiler from using Altivec and/or
57760 VSX instructions when the corresponding registers are not available.
57762 2011-05-19 Andreas Schwab <schwab@redhat.com>
57764 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57766 2011-05-19 Ulrich Drepper <drepper@gmail.com>
57768 * libio/freopen.c (freopen): Use __dup2, not dup2.
57769 * libio/freopen64.c (freopen64): Likewise.
57771 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57774 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57775 * math/Makefile (tests): Add test-powl.
57776 (CFLAGS-test-powl.c): Define.
57777 * math/test-powl.c: New file.
57779 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57781 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57783 2011-05-17 Ulrich Drepper <drepper@gmail.com>
57786 * iconvdata/gb18030.c: Update to GB18020-2005.
57788 2011-05-16 Ulrich Drepper <drepper@gmail.com>
57790 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57791 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57792 Patch by Aharon Robbins <arnold@skeeve.com>.
57795 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57799 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57800 through underflows.
57803 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57804 point to strings before performing equality test for error_one_per_line
57808 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57811 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57812 (struct user_fpregs_struct): Avoid __uint*_t types.
57815 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57816 symbol info. Use it instead of calling _dl_addr locally.
57817 (lock_and_info): New function.
57818 (tr_freehook): Call lock_and_info and pass symbol info as additional
57819 parameter to tr_where.
57820 (tr_mallochook): Likewise.
57821 (tr_reallochook): Likewise.
57822 (tr_memalignhook): Likewise.
57824 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57825 used and couldn't be at all thread-safe.
57827 2011-05-15 Ulrich Drepper <drepper@gmail.com>
57829 * libio/freopen.c (freopen): Don't close old file descriptor
57830 before the new one is opened. Instead dup the new file descriptor
57831 to the old one after the new stream is created.
57832 * libio/freopen64.c (freopen64): Likewise.
57833 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57834 * libio/fileops.c (_IO_new_file_close_it): Handle new
57835 _IO_FLAGS2_NOCLOSE flag.
57836 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57837 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57838 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57839 _IO_FLAGS2_NOCLOSE flag.
57840 * include/unistd.h: Add hidden_proto for dup3.
57841 Define __have_dup3.
57842 * io/dup3.c: Define hidden symbol.
57843 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57846 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57847 when an incomplete long option is used.
57848 * posix/tst-getopt_long1.c: New file.
57849 * posix/Makefile (tests): Add tst-getopt_long1.
57852 * scripts/config.guess: Update from autoconf-2.68.
57853 * scripts/config.sub: Likewise.
57856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57858 (has_cpuclock): ...this. New function.
57859 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57860 macro here based on has_cpuclock code.
57863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57864 First byte (not low byte) is now always NUL.
57865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57868 Use non-cancelable interfaces.
57871 * locale/iso-639.def: Add entry for Sorani.
57874 * include/stdlib.h: Move include protection to the right place.
57875 Define abort_msg_s. Declare __abort_msg with it.
57876 * stdlib/abort.c (__abort_msg): Adjust type.
57877 * assert/assert.c (__assert_fail_base): New function. Majority
57878 of code from __assert_fail. Allocate memory for __abort_msg with
57880 (__assert_fail): Now call __assert_fail_base.
57881 * assert/assert-perr.c: Remove bulk of implementation. Use
57882 __assert_fail_base.
57883 * include/assert.hL Declare __assert_fail_base.
57884 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57886 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57888 2011-05-14 Ulrich Drepper <drepper@gmail.com>
57892 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57893 until all modules are registered in the DTV.
57894 * elf/Makefile: Add rules to build and run tst-tls19.
57895 * elf/tst-tls19.c: New file.
57896 * elf/tst-tls19mod1.c: New file.
57897 * elf/tst-tls19mod2.c: New file.
57898 * elf/tst-tls19mod3.c: New file.
57899 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57902 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57906 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57907 two-byte sequence errors.
57908 * iconvdata/Makefile (tests): Add bug-iconv8.
57909 * iconvdata/bug-iconv8.c: New file.
57912 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57915 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57918 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57919 (dummy_getcfa): New function.
57920 (init): Get _Unwind_GetCFA address, use dummy if not found.
57921 (backtrace_helper): In recursion check, also check whether CFA changes.
57922 (__backtrace): Completely initialize arg.
57924 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57925 storing incomplete byte sequence in state object. Avoid testing for
57926 guaranteed too small input if we know there is enough data available.
57928 2011-05-11 Andreas Schwab <schwab@redhat.com>
57930 * Makeconfig (+link-pie): Indent.
57931 * Rules (binaries-pie): Define if $(have-fpie) and
57933 (binaries-shared): Also filter out $(binaries-pie).
57934 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57935 * nscd/Makefile (others-pie): Add nscd.
57936 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57937 ($(objpfx)nscd): Remove command override.
57938 * login/Makefile (others-pie): Add pt_chown.
57939 ($(objpfx)pt_chown): Remove command override.
57940 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57941 remove command overrides.
57943 2011-05-13 Ulrich Drepper <drepper@gmail.com>
57945 * libio/tst_putwc.c: Fix error messages.
57948 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57949 currently writing and seek to current position when not.
57950 * libio/Makefile (tests): Add bug-fclose1.
57951 * libio/bug-fclose1.c: New file.
57953 2011-05-12 Ulrich Drepper <drepper@gmail.com>
57956 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57957 don't set DF_1_NODELETE here.
57958 (do_lookup_x): When entering new entry test for copy relocation
57959 and if necessary set DF_1_NODELETE flag.
57960 * elf/tst-unique4.cc: New file.
57961 * elf/tst-unique4.h: New file.
57962 * elf/tst-unique4lib.cc: New file.
57963 * elf/Makefile: Add rules to build and run tst-unique4.
57964 Patch by Piotr Bury <pbury@goahead.com>.
57966 2011-05-11 Ulrich Drepper <drepper@gmail.com>
57969 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57972 * misc/mntent_r.c (addmntent): Flush the stream after the output
57975 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57976 (is_trusted_path_normalize): Skip initial colon. Append slash
57977 to empty buffer. Duplicate is_trusted_path code but allow
57978 constructed patch to be prefix.
57979 (is_dst): Allow $ORIGIN followed by /.
57980 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57981 Correct testing of result of is_trusted_path_normalize
57982 (decompose_rpath): Fix warning.
57984 2011-05-10 Ulrich Drepper <drepper@gmail.com>
57987 * grp/initgroups.c (internal_getgrouplist): When we found the service
57988 list through the initgroups entry in nsswitch.conf do not always
57989 continue on a successful lookup. Don't always use the
57990 __nss_group_database value if it is set.
57991 * nss/nsswitch.conf (initgroups): Change action for successful db
57992 lookup to continue for compatibility.
57994 2011-05-09 Ulrich Drepper <drepper@gmail.com>
57997 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57999 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58001 * iconvdata/tst-tables.sh: Likewise.
58002 * iconvdata/cp770.c: New file.
58003 * iconvdata/cp771.c: New file.
58004 * iconvdata/cp772.c: New file.
58005 * iconvdata/cp773.c: New file.
58006 * iconvdata/cp774.c: New file.
58007 * iconvdata/testdata/CP770: New file.
58008 * iconvdata/testdata/CP770..UTF8: New file.
58009 * iconvdata/testdata/CP771: New file.
58010 * iconvdata/testdata/CP771..UTF8: New file.
58011 * iconvdata/testdata/CP772: New file.
58012 * iconvdata/testdata/CP772..UTF8: New file.
58013 * iconvdata/testdata/CP773: New file.
58014 * iconvdata/testdata/CP773..UTF8: New file.
58015 * iconvdata/testdata/CP774: New file.
58016 * iconvdata/testdata/CP774..UTF8: New file.
58018 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58020 * iconvdata/gen-8bit-gap.sh: Likewise.
58021 * iconvdata/gen-8bit.sh: Likewise.
58023 * locale/iso-639.def: Add ary entry.
58026 * locale/C-translit.h.in: Add U20A1 transliteration.
58029 * locale/iso-639.def: Add wae entry.
58030 Patch by Kevin Bortis <bortis@translate-wae.ch>.
58033 * locale/programs/localedef.c (construct_output_path): Use ssize_t
58037 * locale/C-translit.h.in: Add entry for U20B9.
58038 Patch by pravin.d.s@gmail.com.
58040 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58043 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58044 ENAMETOOLONG use generic getcwd.
58045 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58046 in rtld. Use *stat64.
58047 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58048 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58049 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58050 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58051 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58052 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58053 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58054 __fstatat64 macros.
58055 * include/dirent.h: Add libc_hidden_proto for rewinddir.
58056 * dirent/rewinddir.c: Add libc_hidden_def.
58057 * sysdeps/mach/hurd/rewinddir.c: Likewise.
58058 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
58060 * include/dirent.h (__alloc_dir): Add flags parameter.
58061 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58062 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58064 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
58065 from fdopendir if O_CLOEXEC is already set.
58067 2011-03-15 Alan Modra <amodra@gmail.com>
58069 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58070 l_tls_firstbyte_offset non-zero. Save padding offset in
58071 l_tls_firstbyte_offset for later use.
58072 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58073 freeing static tls block.
58075 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58077 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58078 where #ifdef was intended. The intent is to prevent ARG_MAX from
58079 being defined by the kernel headers.
58081 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58084 * resolv/resolv.h: Define RES_NOTLDQUERY.
58085 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58086 no-tld-query and set RES_NOTLDQUERY.
58087 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58088 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58089 modern BIND to search name as TLD unless forbidden.
58091 2011-05-07 Petr Baudis <pasky@suse.cz>
58092 Ulrich Drepper <drepper@gmail.com>
58095 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58096 (is_trusted_path): ...to here.
58097 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58098 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58099 using is_trusted_path_normalize() in setuid scripts.
58101 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58103 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58104 __BEGIN/__END_DECLS.
58106 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58109 NSS_STATUS_NOTFOUND if no record was found.
58111 2011-05-05 Andreas Schwab <schwab@redhat.com>
58113 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58114 (headers-not-in-tirpc): Remove rpc/netdb.h
58115 * resolv/netdb.h: Revert last change.
58117 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58119 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58120 circular dependency between libgcc.a and libc.a.
58122 2011-05-05 Andreas Schwab <schwab@redhat.com>
58124 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58125 * nis/Makefile: Don't install rpcsvc/*.
58126 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58127 instead of <rpc/types.h>.
58128 (MAXHOSTNAMELEN): Define.
58130 2011-05-03 Andreas Schwab <schwab@redhat.com>
58132 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58134 2011-04-28 Maciej Babinski <mbabinski@google.com>
58137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58138 gethostbyname4_r when IPv6 results are possible.
58140 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58143 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58144 _PC_PIPE_BUF handling.
58146 2011-04-30 Bruno Haible <bruno@clisp.org>
58149 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58150 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58152 * inet/getnameinfo.c (getnameinfo): Likewise.
58154 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58156 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58157 to groups setting in database lookup.
58158 * nss/nsswitch.conf: Add initgroups entry.
58160 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58163 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58165 Patch by Eric Blake <eblake@redhat.com>.
58167 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58169 * sunrpc/Makefile (need-export-routines): Add svc_run.
58170 (routines): Remove svc_run.
58171 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58172 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58173 * sunrpc/svc_run.c (svc_run): Likewise.
58174 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58176 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58179 problem in reallocation in last patch.
58181 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58183 * sunrpc/Makefile: Move inclusion of Rules.
58185 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58187 * nss/nss_files/files-initgroups.c: New file.
58188 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58189 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58190 _nss_files_initgroups_dyn.
58192 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58194 * elf/elf.h (R_ARM_IRELATIVE): Define.
58196 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58198 * po/ru.po: Update from translation team.
58200 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58202 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58205 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58208 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58209 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58210 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58211 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58214 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58216 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58218 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58219 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58220 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58222 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58225 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58227 * stdlib/bug-getcontext.c: New file.
58228 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58230 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58232 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58233 instructions into .machine "z9-109".
58234 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58235 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58237 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58239 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58240 between environment variables and auxiliary vector.
58242 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58244 * Makefile: Add rules to build linkobj/libc.so.
58245 * include/libc-symbols.h: Define libc_hidden_nolink.
58246 * include/rpc/auth.h: Mark functions which are to be hidden.
58247 * include/rpc/auth_des.h: Likewise.
58248 * include/rpc/auth_unix.h: Likewise.
58249 * include/rpc/clnt.h: Likewise.
58250 * include/rpc/des_crypt.h: Likewise.
58251 * include/rpc/key_prot.h: Likewise.
58252 * include/rpc/pmap_clnt.h: Likewise.
58253 * include/rpc/pmap_prot.h: Likewise.
58254 * include/rpc/pmap_rmt.h: Likewise.
58255 * include/rpc/rpc_msg.h: Likewise.
58256 * include/rpc/svc.h: Likewise.
58257 * include/rpc/svc_auth.h: Likewise.
58258 * include/rpc/xdr.h: Likewise.
58259 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58260 * nss/Makefile: Likewise.
58261 * sunrpc/Makefile: Don't install headers. Build library with normal
58262 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58263 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58264 for the compat linking library. Remove use of INTDEF/INTUSE.
58265 * sunrpc/auth_none.c: Likewise.
58266 * sunrpc/auth_unix.c: Likewise.
58267 * sunrpc/authdes_prot.c: Likewise.
58268 * sunrpc/authuxprot.c: Likewise.
58269 * sunrpc/clnt_gen.c: Likewise.
58270 * sunrpc/clnt_perr.c: Likewise.
58271 * sunrpc/clnt_raw.c: Likewise.
58272 * sunrpc/clnt_simp.c: Likewise.
58273 * sunrpc/clnt_tcp.c: Likewise.
58274 * sunrpc/clnt_udp.c: Likewise.
58275 * sunrpc/clnt_unix.c: Likewise.
58276 * sunrpc/des_crypt.c: Likewise.
58277 * sunrpc/des_soft.c: Likewise.
58278 * sunrpc/get_myaddr.c: Likewise.
58279 * sunrpc/key_call.c: Likewise.
58280 * sunrpc/key_prot.c: Likewise.
58281 * sunrpc/netname.c: Likewise.
58282 * sunrpc/pm_getmaps.c: Likewise.
58283 * sunrpc/pm_getport.c: Likewise.
58284 * sunrpc/pmap_clnt.c: Likewise.
58285 * sunrpc/pmap_prot.c: Likewise.
58286 * sunrpc/pmap_prot2.c: Likewise.
58287 * sunrpc/pmap_rmt.c: Likewise.
58288 * sunrpc/publickey.c: Likewise.
58289 * sunrpc/rpc_cmsg.c: Likewise.
58290 * sunrpc/rpc_common.c: Likewise.
58291 * sunrpc/rpc_dtable.c: Likewise.
58292 * sunrpc/rpc_prot.c: Likewise.
58293 * sunrpc/rpc_thread.c: Likewise.
58294 * sunrpc/rtime.c: Likewise.
58295 * sunrpc/svc.c: Likewise.
58296 * sunrpc/svc_auth.c: Likewise.
58297 * sunrpc/svc_authux.c: Likewise.
58298 * sunrpc/svc_raw.c: Likewise.
58299 * sunrpc/svc_run.c: Likewise.
58300 * sunrpc/svc_simple.c: Likewise.
58301 * sunrpc/svc_tcp.c: Likewise.
58302 * sunrpc/svc_udp.c: Likewise.
58303 * sunrpc/svc_unix.c: Likewise.
58304 * sunrpc/svcauth_des.c: Likewise.
58305 * sunrpc/xcrypt.c: Likewise.
58306 * sunrpc/xdr.c: Likewise.
58307 * sunrpc/xdr_array.c: Likewise.
58308 * sunrpc/xdr_float.c: Likewise.
58309 * sunrpc/xdr_intXX_t.c: Likewise.
58310 * sunrpc/xdr_mem.c: Likewise.
58311 * sunrpc/xdr_rec.c: Likewise.
58312 * sunrpc/xdr_ref.c: Likewise.
58313 * sunrpc/xdr_sizeof.c: Likewise.
58314 * sunrpc/xdr_stdio.c: Likewise.
58316 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58319 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58320 * sysdeps/ia64/dl-tls.h: Likewise.
58321 * sysdeps/powerpc/dl-tls.h: Likewise.
58322 * sysdeps/s390/dl-tls.h: Likewise.
58323 * sysdeps/sh/dl-tls.h: Likewise.
58324 * sysdeps/sparc/dl-tls.h: Likewise.
58325 * sysdeps/x86_64/dl-tls.h: Likewise.
58326 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58328 2011-03-14 Andreas Schwab <schwab@redhat.com>
58330 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58331 rpath element also skip the following colon.
58332 (expand_dynamic_string_token): Add is_path parameter and pass
58333 down to DL_DST_REQUIRED and _dl_dst_substitute.
58334 (decompose_rpath): Call expand_dynamic_string_token with
58335 non-zero is_path. Ignore empty rpaths.
58336 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58339 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58344 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58347 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58348 Patch by Filipe David Manana <fdmanana@apache.org>.
58350 2011-04-07 Andreas Schwab <schwab@redhat.com>
58352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58353 Maintain aligned stack.
58354 (CHECK_RSP): Remove unused macro.
58356 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58358 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58359 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58361 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58363 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58365 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58367 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58370 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58371 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58372 * sysdeps/x86_64/memmove.c: New file.
58373 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58374 (memcpy): Renamed to ...
58375 (__new_memcpy): This.
58376 (memcpy): Provide GLIBC_2_14 memcpy.
58377 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58378 (memcpy): Provide GLIBC_2_2_5 memcpy.
58380 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58383 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58385 2011-03-30 Andreas Schwab <schwab@redhat.com>
58387 * misc/syncfs.c: New file.
58388 * misc/Makefile (routines): Add syncfs.
58389 * posix/unistd.h: Declare syncfs.
58390 * sysdeps/unix/syscalls.list: Add syncfs.
58392 2011-04-01 Andreas Schwab <schwab@redhat.com>
58394 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58396 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58397 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58399 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58401 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58404 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58406 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58407 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58408 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58410 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58412 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58414 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58415 sync_file_range.c with -fexceptions.
58416 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58417 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58418 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58419 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58420 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58421 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58422 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58423 sync_file_range as cancellation point
58424 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58425 now a wrapper around __call_sync_file_range with cancellation handling.
58426 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58427 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58428 function name to __call_sync_file_range.
58429 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58430 Add call_sync_file_range.
58432 2011-04-01 Andreas Schwab <schwab@redhat.com>
58434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58437 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58439 * iconv/iconv.h: Fix typo in comment.
58440 * io/fcntl.h: Likewise.
58441 * libio/stdio.h: Likewise.
58442 * posix/spawn.h: Likewise.
58443 * posix/unistd.h: Likewise.
58444 * stdlib/stdlib.h: Likewise.
58445 * time/time.h: Likewise.
58446 * wcsmbs/wchar.h: Likewise.
58448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58449 open_by_handle): Add.
58450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58451 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58452 Augment a few comments.
58453 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58455 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58458 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58461 * io/fcntl.h (AT_EMPTY_PATH): Define.
58463 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58465 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58466 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58467 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58469 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58470 * Versions.def: Add GLIBC_2.14.
58471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58474 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58476 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58478 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58480 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58483 * string/test-strncmp.c (do_page_test): New function.
58484 (check2): Likewise.
58485 (test_main): Call check2.
58486 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58488 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58491 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58492 Handle cache information in CPU leaf 4.
58493 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58495 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58498 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58499 character representation.
58500 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58502 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58504 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58505 END(__isnan) to END(__isnanf) to match function entry point/label
58506 EALIGN(__isnanf,...).
58508 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58510 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58512 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58515 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58516 copy from the symbol referenced in the relocation to initialize the
58518 Patch by Piotr Bury <pbury@goahead.com>.
58519 * elf/Makefile: Add rules to build and tst-unique3.
58520 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58521 * elf/tst-unique3.cc: New file.
58522 * elf/tst-unique3.h: New file.
58523 * elf/tst-unique3lib.cc: New file.
58524 * elf/tst-unique3lib2.cc: New file.
58526 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58528 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58530 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58531 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58534 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58536 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58537 to-be-loaded object along a path to loader is ld.so.
58539 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58540 Ulrich Drepper <drepper@gmail.com>
58542 * sysdeps/x86_64/memset.S: After aligning destination, code
58543 branches to different locations depending on the value of
58544 misalignment, when multiarch is enabled. Fix this.
58546 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58548 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58549 Set _x86_64_preferred_memory_instruction for AMD processsors.
58550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58551 Set bit_Prefer_SSE_for_memop for AMD processors.
58553 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58555 * libio/fmemopen.c (fmemopen): Optimize a bit.
58557 2011-03-03 Andreas Schwab <schwab@redhat.com>
58559 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58561 2011-03-03 Roland McGrath <roland@redhat.com>
58563 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58565 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58567 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58568 __bzero_ultra1 instead of __memset_ultra1.
58570 2011-02-23 Andreas Schwab <schwab@redhat.com>
58571 Ulrich Drepper <drepper@gmail.com>
58574 * include/link.h (struct link_map): Add l_orig_initfini.
58575 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58576 returning unsuccessfully.
58577 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58578 close of a file loaded at startup, restore the original l_initfini
58580 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58581 list, store the pointer.
58582 * elf/Makefile ($(objpfx)noload-mem): New rule.
58583 (noload-ENV): Define.
58584 (tests): Add $(objpfx)noload-mem.
58585 * elf/noload.c: Include <memcheck.h>.
58586 (main): Call mtrace. Close all opened handles.
58588 2011-02-17 Andreas Schwab <schwab@redhat.com>
58591 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58592 dependencies are missing.
58594 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58596 Fix __if_freereq crash: Unlike the generic version which uses free,
58598 * sysdeps/mach/hurd/ifreq.h: New file.
58600 2011-01-27 Petr Baudis <pasky@suse.cz>
58601 Ulrich Drepper <drepper@gmail.com>
58604 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58605 to extend_alloca().
58606 * stdio-common/bug23.c: New file.
58607 * stdio-common/Makefile (tests): Add bug23.
58609 2010-09-28 Andreas Schwab <schwab@redhat.com>
58610 Ulrich Drepper <drepper@gmail.com>
58613 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58614 before performing relro protection. At old place add assertion
58615 to make sure nothing changed.
58617 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58618 Glauber de Oliveira Costa <glommer@gmail.com>
58620 * elf/elf.h: Add new ARM TLS relocs.
58622 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58625 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58627 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58629 * sysdeps/wordsize-64/tst-writev.c: New file.
58631 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58633 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58634 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58635 insns in _dl_start to prevent a TOC reference before relocs are
58638 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58641 * Makeconfig: Remove RANLIB definition.
58642 * Makerules: Don't use RANLIB.
58643 * aclocal.m4: Remove ranlib test.
58644 * configure.in: No need to check for ranlib.
58645 * elf/rtld-Rules: Don't use RANLIB.
58647 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58649 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58651 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58652 inclusion protection macro.
58654 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58655 SIGRTMIN and SIGRTMAX and print information in that case only when
58656 SIGRTMIN is defined.
58658 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58660 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58661 arginfo fn returning -1.
58663 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58664 and thousands string is zero terminated.
58666 2011-02-03 Andreas Schwab <schwab@redhat.com>
58668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58669 sysdeps/unix/sysv/linux/bits/socket.h.
58671 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58673 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58674 (__CPU_COUNT): Remove old macros.
58675 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58676 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58677 (__CPU_ALLOC, __CPU_FREE): Add macros.
58678 (__sched_cpualloc, __sched_cpufree): Add declarations.
58680 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58682 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58683 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58684 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58685 (readdhstai): Return value of addhstaiX call.
58686 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58687 (addgrbyX): Return value returned by cache_addgr.
58688 (readdgrbyname): Return value returned by addgrbyX.
58689 (readdgrbygid): Likewise.
58690 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58691 (addpwbyX): Return value returned by cache_addpw.
58692 (readdpwbyname): Return value returned by addhstbyX.
58693 (readdpwbyuid): Likewise.
58694 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58695 (addservbyX): Return value returned by cache_addserv.
58696 (readdservbyname): Return value returned by addservbyX:
58697 (readdservbyport): Likewise.
58698 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58699 (addhstbyX): Return value returned by cache_addhst.
58700 (readdhstbyname): Return value returned by addhstbyX.
58701 (readdhstbyaddr): Likewise.
58702 (readdhstbynamev6): Likewise.
58703 (readdhstbyaddrv6): Likewise.
58704 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58705 (readdinitgroups): Return value returned by addinitgroupsX.
58706 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58707 (prune_cache): Keep track of timeout value of re-added entries.
58708 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58709 * nscd/nscd.h: Adjust prototypes of readd* functions.
58711 2011-02-04 Roland McGrath <roland@redhat.com>
58713 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58714 (nis_stats): Likewise.
58715 * nis/nis_modify.c (nis_modify): Likewise.
58716 * nis/nis_remove.c (nis_remove): Likewise.
58717 * nis/nis_add.c (nis_add): Likewise.
58719 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58721 * posix/fnmatch_loop.c: Add some consts.
58723 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58725 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58728 * config.make.in (config-cflags-novzeroupper): Define.
58729 * configure.in: Substitute libc_cv_cc_novzeroupper.
58730 * elf/Makefile (AVX-CFLAGS): Define.
58731 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58732 (CFLAGS-tst-auditmod4a.c): Likewise.
58733 (CFLAGS-tst-auditmod4b.c): Likewise.
58734 (CFLAGS-tst-auditmod6b.c): Likewise.
58735 (CFLAGS-tst-auditmod6c.c): Likewise.
58736 (CFLAGS-tst-auditmod7b.c): Likewise.
58737 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58739 2011-02-02 Ulrich Drepper <drepper@gmail.com>
58741 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58742 function to the callback.
58743 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58745 2011-02-02 Andreas Schwab <schwab@redhat.com>
58747 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58750 2011-01-19 Ulrich Drepper <drepper@gmail.com>
58753 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58755 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58757 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58760 * elf/Makefile: Add rules to build and run new test.
58761 * elf/tst-initorder.c: New file.
58762 * elf/tst-initorder.exp: New file.
58763 * elf/tst-initordera1.c: New file.
58764 * elf/tst-initordera2.c: New file.
58765 * elf/tst-initordera3.c: New file.
58766 * elf/tst-initordera4.c: New file.
58767 * elf/tst-initorderb1.c: New file.
58768 * elf/tst-initorderb2.c: New file.
58769 * elf/tst-order-a1.c: New file.
58770 * elf/tst-order-a2.c: New file.
58771 * elf/tst-order-a3.c: New file.
58772 * elf/tst-order-a4.c: New file.
58773 * elf/tst-order-b1.c: New file.
58774 * elf/tst-order-b2.c: New file.
58775 * elf/tst-order-main.c: New file.
58776 New test case by George Gensure <werkt0@gmail.com>.
58778 2010-10-01 Andreas Schwab <schwab@redhat.com>
58780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58781 decoding ACE if AI_CANONIDN.
58783 2011-01-18 Ulrich Drepper <drepper@gmail.com>
58785 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58787 2011-01-17 Ulrich Drepper <drepper@gmail.com>
58789 * version.h (RELEASE): Bump for 2.13 release.
58790 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58792 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58794 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58796 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58797 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58798 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58799 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58800 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58801 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58803 * posix/getconf.c: Update copyright year.
58804 * catgets/gencat.c: Likewise.
58805 * csu/version.c: Likewise.
58806 * debug/catchsegv.sh: Likewise.
58807 * debug/xtrace.sh: Likewise.
58808 * elf/ldconfig.c: Likewise.
58809 * elf/ldd.bash.in: Likewise.
58810 * elf/sprof.c (print_version): Likewise.
58811 * iconv/iconv_prog.c: Likewise.
58812 * iconv/iconvconfig.c: Likewise.
58813 * locale/programs/locale.c: Likewise.
58814 * locale/programs/localedef.c: Likewise.
58815 * malloc/memusage.sh: Likewise.
58816 * malloc/mtrace.pl: Likewise.
58817 * nscd/nscd.c (print_version): Likewise.
58818 * nss/getent.c: Likewise.
58820 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58821 PF_CAIF, and PF_ALG.
58822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58824 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58826 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58827 (modules-names): Use them.
58828 (ifunc-test-modules, ifunc-pie-tests): Define.
58829 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58830 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58831 (test-extras): Likewise.
58832 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58833 $(compile-command.c).
58834 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58835 (all-built-dso): Define.
58836 (check-textrel.out, check-execstack.out): Depend on it.
58838 * configure.in: Don't override --enable-multi-arch.
58840 2011-01-15 Ulrich Drepper <drepper@gmail.com>
58843 * nscd/hstcache.c (tryagain): Define.
58844 (cache_addhst): Return tryagain not notfound for temporary errors.
58845 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58848 2011-01-14 Ulrich Drepper <drepper@gmail.com>
58851 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58852 to make the syscall.
58853 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58856 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58857 and fall back to matching as normal character if the string ends before
58858 the matching ']' is found. This is what POSIX requires.
58859 * posix/testfnm.c: Adjust test result.
58860 * posix/globtest.sh: Adjust test result. Add new test.
58861 * posix/tst-fnmatch.input: Likewise.
58862 * posix/tst-fnmatch2.c: Add new test.
58864 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58866 * elf/Makefile (check-execstack): Revert last change. Depend on
58868 (check-execstack.h): New target.
58869 (generated): Add check-execstack.h.
58870 * elf/check-execstack.c: Include "check-execstack.h".
58871 (main): Revert last change.
58872 (handle_file): Return zero if GNU_STACK is absent and
58873 DEFAULT_STACK_PERMS doesn't include PF_X.
58875 2011-01-13 Ulrich Drepper <drepper@gmail.com>
58877 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58878 in child fails because the descriptor is already closed.
58879 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58880 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58881 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58884 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58888 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58889 temporary buffer used to handle multi lookups locally.
58890 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58892 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58894 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58897 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58899 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58900 alignment for SSE2.
58902 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58905 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58906 characters. When rounding increased number of integer digits recompute
58908 * stdio-common/tst-grouping.c: New file.
58909 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58911 2011-01-09 Ulrich Drepper <drepper@gmail.com>
58913 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58914 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58916 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58918 * bits/select.h: Likewise.
58920 2011-01-08 Ulrich Drepper <drepper@gmail.com>
58922 * po/ja.po: Update from translation team.
58924 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
58927 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58928 implementation just like for lxstat, fxstatat, et al.
58930 2010-12-27 Jim Meyering <meyering@redhat.com>
58933 * posix/regexec.c (build_trtable): Return failure indication upon
58934 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58936 2010-12-25 Ulrich Drepper <drepper@gmail.com>
58939 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58940 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58941 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58945 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58948 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58949 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58951 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58953 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58954 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58955 script has SORT_BY_INIT_PRIORITY.
58956 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58957 NO_CTORS_DTORS_SECTIONS is defined.
58958 * elf/soinit.c: Likewise.
58959 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58960 NO_CTORS_DTORS_SECTIONS is defined.
58961 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58962 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58963 * sysdeps/sh/init-first.c: Likewise.
58964 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58966 2010-12-24 Ulrich Drepper <drepper@gmail.com>
58968 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58969 always use the slow path.
58971 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58973 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58974 similar rule which adds the sysdep directories to the header search in
58975 order to pick up the correct platform stackinfo.h.
58976 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58977 perform test if it is, otherwise return successfully without testing.
58978 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58979 DEFAULT_STACK_PERMS define in stackinfo.h.
58980 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58981 defined in stackinfo.h.
58982 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58983 DEFAULT_STACK_PERMS defined in stackinfo.h.
58984 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58985 * sysdeps/ia64/stackinfo.h: Likewise.
58986 * sysdeps/s390/stackinfo.h: Likewise.
58987 * sysdeps/sh/stackinfo.h: Likewise.
58988 * sysdeps/sparc/stackinfo.h: Likewise.
58989 * sysdeps/x86_64/stackinfo.h: Likewise.
58990 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58991 PF_X for powerpc64. Retain PF_X for powerpc32.
58993 2010-12-19 Ulrich Drepper <drepper@gmail.com>
58995 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58997 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58998 GETDENTS_64BIT_ALIGNED.
59000 2010-12-14 Ulrich Drepper <dreper@gmail.com>
59002 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59004 2010-12-10 Andreas Schwab <schwab@redhat.com>
59006 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59009 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59010 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59012 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59013 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59015 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59018 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59021 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59023 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59025 2010-12-03 Ulrich Drepper <drepper@gmail.com>
59027 * po/it.po: Update from translation team.
59029 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
59031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59034 2010-11-30 Ulrich Drepper <drepper@gmail.com>
59036 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59038 2010-11-24 Andreas Schwab <schwab@redhat.com>
59040 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59042 (gaih_getanswer_slice): Likewise.
59044 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59048 2010-05-31 Petr Baudis <pasky@suse.cz>
59051 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59052 silently even in the chroot mode.
59054 2010-11-22 Ulrich Drepper <drepper@gmail.com>
59056 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59057 last patch a bit. Pretty printing
59059 2010-05-31 Petr Baudis <pasky@suse.cz>
59062 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59063 initialization of skip_initgroups_dyn.
59065 2010-11-19 Ulrich Drepper <drepper@gmail.com>
59067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59070 2010-11-16 Ulrich Drepper <drepper@gmail.com>
59072 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59074 2010-11-11 Andreas Schwab <schwab@redhat.com>
59076 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59077 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59078 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59079 ($(objpfx)tst-fnmatch-mem): New rule.
59080 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59081 * posix/tst-fnmatch.c (main): Call mtrace.
59083 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59086 Support Intel processor model 6 and model 0x2c.
59088 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59090 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59093 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59096 * string/test-strncasecmp.c (check_result): New function.
59097 (do_one_test): Use it.
59098 (check1): New function.
59099 (test_main): Use it.
59100 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59101 Support strcasecmp and strncasecmp.
59103 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59106 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59107 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59109 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59111 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59115 * sysdeps/x86_64/multiarch/bzero.S: New file.
59116 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59117 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59118 * sysdeps/x86_64/multiarch/memset.S: New file.
59119 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59121 Set bit_Prefer_SSE_for_memop for Intel processors.
59122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59124 (index_Prefer_SSE_for_memop): Define.
59125 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59127 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59129 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59130 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59132 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59135 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59136 (__x86_64_raw_data_cache_size_half): Likewise.
59137 (__x86_64_raw_shared_cache_size): Likewise.
59138 (__x86_64_raw_shared_cache_size_half): Likewise.
59140 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59141 (__x86_64_raw_data_cache_size_half): Likewise.
59142 (__x86_64_raw_shared_cache_size): Likewise.
59143 (__x86_64_raw_shared_cache_size_half): Likewise.
59144 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59145 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59146 and __x86_64_raw_shared_cache_size_half. Round
59147 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59148 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59149 to multiple of 256 bytes.
59151 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59154 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59155 of inacessible symlinks. Verify result of symlink before returning it.
59156 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59157 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59159 2010-10-28 Erich Ritz <erichritz@gmail.com>
59161 * math/math.h (isinf): Fix typo in comment.
59163 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59165 * po/da.po: Update from translation team.
59167 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59169 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59170 is added to the list.
59172 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59173 Ulrich Drepper <drepper@gmail.com>
59175 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59176 the global list here. Move code to...
59177 (_dl_add_to_namespace_list): ...here. New function.
59178 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59179 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59180 * elf/dl-load.c (lose): Don't remove the element from the list.
59181 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59182 (_dl_map_object): Likewise.
59184 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59187 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59188 into all bytes of SSE register.
59189 Patch by Richard Li <richardpku@gmail.com>.
59191 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59194 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59197 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59199 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59200 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59201 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59202 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59207 2010-10-22 Andreas Schwab <schwab@redhat.com>
59209 * include/dlfcn.h (__RTLD_SECURE): Define.
59210 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59211 mode & __RTLD_SECURE instead.
59212 (open_path): Rename preloaded parameter to secure.
59213 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59214 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59215 * elf/dl-deps.c (openaux): Likewise.
59216 * elf/rtld.c (struct map_args): Remove is_preloaded.
59217 (map_doit): Don't use it.
59218 (dl_main): Likewise.
59219 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59220 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59222 2010-09-09 Andreas Schwab <schwab@redhat.com>
59224 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59225 (sysd-rules-targets): Remove duplicates.
59226 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59227 rtld-%.$o dependency.
59229 2010-10-18 Andreas Schwab <schwab@redhat.com>
59231 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59232 _dl_map_object do it.
59234 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59236 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59237 fast fma builtins, define the macros in the C99 standard.
59238 (FP_FAST_FMAF): Likewise.
59239 (FP_FAST_FMAL): Likewise.
59240 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59242 * bits/mathdef.h: Update copyright year.
59243 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59245 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59247 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59248 builtins, define the macros in the C99 standard.
59249 (FP_FAST_FMAF): Likewise.
59250 (FP_FAST_FMAL): Likewise.
59251 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59253 (FP_FAST_FMAF): Likewise.
59255 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59258 * math/libm-test.inc (fma_test): Some new testcases.
59259 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59260 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59261 y and infinite z. Do multiplication by C already in long double.
59262 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59264 y and infinite z. Do bitwise or of inexact bit into u.d.
59265 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59266 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59267 * sysdeps/i386/fpu/s_fma.S: Removed.
59268 * sysdeps/i386/fpu/s_fmal.S: Removed.
59270 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59273 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59275 computation is not scheduled after fetestexcept. Fix value
59276 of minimum denormal long double.
59278 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59281 * math/libm-test.inc (fma_test): Add some more tests.
59282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59285 2010-10-15 Andreas Schwab <schwab@redhat.com>
59287 * scripts/data/localplt-s390-linux-gnu.data: New file.
59288 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59290 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59293 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59294 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59296 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59298 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59300 if one of x and y is very large and the other is subnormal.
59301 * sysdeps/s390/fpu/s_fmaf.c: New file.
59302 * sysdeps/s390/fpu/s_fma.c: New file.
59303 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59304 * sysdeps/powerpc/fpu/s_fma.S: New file.
59305 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59306 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59307 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59309 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59312 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59315 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59316 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59317 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59318 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59319 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59320 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59322 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59325 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59326 * posix/bug-regex31.input: Add test case.
59328 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59330 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59331 * posix/bug-regex31.input: New file.
59334 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59335 (parse_sub_exp): Fix last change, use postorder.
59337 * posix/bug-regex31.c: New file.
59338 * posix/Makefile: Add rules to build and run bug-regex31.
59340 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59343 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59346 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59347 to have entries in sys_siglist.
59350 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59353 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59356 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59357 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59358 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59359 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59360 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59361 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59362 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59363 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59364 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59365 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59366 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59367 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59368 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59369 * math/ftestexcept.c (fetestexcept): Likewise.
59370 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59371 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59372 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59373 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59374 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59375 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59378 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59381 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59384 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59386 * string/bug-strstr1.c: New file.
59387 * string/Makefile: Add rules to build and run bug-strstr1.
59389 2010-10-05 Eric Blake <eblake@redhat.com>
59392 * string/str-two-way.h (two_way_long_needle): Always clear memory
59393 when skipping input due to the shift table.
59395 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59398 * malloc/mcheck.c: Handle large requests.
59401 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59402 for strncmp and strncasecmp.
59403 * string/stratcliff.c: Add tests for strcmp and strncmp.
59404 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59406 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59408 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59411 2010-09-30 Andreas Jaeger <aj@suse.de>
59413 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59414 (CGROUP_SUPER_MAGIC): Define.
59415 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59416 Handle btrfs and cgroup file systems.
59417 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59420 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59422 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59423 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59425 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59428 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59429 trying to locate the ELF header.
59431 2010-09-27 Andreas Schwab <schwab@redhat.com>
59434 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59435 Mask out sign-bit copies when constructing f_fsid.
59437 2010-09-24 Petr Baudis <pasky@suse.cz>
59439 * debug/stack_chk_fail_local.c: Add missing licence exception.
59440 * debug/warning-nop.c: Likewise.
59442 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59444 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59445 implementing getdents64 using getdents syscall, set d_type if
59446 __ASSUME_GETDENTS32_D_TYPE.
59448 2010-09-16 Andreas Schwab <schwab@redhat.com>
59450 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59451 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59453 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59456 * posix/unistd.h: Undo change of feature selection for ftruncate from
59459 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59461 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59464 2010-09-20 Andreas Schwab <schwab@redhat.com>
59466 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59468 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59470 2010-09-14 Andreas Schwab <schwab@redhat.com>
59472 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59473 variables after CHECK_SP call.
59474 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59476 2010-09-13 Andreas Schwab <schwab@redhat.com>
59477 Ulrich Drepper <drepper@redhat.com>
59479 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59480 re-relocationg ld.so.
59481 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59482 _dl_init_paths call.
59483 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59486 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59488 * resolv/res_init.c (__res_vinit): Count the default server we added.
59490 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59491 Ulrich Drepper <drepper@redhat.com>
59494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59495 (____longjmp_chk): Use %ebx for saving value across system call.
59498 2010-09-06 Andreas Schwab <schwab@redhat.com>
59500 * manual/Makefile: Don't mix pattern rules with normal rules.
59502 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59504 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59506 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59507 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59508 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59509 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59513 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59516 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59517 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59519 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59521 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59522 * sysdeps/x86_64/addmul_1.S: Likewise.
59523 * sysdeps/x86_64/lshift.S: Likewise.
59524 * sysdeps/x86_64/mul_1.S: Likewise.
59525 * sysdeps/x86_64/rshift.S: Likewise.
59526 * sysdeps/x86_64/sub_n.S: Likewise.
59527 * sysdeps/x86_64/submul_1.S: Likewise.
59529 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59531 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59532 Define __sched_param instead of SCHED_* and sched_param when
59533 <bits/sched.h> is included with __need_schedparam defined.
59534 * bits/sched.h [__need_schedparam]
59535 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59536 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59537 (__defined_schedparam): Define to 1.
59538 (__sched_param): New structure, identical to sched_param.
59539 (__need_schedparam): Undefine.
59541 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59543 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59544 (epoll_create1): Declare.
59546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59548 2010-08-31 Andreas Schwab <schwab@redhat.com>
59551 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59552 shifting retval into place.
59554 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59556 * nis/rpcsvc/nis.h: Update copyright notice.
59557 * nis/rpcsvc/nis.x: Likewise.
59558 * nis/rpcsvc/nis_callback.h: Likewise.
59559 * nis/rpcsvc/nis_callback.x: Likewise.
59560 * nis/rpcsvc/nis_object.x: Likewise.
59561 * nis/rpcsvc/nis_tags.h: Likewise.
59562 * nis/rpcsvc/yp.h: Likewise.
59563 * nis/rpcsvc/yp.x: Likewise.
59564 * nis/rpcsvc/ypupd.h: Likewise.
59565 * nis/yp_xdr.c: Likewise.
59566 * nis/ypupdate_xdr.c: Likewise.
59568 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59569 mainly the body of pmap_getport. Add parameters to specify timeouts.
59570 (pmap_getport): Use __libc_rpc_getport.
59571 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59572 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59573 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59575 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59580 2010-08-27 Roland McGrath <roland@redhat.com>
59582 * sysdeps/i386/i686/multiarch/Makefile
59583 (CFLAGS-varshift.c): New variable.
59585 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59587 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59588 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59592 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59594 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59596 * sysdeps/x86_64/strlen.S: Unroll the loop.
59597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59598 strlen-sse2 strlen-sse2-bsf.
59599 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59600 __strlen_no_bsf if bit_Slow_BSF is set.
59601 (__strlen_sse42): Removed.
59602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59603 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59605 2010-08-25 Roland McGrath <roland@redhat.com>
59607 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59608 * sysdeps/x86_64/multiarch/varshift.c: New file.
59609 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59610 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59611 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59612 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59614 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59617 strlen-sse2 strlen-sse2-bsf.
59618 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59619 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59620 (__strlen_sse2): Removed.
59621 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59624 bit_Slow_BSF for Atom.
59625 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59626 (index_Slow_BSF): Define.
59627 (HAS_SLOW_BSF): Define.
59629 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59632 * resolv/res_init.c (__res_vinit): When no server address at all
59633 is given default to loopback.
59635 2010-08-24 Roland McGrath <roland@redhat.com>
59637 * configure.in: Remove config-name.h generation.
59638 * configure: Regenerated.
59639 * config-name.in: File removed.
59640 * scripts/config-uname.sh: New file.
59641 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59642 ($(objdir)config-name.h): New target.
59644 * sunrpc/rpc_parse.h: Avoid nested comment.
59646 2010-08-24 Richard Henderson <rth@redhat.com>
59647 Ulrich Drepper <drepper@redhat.com>
59648 H.J. Lu <hongjiu.lu@intel.com>
59650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59652 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59653 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59654 _mm_alignr_epi8 with _mm_loadu_si128.
59655 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59656 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59657 (__m128i_shift_right): Removed.
59658 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59659 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59660 * sysdeps/x86_64/multiarch/varshift.h: New file.
59661 * sysdeps/x86_64/multiarch/varshift.S: New file.
59663 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59665 * configure.in: Move assembler checks to before sysdep dir checking.
59667 2010-08-20 Petr Baudis <pasky@suse.cz>
59669 * LICENSES: Sync the sunrpc license.
59671 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59673 * sunrpc/auth_des.c: Update copyright notice once again.
59674 * sunrpc/auth_none.c: Likewise.
59675 * sunrpc/auth_unix.c: Likewise.
59676 * sunrpc/authdes_prot.c: Likewise.
59677 * sunrpc/authuxprot.c: Likewise.
59678 * sunrpc/bindrsvprt.c: Likewise.
59679 * sunrpc/clnt_gen.c: Likewise.
59680 * sunrpc/clnt_perr.c: Likewise.
59681 * sunrpc/clnt_raw.c: Likewise.
59682 * sunrpc/clnt_simp.c: Likewise.
59683 * sunrpc/clnt_tcp.c: Likewise.
59684 * sunrpc/clnt_udp.c: Likewise.
59685 * sunrpc/clnt_unix.c: Likewise.
59686 * sunrpc/des_crypt.c: Likewise.
59687 * sunrpc/des_soft.c: Likewise.
59688 * sunrpc/get_myaddr.c: Likewise.
59689 * sunrpc/getrpcport.c: Likewise.
59690 * sunrpc/key_call.c: Likewise.
59691 * sunrpc/key_prot.c: Likewise.
59692 * sunrpc/openchild.c: Likewise.
59693 * sunrpc/pm_getmaps.c: Likewise.
59694 * sunrpc/pm_getport.c: Likewise.
59695 * sunrpc/pmap_clnt.c: Likewise.
59696 * sunrpc/pmap_prot.c: Likewise.
59697 * sunrpc/pmap_prot2.c: Likewise.
59698 * sunrpc/pmap_rmt.c: Likewise.
59699 * sunrpc/rpc/auth.h: Likewise.
59700 * sunrpc/rpc/auth_unix.h: Likewise.
59701 * sunrpc/rpc/clnt.h: Likewise.
59702 * sunrpc/rpc/des_crypt.h: Likewise.
59703 * sunrpc/rpc/key_prot.h: Likewise.
59704 * sunrpc/rpc/netdb.h: Likewise.
59705 * sunrpc/rpc/pmap_clnt.h: Likewise.
59706 * sunrpc/rpc/pmap_prot.h: Likewise.
59707 * sunrpc/rpc/pmap_rmt.h: Likewise.
59708 * sunrpc/rpc/rpc.h: Likewise.
59709 * sunrpc/rpc/rpc_des.h: Likewise.
59710 * sunrpc/rpc/rpc_msg.h: Likewise.
59711 * sunrpc/rpc/svc.h: Likewise.
59712 * sunrpc/rpc/svc_auth.h: Likewise.
59713 * sunrpc/rpc/types.h: Likewise.
59714 * sunrpc/rpc/xdr.h: Likewise.
59715 * sunrpc/rpc_clntout.c: Likewise.
59716 * sunrpc/rpc_cmsg.c: Likewise.
59717 * sunrpc/rpc_common.c: Likewise.
59718 * sunrpc/rpc_cout.c: Likewise.
59719 * sunrpc/rpc_dtable.c: Likewise.
59720 * sunrpc/rpc_hout.c: Likewise.
59721 * sunrpc/rpc_main.c: Likewise.
59722 * sunrpc/rpc_parse.c: Likewise.
59723 * sunrpc/rpc_parse.h: Likewise.
59724 * sunrpc/rpc_prot.c: Likewise.
59725 * sunrpc/rpc_sample.c: Likewise.
59726 * sunrpc/rpc_scan.c: Likewise.
59727 * sunrpc/rpc_scan.h: Likewise.
59728 * sunrpc/rpc_svcout.c: Likewise.
59729 * sunrpc/rpc_tblout.c: Likewise.
59730 * sunrpc/rpc_util.c: Likewise.
59731 * sunrpc/rpc_util.h: Likewise.
59732 * sunrpc/rpcinfo.c: Likewise.
59733 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59734 * sunrpc/rpcsvc/key_prot.x: Likewise.
59735 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59736 * sunrpc/rpcsvc/mount.x: Likewise.
59737 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59738 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59739 * sunrpc/rpcsvc/rex.x: Likewise.
59740 * sunrpc/rpcsvc/rstat.x: Likewise.
59741 * sunrpc/rpcsvc/rusers.x: Likewise.
59742 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59743 * sunrpc/rpcsvc/spray.x: Likewise.
59744 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59745 * sunrpc/rtime.c: Likewise.
59746 * sunrpc/svc.c: Likewise.
59747 * sunrpc/svc_auth.c: Likewise.
59748 * sunrpc/svc_authux.c: Likewise.
59749 * sunrpc/svc_raw.c: Likewise.
59750 * sunrpc/svc_run.c: Likewise.
59751 * sunrpc/svc_simple.c: Likewise.
59752 * sunrpc/svc_tcp.c: Likewise.
59753 * sunrpc/svc_udp.c: Likewise.
59754 * sunrpc/svc_unix.c: Likewise.
59755 * sunrpc/svcauth_des.c: Likewise.
59756 * sunrpc/xcrypt.c: Likewise.
59757 * sunrpc/xdr.c: Likewise.
59758 * sunrpc/xdr_array.c: Likewise.
59759 * sunrpc/xdr_float.c: Likewise.
59760 * sunrpc/xdr_mem.c: Likewise.
59761 * sunrpc/xdr_rec.c: Likewise.
59762 * sunrpc/xdr_ref.c: Likewise.
59763 * sunrpc/xdr_sizeof.c: Likewise.
59764 * sunrpc/xdr_stdio.c: Likewise.
59766 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59769 2010-08-19 Andreas Schwab <schwab@redhat.com>
59771 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59773 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
59775 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59776 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59777 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59778 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59779 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59780 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59781 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59782 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59784 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59785 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59786 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59787 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59788 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59790 2010-07-26 Anton Blanchard <anton@samba.org>
59792 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59793 * malloc/arena.c (heap_trim): Likewise.
59795 2010-08-16 Ulrich Drepper <drepper@redhat.com>
59797 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59799 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59800 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59802 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59804 * sysdeps/i386/elf/Makefile: New file.
59806 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59808 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59809 from fanotify_init.
59810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59813 2010-08-15 Ulrich Drepper <drepper@redhat.com>
59815 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59817 * sysdeps/multiarch/strcmp.S: Likewise.
59819 2010-08-14 Ulrich Drepper <drepper@redhat.com>
59821 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59822 strncase_l-nonascii.
59823 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59824 Add strncase_l-ssse3.
59825 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59826 * sysdeps/x86_64/strcmp.S: Likewise.
59827 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59828 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59829 * sysdeps/x86_64/strncase.S: New file.
59830 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59831 * sysdeps/x86_64/strncase_l.S: New file.
59832 * string/Makefile (strop-tests): Add strncasecmp.
59833 * string/test-strncasecmp.c: New file.
59835 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59838 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59839 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59841 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59843 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59845 2010-08-12 Ulrich Drepper <drepper@redhat.com>
59847 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59848 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59849 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59851 2010-05-01 Alan Modra <amodra@gmail.com>
59853 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59854 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59855 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59856 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59857 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59858 tidying. Don't tail-call __sigjmp_save for static lib.
59859 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59861 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59862 (CALL_MCOUNT): Add eh info, and nop after bl.
59863 (TAIL_CALL_SYSCALL_ERROR): New macro.
59864 (PSEUDO_RET): Use it.
59865 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59866 Correct save location of integer regs and cr.
59867 (_dl_profile_resolve): Correct cr save location. Delete nops
59868 after bl when SHARED. Reduce cfi size a little by better
59869 placement of cfi directives.
59870 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59871 make a stack frame. Instead use parm save area as a temp.
59872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59873 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59875 Don't make a stack frame for parent, use parm save area.
59876 Increase child stack frame to 112 bytes. Don't save unused reg,
59877 and adjust reg usage. Set up cfi on error recovery and
59878 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59880 (__makecontext): Add dummy nop after jump to exit.
59881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59882 Use correct parm save area and cr save, reduce stack frame.
59883 Correct cfi for possible PSEUDO_RET frame setup.
59884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59885 Branch to local label emitted by PSEUDO_RET rather than
59888 2010-08-12 Andreas Schwab <schwab@redhat.com>
59891 * locale/programs/locale.c (print_assignment): New function.
59892 (show_locale_vars): Use it.
59894 2010-08-11 Ulrich Drepper <drepper@redhat.com>
59896 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59898 (struct statfs64): Likewise.
59899 (_STATFS_F_FLAGS): Define.
59900 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59901 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59902 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59903 (ST_VALID): Define locally.
59904 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59905 __statvfs_getflags, use the provided value.
59906 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59907 __ASSUME_STATFS_F_FLAGS.
59909 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59911 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59912 Add sys/fanotify.h.
59913 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59914 fanotify_mask for GLIBC_2.13.
59915 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59916 fanotify_init and fanotify_mark.
59917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59918 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59920 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59922 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59923 prlimit64 for GLIBC_2.13.
59924 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59926 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59929 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59930 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59931 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59934 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59937 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59938 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59940 * nss/Makefile: Add rules to build and run tst-nss-test1.
59941 * shlib-versions: Add entry for libnss_test1.
59942 * nss/nss_test1.c: New file.
59943 * nss/tst-nss-test1.c: New file.
59945 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59946 (__nss_configure_lookup): Set appropriate entry in
59947 __nss_configure_lookup to true.
59948 * nss/nsswitch.h: Define enum with indeces of databases in
59949 databases and __nss_database_custom arrays. Declare
59950 __nss_database_custom.
59951 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59952 to avoid using nscd when custom rules are installed.
59953 * nss/getXXbyYY_r.c: Likewise.
59954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59956 * nss/nss_files/files-parse.c: Whitespace fixes.
59958 2010-08-09 Ulrich Drepper <drepper@redhat.com>
59961 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59962 * posix/fnmatch_loop.c: Likewise.
59964 2010-07-17 Andi Kleen <ak@linux.intel.com>
59966 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59967 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59968 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59969 * Versions.def [GLIBC_2.13]: Add.
59971 2010-08-06 Ulrich Drepper <drepper@redhat.com>
59973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59974 Also fail if tpwd after pwuid call is NULL.
59976 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59978 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59979 when converting to ms.
59981 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59983 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59984 EOPNOTSUPP errors with ENOTTY.
59985 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59986 EOPNOTSUPP errors with ENOTTY.
59988 2010-07-31 Ulrich Drepper <drepper@redhat.com>
59990 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59991 Add strcasecmp_l-ssse3.
59992 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59994 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59995 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59996 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59998 2010-07-30 Ulrich Drepper <drepper@redhat.com>
60000 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60002 * string/Makefile (strop-tests): Add strcasecmp.
60003 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60004 strcasecmp_l-nonascii.
60005 (gen-as-const-headers): Add locale-defines.sym.
60006 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60007 * sysdeps/x86_64/strcasecmp.S: New file.
60008 * sysdeps/x86_64/strcasecmp_l.S: New file.
60009 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60010 * sysdeps/x86_64/locale-defines.sym: New file.
60011 * string/test-strcasecmp.c: New file.
60013 * string/test-strcasestr.c: Test both ends of the range of characters.
60014 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60016 2010-07-29 Roland McGrath <roland@redhat.com>
60019 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60021 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60023 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60026 2010-07-27 Andreas Schwab <schwab@redhat.com>
60028 * manual/memory.texi (Malloc Tunable Parameters): Document
60031 2010-07-26 Roland McGrath <roland@redhat.com>
60034 * configure.in (-fgnu89-inline check): Set and substitute
60035 gnu89_inline, not libc_cv_gnu89_inline.
60036 * configure: Regenerated.
60037 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60039 2010-07-26 Ulrich Drepper <drepper@redhat.com>
60041 * string/test-strnlen.c: New file.
60042 * string/Makefile (strop-tests): Add strnlen.
60043 * string/tester.c (test_strnlen): Add a few more test cases.
60044 * string/tst-strlen.c: Better error reporting.
60046 * sysdeps/x86_64/strnlen.S: New file.
60048 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60050 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60051 lower-latency instructions.
60053 2010-07-23 Ulrich Drepper <drepper@redhat.com>
60055 * string/test-strcasestr.c: New file.
60056 * string/test-strstr.c: New file.
60057 * string/Makefile (strop-tests): Add strstr and strcasestr.
60058 * string/str-two-way.h: Don't undefine MAX.
60059 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60061 2010-07-21 Andreas Schwab <schwab@redhat.com>
60063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60064 strcasestr-nonascii.
60065 (CFLAGS-strcasestr-nonascii.c): Define.
60066 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60067 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60068 Remove unused attribute.
60070 2010-07-20 Roland McGrath <roland@redhat.com>
60072 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60073 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60074 ld.so.cache was broken. With it, there is no way to disable dsocaps
60075 like LD_HWCAP_MASK can disable hwcaps.
60077 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60079 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60081 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60083 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60084 call in strcasestr.
60085 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60086 __strcasestr_sse42_nonascii.
60087 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60088 strcasestr-nonascii.c.
60089 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60091 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60093 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60094 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60095 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60096 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60098 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60103 2010-07-06 Andreas Schwab <schwab@redhat.com>
60106 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60109 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60111 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60112 _PC_PIPE_BUF using F_GETPIPE_SZ.
60114 2010-07-05 Roland McGrath <roland@redhat.com>
60116 * manual/arith.texi (Rounding Functions): Fix rint description
60117 implicit in round description.
60119 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60121 * elf/Makefile: Fix linking for a few tests to make recent linker
60124 2010-06-30 Andreas Schwab <schwab@redhat.com>
60126 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60127 $(common-objpfx)libc_nonshared.a.
60129 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60131 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60132 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60133 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60134 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60135 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60136 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60137 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60138 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60153 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60154 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60155 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60156 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60157 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60158 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60159 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60160 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60161 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60162 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60163 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60164 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60180 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60182 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60183 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60184 * string/memmove.c (memmove): Renamed to ...
60185 (MEMMOVE): ...this. Default to memmove.
60186 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60187 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60190 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60191 mempcpy-ssse3-back memmove-ssse3-back.
60192 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60194 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60195 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60196 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60197 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60198 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60199 * sysdeps/x86_64/multiarch/memmove.c: New file.
60200 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60201 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60202 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60203 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60204 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60207 (index_Fast_Copy_Backward): Define.
60208 (HAS_ARCH_FEATURE): Define.
60209 (HAS_FAST_REP_STRING): Define.
60210 (HAS_FAST_COPY_BACKWARD): Define.
60212 2010-06-21 Andreas Schwab <schwab@redhat.com>
60214 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60215 Restore proper fallback handling.
60217 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60220 * posix/group_member.c (__group_member): Correct checking loop.
60222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60223 OOM in getpwuid_r correctly. Return error number when the caller
60224 should return, otherwise -1.
60225 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60226 call returning > 0 value.
60227 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60229 2010-06-07 Andreas Schwab <schwab@redhat.com>
60231 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60232 libc_nonshared.a from targets in modules-names.
60234 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60236 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60239 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60241 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60242 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60246 2010-06-02 Andreas Schwab <schwab@redhat.com>
60248 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60250 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60252 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60261 2010-06-14 Roland McGrath <roland@redhat.com>
60263 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60265 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60267 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60268 __REDIRECT followed by __THROW.
60269 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60270 * posix/getopt.h (getopt): Likewise.
60272 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60274 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60275 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60276 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60278 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60279 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60281 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60283 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60285 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60289 Properly check family and model.
60291 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60293 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60295 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60297 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60299 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60301 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60304 2010-05-19 Andreas Schwab <schwab@redhat.com>
60306 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60309 2010-05-21 Andreas Schwab <schwab@redhat.com>
60311 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60312 and internal_recvmmsg.
60313 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60314 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60315 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60316 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60318 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60319 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60320 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60322 2010-05-20 Andreas Schwab <schwab@redhat.com>
60324 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60326 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60328 POWER7 optimizations.
60329 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60330 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60332 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60334 * version.h: Update for 2.13 development version.
60336 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60338 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60339 exceptions. Return 0.
60341 2010-05-07 Roland McGrath <roland@redhat.com>
60343 * elf/ldconfig.c (main): Add a const.
60345 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60347 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60348 (args_options): Add no-idn option.
60349 (ahosts_keys_int): Add idn_flags to ai_flags.
60350 (parse_option): Handle 'i' option to clear idn_flags.
60352 * malloc/malloc.c (_int_free): Possible race in the most recently
60353 added check. Only act on the data if no current modification
60356 See ChangeLog.17 for earlier changes.