1 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6 (cvt_symbol): Use weak_alias instead of strong_alias.
7 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14 * inet/herrno.c (h_errno): Rename to __h_errno.
15 (__libc_h_errno): Define as alias of __h_errno not h_errno.
16 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17 to __h_errno instead of h_errno.
18 * nptl/herrno.c (h_errno): Rename to __h_errno.
19 (__h_errno_location): Refer to __h_errno not h_errno.
20 * resolv/Versions (h_errno): Rename to __h_errno.
21 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
27 * configure.ac: More strict check for AVX512 assembler support.
28 * configure: Regenerated.
30 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
31 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
32 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35 * sysdeps/x86_64/fpu/Versions: New versions added.
36 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
37 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
38 build of SSE, AVX2 and AVX512 IFUNC versions.
39 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
40 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
41 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
42 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
43 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
44 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
45 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
46 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
47 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
48 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
49 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
50 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
51 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
52 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
53 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
54 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
55 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
56 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
57 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
58 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
59 * NEWS: Mention addition of x86_64 vector sin.
61 2015-06-11 Florian Weimer <fweimer@redhat.com>
63 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
66 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
69 * nptl/pt-interp.c: New file.
70 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
72 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
73 $(common-objpfx)runtime-linker.h.
75 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
77 * Makeconfig (+interp): Remove unused variable.
78 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
79 only. Depend on $(common-objpfx)runtime-linker.h instead of
80 $(elf-objpfx)runtime-linker.h.
81 ($(elf-objpfx)runtime-linker.h): Rename to
82 $(common-objpfx)runtime-linker.h and move ...
83 * Makerules [$(build-shared) = yes]: ... here.
84 * elf/interp.c: Include <runtime-linker.h> instead of
85 <elf/runtime-linker.h>.
87 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
89 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
90 (__gettimeofday_syscall): Remove vsyscall fallback.
91 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
92 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
93 Add syscall fallback function.
94 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
95 if vDSO is not present.
96 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
98 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
101 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
103 2015-06-09 Joseph Myers <joseph@codesourcery.com>
106 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
108 (wcscmp): Define as weak alias of WCSCMP.
109 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
111 (USE_HIDDEN_DEF): Define.
112 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
113 __wcscoll. Don't use libc_hidden_weak.
114 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
116 * sysdeps/i386/i686/multiarch/wcscmp-c.c
117 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
119 (weak_alias): Undefine and redefine.
120 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
121 __wcscmp and define as weak alias of __wcscmp.
122 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
123 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
124 (__wcscoll): Likewise.
125 (wcscmp): Don't use libc_hidden_proto.
127 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
129 * posix/regexec.c (check_node_accept_bytes): Likewise.
130 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
132 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
133 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
136 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
137 __fstatvfs and define as weak alias of __fstatvfs. Use
139 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
140 and define as weak alias of __statvfs. Use libc_hidden_weak.
141 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
142 Define as alias of __fstatvfs, not fstatvfs.
143 (fstatvfs64): Likewise.
144 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
145 Define as alias of __statvfs, not statvfs.
146 (statvfs64): Likewise.
147 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
150 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
153 (HAVE_GETCPU_VSYSCALL): Define.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
155 (HAVE_GETCPU_VSYSCALL): Likewise.
156 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
157 * sysdeps/unix/sysv/linux/sched_getcpu.c
158 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
159 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
160 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
162 * sysdeps/unix/sysv/linux/x86_64/init-first.c
163 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
167 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
168 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
169 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
170 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
172 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
174 * sysdeps/x86_64/fpu/Makefile: New file.
175 * sysdeps/x86_64/fpu/Versions: New file.
176 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
177 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
178 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
179 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
180 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
181 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
182 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
183 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
184 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
185 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
186 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
187 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
188 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
189 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
190 build of SSE, AVX2 and AVX512 IFUNC versions.
191 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
192 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
193 * sysdeps/x86_64/configure.ac: Options for libmvec build.
194 * sysdeps/x86_64/configure: Regenerated.
195 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
196 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
197 * manual/install.texi (Configuring and compiling): Document
199 * INSTALL: Regenerated.
200 * NEWS: Mention addition of libmvec and x86_64 vector cos.
202 * math/Makefile: Added rules for vector tests.
203 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
204 declaration under condition.
205 * math/test-double-vlen2.h: New file.
206 * math/test-double-vlen4.h: New file.
207 * math/test-double-vlen8.h: New file.
208 * math/test-vec-loop.h: Added initialization macro.
209 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
210 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
211 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
212 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
213 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
214 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
215 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
216 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
217 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
218 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
219 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
221 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
222 * sysdeps/x86_64/fpu/Versions: New versions added.
223 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
224 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
225 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
226 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
227 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
228 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
229 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
230 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
231 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
232 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
233 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
234 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
235 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
236 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
237 build of SSE, AVX2 and AVX512 IFUNC versions.
238 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
239 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
240 * NEWS: Mention addition of x86_64 vector cosf.
242 * math/Makefile: Added CFLAGS for new tests.
243 * math/test-float-vlen16.h: New file.
244 * math/test-float-vlen4.h: New file.
245 * math/test-float-vlen8.h: New file.
246 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
247 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
248 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
249 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
250 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
251 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
252 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
253 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
254 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
255 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
256 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
258 2015-06-09 Marko Myllynen <myllynen@redhat.com>
260 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
261 * locale/programs/ld-ctype.c: Likewise.
263 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
265 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
266 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
267 bit_ZMM16_31_state): New macro.
268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
269 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
271 2015-06-08 Joseph Myers <joseph@codesourcery.com>
273 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
275 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
277 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
279 2015-06-05 Joseph Myers <joseph@codesourcery.com>
282 * libio/memstream.c (open_memstream): Rename to __open_memstream
283 and define as weak alias of __open_memstream.
284 * include/stdio.h (__open_memstream): Declare. Use
286 (open_memstream): Don't use libc_hidden_proto.
287 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
289 * posix/getopt.c (_getopt_internal_r): Likewise.
290 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
292 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
293 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
294 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
297 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
301 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
302 [__USE_XOPEN2K8]. Remove redundant #endif.
303 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
304 Remove redundant #if.
305 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
307 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
308 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
311 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
312 (__iswlower): Likewise.
313 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
314 (__iswlower): Likewise.
315 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
317 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
318 instead of iswlower. Call __towupper instead of towupper.
319 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
322 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
324 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
327 2015-06-05 Florian Weimer <fweimer@redhat.com>
331 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
332 Check for overflow properly. Check for O_APPEND. Ignore large
333 file system block sizes. Add comments about problems.
334 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
335 * manual/filesys.texi (Storage Allocation): New node.
337 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
339 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
340 cancellable syscalls.
341 (SYS_ify): Add guard to no redefine it.
342 (INLINE_SYSCALL): Likewise.
343 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
344 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
345 SYSCALL_CANCEL instead.
346 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
347 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
348 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
349 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
350 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
351 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
352 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
353 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
354 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
355 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
356 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
357 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
358 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
359 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
360 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
361 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
363 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
364 (__libc_pread64): Likewise.
365 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
366 (__libc_preadv): Likewise.
367 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
368 (__libc_readv64): Likewise.
369 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
370 (__libc_pwrite): Likewise.
371 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
372 (__libc_pwrite64): Likewise.
373 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
374 (__libc_pwritev): Likewise.
375 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
376 (__libc_pwritev64): Likewise.
377 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
378 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
379 (sync_file_range): Likewise.
380 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
382 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
384 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
385 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
386 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
387 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
388 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
389 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
390 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
391 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
395 (__libc_read64): Likewise.
396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
405 (__libc_pread64): Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
409 (__libc_pwrite64): Likewise.
410 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
411 (sync_file_range): Likewise.
412 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
413 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
414 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
415 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
416 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
417 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
418 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
419 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
420 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
421 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
422 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
423 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
424 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
425 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
426 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
427 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
428 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
429 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
430 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
432 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
434 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
435 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
437 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
438 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
439 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
440 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
442 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
443 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
444 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
445 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
446 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
448 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
450 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
452 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
453 Use VDSO routines for gettimeofday, clock_gettime if
455 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
456 Declare VDSO symbols.
457 * sysdeps/unix/sysv/linux/arm/sysdep.h:
458 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
459 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
460 * sysdeps/unix/sysv/linux/arm/Versions: Add
461 __vdso_clock_gettime.
463 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
465 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
466 be an inline implementation regardless of library is built within.
467 (open_not_cancel_2): Likewise.
468 (__read_nocancel): Likewise.
469 (__write_nocancel): Likewise.
470 (openat_not_cancel): Likewise.
471 (openat_not_cancel_3): Likewise.
472 (openat64_not_cancel): Likewise.
473 (openat64_not_cancel_3): Likewise.
474 (__close_nocancel): Likewise.
475 (pause_not_cancel): Likewise.
476 (nanosleep_not_cancel): Likewise.
477 (sigsuspend_not_cancel): Likewise.
479 2015-06-04 Torvald Riegel <triegel@redhat.com>
482 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
484 (__pthread_rwlock_rdlock_slow): Likewise.
485 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
487 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
489 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
490 * nptl/tst-rwlock16.c: New file.
491 * nptl/Makefile (tests): Add new test.
493 2015-06-04 Torvald Riegel <triegel@redhat.com>
496 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
497 missing wake-up of readers.
498 * nptl/tst-rwlock15.c: New file.
499 * nptl/Makefile (tests): Add new test.
501 2015-06-03 Roland McGrath <roland@hack.frob.com>
503 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
504 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
505 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
506 and __nacl_supply_interface_rtld.
507 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
508 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
509 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
510 Add __nacl_supply_interface_rtld.
511 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
513 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
515 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
518 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
520 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
522 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
523 __signbit* with standard C99 macros.
524 * math/e_exp10l.c: Likewise.
525 * math/e_exp2l.c: Likewise.
526 * math/e_scalb.c: Likewise.
527 * math/e_scalbf.c: Likewise.
528 * math/e_scalbl.c: Likewise.
529 * math/s_ldexp.c: Likewise.
530 * math/s_ldexpf.c: Likewise.
531 * math/s_ldexpl.c: Likewise.
532 * math/w_atan2.c: Likewise.
533 * math/w_atan2f.c: Likewise.
534 * math/w_atan2l.c: Likewise.
535 * math/w_cosh.c: Likewise.
536 * math/w_coshf.c: Likewise.
537 * math/w_coshl.c: Likewise.
538 * math/w_exp10.c: Likewise.
539 * math/w_exp10f.c: Likewise.
540 * math/w_exp10l.c: Likewise.
541 * math/w_exp2.c: Likewise.
542 * math/w_exp2f.c: Likewise.
543 * math/w_exp2l.c: Likewise.
544 * math/w_fmod.c: Likewise.
545 * math/w_fmodf.c: Likewise.
546 * math/w_fmodl.c: Likewise.
547 * math/w_hypot.c: Likewise.
548 * math/w_hypotf.c: Likewise.
549 * math/w_hypotl.c: Likewise.
550 * math/w_jnl.c: Likewise.
551 * math/w_lgamma.c: Likewise.
552 * math/w_lgamma_r.c: Likewise.
553 * math/w_lgammaf.c: Likewise.
554 * math/w_lgammaf_r.c: Likewise.
555 * math/w_lgammal.c: Likewise.
556 * math/w_lgammal_r.c: Likewise.
557 * math/w_pow.c: Likewise.
558 * math/w_powf.c: Likewise.
559 * math/w_powl.c: Likewise.
560 * math/w_remainder.c: Likewise.
561 * math/w_remainderf.c: Likewise.
562 * math/w_remainderl.c: Likewise.
563 * math/w_scalb.c: Likewise.
564 * math/w_scalbf.c: Likewise.
565 * math/w_scalbl.c: Likewise.
566 * math/w_scalbln.c: Likewise.
567 * math/w_scalblnf.c: Likewise.
568 * math/w_scalblnl.c: Likewise.
569 * math/w_sinh.c: Likewise.
570 * math/w_sinhf.c: Likewise.
571 * math/w_sinhl.c: Likewise.
572 * math/w_tgamma.c: Likewise.
573 * math/w_tgammaf.c: Likewise.
574 * math/w_tgammal.c: Likewise.
575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
576 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
577 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
578 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
579 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
581 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
582 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
583 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
584 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
585 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
586 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
587 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
588 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
589 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
590 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
591 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
592 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
593 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
596 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
597 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
599 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
601 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
602 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
603 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
604 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
605 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
606 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
607 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
608 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
609 * stdio-common/printf_fp.c: Likewise.
610 * stdio-common/printf_fphex.c: Likewise.
611 * stdio-common/printf_size.c: Likewise.
613 2015-06-03 Joseph Myers <joseph@codesourcery.com>
616 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
618 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
620 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
621 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
622 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
623 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
624 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
625 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
626 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
627 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
628 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
629 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
632 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
633 weak alias of __wmemchr. Use libc_hidden_weak.
634 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
635 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
638 2015-06-02 Roland McGrath <roland@hack.frob.com>
641 * elf/tst-tlsalign-extern.c: New file.
642 * elf/tst-tlsalign-extern-static.c: New file.
643 * elf/tst-tlsalign-vars.c: New file.
644 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
645 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
646 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
647 ($(objpfx)tst-tlsalign-extern-static): Likewise.
648 (test-xfail-tst-tlsalign-extern-static): New variable.
650 2015-06-02 Joseph Myers <joseph@codesourcery.com>
652 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
653 Use variable name _sc_err instead of err.
654 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
656 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
657 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
658 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
659 (INLINE_SYSCALL): Likewise.
661 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
662 * include/string.h (__strnlen): Use libc_hidden_proto.
663 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
664 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
665 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
666 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
667 (libc_hidden_def): Undefine and redefine.
668 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
669 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
671 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
673 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
676 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
677 weak alias of __towlower. Use libc_hidden_weak.
678 (towupper): Rename to __towupper and define as weak alias of
679 __towupper. Use libc_hidden_weak.
680 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
681 (__towupper): Likewise.
682 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
683 __towlower instead of towlower.
685 2015-06-02 Roland McGrath <roland@hack.frob.com>
687 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
688 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
690 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
692 * sysdeps/aarch64/libm-test-ulps: Update.
694 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
696 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
698 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
700 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
701 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
702 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
703 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
704 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
706 2015-06-01 Martin Sebor <msebor@redhat.com>
709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
710 (__setcontext): Use extended four-operand version of mtsf whenever
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
713 (__novec_swapcontext): Likewise.
715 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
717 * benchtests/scripts/compare_bench.py: New file.
718 * benchtests/scripts/import_bench.py (mean): New function.
719 (split_list): Likewise.
720 (do_for_all_timings): Likewise.
721 (compress_timings): Likewise.
723 * benchtests/scripts/import_bench.py: New file.
724 * benchtests/scripts/validate_benchout.py: Import import_bench
725 instead of jsonschema.
726 (validate_bench): Remove function.
727 (main): Use import_bench.
729 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
731 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
732 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
734 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
738 2015-05-28 Roland McGrath <roland@hack.frob.com>
740 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
741 set THREAD_SELF->tid to a magic value and futex-wake it.
742 Pass its address to the thread_exit system call.
743 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
745 * sysdeps/nacl/lowlevellock.h: New file.
746 * sysdeps/nacl/lll_timedwait_tid.c: New file.
748 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
749 Add TIMEOUT to current time, don't subtract it.
751 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
754 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
755 ($(objpfx)tst-audit2.out): Also depend on
756 $(objpfx)tst-auditmod9b.so.
757 * elf/tst-audit2.c: Include <dlfcn.h>.
758 (calloc_called): New.
759 (calloc): Allow to be called more than once.
760 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
762 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
764 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
765 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
767 2015-05-27 Marko Myllynen <myllynen@redhat.com>
769 * stdlib/monetary.h: Fix comment.
771 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
773 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
774 Avoid using variables in #defines that might cause shadowing.
775 (INTERNAL_VSYSCALL_CALL): Likewise.
777 2015-05-26 Roland McGrath <roland@hack.frob.com>
779 * sysdeps/nacl/lll_timedlock_wait.c: New file.
781 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
782 * nptl/lll_timedlock_wait.c: ... to this new file.
783 * nptl/Makefile (libpthread-routines): Add it.
784 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
785 * nptl/lll_timedwait_tid.c: ... to this new file.
786 * nptl/Makefile (libpthread-routines): Add it.
787 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
788 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
789 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
790 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
791 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
792 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
793 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
794 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
795 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
796 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
798 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
800 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
801 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
802 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
803 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
804 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
805 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
806 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
808 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
809 * sysdeps/unix/sysv/linux/tile/sysdep.h
810 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
811 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
812 using vDSO syscall macro.
814 2015-05-26 Andriy Rysin <arysin@gmail.com>
817 * uk_UA: Fix sorting order for Ukrainian locale
819 2015-05-26 Marko Myllynen <myllynen@redhat.com>
821 * stdlib/monetary.h: Fix comment.
823 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
826 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
827 st_mtim and st_ctim members.
828 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
829 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
830 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
831 (struct stat64): Likewise.
832 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
833 (struct stat64): Likewise.
834 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
835 (struct stat64): Likewise.
837 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
839 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
840 Define and include sysdep-vdso.h.
841 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
843 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
845 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
846 Define with VDSO_SYMBOL and use PTR_MANGLE.
847 (__vdso_clock_gettime): Likewise.
848 (__vdso_clock_getres): Likewise.
849 (_libc_vdso_platform_setup): Likewise.
850 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
852 (_libc_vdso_platform_setup): Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
855 (__vdso_clock_gettime): Likewise.
856 (__vdso_clock_getres): Likewise.
857 (__vdso_get_tbfreq): Likewise.
858 (__vdso_getcpu): Likewise.
859 (__vdso_time): Likewise.
860 (__vdso_sigtramp_rt64): Likewise.
861 (__vdso_signtramp32): Likewise.
862 (__vdso_sigtramp_rt32): Likewise.
863 (_libc_vdso_platform_setup): Likewise.
864 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
866 (__vdso_clock_gettime): Likewise.
867 (__vdso_clock_getres): Likewise.
868 (_libc_vdso_platform_setup): Likewise.
869 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
871 (__vdso_clock_gettime): Likewise.
872 (_libc_vdso_platform_setup): Likewise.
873 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
875 (__vdso_getcpu): Likewise.
876 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
877 Use VDSO_SYMBOL macro to define.
878 (__vdso_clock_gettime): Likewise.
879 (__vdso_clock_getres): Likewise.
880 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
882 (__vdso_clock_gettime): Likewise.
883 (__vdso_clock_getres): Likewise.
884 (__vdso_get_tbfreq): Likewise.
885 (__vdso_getcpu): Likewise.
886 (__vdso_time): Likewise.
887 (__vdso_sigtramp_rt64): Likewise.
888 (__vdso_signtramp32): Likewise.
889 (__vdso_sigtramp_rt32): Likewise.
890 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
892 (__vdso_clock_gettime): Likewise.
893 (__vdso_clock_getres): Likewise.
894 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
896 (__vdso_clock_gettime): Likewise.
897 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
899 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
901 (INTERNAL_VSYSCALL): Likewise.
902 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
904 (INTERNAL_VSYSCALL): Likewise.
905 (INTERNAL_VSYSCALL_NCS): Likewise.
906 (INTERNAL_VSYSCALL_CALL): New macro.
907 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
908 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
910 (INTERNAL_VSYSCALL): Likewise.
911 (INTERNAL_VSYSCALL_NCS): Likewise.
912 (INTERNAL_VSYSCALL_CALL): New macro.
913 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
915 (INLINE_VSYSCALL): Remove macro.
916 (INTERNAL_VSYSCALL): Remove macro.
917 (INTERNAL_VSYSCALL_NCS): Remove macro.
918 (INTERNAL_VSYSCALL_CALL): New macro.
919 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
920 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
921 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
922 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
923 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
925 (INLINE_VSYSCALL): Remove macro.
926 (INTERNAL_VSYSCALL): Likewise.
927 (INTERNAL_VSYSCALL_NCS): Likewise.
928 (INTERNAL_VSYSCALL_CALL): New macro.
929 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
930 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
931 PTR_DEMANGLE on vDSO pointer.
932 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
933 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
935 (INTERNAL_SYSCALL): Likewise.
936 (INTERNAL_VSYSCALL_NCS): Remove macro.
937 (INTERNAL_VSYSCALL_CALL): New macro.
938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
940 (INTERNAL_VSYSCALL): Likewise.
941 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
942 sysdep-vdso.h instead of libc-vdso.h.
943 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
945 (INLINE_VSYSCALL): Likewise.
946 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
947 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
949 (INLINE_VSYSCALL): Likewise.
950 (INTERNAL_VSYSCALL): Likewise.
951 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
952 * sysdeps/unix/sysv/linux/timespec_get.c
953 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
954 (timespec_get): Use ANSI prototype.
955 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
956 and definition for Linux.
958 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
960 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
961 * include/libc-symbols.h: libmvec_hidden_* macro series added.
963 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
966 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
967 for missing DT_PLTRELSZ.
969 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
971 Remove obsolete aliases that broke 'locale -a'
973 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
974 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
975 breaking some applications that use 'locale -a' output.
976 Change the encoding of this file from Latin-1 to ASCII to avoid
977 other potential problems with people grepping this file.
979 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
981 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
982 -fasynchronous-unwind-tables.
983 (CFLAGS-sendto.c): Likewise.
984 (CFLAGS-sendmsg.c): Likewise.
985 (CFLAGS-connect.c): Likewise.
986 (CFLAGS-recvmsg.c): Likewise.
987 (CFLAGS-recvfrom.c): Likewise.
988 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
989 (SOCKETCALL): New macro: non-cancellable socketcall.
990 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
991 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
992 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
993 * sysdeps/unix/sysv/linux/accept.c: New file.
994 * sysdeps/unix/sysv/linux/bind.c: Likewise.
995 * sysdeps/unix/sysv/linux/connect.c: Likewise.
996 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
997 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
998 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
999 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1000 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1001 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1002 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1003 * sysdeps/unix/sysv/linux/send.c: Likewise.
1004 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1005 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1006 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1007 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1008 * sysdeps/unix/sysv/linux/socket.c: Likewise.
1009 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1010 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1012 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1013 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1014 instead of __internal_xxx function.
1015 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1017 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1018 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1019 instead of __internal_xxx function.
1020 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1022 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1023 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1024 instead of __internal_xxx function.
1025 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1026 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1027 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1028 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1029 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1030 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1031 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1032 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1033 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1034 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1035 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1036 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1037 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1038 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1039 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1040 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1041 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1042 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1043 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1044 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1047 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1048 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1049 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1050 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1051 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1052 * sysdeps/unix/sysv/linux/send.S: Likewise.
1053 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1054 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1055 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1056 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1057 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1058 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1059 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1060 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1061 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1062 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1063 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1064 socketcall is implemented in GLIBC.
1066 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1068 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1069 (__fma): Ignore uninitialized warnings around packing.
1070 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1071 (__fmaf): Ignore uninitialized warnings around packing.
1072 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1073 (__fmal): Ignore uninitialized warnings around packing.
1075 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1076 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1077 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1078 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1080 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1081 switch statement into default case.
1082 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1084 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1085 a conditional in forcing "inexact".
1086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1089 2015-05-22 Roland McGrath <roland@hack.frob.com>
1091 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1092 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1093 for each INTERNAL_SYSCALL use.
1095 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1098 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1099 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1103 * string/basename.c (basename): Rename to __basename and define as
1104 weak alias of __basename. Use libc_hidden_weak.
1105 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1106 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1107 __basename instead of basename.
1108 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1110 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1112 2015-05-18 Florian Weimer <fweimer@redhat.com>
1114 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1115 (_IO_JUMPS_FILE_plus): New.
1116 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1117 _IO_CAST_FIELD_ACCESS.
1118 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1119 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1120 * libio/freopen.c (freopen): Likewise.
1121 * libio/freopen64.c (freopen64): Likewise.
1122 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1123 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1124 * libio/iofwide.c (_IO_fwide): Likewise.
1125 * libio/memstream.c (open_memstream): Likewise.
1126 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1127 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1128 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1130 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1132 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1133 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1135 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1136 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1138 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1139 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1142 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1145 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1146 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1148 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1149 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1150 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1152 2015-05-21 Florian Weimer <fweimer@redhat.com>
1154 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1155 Adjust jump table label generation macros.
1157 2015-05-21 Florian Weimer <fweimer@redhat.com>
1159 * stdio-common/vfprintf.c (vfprintf): Move local variables
1160 args_malloced, specs, specs_malloced, and the code after
1161 do_positional to the printf_positional function.
1162 (printf_positional): New function.
1164 2015-05-21 Florian Weimer <fweimer@redhat.com>
1166 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1168 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1169 STEP4_TABLE, process_arg): Move macro definitions
1170 out of the vfprintf function. (Cosmetic change only.)
1172 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1174 * benchtests/Makefile (stdio-common-bench): Define.
1175 (benchset): Add stdio-common-bench.
1176 * sprintf-inputs: New file.
1177 * sprintf-source.c: New file.
1179 2015-05-21 Andreas Schwab <schwab@suse.de>
1183 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1184 of struct __res_state.
1185 * resolv/res_send.c (__libc_res_nsend): Likewise.
1186 (get_nsaddr): New function.
1187 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1190 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1192 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1193 -D_POSIX_C_SOURCE=199506L.
1195 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1197 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1198 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1199 Do not mention otherwise.
1200 [POSIX] (_XOPEN_VERSION): Do not expect.
1201 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1202 [POSIX] (_POSIX2_C_BIND): Likewise.
1203 [POSIX] (_POSIX2_VERSION): Likewise.
1204 [POSIX] (_XOPEN_XPG2): Likewise.
1205 [POSIX] (_XOPEN_XPG3): Likewise.
1206 [POSIX] (_XOPEN_XPG4): Likewise.
1207 [POSIX] (_XOPEN_UNIX): Likewise.
1208 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1209 [POSIX] (_POSIX_BARRIERS): Likewise.
1210 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1211 [POSIX] (_POSIX_CPUTIME): Likewise.
1212 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1213 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1214 [POSIX] (_POSIX_SHELL): Likewise.
1215 [POSIX] (_POSIX_SPAWN): Likewise.
1216 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1217 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1218 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1219 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1220 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1221 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1222 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1223 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1224 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1225 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1226 [POSIX] (_POSIX2_PBS): Likewise.
1227 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1228 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1229 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1230 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1231 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1232 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1233 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1234 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1235 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1236 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1237 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1238 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1239 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1240 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1241 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1242 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1243 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1244 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1245 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1246 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1247 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1248 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1249 [POSIX] (_SC_2_C_BIND): Likewise.
1250 [POSIX] (_SC_2_C_VERSION): Likewise.
1251 [POSIX] (_SC_2_PBS): Likewise.
1252 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1253 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1254 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1255 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1256 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1257 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1258 [POSIX] (_SC_BARRIERS): Likewise.
1259 [POSIX] (_SC_BASE): Likewise.
1260 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1261 [POSIX] (_SC_DEVICE_IO): Likewise.
1262 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1263 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1264 [POSIX] (_SC_FD_MGMT): Likewise.
1265 [POSIX] (_SC_FIFO): Likewise.
1266 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1267 [POSIX] (_SC_FILE_LOCKING): Likewise.
1268 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1269 [POSIX] (_SC_IOV_MAX): Likewise.
1270 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1271 [POSIX] (_SC_NETWORKING): Likewise.
1272 [POSIX] (_SC_PAGE_SIZE): Likewise.
1273 [POSIX] (_SC_PASS_MAX): Likewise.
1274 [POSIX] (_SC_PIPE): Likewise.
1275 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1276 [POSIX] (_SC_REGEXP): Likewise.
1277 [POSIX] (_SC_SHELL): Likewise.
1278 [POSIX] (_SC_SIGNALS): Likewise.
1279 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1280 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1281 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1282 [POSIX] (_SC_USER_GROUPS): Likewise.
1283 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1284 [POSIX] (_SC_STREAMS): Likewise.
1285 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1286 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1287 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1288 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1289 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1290 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1291 [POSIX] (_PC_FILESIZEBITS): Likewise.
1292 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1293 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1294 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1295 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1296 [POSIX] (uid_t): Likewise.
1297 [POSIX] (gid_t): Likewise.
1298 [POSIX] (off_t): Likewise.
1299 [POSIX] (pid_t): Likewise.
1300 [POSIX] (cuserid): Allow.
1301 (_SC_2_CHAR_TERM): Require constant.
1302 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1303 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1306 2015-05-20 Roland McGrath <roland@hack.frob.com>
1308 * sysdeps/nacl/pthread-pids.h: New file.
1309 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1310 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1312 * nptl/pthread-pids.h: New file.
1313 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1314 * nptl/nptl-init.c: Include <pthread-pids.h>.
1315 (__pthread_initialize_minimal_internal):
1316 Call __pthread_initialize_pids instead of set_tid_address syscall.
1318 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1319 * sysdeps/posix/usleep.c: ... here.
1321 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1323 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1324 call_pselect6 object.
1325 [$(subdir) = io]: Remove call_sync_file_range object.
1326 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1327 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1328 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1329 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1331 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1333 * math/s_cproj.c: Add include "math_private.h".
1334 * math/s_cprojf.c: Likewise.
1335 * math/s_cprojl.c: Likewise.
1337 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1340 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1341 high mantissa bit when testing whether P is a NaN.
1342 * math/libm-test.inc (remainder_test_data): Add more tests.
1343 (remquo_test_data): Likewise.
1346 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1347 below -32, return the argument, with underflow if subnormal.
1348 * math/auto-libm-test-in: Add more tests of atanh.
1349 * math/auto-libm-test-out: Regenerated.
1351 2015-05-19 Roland McGrath <roland@hack.frob.com>
1354 * nptl/tst-sem15.c: New file.
1355 * nptl/Makefile (tests): Add it.
1356 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1357 s/<</>>/ to fix typo in EOVERFLOW check.
1358 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1360 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1362 * manual/strings.texi (envz_remove): Fix typo in safety
1365 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1366 Steve Ellcey <sellcey@imgtec.com>
1368 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1369 in order to avoid strict alias warnings.
1370 (iruserok_af): Ditto for ra.
1372 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1376 (magicbyte): Convert to a function and avoid returning 0x01.
1377 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1378 (mem2chunk_check): Fix unsigned comparisons to zero.
1379 Hoist defs of sz and magic.
1381 2015-05-19 Richard Henderson <rth@redhat.com>
1383 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1385 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1387 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1390 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1391 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1392 (reused_arena): Find a non-corrupt arena.
1393 (heap_trim): Pass arena to unlink.
1394 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1396 (top_check): Likewise.
1397 (free_check): Likewise.
1398 (realloc_check): Likewise.
1399 * malloc/malloc.c (malloc_printerr): Add arena argument.
1401 (munmap_chunk): Adjust.
1402 (ARENA_CORRUPTION_BIT): New macro.
1403 (arena_is_corrupt): Likewise.
1404 (set_arena_corrupt): Likewise.
1405 (sysmalloc): Use mmap if there are no usable arenas.
1406 (_int_malloc): Likewise.
1407 (__libc_malloc): Don't fail if arena_get returns NULL.
1408 (_mid_memalign): Likewise.
1409 (__libc_calloc): Likewise.
1410 (__libc_realloc): Adjust for additional argument to
1412 (_int_free): Likewise.
1413 (malloc_consolidate): Likewise.
1414 (_int_realloc): Likewise.
1415 (_int_memalign): Don't touch corrupt arenas.
1416 * malloc/tst-malloc-backtrace.c: New test case.
1418 * Makefile (summarize-tests): Fix return value on success.
1420 * manual/string.texi (Envz Functions): Add envz_remove.
1422 2015-05-18 Roland McGrath <roland@hack.frob.com>
1424 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1425 (invalid_name): New function, broken out of ...
1426 (__opendirat): ... here. Call it.
1427 (need_isdir_precheck): New function, broken out of ...
1428 (__opendirat): ... here. Call it.
1429 Use __fxstatat64, not __xstatat64.
1430 (opendir_oflags): New function, broken out of ...
1431 (__opendirat): ... here. Call it.
1432 (opendir_tail): New function, broken out of ...
1433 (__opendirat): ... here. Call it.
1434 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1435 opendir_tail, rather than punting to __opendirat.
1436 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1438 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1440 * .gitignore: Ignore generated *.pyc.
1442 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1444 * include/stdio.h: Define __need_wint_t.
1445 * test-skeleton.c: Avoid `for' loop initial declaration.
1446 * nptl/tst-initializers1.c: Use test-skeleton.c.
1448 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1451 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1453 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1456 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1457 (__ieee754_atanh): Force underflow exception for results with
1458 small absolute value.
1459 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1460 (__ieee754_atanhf): Force underflow exception for results with
1461 small absolute value.
1462 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1463 (__ieee754_atanh): Force underflow exception for results with
1464 small absolute value.
1465 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1466 (__ieee754_atanhf): Force underflow exception for results with
1467 small absolute value.
1468 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1469 (__ieee754_atanhl): Force underflow exception for results with
1470 small absolute value.
1471 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1472 (__ieee754_atanhl): Force underflow exception for results with
1473 small absolute value.
1474 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1475 (__ieee754_atanhl): Force underflow exception for results with
1476 small absolute value.
1477 * math/auto-libm-test-in: Do not allow missing underflow
1478 exceptions from atanh.
1479 * math/auto-libm-test-out: Regenerated.
1482 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1483 2**-28 as threshold for returning x or +/- 1/x.
1484 * math/auto-libm-test-in: Add more tests of tan.
1485 * math/auto-libm-test-out: Regenerated.
1488 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1489 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1490 * math/auto-libm-test-in: Add another test of lgamma.
1491 * math/auto-libm-test-out: Regenerated.
1493 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1495 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1496 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1497 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1498 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1499 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1500 (ADD2A): Use fabs. (SUB2A): Use fabs.
1501 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1502 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1503 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1504 (log1): Use fabs. (my_log2): Use fabs.
1505 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1506 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1508 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1509 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1510 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1511 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1512 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1513 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1514 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1515 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1517 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1520 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1521 as threshold for returning 1 - x.
1522 * math/auto-libm-test-in: Add more tests of erfc.
1523 * math/auto-libm-test-out: Regenerated.
1525 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1528 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1529 threshold for large arguments.
1530 * math/auto-libm-test-in: Add another test of atan.
1531 * math/auto-libm-test-out: Regenerated.
1534 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1535 (__log1p): Force underflow exception for results with small
1537 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1538 (__log1pf): Force underflow exception for results with small
1540 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1541 (__log1p): Force underflow exception for results with small
1543 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1544 (__log1pf): Force underflow exception for results with small
1546 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1547 (__log1pl): Force underflow exception for results with small
1549 * math/auto-libm-test-in: Do not allow missing underflow
1550 exceptions from log1p.
1551 * math/auto-libm-test-out: Regenerated.
1553 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1554 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1557 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1559 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1561 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1562 (libmvec): New variable.
1563 * configure.ac: Added option for mathvec build.
1564 * configure: Regenerated.
1565 * mathvec/Depend: New file.
1566 * mathvec/Makefile: New file.
1567 * shlib-versions: Added libmvec.
1568 * math/Makefile: Added rule for libm.so installation.
1570 * bits/math-vector.h: New file.
1571 * bits/libm-simd-decl-stubs.h: New header.
1572 * math/Makefile (headers): Added new header
1573 libm-simd-decl-stubs.h.
1574 * math/math.h (__MATHCALL_VEC): New macro.
1576 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1577 for conditions in testing functions.
1578 * math/Makefile: Added call of libm-have-vector-test.sh.
1579 * math/libm-test.inc (HAVE_VECTOR): New macros.
1581 * math/libm-test.inc: START refactored.
1582 * math/test-double.c (TEST_MATHVEC): Add define.
1583 * math/test-float.c: Likewise.
1584 * math/test-idouble.c: Likewise.
1585 * math/test-ifloat.c: Likewise.
1586 * math/test-ildoubl.c: Likewise.
1587 * math/test-ldouble.c: Likewise.
1588 * sysdeps/generic/math-tests-arch.h
1589 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1592 * math/test-double.c (FUNC_TEST): New macro.
1593 * math/test-float.c: Likewise.
1594 * math/test-idouble.c: Likewise.
1595 * math/test-ifloat.c: Likewise.
1596 * math/test-ildoubl.c: Likewise.
1597 * math/test-ldouble.c: Likewise.
1598 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1600 2015-05-13 Roland McGrath <roland@hack.frob.com>
1602 * sysdeps/nacl/fdopendir.c: New file.
1604 * dirent/scandir-tail.c: New file.
1605 * dirent/scandir64-tail.c: New file.
1606 * dirent/Makefile (routines): Add them.
1607 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1608 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1609 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1610 [!SCANDIR] (SCANDIR_TAIL): New macro.
1611 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1612 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1613 (SCANDIRAT): Macro removed.
1614 (SCANDIR_TAIL): New macro.
1615 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1616 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1617 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1618 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1619 (READDIR): Macro removed.
1620 (SCANDIR_TAIL): New macro.
1621 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1622 (SCANDIR_TAIL): New macro.
1624 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1625 * dirent/scandir-cancel.c: ... to this new file.
1626 * dirent/Makefile (routines): Add it.
1627 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1628 * sysdeps/unix/sysv/linux/i386/scandir64.c
1629 (SKIP_SCANDIR_CANCEL): Macro removed.
1630 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1632 * dirent/tst-scandir.c: New file.
1633 * dirent/tst-scandir64.c: New file.
1634 * dirent/Makefile (tests): Add them.
1636 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1639 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1641 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1643 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1646 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1648 * benchtests/bench-strcoll.c: New benchmark.
1649 * benchtests/Makefile: Generate locales and run benchmark.
1650 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1651 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1652 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1653 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1654 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1655 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1656 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1657 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1658 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1659 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1660 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1661 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1662 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1663 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1664 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1665 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1666 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1667 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1668 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1669 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1670 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1671 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1672 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1673 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1675 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
1677 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1678 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1680 2015-05-12 Roland McGrath <roland@hack.frob.com>
1682 * posix/uname-values.h: New file.
1683 * posix/uname.c: Include that instead of <config-name.h>.
1684 * sysdeps/nacl/uname-values.h: New file.
1685 * sysdeps/arm/nacl/uname-values.h: New file.
1687 2015-05-12 Joseph Myers <joseph@codesourcery.com>
1689 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1690 splitting into fields.
1692 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
1694 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1695 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1696 * locale/localeinfo.h: Add enum collation_encoding_type.
1697 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1698 * programs/ld-collate.c (collate_output): Add encoding type info.
1699 * string/strcoll_l.c (STRDIFF): New function.
1700 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1701 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1703 2015-05-11 Joseph Myers <joseph@codesourcery.com>
1706 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1707 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1708 <fpu_control.h> instead of <math/fpu_control.c>.
1709 * sysdeps/mips/mips32/fpu/Makefile: New file.
1711 2015-05-11 Andreas Schwab <schwab@suse.de>
1714 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1716 (_nss_compat_endgrent): Call nss_endgrent.
1717 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1719 (_nss_compat_endpwent): Call nss_endpwent.
1720 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1721 needent, call nss_setspent only if non-zero.
1722 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1723 (internal_endspent): Don't call nss_endspent.
1724 (_nss_compat_endspent): Call nss_endspent.
1725 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1726 Remove. All uses removed.
1727 (internal_setent): Remove parameter stayopen, add parameter
1728 stream. Use it instead of global variable.
1729 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1730 (internal_endent, internal_getent): Add parameter stream. Use it
1731 instead of global variable.
1732 (CONCAT(_nss_files_end,ENTNAME))
1733 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1734 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1735 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1737 (internal_setent, internal_endent): Add parameter stream. Use it
1738 instead of global variable.
1739 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1741 (get_next_alias): Add parameter stream.
1742 (_nss_files_getaliasent_r): Pass global stream.
1743 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1744 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1745 (_nss_files_gethostbyname4_r): Pass local stream to
1746 internal_setent, internal_getent and internal_endent. Remove
1749 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1751 * tst-strfmon1.c (tests): Update expected currency symbol.
1753 2015-05-08 Roland McGrath <roland@hack.frob.com>
1755 * sysdeps/nacl/gethostname.c: New file.
1757 2015-05-08 Joseph Myers <joseph@codesourcery.com>
1759 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1761 * math/auto-libm-test-out: Regenerated.
1762 * sysdeps/i386/fpu/libm-test-ulps: Update.
1763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1765 2015-05-08 Carlos O'Donell <carlos@redhat.com>
1768 * stdlib/tst-setcontext3.c: New file.
1769 * stdlib/tst-setcontext3.sh: New file.
1770 * stdlib/Makefile (tests): Add tst-setcontext3.
1771 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1772 to verify test program created output file.
1773 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1774 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1775 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1776 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1778 2015-05-06 Roland McGrath <roland@hack.frob.com>
1781 * elf/tst-tlsalign.c: New file.
1782 * elf/tst-tlsalign-static.c: New file.
1783 * elf/tst-tlsalign-lib.c: New file.
1784 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1785 (tests-static): Add tst-tlsalign-static.
1786 (modules-names): Add tst-tlsalign-lib.
1787 (test-xfail-tst-tlsalign): New variable.
1788 (test-xfail-tst-tlsalign-static): New variable.
1790 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1791 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1793 2015-05-06 Joseph Myers <joseph@codesourcery.com>
1795 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1796 csqrt, erfc, sin and sincos.
1797 * math/auto-libm-test-out: Regenerated.
1798 * sysdeps/i386/fpu/libm-test-ulps: Update.
1799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1801 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1803 * sysdeps/aarch64/libm-test-ulps: Update.
1805 2015-05-05 Joseph Myers <joseph@codesourcery.com>
1807 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1808 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1809 * math/auto-libm-test-out: Regenerated.
1810 * sysdeps/i386/fpu/libm-test-ulps: Update.
1811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1813 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1816 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1817 (wcsncpy): Likewise.
1819 2015-05-05 Florian Weimer <fweimer@redhat.com>
1821 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1822 Assume __ASSUME_FALLOCATE is always true.
1823 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1824 (__posix_fallocate64_l64): Likweise.
1825 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1826 (posix_fallocate): Likewise.
1827 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1828 (__posix_fallocate64_l64): Likewise.
1829 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1830 [!__ASSUME_FALLOCATE]: Add comment.
1832 2015-05-05 Florian Weimer <fweimer@redhat.com>
1834 * sysdeps/unix/sysv/linux/i386/Makefile
1835 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1836 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1837 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1838 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1839 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1840 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1841 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1843 2015-05-02 Joseph Myers <joseph@codesourcery.com>
1845 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1846 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1848 * math/auto-libm-test-out: Regenerated.
1849 * sysdeps/i386/fpu/libm-test-ulps: Update.
1850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1852 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1854 * math/auto-libm-test-in: Add more tests of tgamma.
1855 * math/auto-libm-test-out: Regenerated.
1856 * sysdeps/i386/fpu/libm-test-ulps: Update.
1857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1859 * math/auto-libm-test-in: Add more tests of tanh.
1860 * math/auto-libm-test-out: Regenerated.
1861 * sysdeps/i386/fpu/libm-test-ulps: Update.
1862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1864 * math/auto-libm-test-in: Add more tests of tan.
1865 * math/auto-libm-test-out: Regenerated.
1866 * sysdeps/i386/fpu/libm-test-ulps: Update.
1867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1869 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1870 * math/auto-libm-test-out: Regenerated.
1871 * sysdeps/i386/fpu/libm-test-ulps: Update.
1872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1874 * math/auto-libm-test-in: Add another test of pow.
1875 * math/auto-libm-test-out: Regenerated.
1876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1878 * math/auto-libm-test-in: Add more tests of lgamma.
1879 * math/auto-libm-test-out: Regenerated.
1880 * sysdeps/i386/fpu/libm-test-ulps: Update.
1881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1883 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1885 * math/auto-libm-test-out: Regenerated.
1886 * sysdeps/i386/fpu/libm-test-ulps: Update.
1887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1889 2015-05-01 Mark Wielaard <mjw@redhat.com>
1891 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1892 Elf64_Chdr structs and ELFCOMPRESS constants.
1894 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1896 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1898 * math/auto-libm-test-out: Regenerated.
1899 * sysdeps/i386/fpu/libm-test-ulps: Update.
1900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1902 * math/auto-libm-test-in: Add more tests of erf and erfc.
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 Szabolcs Nagy <szabolcs.nagy@arm.com>
1909 * config.h.in (HAVE_AARCH64_BE): Add.
1911 2015-04-30 Joseph Myers <joseph@codesourcery.com>
1913 * math/auto-libm-test-in: Add more tests of csqrt.
1914 * math/auto-libm-test-out: Regenerated.
1915 * sysdeps/i386/fpu/libm-test-ulps: Update.
1916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1918 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1919 * math/auto-libm-test-out: Regenerated.
1920 * sysdeps/i386/fpu/libm-test-ulps: Update.
1921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1923 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1925 2015-04-29 Roland McGrath <roland@hack.frob.com>
1927 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1928 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1930 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1931 (euidaccess, eaccess): Define as weak aliases.
1933 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1934 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1935 but __suseconds_t is often 'long int' so some sources assume that
1936 type is being used (e.g. they use %ld to print tv_usec).
1938 2015-04-29 Florian Weimer <fweimer@redhat.com>
1941 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1943 * nss/tst-nss-getpwent.c: New file.
1944 * nss/Makefile (tests): Add new test.
1946 2015-04-28 Joseph Myers <joseph@codesourcery.com>
1949 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1950 exponents less than 48 as cases where high part of mantissa needs
1951 examining to determine whether argument is integral.
1952 * math/libm-test.inc (round_test_data): Add more tests.
1954 2015-04-28 Mark Wielaard <mjw@redhat.com>
1956 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1958 2015-04-27 David S. Miller <davem@davemloft.net>
1960 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1962 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1964 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1967 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1969 2015-04-27 Florian Weimer <fweimer@redhat.com>
1972 * time/tzset.c (parse_tzname): Return error on memory allocation
1974 * test-skeleton.c (struct temp_name_list): Change type of name
1975 member to non-const.
1976 (add_temp_file): Create a copy of the file name.
1977 (delete_temp_files): Deallocate memory.
1978 (create_temp_file): Add comment.
1980 2015-04-24 Florian Weimer <fweimer@redhat.com>
1982 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1983 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1985 2015-04-24 Roland McGrath <roland@hack.frob.com>
1987 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1988 * sysdeps/arm/configure: Regenerated.
1990 2015-04-24 Florian Weimer <fweimer@redhat.com>
1993 * time/tzfile.c (__tzfile_read): Check for large values of
1994 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1995 * time/tzset.c (__tzstring_len): New function, based on the old
1996 __tzstring function.
1997 (__tzstring): Call __tzstring_len.
1998 (parse_tzname): New helper function extracted from
1999 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2001 (parse_offset): New helper function extracted from
2002 __tzset_parse_tz. Replace switch with fallthrough with
2003 initialization before sscanf.
2004 (parse_rule): Likewise.
2005 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2006 new-style function definition.
2007 * timezone/Makefile (tests): Add tst-tzset.
2008 (tst-tzset.out): Dependencies on time zone files.
2009 (tst-tzset-ENV): Set TZDIR.
2010 (testdata/XT%): Copy crafted time zone files.
2011 * timezone/README: Mention crafted time zone files.
2012 * timezone/testdata/XT1, timezone/testdata/XT2,
2013 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2015 * timezone/tst-tzset.c: New test.
2017 2015-04-24 Florian Weimer <fweimer@redhat.com>
2019 * Makeconfig (+gccwarn): Remove -Winline.
2021 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2023 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2025 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2027 * NEWS: Mention sysconf() cache information support for s390.
2028 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2030 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2032 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2034 (__nearbyint): Likewise.
2035 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2036 (copysignl): Likewise.
2038 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
2041 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2042 based on padding. (CVE-2015-1781)
2044 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2046 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2048 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2049 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2050 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2051 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2052 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2053 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2056 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2057 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2059 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2060 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2061 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2062 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2063 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2064 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2065 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2066 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2067 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2068 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2069 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2070 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2072 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2074 * stdlib/setenv.c (__add_to_environ):
2075 Dump core quickly if setenv (..., NULL, ...) is called.
2076 This time, do it the right way, and pacify GCC with a pragma.
2078 2015-04-17 Roland McGrath <roland@hack.frob.com>
2080 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2081 IMAP->l_prev cannot be null, and #if out the code for the contrary
2082 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2083 believe that NS (&_dl_ns[NSID]) could point outside the array.
2085 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2086 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2087 before using NSID as an index.
2089 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2092 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2093 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2094 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2096 2015-04-17 Roland McGrath <roland@hack.frob.com>
2098 Add preliminary port to Google Native Client on ARM.
2099 * abi-tags (.*-.*-nacl.*): New entry.
2100 * sysdeps/arm/nacl: New directory.
2101 * sysdeps/nacl: New directory.
2103 2015-04-16 David S. Miller <davem@davemloft.net>
2105 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2106 lowlevellock-futex.h
2108 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2110 * sysdeps/tile/configure.ac: New file.
2111 * sysdeps/tile/configure: Regenerated.
2113 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2115 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2116 conditionals for weak_alias and libc_hidden_weak.
2117 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2118 libc_hidden_weak and weak_alias.
2119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2120 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2121 and weak_alias for static one.
2123 2015-04-15 David S. Miller <davem@davemloft.net>
2125 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2127 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2130 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2131 Use signed comparision instead of substraction to avoid
2133 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2134 Take the sign of ret.
2135 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2136 Do not expect precise return values. Only the sign matters.
2137 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2138 * wcsmbs/test-wcsncmp.c: New File.
2139 * string/test-strncmp.c: Add wcsncmp support.
2141 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2144 * math/w_log1p.c: New file.
2145 * math/w_log1pf.c: Likewise.
2146 * math/w_log1pl.c: Likewise.
2147 * math/Makefile (libm-calls): Add w_log1p.
2148 * math/s_log1pl.c (log1pl): Remove weak_alias.
2149 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2150 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2151 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2152 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2153 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2154 [NO_LONG_DOUBLE] (log1pl): Likewise.
2155 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2156 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2157 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2158 (log1p): Remove long_double_symbol.
2159 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2160 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2161 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2162 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2163 remove weak_alias for corresponding log1p function.
2164 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2165 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2166 * sysdeps/ia64/fpu/w_log1p.c: New file.
2167 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2168 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2169 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2171 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2174 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2175 decimal exponent by 1.
2176 * stdlib/tst-strtod-round-data: Add more tests.
2177 * stdlib/tst-strtod-round.c (tests): Regenerated.
2179 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2181 * math/auto-libm-test-in: Add more tests of clog and clog10.
2182 * math/auto-libm-test-out: Regenerated.
2183 * sysdeps/i386/fpu/libm-test-ulps: Update.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2186 2015-04-09 Roland McGrath <roland@hack.frob.com>
2188 * Makeconfig (module-cppflags): Exclude all .v.i files.
2189 (skip-module-cppflags): Variable removed.
2191 * configure.ac (libc_config_ok): Initialize before reading
2192 preconfigure scripts, not after.
2193 * configure: Regenerated.
2195 * test-skeleton.c (TIMEOUT): Move #define to top level.
2196 (main): Grok environment variable TEST_DIRECT. If set, print
2197 test expectation details into that file and then behave as if
2200 2015-04-09 Florian Weimer <fweimer@redhat.com>
2202 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2205 2015-04-08 David S. Miller <davem@davemloft.net>
2207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2209 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2211 * math/auto-libm-test-in: Add more tests of atanh.
2212 * math/auto-libm-test-out: Regenerated.
2213 * sysdeps/i386/fpu/libm-test-ulps: Update.
2214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216 * math/auto-libm-test-in: Add more tests of atan.
2217 * math/auto-libm-test-out: Regenerated.
2218 * sysdeps/i386/fpu/libm-test-ulps: Update.
2219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2221 2015-04-08 Florian Weimer <fweimer@redhat.com>
2223 * elf/pldd.c (main): Rewrite to use struct
2224 scratch_buffer instead of extend_alloca.
2225 * elf/pldd-xx.c (find_maps): Likewise.
2226 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2228 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2229 scratch_buffer instead of extend_alloca.
2230 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2231 grp/compat-initgroups.c.
2232 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2233 Rewrite to use struct scratch_buffer instead of extend_alloca.
2234 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2235 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2237 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2239 * math/auto-libm-test-in: Add more tests of cbrt.
2240 * math/auto-libm-test-out: Regenerated.
2241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2243 * math/auto-libm-test-in: Add more tests of cabs.
2244 * math/auto-libm-test-out: Regenerated.
2245 * sysdeps/i386/fpu/libm-test-ulps: Update.
2246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2250 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2251 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2253 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2255 * math/auto-libm-test-out: Regenerated.
2256 * sysdeps/i386/fpu/libm-test-ulps: Update.
2257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2260 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2261 (atan): Set FE_TONEAREST mode for internal computations.
2262 * math/auto-libm-test-in: Add more tests of atan.
2263 * math/auto-libm-test-out: Regenerated.
2265 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2268 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2270 2015-04-07 Florian Weimer <fweimer@redhat.com>
2272 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2274 2015-04-07 Florian Weimer <fweimer@redhat.com>
2276 * include/scratch_buffer.h: New file.
2277 * malloc/scratch_buffer_grow.c: Likewise.
2278 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2279 * malloc/scratch_buffer_set_array_size.c: Likewise.
2280 * malloc/tst-scratch_buffer.c: Likewise.
2281 * malloc/Makefile (routines): Add scratch_buffer_grow.
2282 (tests): Add test case.
2283 * malloc/Versions (GLIBC_PRIVATE): Export
2284 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2285 __libc_scratch_buffer_set_array_size.
2287 2015-04-06 Richard Henderson <rth@redhat.com>
2289 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2290 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2292 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2293 unsigned int before printing.
2295 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2298 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2299 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2301 2015-04-02 Florian Weimer <fweimer@redhat.com>
2303 * include/libc-internal.h (libc_max_align_t): Define.
2305 2015-04-02 Andreas Schwab <schwab@suse.de>
2308 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2310 2015-04-02 Mel Gorman <mgorman@suse.de>
2313 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2314 as well as the main arena.
2316 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2319 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2320 sharing L2 cache to 2 for Silvermont/Knights Landing.
2322 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2325 * config.make.in (have-protected-data): New.
2326 * configure.ac: Check linker support for protected data symbol.
2327 * configure: Regenerated.
2328 * elf/Makefile (modules-names): Add tst-protected1moda and
2329 tst-protected1modb if $(have-protected-data) is yes.
2330 (tests): Add tst-protected1a and tst-protected1b if
2331 $(have-protected-data) is yes.
2332 ($(objpfx)tst-protected1a): New.
2333 ($(objpfx)tst-protected1b): Likewise.
2334 (tst-protected1modb.so-no-z-defs): Likewise.
2335 * elf/tst-protected1a.c: New file.
2336 * elf/tst-protected1b.c: Likewise.
2337 * elf/tst-protected1mod.h: Likewise.
2338 * elf/tst-protected1moda.c: Likewise.
2339 * elf/tst-protected1modb.c: Likewise.
2341 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2344 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2345 indicates it is called from do_lookup_x on relocation against
2346 protected data, skip the data definion in the executable from
2348 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2349 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2350 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2351 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2352 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2354 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2355 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2356 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2357 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2358 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2359 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2361 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2363 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2364 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2366 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2368 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2370 * sysdeps/x86_64/nptl/tls.h: Ditto.
2372 2015-03-27 Roland McGrath <roland@hack.frob.com>
2374 * dlfcn/tststatic.c (main): Converted to ...
2375 (do_test): ... this.
2376 (TEST_FUNCTION): New macro.
2377 Include test-skeleton.c.
2379 2015-03-26 Alan Modra <amodra@gmail.com>
2381 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2382 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2383 zero for undefined weak.
2384 (elf_machine_plt_conflict): Similarly.
2386 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2388 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2390 * math/auto-libm-test-out: Regenerated.
2391 * sysdeps/i386/fpu/libm-test-ulps: Update.
2392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2394 * math/auto-libm-test-in: Add another test of asin.
2395 * math/auto-libm-test-out: Regenerated.
2396 * sysdeps/i386/fpu/libm-test-ulps: Update.
2397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2399 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2401 (LLL_EBX_REG): Likewise.
2402 (LLL_ENTER_KERNEL): Likewise.
2404 * math/auto-libm-test-in: Add more tests of asin.
2405 * math/auto-libm-test-out: Regenerated.
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2410 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2411 libc_do_syscall_args): New structure.
2412 (INTERNAL_SYSCALL_MAIN_0): New macro.
2413 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2414 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2415 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2416 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2417 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2418 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2419 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2420 Replace conditional definitions by conditional definitions of ....
2421 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2422 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2423 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2424 (libpthread-sysdep_routines): Add libc-do-syscall.
2425 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2426 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2427 to __NR_futex not 240.
2429 2015-03-25 Alan Modra <amodra@gmail.com>
2431 * NEWS: Advertise TLS optimization.
2432 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2433 (DT_PPC_NUM): Increment.
2434 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2435 (CHECK_STATIC_TLS): Use here.
2436 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2439 * sysdeps/powerpc/dl-tls.c: New file.
2440 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2441 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2442 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2443 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2448 2015-03-25 Alan Modra <amodra@gmail.com>
2450 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2451 for overlapping .opd entries" to "support...".
2452 * sysdeps/powerpc/powerpc64/configure: Regenerate
2454 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2456 * math/auto-libm-test-in: Add more tests of acos.
2457 * math/auto-libm-test-out: Regenerated.
2458 * sysdeps/i386/fpu/libm-test-ulps: Update.
2459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2461 * math/auto-libm-test-in: Add more tests of expm1.
2462 * math/auto-libm-test-out: Regenerated.
2463 * sysdeps/i386/fpu/libm-test-ulps: Update.
2464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2466 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2468 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2469 * math/auto-libm-test-out: Regenerated.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update.
2471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2473 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2476 * math/auto-libm-test-in: Add more tests of log2.
2477 * math/auto-libm-test-out: Regenerated.
2478 * sysdeps/i386/fpu/libm-test-ulps: Update.
2479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2481 2015-03-23 Roland McGrath <roland@hack.frob.com>
2483 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2484 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2485 _IO_IS_APPENDING bit in READ_WRITE instead.
2487 2015-03-23 Florian Weimer <fweimer@redhat.com>
2489 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2490 (__determine_cpumask_size): Replace extend_alloca with a
2491 variable-length array. Do not treat res == 0 as an error.
2493 2015-03-23 Florian Weimer <fweimer@redhat.com>
2496 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2497 and integer overflow.
2498 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2499 (main): Add integer overflow tests.
2500 * manual/pattern.texi (Calling Wordexp): Document additional use
2503 2015-03-23 Alan Modra <amodra@gmail.com>
2505 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2506 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2507 and false branch of conditional.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2511 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2513 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2515 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2516 unused declaration of _hurd_intr_rpc_msg_in_trap.
2517 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2518 defined instead of whether it is non-zero.
2519 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2520 input constraint instead of both input and output constraint. Use ecx
2521 clobber instead of %ecx.
2522 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2523 mutex_unlock): Use a statement expression instead of an expression list.
2524 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2525 type to vm_size_t instead of vm_address_t.
2526 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2527 defined instead of whether it is non-zero.
2528 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2529 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2530 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2531 comparisons with mapaddr.
2532 * nscd/nscd-client.h: Include <time.h>.
2533 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2534 9th parameter to __vm_region instead of int.
2535 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2536 * scripts/check-local-headers.sh (exclude): Add device/,
2537 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2540 2015-03-19 Roland McGrath <roland@hack.frob.com>
2542 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2543 to account for alignment padding.
2544 * sysdeps/arm/memmove.S: Likewise.
2546 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2548 * sysdeps/unix/sysv/linux/generic/README: New file.
2550 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2553 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2554 (futex_abstimed_wait)
2555 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2556 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2557 of lll_futex_timed_wait.
2559 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2562 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2564 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2571 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2572 entries with Static TLS too. Skip entries past the end of the
2573 allocated DTV, from Alan Modra.
2574 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2575 Static TLS DTV entry set up from...
2576 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2577 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2578 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2579 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2581 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2582 that the slot we find is associated with the given map before
2583 using its generation count.
2584 * nptl_db/db_info.c: Include ldsodefs.h.
2585 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2586 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2587 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2588 (link_map::l_tls_offset): New struct field.
2589 (dtv_t::counter): Likewise.
2590 (rtld_global): New struct.
2591 (_rtld_global): New rtld variable.
2592 (dl_tls_dtv_slotinfo_list): New rtld global field.
2593 (dtv_slotinfo_list): New struct.
2594 (dtv_slotinfo): Likewise.
2595 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2596 (td_lookup): Rename to...
2597 (td_mod_lookup): ... this. Use new mod parameter instead of
2599 * nptl_db/td_thr_tlsbase.c: Include link.h.
2600 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2601 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2602 addresses even if the DTV is out of date or missing them.
2603 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2604 index zero-length arrays.
2605 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2606 (td_lookup): Make it a macro implemented in terms of...
2607 (td_mod_lookup): ... this declaration.
2608 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2609 (DB_MAIN_VARIABLE): Likewise.
2611 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2614 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2616 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2618 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2620 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2623 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2624 (atomic_add, atomic_increment_and_test)
2625 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2627 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2629 * stdlib/setenv.c (__add_to_environ):
2630 Dump core quickly if setenv (..., NULL, ...) is called.
2632 2015-03-13 Roland McGrath <roland@hack.frob.com>
2634 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2635 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2636 all the necessary asm magic in one place.
2637 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2640 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2643 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2644 traced file mtime. Use consistent log message.
2645 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2646 (register_traced_file): Call install_watches. Always set mtime.
2647 (invalidate_cache): Iterate over all trace files. Call install_watches.
2648 (inotify_check_files): Don't inline. Handle watching parent
2649 directories and configuration file movement in and out.
2650 (handle_inotify_events): New function.
2651 (main_loop_poll): Call handle_inotify_events.
2652 (main_loop_epoll): Likewise.
2653 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2654 (struct traced_file): Use array of inotify fds. Add parent directory,
2656 (struct database_dyn): Remove unused file_mtime.
2657 (init_traced_file): New inline function.
2658 (define_traced_file): New macro.
2659 * nss/nss_db/db-init.c: Use define_traced_file.
2660 (_nss_db_init): Use init_traced_file.
2661 * nss/nss_files/files-init.c: Use define_traced_file.
2662 (_nss_files_init): Use init_traced_file.
2664 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2666 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2667 [_LIBC]: Do not include <stdlib.h>.
2668 [!_LIBC] (abort): Remove declaration.
2669 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2670 _FP_STATIC_ASSERT instead of conditionally calling abort.
2671 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2672 (_FP_EXTEND_CNAN): Likewise.
2673 (FP_TRUNC): Likewise.
2674 (__FP_CLZ): Likewise.
2675 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2677 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2679 * manual/string.texi (XPG basename): Fix prototype.
2681 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2684 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2685 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2686 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2687 (__setcontext): Likewise.
2688 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2689 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2690 Call rt_sigprocmask syscall one time to set new signal mask
2691 and retrieve the current signal mask instead of two calls.
2692 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2693 (__swapcontext): Likewise.
2694 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2695 * stdlib/tst-setcontext2.c: New file.
2697 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2699 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2701 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2704 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2707 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2710 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2712 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2714 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2715 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2717 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2718 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2719 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2720 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2721 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2722 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2724 * nptl_db/td_symbol_list.c (td_lookup): Remove
2725 HAVE_ASM_GLOBAL_DOT_NAME code.
2726 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2727 HAVE_ASM_GLOBAL_DOT_NAME check.
2728 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2729 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2730 (DOT_LABEL): Remove define.
2731 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2732 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2733 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2734 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2735 (__TLS_GET_ADDR): Likewise.
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2737 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2739 2015-03-11 Carlos O'Donell <carlos@redhat.com>
2742 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2743 (_FPU_SETCW): Initialize cw from fpsr before storing.
2744 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2745 (fesetexceptflag): Rewrite using fpu_control.h.
2746 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2748 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
2751 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2753 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2755 2015-03-11 Joseph Myers <joseph@codesourcery.com>
2757 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2758 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2760 (_FP_FMA): Likewise.
2761 (_FP_DIV): Likewise.
2763 2015-03-10 Roland McGrath <roland@hack.frob.com>
2765 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2766 with 0 in that case.
2767 * Makefile (summarize-tests): New canned sequence, factored out of
2768 commands for targets tests and xtests. Display summary lines that
2769 don't start with PASS: or XFAIL: rather than ones that do start with
2770 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2771 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2772 do start with ERROR: or FAIL:.
2773 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2774 (except for [$(build-shared) = yes]).
2775 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2776 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2777 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2778 * nptl/Makefile: Revert 2015-03-04 changes.
2779 [$(CXX) empty] (tests-unsupported): New variable.
2780 * debug/Makefile: Likewise.
2782 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2783 gnulib file. Replace __attribute with __attribute__ throughout.
2785 2015-03-10 Carlos O'Donell <carlos@redhat.com>
2787 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2789 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2792 * math/auto-libm-test-in: Add another test of pow.
2793 * math/auto-libm-test-out: Regenerated.
2795 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2797 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2798 $(config-cflags-nofma).
2800 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2802 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2803 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2804 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2805 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2806 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2807 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2808 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2809 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2810 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2811 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2812 Add comment on closing #endif.
2814 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2816 * posix/wordexp.c (CHAR_IN_SET): New macro.
2817 (parse_param): Use it.
2819 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2821 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2823 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2826 * posix/wordexp.c (parse_param): Fix buffer overflow.
2827 * posix/wordexp-test.c (test_case): Add test case.
2829 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2832 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2833 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2835 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2838 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2839 (do_bz18043): Delete.
2841 (testit): Refactor to have words at the edge of unreadable page.
2843 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2846 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2847 Cleanup read-only streams as well.
2848 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2850 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2852 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2855 2015-03-07 Joseph Myers <joseph@codesourcery.com>
2857 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2859 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2860 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2861 * soft-fp/op-common.h (_FP_DECL): Likewise.
2863 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2865 * elf/ifuncdep2.c (global): Replace
2866 __attribute__((visibility("protected"))) with
2867 asm (".protected global").
2868 * elf/ifuncmod1.c (global): Likewise.
2869 * elf/ifuncmod5.c (global): Likewise.
2871 2015-03-06 Joseph Myers <joseph@codesourcery.com>
2873 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2874 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2876 2015-03-06 Roland McGrath <roland@hack.frob.com>
2878 * manual/install.texi (Configuring and compiling):
2879 Document test-wrapper-env-only.
2880 * INSTALL: Regenerated.
2882 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2885 * posix/wordexp.c (parse_param): Fix buffer overflow.
2886 * posix/wordexp-test.c (do_bz18043): Add test case.
2888 2015-03-06 Vincent Bernat <vincent@bernat.im>
2890 * time/tst-strptime2.c (do_test): Ensure failing tests are
2892 * time/tst-strptime3.c (do_test): Likewise.
2894 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2896 Fix aio_error thread-safety.
2897 * sysdeps/pthread/aio_error.c: New file
2898 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2901 2015-03-06 Florian Weimer <fweimer@redhat.com>
2903 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2904 (group_number, vfprintf): Use it.
2905 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2906 (JUMP, REF): Use it.
2907 (WORK_BUFFER_SIZE): New enum constant.
2908 (process_arg, vfprintf): Use it.
2910 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
2912 * manual/errno.texi (Error Messages): Complete example function
2913 by adding missing #define.
2914 (program_invocation_name): Add statement indicating GNU
2915 extension and reference which header file declares the variable.
2916 (program_invocation_short_name): Likewise.
2918 2015-03-06 Mike Frysinger <vapier@gentoo.org>
2920 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2923 2015-03-05 Roland McGrath <roland@hack.frob.com>
2925 * Makeconfig (test-wrapper-env-only): New variable.
2926 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2927 then use that with $(test-wrapper-env-only) rather than using
2928 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2930 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2933 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2934 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2935 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2936 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2937 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2938 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2939 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2940 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2942 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2943 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2947 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2949 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2951 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2956 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2957 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2959 2015-03-04 Roland McGrath <roland@hack.frob.com>
2961 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2962 (ETH_ALEN): New macro.
2963 (struct ether_addr): Use it for length of ether_addr_octet.
2965 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2966 (setdb): Don't call __nss_configure_lookup for "rpc".
2967 (do_test): Don't call test_rpc.
2968 (output_rpcent, test_rpc): Functions moved ...
2969 * sunrpc/test-rpcent.c: ... to this new file.
2970 * sunrpc/Makefile (tests): Add it.
2972 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2974 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2975 * nptl/tst-signal6.c: Likewise.
2976 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2977 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2979 * configure.ac (libc_cv_cxx_link_ok): New check.
2980 Reset CXX to empty if it fails to link.
2981 * configure: Regenerated.
2982 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2983 bug-atexit3-lib only if $(CXX) is nonempty.
2984 * nptl/Makefile (tests): Likewise for tst-cancel24.
2985 (tests, tests-static): Likewise for tst-cancel24-static.
2986 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2987 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2988 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2989 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2991 2015-03-04 Andreas Schwab <schwab@suse.de>
2994 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2995 for non-GCC compilers.
2996 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2999 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3002 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3003 integer before bitwise and assembly operations.
3004 (feclearexcept): Likewise.
3005 * math/test-fenvinline.c: New file.
3006 * math/Makefile: Add test-fenvinline test.
3008 2015-03-03 Alan Modra <amodra@gmail.com>
3011 * scripts/localplt.awk: Strip off symbol version.
3012 * NEWS: Mention bug fix.
3014 2015-03-02 Roland McGrath <roland@hack.frob.com>
3016 * sysdeps/pthread/timer_routines.c
3017 (timer_free_list, thread_free_list, thread_active_list): Make static.
3019 2015-03-02 Joseph Myers <joseph@codesourcery.com>
3022 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3023 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3025 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3026 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3028 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3029 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3032 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3035 * posix/fnmatch_loop.c (END): Detect invalid pattern.
3036 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3038 2015-03-02 Andreas Schwab <schwab@suse.de>
3040 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3043 2015-03-02 Florian Weimer <fweimer@redhat.com>
3045 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3046 Return error status.
3048 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
3051 * locale/findlocale.c (_nl_find_locale): Introduce const
3052 version of loc_name and drop unsafe type casts.
3054 2015-02-27 Roland McGrath <roland@hack.frob.com>
3056 * dlfcn/tststatic2.c (main): Converted to ...
3057 (do_test): ... this.
3058 (TEST_FUNCTION): New macro.
3059 Include test-skeleton.c.
3061 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3064 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3065 (tests-pie): Add vismain.
3066 (CFLAGS-vismain.c): New.
3067 * elf/vismain.c: Add comments for PIE requirement.
3069 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3074 0x1p-56L as threshold for just returning the argument.
3075 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3076 0x1p-32L as threshold for just returning the argument.
3077 * math/auto-libm-test-in: Add more tests of atanh.
3078 * math/auto-libm-test-out: Regenerated.
3079 * sysdeps/i386/fpu/libm-test-ulps: Update.
3080 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3082 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3084 * string/bcopy.c (bcopy): Call memmove for performance.
3086 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3088 * string/bzero.c (__bzero): Call memset for performance.
3090 2015-02-27 John David Anglin <dave.anglin@bell.net>
3093 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3096 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3098 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3100 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3102 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3103 (__kernel_standard): Use CSTR macro when setting exc.name.
3104 * sysdeps/ieee754/Makefile [$(subdir) = math]
3105 (CFLAGS-k_standard.c): Remove variable.
3107 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3108 setting p and q from "else if" to "else".
3110 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3112 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3114 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3116 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3118 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3123 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3124 return pi/2 for arguments below 0x1p-113L.
3125 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3126 return pi/2 for arguments below 0x1p-106L.
3127 * math/auto-libm-test-in: Add more tests of acos.
3128 * math/auto-libm-test-out: Regenerated.
3131 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3133 (__ieee754_asin): Force underflow exception for results with small
3135 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3137 (__ieee754_asinf): Force underflow exception for results with
3138 small absolute value.
3139 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3140 (__ieee754_asin): Force underflow exception for results with small
3142 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3143 (__ieee754_asinf): Force underflow exception for results with
3144 small absolute value.
3145 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3146 (__ieee754_asinl): Force underflow exception for results with
3147 small absolute value.
3148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3149 (__ieee754_asinl): Force underflow exception for results with
3150 small absolute value.
3151 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3152 (__ieee754_asinl): Force underflow exception for results with
3153 small absolute value.
3154 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3156 * math/auto-libm-test-in: Do not mark underflow exceptions as
3157 possibly missing for bug 16351.
3158 * math/auto-libm-test-out: Regenerated.
3161 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3162 of power of 2 down when low part has opposite sign.
3163 * math/libm-test.inc (logb_test_data): Add more tests.
3165 2015-02-26 Andreas Schwab <schwab@suse.de>
3168 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3169 over collating symbol inside a bracket expression. Minor cleanup.
3170 * posix/tst-fnmatch3.c (do_test): Add test case.
3172 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3175 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3176 Adjust exponent of power of 2 down when low part has opposite
3178 * math/libm-test.inc (ilogb_test_data): Add more tests.
3180 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3183 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3184 the previous change.
3187 * locale/findlocale.c (_nl_find_locale): Retry archive search
3188 after alias expansion.
3190 2015-02-25 Roland McGrath <roland@hack.frob.com>
3192 * iconv/tst-iconv3.c (main): Converted to ...
3193 (do_test): ... this.
3194 (TEST_FUNCTION): New macro.
3195 Include test-skeleton.c.
3197 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3198 (convert): Make function static.
3199 (test_unalign): Likewise. Add const to argument pointee types.
3200 (main): Replace with static function do_test.
3201 Print "Succeeded." only if RET is zero.
3202 (TEST_FUNCTION): New macro.
3203 Include test-skeleton.c.
3205 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3206 returns a null pointer.
3208 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3210 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3211 to __memcpy_ppc only for static builds.
3213 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3216 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3217 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3218 * math/auto-libm-test-in: Add more tests of asinh.
3219 * math/auto-libm-test-out: Regenerated.
3220 * sysdeps/i386/fpu/libm-test-ulps: Update.
3221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3223 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3226 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3227 and ip6_mtuinfo definitions here.
3228 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3229 in this define too. Update comment.
3231 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3233 * elf/sprof.c (load_shobj): Tweak error message to match others.
3235 2015-02-24 Kevin Easton <kevin@guarana.org>
3237 [BZ #16145] (partial fix)
3238 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3239 to reduce lock contention.
3241 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3243 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3244 (struct timex): Update time comment.
3245 (ADJ_SETOFFSET): Define.
3247 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3250 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3251 2**56 not 2**28 as threshold for log (2x) formula.
3252 * math/auto-libm-test-in: Add more tests of acosh.
3253 * math/auto-libm-test-out: Regenerated.
3254 * sysdeps/i386/fpu/libm-test-ulps: Update.
3255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3257 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3259 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3260 parenthesis around the buf assignment.
3261 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3263 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3266 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3267 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3268 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3269 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3270 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3271 * math/libm-test.inc (scalb_test_data): Add more tests.
3273 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3276 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3277 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3279 2015-02-24 Eric Rannaud <e@nanocritical.com>
3282 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3283 * io/bits/fcntl2.h (open): Use it.
3285 * io/open.c (__libc_open): Likewise.
3286 * io/open64.c (__libc_open64): Likewise.
3287 * io/open64_2.c (__open64_2): Likewise.
3288 * io/open_2.c (__open_2): Likewise.
3289 * io/openat.c (__openat): Likewise.
3290 * io/openat64.c (__openat64): Likewise.
3291 * io/openat64_2.c (__openat64_2): Likewise.
3292 * io/openat_2.c (__openat_2): Likewise.
3293 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3294 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3295 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3296 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3297 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3298 (__open_nocancel): Likewise.
3299 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3300 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3301 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3303 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3306 * resolv/gethnamaddr.c (getanswer): Skip logging if
3307 RES_USE_DNSSEC is set.
3308 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3310 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3312 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3314 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3316 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3317 201304L, for Unicode 7.
3319 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3322 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3323 shared library. Add gmon-start.os otherwise.
3324 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3325 $(objpfx)gmon-start.os if builing shared library.
3326 ($(objpfx)g$(static-start-installed-name)): Likewise.
3328 2015-02-23 Andreas Schwab <schwab@suse.de>
3330 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3332 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3335 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3336 (enlarge_userbuf): Likewise.
3338 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3340 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3341 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3342 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3343 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3345 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3347 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3348 expression inside statement expression.
3350 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3352 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3353 <sysdeps/nptl/lowlevellock.h> and remove macros and
3354 functions that are now defined there.
3355 (SYS_futex): Remove.
3356 (lll_compare_and_swap): Remove.
3357 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3359 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3362 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3363 instead of scandirat.
3364 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3365 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3366 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3368 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3369 (__scandirat): Declare. Use libc_hidden_proto.
3370 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3372 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3374 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3377 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3379 (__ieee754_atan2): For results with small absolute value, force
3380 underflow exception and remove excess range and precision from
3382 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3384 (__ieee754_atan2f): For results with small absolute value, force
3385 underflow exception and remove excess range and precision from
3387 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3389 (__atan): For results with small absolute value, force underflow
3390 exception and remove excess range and precision from return value.
3391 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3393 (__atanf): For results with small absolute value, force underflow
3394 exception and remove excess range and precision from return value.
3395 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3397 (__ieee754_atan2): Force underflow exception for results with
3398 small absolute value.
3399 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3401 (atan): Force underflow exception for results with small absolute
3403 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3404 (__atanf): Force underflow exception for results with small
3406 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3408 (__atanl): Force underflow exception for results with small
3410 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3411 (__atanl): Force underflow exception for results with small
3413 * sysdeps/x86/fpu/bits/mathinline.h
3414 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3415 (__ieee754_atan2): Only define inline for long double.
3416 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3417 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3418 * math/auto-libm-test-in: Do not mark underflow exceptions as
3419 possibly missing for bug 15319. Add more tests of atan2.
3420 * math/auto-libm-test-out: Regenerated.
3421 * math/libm-test.inc (casin_test_data): Do not mark underflow
3422 exceptions as possibly missing for bug 15319.
3423 (casinh_test_data): Likewise.
3424 * sysdeps/i386/fpu/libm-test-ulps: Update.
3426 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3428 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3429 * sysdeps/mips/bits/endian.h: Fix comments.
3431 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3434 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3435 (hdestroy_r): Likewise.
3436 (hsearch_r): Likewise.
3437 (__hcreate_r): Declare and use libc_hidden_proto.
3438 (__hdestroy_r): Likewise.
3439 (__hsearch_r): Likewise.
3440 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3441 (hcreate): Call __hcreate_r instead of hcreate_r.
3442 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3443 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3444 as weak alias of __hcreate_r.
3445 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3447 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3449 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3451 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3452 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3453 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3454 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3456 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3458 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3459 arena_lock into a single arena_get.
3461 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3463 * dl-reloc.c: Inlucde libc-internal.h.
3464 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3465 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3466 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3467 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3468 (grow_heap): Likewise.
3469 * malloc/malloc.c: Include libc-internal.h.
3470 (do_check_malloc): Call powerof2.
3471 (sysmalloc): Use pagesize. Call ALIGN_UP.
3472 (systrim): Use pagesize.
3473 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3474 (__libc_valloc): Use pagesize.
3475 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3477 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3480 * include/sys/resource.h (__getrlimit64): Declare. Use
3482 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3483 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3484 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3486 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3488 [!getrlimit64] (getrlimit64): Define as weak alias of
3489 __getrlimit64. Use libc_hidden_weak.
3490 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3491 using __getrlimit64 not __new_getrlimit64.
3492 (__GI_getrlimit64): Likewise.
3493 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3495 (__GI_getrlimit64): Likewise.
3496 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3498 (getrlimit): Add __getrlimit64 alias.
3499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3501 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3503 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3504 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3506 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3508 * libio/fileops.c: Add missing sys/mman.h
3509 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3511 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3513 * manual/math.texi (Errors in Math Functions): Clarify goals
3514 regarding inexact and underflow exceptions.
3516 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3518 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3519 * sysdeps/mips/memset.S: Ditto.
3521 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3523 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3525 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3527 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3528 (__v1longjmp): Remove versioned symbol.
3529 (__v1siglongjmp): Remove alias and versioned symbol.
3530 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3531 (__v2siglongjmp): Likewise.
3533 2015-02-16 Torvald Riegel <triegel@redhat.com>
3535 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3537 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3539 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3541 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3544 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3545 zero result does not depend on the sign resulting from
3547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3549 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3550 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3551 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3552 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3553 * math/libm-test.inc (remquo_test_data): Add more tests.
3555 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3557 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3558 Problem reported by J William Piggott.
3560 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3563 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3564 products 4 * y and 2 * y where those would overflow.
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 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3575 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3576 [defined _COMPILING_NEWLIB].
3577 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3578 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3580 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3581 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3583 2015-02-16 Torvald Riegel <triegel@redhat.com>
3585 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3588 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3591 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3592 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3593 HOST_STACK_END_ADDR): Likewise.
3595 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3597 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3598 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3599 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3601 2015-02-13 Roland McGrath <roland@hack.frob.com>
3603 * sysdeps/generic/c++-types.data: New file.
3604 * sysdeps/generic/ld.abilist: New file.
3605 * sysdeps/generic/libBrokenLocale.abilist: New file.
3606 * sysdeps/generic/libanl.abilist: New file.
3607 * sysdeps/generic/libc.abilist: New file.
3608 * sysdeps/generic/libcrypt.abilist: New file.
3609 * sysdeps/generic/libdl.abilist: New file.
3610 * sysdeps/generic/libm.abilist: New file.
3611 * sysdeps/generic/libpthread.abilist: New file.
3612 * sysdeps/generic/libresolv.abilist: New file.
3613 * sysdeps/generic/librt.abilist: New file.
3615 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3618 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3619 Compute absolute value of x as modified by fmod, not original
3621 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3622 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3623 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3624 RUN_TEST_ffI_f1_mod8.
3625 (remquo_test_data): Add more tests.
3627 2015-02-13 Roland McGrath <roland@hack.frob.com>
3629 * sysdeps/init_array/pt-crti.S: New file.
3631 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3634 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3635 __builtin_fmaf instead of relying on contraction of a * b + c.
3637 2015-02-12 J William Piggott <elseifthen@gmx.com>
3640 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3643 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3646 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3647 __builtin_fma instead of relying on contraction of a * b + c.
3649 2015-02-12 Roland McGrath <roland@hack.frob.com>
3651 * Makeconfig (ASFLAGS): Add -Werror=undef.
3652 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3653 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3654 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3656 * Makeconfig (after-link): New variable.
3657 (+link-pie, +link-pie-tests): Use it.
3658 (+link-static, +link-static-tests): Likewise.
3659 (+link, +link-tests): Likewise.
3660 * Makerules (build-module, build-module-asneeded): Likewise.
3661 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3663 * elf/Makefile ($(objpfx)ld.so): Likewise.
3665 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3668 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3669 both struct timeval and struct timespec.
3671 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3674 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3676 (__ieee754_exp2l): Do not multiply small fractional parts by
3678 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3680 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3681 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3682 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3683 * math/auto-libm-test-in: Add more tests of exp2.
3684 * math/auto-libm-test-out: Regenerated.
3686 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3688 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3691 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3693 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3696 2015-02-12 Andreas Schwab <schwab@suse.de>
3699 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3700 Filter out elision flags from value returned in kind.
3701 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3702 * nptl/tst-pthread-mutexattr.c: New file.
3704 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3706 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3707 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3708 into gnu-gnu, and update comment to refer to abi-tags.
3710 2015-02-11 Joseph Myers <joseph@codesourcery.com>
3713 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3714 (__sincos): Set errno to EDOM for infinite argument.
3715 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3716 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3717 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3718 (__sincosl): Set errno to EDOM for infinite argument.
3719 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3720 (__sincosl): Set errno to EDOM for infinite argument.
3721 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3722 (__sincosl): Set errno to EDOM for infinite argument.
3723 * math/libm-test.inc (sincos_test_data): Test errno setting.
3725 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
3727 * string/strxfrm_l.c: Remove #define STRCMP.
3728 * string/strcoll_l.c: Remove #define STRLEN.
3729 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3730 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3732 2015-02-10 Joseph Myers <joseph@codesourcery.com>
3734 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3735 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3736 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3737 * sysdeps/mips/mips64/Makefile: ... here.
3738 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3739 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3740 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3741 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3742 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3743 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3744 * sysdeps/mips/mips64/n64/Implies: Likewise.
3746 2015-02-10 Roland McGrath <roland@hack.frob.com>
3748 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3749 <sys/time.h>, <string.h>, and <errno.h>.
3750 (dest_offset, dest_address, value, zero): Remove unused variables.
3751 (ldouble): Remove typedef.
3752 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3753 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3755 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3756 (check): Function removed.
3758 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3759 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3760 Don't call set_sigaction_FP and remove_sigaction_FP here.
3761 (ldouble_test): Just use 'long double' as macro argument, no need for
3762 the 'ldouble' typedef.
3763 (do_test): Set up SIGFPE handler at start, using plain signal rather
3764 than sigaction. Fix code style.
3766 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3769 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3772 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3774 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3775 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3777 * sysdeps/powerpc/configure.ac: Remove file.
3778 * sysdeps/powerpc/configure: Likewise.
3780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3781 [sysdep_routines]: Remove wordcopy-power6 object.
3782 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3783 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3784 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3785 (__memmove_ppc32): Likewise.
3786 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3788 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3789 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3790 Remove preprocessor.
3792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3793 [sysdep_routines]: Remove wide chars objects.
3794 [wcsmbs]: New rule for wide char objects.
3796 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3797 Remove wordcopy-power6 obejct.
3798 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3799 Use local call for wordcopy and memcpy symbols.
3800 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3801 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3802 implementation for loader.
3803 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3805 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3806 Remove wordcopy-power7 object.
3807 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3808 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3809 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3810 (_wordcopy_fwd_dest_aligned): Likewise.
3811 (_wordcopy_bwd_aligned): Likewise.
3812 (_wordcopy_bwd_dest_aligned): Likewise.
3814 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3815 Rewrite to call __memmove_ppc instead of include default
3818 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3819 Remove wide chars objects.
3820 [wcsmbs]: New rule for wide char objects.
3822 2015-02-09 Andreas Schwab <schwab@suse.de>
3825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3826 in terms of __O_DIRECTORY.
3828 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3830 * time/getdate.c: Include <stdbool.h>.
3831 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3833 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3836 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3838 Add ersatz _Static_assert on older C hosts
3839 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3840 pre-C11 C platform that is not known to support _Static_assert.
3842 2015-02-07 Richard Braun <rbraun@sceen.net>
3844 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3846 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3848 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3850 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3851 priority against unexistent AIO_PRIO_DELTA_MAX.
3852 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3854 * misc/fchflags.c (fchflags): Likewise.
3855 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3856 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3857 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3858 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3859 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3861 [__USE_MISC] (chflags, fchflags): Declare functions.
3862 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3863 EINVAL when nfds is greater than FD_SETSIZE.
3864 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3865 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3867 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3868 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3869 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3871 * hurd/hurd/signal.h (_hurd_self_sigstate,
3872 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3873 Explicit casts from void *.
3874 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3875 * abi-tags: Rename gnu-gnu os into gnu.
3878 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3879 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3880 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3881 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3882 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3883 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3886 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3887 duplicates ADDR->sun_path with sockaddr LEN limitation.
3888 * sysdeps/mach/hurd/connect.c: Include <string.h>
3889 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3890 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3891 * sysdeps/mach/hurd/sendto.c: Likewise.
3892 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3893 implementing it by hand.
3895 2015-02-06 Roland McGrath <roland@hack.frob.com>
3897 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3898 Use sfi_breg on ldr.
3899 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3902 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3904 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3905 Test SIGSETXID only if it's defined.
3907 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3909 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3910 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3912 * nptl/tst-align2.c: Moved ...
3913 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3914 * nptl/Makefile (tests): Remove tst-align2.
3915 * sysdeps/unix/sysv/linux/Makefile
3916 [$(subdir) = nptl] (tests): Add tst-align-clone.
3917 * nptl/tst-getpid1.c: Moved ...
3918 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3919 * nptl/tst-getpid2.c: Moved ...
3920 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3921 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3922 * sysdeps/unix/sysv/linux/Makefile
3923 [$(subdir) = nptl] (tests): ... here.
3924 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3925 * sysdeps/unix/sysv/linux/Makefile
3926 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3928 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3929 Drop trailing \n from perror argument. Use return rather than exit.
3931 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3933 * nptl/tst-cancel21.c (do_test): Likewise.
3934 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3935 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3936 [!SA_SIGINFO]: Make it a stub test.
3938 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3939 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3941 * posix/tst-getlogin.c: Move to ...
3942 * login/tst-getlogin.c: ... here.
3943 * posix/Makefile (tests): Move tst-getlogin to ...
3944 * login/Makefile (tests): ... here.
3946 * libio/tst-atime.c (do_test): Move local variables SV and E
3947 inside [ST_NOATIME] conditional.
3949 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3951 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3953 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3954 (wait_code): New function replaces macro.
3955 Call nanosleep rather than syscall.
3957 * nptl/pt-system.c: Rewritten. Put everything under
3958 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3959 Use IFUNC to redirect when possible.
3961 * nptl/pt-longjmp.c: Rewritten. Put everything under
3962 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3963 Use IFUNC to redirect when possible.
3965 * nptl/pt-fork.c: Rewritten. Put everything under
3966 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3967 Use IFUNC to redirect when possible.
3968 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3970 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3971 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3972 unconditionally nowadays. This included the only reference to
3973 __vdso_clock_gettime that appears outside libc proper.
3974 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3975 Remove version set (containing only __vdso_clock_gettime).
3976 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3977 Add attribute_hidden.
3978 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3979 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3980 libc_hidden_data_def.
3981 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3982 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3984 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3985 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3986 setrpcent, and getrpcport to ...
3987 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3988 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3989 getrpcbynumber_r, and getrpcent_r to ...
3990 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3991 * inet/getrpcbyname.c: Moved ...
3992 * sunrpc/getrpcbyname.c: ... here.
3993 * inet/getrpcbyname_r.c: Moved ...
3994 * sunrpc/getrpcbyname_r.c: ... here.
3995 * inet/getrpcbynumber.c: Moved ...
3996 * sunrpc/getrpcbynumber.c: ... here.
3997 * inet/getrpcbynumber_r.c: Moved ...
3998 * sunrpc/getrpcbynumber_r.c: ... here.
3999 * inet/getrpcent.c: Moved ...
4000 * sunrpc/getrpcent.c: ... here.
4001 * inet/getrpcent_r.c: Moved ...
4002 * sunrpc/getrpcent_r.c: ... here.
4003 * inet/Makefile (routines): Move those to ...
4004 * sunrpc/Makefile (routines): ... here.
4005 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4006 the $(subdirs) list.
4007 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
4008 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4009 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4010 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4012 * elf/Makefile (routines): Include $(all-dl-routines), not just
4014 (rtld-routines): Likewise. Use = rather than :=.
4015 * sysdeps/aarch64/Makefile [$(subdir) = elf]
4016 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4017 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4018 * sysdeps/arm/Makefile: Likewise.
4019 * sysdeps/i386/Makefile: Likewise.
4020 * sysdeps/x86_64/Makefile: Likewise.
4021 * sysdeps/hppa/Makefile [$(subdir) = elf]
4022 (sysdep_routines, sysdep-rtld-routines): Don't add
4023 $(sysdep-dl-routines) to these.
4024 * sysdeps/ia64/Makefile: Likewise.
4025 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4026 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4027 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4028 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4029 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4030 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4031 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4032 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4033 * sysdeps/powerpc/Makefile [$(subdir) = elf]
4034 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4035 these; sysdep-dl-routines alone is enough.
4037 2015-02-06 Joseph Myers <joseph@codesourcery.com>
4040 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4041 where multiplication results in zero and third argument is finite
4043 * math/auto-libm-test-in: Add more tests of fma.
4044 * math/auto-libm-test-out: Regenerated.
4046 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4047 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4048 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4049 (_FP_CMP_EQ): Likewise.
4050 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4052 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4053 extra argument CHECK_NAN. Redefine as wrapper around
4056 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4058 * version.h (RELEASE): Set to "stable".
4059 (VERSION): Set to "2.21"
4060 * include/features.h (__GLIBC_MINOR__): Set to 21.
4062 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4064 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4065 Paul Eggert <eggert@cs.ucla.edu>
4068 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4070 size in bytes. Store needed elements in wpmax. Use needed size
4071 in bytes for extend_alloca.
4073 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4075 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4076 binutls 2.25, and texinfo 5.2.
4077 * INSTALL: Regenerate.
4078 * sysdeps/nios2/configure: Regenerate.
4079 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4080 * manual/contrib.texi: Update.
4104 * po/pt_BR.po: Update.
4113 * po/zh_CN.po: Update.
4114 * po/zh_TW.po: Update.
4116 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4117 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4118 * sysdeps/hppa/dl-irel.h: Remove #warning.
4119 * sysdeps/hppa/entry.h: Provide prototype for
4120 __canonicalize_funcptr_for_compare and cast argument.
4121 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4122 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4123 * sysdeps/hppa/sotruss-lib.c: New file.
4124 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4125 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4126 (atomic_compare_and_exchange_bool_acq): Likewise.
4127 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4128 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4130 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4131 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4132 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4134 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4136 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4137 called function in non-PIC case.
4139 2015-01-31 David S. Miller <davem@davemloft.net>
4141 * sysdeps/sparc/sparc32/bits/atomic.h
4142 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4143 unlock not after it.
4144 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4145 volatile register usage warnings from the compiler.
4147 * sysdeps/sparc/nptl/sem_init.c: Delete.
4148 * sysdeps/sparc/nptl/sem_post.c: Delete.
4149 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4150 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4151 * sysdeps/sparc/sparc32/sem_init.c: New file.
4152 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4153 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4154 padding explicitly initialized.
4155 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4156 padding for in-semaphore spinlock.
4157 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4158 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4159 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4160 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4161 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4162 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4163 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4164 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4166 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4167 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4169 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4173 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4174 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4176 (index_AVX_Fast_Unaligned_Load): Likewise.
4177 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4178 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4179 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4180 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4181 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4182 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4183 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4184 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4185 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4187 2015-01-29 Andreas Schwab <schwab@suse.de>
4189 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4191 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4194 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4196 2015-01-28 Martin Sebor <msebor@redhat.com>
4198 * math/README.libm-test: Clarify. Add "How to read the test output."
4200 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4202 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4205 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4207 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4208 (__HAVE_64B_ATOMICS): Define to 0.
4210 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4213 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4214 value to set as new flag.
4217 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4218 and use _ARCH_PPCSQ instead.
4219 (__ieee754_sqrt): Likewise.
4220 (__ieee754_sqrtf): Likewise.
4221 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4222 _ARCH_PPCSQ is defined.
4223 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4225 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4226 _ARCH_PPCSQ is defined.
4227 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4229 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4231 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4233 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4234 bug (GCC BZ #64739).
4236 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4238 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4239 Mark _retval as used.
4240 (lll_futex_wake_unlock): Likewise.
4241 (lll_futex_timed_wait_requeue_pi): Likewise.
4243 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4244 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4247 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4250 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4251 (__bswap_64): Mark as __always_inline.
4253 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4256 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4257 when none of the search directories exist.
4259 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4262 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4263 power8 in .machine directive.
4266 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4267 set dependency from opd value.
4269 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4272 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4275 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4278 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4280 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4282 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4283 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4284 Replace 1UL with (uint64_t) 1.
4285 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4288 2015-01-23 Roland McGrath <roland@hack.frob.com>
4290 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4291 (if_freenameindex): Likewise.
4293 * resource/getrlimit64.c: Add missing libc_hidden_def.
4295 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4297 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4299 (_FP_FMA): Likewise.
4300 (_FP_TO_INT_ROUND): Likewise.
4301 (_FP_FROM_INT): Likewise.
4303 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4306 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4307 Make code racy and cancel safe.
4309 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4311 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4312 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4315 * pwd/tst-getpw.c: Rewrite.
4318 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4319 (modules-names): Add moddummy1 and moddummy2.
4320 ($(objpfx)tst-rec-dlopen): Define.
4321 * dlfcn/moddummy1.c: New file.
4322 * dlfcn/moddummy2.c: New file.
4323 * dlfcn/tst-rec-dlopen.c: New file.
4324 * elf/dl-cache.c (_dl_load_cache_lookup):
4325 Return char*. Copy result with alloca/strcpy/strdup.
4326 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4327 returns char*. Free cached. If not saving realname
4329 * elf/dl-open.c (dl_open_worker): Do not assert that
4330 _r_debug->r_state is RT_CONSISTENT.
4331 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4334 2015-01-21 Torvald Riegel <triegel@redhat.com>
4335 Carlos O'Donell <carlos@redhat.com>
4338 * nptl/sem_waitcommon.c: New file.
4339 * nptl/sem_wait.c: Include sem_waitcommon.c.
4340 (__sem_wait_cleanup, do_futex_wait): Remove.
4341 (__new_sem_wait): Adapt.
4342 (__new_sem_trywait): New function.
4343 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4344 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4345 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4346 (sem_timedwait): Adapt.
4347 * nptl/sem_post.c (__new_sem_post): Adapt.
4348 (futex_wake): New function.
4349 (__old_sem_post): Add release MO fence.
4350 * nptl/sem_open.c (sem_open): Adapt.
4351 * nptl/sem_init.c (__new_sem_init): Adapt.
4352 (futex_private_if_supported): New function.
4353 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4354 (__old_sem_getvalue): Add using previous code.
4355 * sysdeps/nptl/internaltypes.h: Adapt.
4356 * nptl/tst-sem13.c (do_test): Adapt.
4357 * nptl/tst-sem11.c (main): Adapt.
4358 * nptl/sem_trywait.c: Remove.
4359 * nptl/DESIGN-sem.txt: Remove.
4360 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4361 (gen-as-const-headers): Remove structsem.sym.
4362 * nptl/structsem.sym: Remove.
4363 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4364 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4365 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4366 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4367 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4368 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4369 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4370 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4371 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4372 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4373 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4374 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4375 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4376 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4377 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4378 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4379 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4380 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4381 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4382 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4383 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4384 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4386 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4388 * INSTALL: Regenerated.
4390 * po/libc.pot: Regenerated.
4392 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4393 Sandra Loosemore <sandra@codesourcery.com>
4394 Andrew Jenner <andrew@codesourcery.com>
4395 Joseph Myers <joseph@codesourcery.com>
4396 Nathan Sidwell <nathan@codesourcery.com>
4398 * NEWS: Mention new Nios II port.
4399 * sysdeps/nios2/Implies: New file.
4400 * sysdeps/nios2/Makefile: New file.
4401 * sysdeps/nios2/Subdirs: New file.
4402 * sysdeps/nios2/Versions: New file.
4403 * sysdeps/nios2/__longjmp.S: New file.
4404 * sysdeps/nios2/abort-instr.h: New file.
4405 * sysdeps/nios2/backtrace.c: New file.
4406 * sysdeps/nios2/bits/endian.h: New file.
4407 * sysdeps/nios2/bits/fenv.h: New file.
4408 * sysdeps/nios2/bits/link.h: New file.
4409 * sysdeps/nios2/bits/setjmp.h: New file.
4410 * sysdeps/nios2/bsd-_setjmp.S: New file.
4411 * sysdeps/nios2/bsd-setjmp.S: New file.
4412 * sysdeps/nios2/configure: New generated file.
4413 * sysdeps/nios2/configure.ac: New file.
4414 * sysdeps/nios2/crti.S: New file.
4415 * sysdeps/nios2/crtn.S: New file.
4416 * sysdeps/nios2/dl-init.c: New file.
4417 * sysdeps/nios2/dl-machine.h: New file.
4418 * sysdeps/nios2/dl-sysdep.h: New file.
4419 * sysdeps/nios2/dl-tls.h: New file.
4420 * sysdeps/nios2/dl-trampoline.S: New file.
4421 * sysdeps/nios2/gccframe.h: New file.
4422 * sysdeps/nios2/gmp-mparam.h: New file.
4423 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4424 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4425 * sysdeps/nios2/ldsodefs.h: New file.
4426 * sysdeps/nios2/libc-tls.c: New file.
4427 * sysdeps/nios2/libm-test-ulps: New file.
4428 * sysdeps/nios2/machine-gmon.h: New file.
4429 * sysdeps/nios2/math-tests.h: New file.
4430 * sysdeps/nios2/math_private.h: New file.
4431 * sysdeps/nios2/memusage.h: New file.
4432 * sysdeps/nios2/nptl/Makefile: New file.
4433 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4434 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4435 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4436 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4437 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4438 * sysdeps/nios2/nptl/tls.h: New file.
4439 * sysdeps/nios2/preconfigure: New file.
4440 * sysdeps/nios2/s_fma.c: New file.
4441 * sysdeps/nios2/s_fmaf.c: New file.
4442 * sysdeps/nios2/setjmp.S: New file.
4443 * sysdeps/nios2/sfp-machine.h: New file.
4444 * sysdeps/nios2/sotruss-lib.c: New file.
4445 * sysdeps/nios2/stackguard-macros.h: New file.
4446 * sysdeps/nios2/stackinfo.h: New file.
4447 * sysdeps/nios2/start.S: New file.
4448 * sysdeps/nios2/sysdep.h: New file.
4449 * sysdeps/nios2/tls-macros.h: New file.
4450 * sysdeps/nios2/tst-audit.h: New file.
4451 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4452 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4453 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4454 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4455 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4456 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4457 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4458 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4459 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4460 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4461 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4462 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4463 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4464 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4465 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4466 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4467 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4468 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4469 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4470 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4471 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4472 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4473 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4474 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4475 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4476 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4477 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4478 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4479 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4480 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4481 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4482 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4483 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4484 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4485 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4486 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4487 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4488 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4489 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4490 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4491 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4492 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4493 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4494 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4496 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4499 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4500 (getutent): Use weak_alias in non SHARED case
4501 and default_symbol_version in SHARED case.
4502 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4503 (getutent_r, pututline): Likewise.
4504 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4505 (getutid): Likewise.
4506 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4507 (getutid_r): Likewise.
4508 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4509 (getutline): Likewise.
4510 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4511 (getutline_r): Likewise.
4512 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4513 (updwtmp): Likewise.
4515 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4518 * sysdeps/s390/s390-32/memcmp.S
4519 (memcmp_g5): Rename to __memcmp_g5.
4520 * sysdeps/s390/s390-32/memcpy.S
4521 (memcpy_g5): Rename to __memcpy_g5.
4522 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4523 (memcpy_mvcle) Rename to __memcpy_mvcle.
4524 * sysdeps/s390/s390-32/memset.S
4525 (memset_g5): Rename to __memset_g5.
4526 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4527 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4528 and use prefixed functions.
4529 * sysdeps/s390/s390-32/multiarch/memcmp.S
4530 (memcmp_z196): Rename to __memcmp_z196.
4531 (memcmp_z10): Rename to __memcmp_z10.
4532 (memcmp): Set alias to __memcmp_g5.
4533 (bcmp): Set alias to __memcmp_g5.
4534 * sysdeps/s390/s390-32/multiarch/memcpy.S
4535 (memcpy_z196): Rename to __memcpy_z196.
4536 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4537 (memcpy_z10): Rename to __memcpy_z10.
4538 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4539 (memcpy): Set alias to __memcpy_g5.
4540 * sysdeps/s390/s390-32/multiarch/memset.S
4541 (memset_z196): Rename to __memset_z196.
4542 Jump to __memset_mvcle instead of memset_mvcle.
4543 (memset_z10): Rename to __memset_z10.
4544 Jump to __memset_mvcle instead of memset_mvcle.
4545 (memset_mvcle) Rename to __memset_mvcle.
4546 (memset): Set alias to __memset_g5.
4547 * sysdeps/s390/s390-64/memcmp.S
4548 (memcmp_z900): Rename to __memcmp_z900.
4549 * sysdeps/s390/s390-64/memcpy.S
4550 (memcpy_z900): Rename to __memcpy_z900.
4551 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4552 (memcpy_mvcle) Rename to __memcpy_mvcle.
4553 * sysdeps/s390/s390-64/memset.S
4554 (memset_z900): Rename to __memset_z900.
4555 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4556 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4557 and use prefixed functions.
4558 * sysdeps/s390/s390-64/multiarch/memcmp.S
4559 (memcmp_z196): Rename to __memcmp_z196.
4560 (memcmp_z10): Rename to __memcmp_z10.
4561 (memcmp): Set alias to __memcmp_z900.
4562 (bcmp): Set alias to __memcmp_z900.
4563 * sysdeps/s390/s390-64/multiarch/memcpy.S
4564 (memcpy_z196): Rename to __memcpy_z196.
4565 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4566 (memcpy_z10): Rename to __memcpy_z10.
4567 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4568 (memcpy): Set alias to __memcpy_z900.
4569 * sysdeps/s390/s390-64/multiarch/memset.S
4570 (memset_z196): Rename to __memset_z196.
4571 Jump to __memset_mvcle instead of memset_mvcle.
4572 (memset_z10): Rename to __memset_z10.
4573 Jump to __memset_mvcle instead of memset_mvcle.
4574 (memset_mvcle) Rename to __memset_mvcle.
4575 (memset): Set alias to __memset_z900.
4577 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4580 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4581 __fesetenv instead of fesetenv.
4583 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4585 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4588 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4590 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4593 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4594 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4595 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4596 strncmp-power8 object.
4597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4598 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4599 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4602 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4603 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4605 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4606 trailing byte check.
4608 2015-01-13 David S. Miller <davem@davemloft.net>
4610 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4612 2015-01-13 Roland McGrath <roland@hack.frob.com>
4614 * login/logout.c (logout): Use memset rather than bzero.
4615 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4616 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4617 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4618 (_gethtbyaddr): Likewise.
4619 * locale/programs/simple-hash.c (bcopy): Macro removed.
4621 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4623 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4624 Add strcmp-power8 object.
4625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4626 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4627 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4628 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4629 __strcmp_power8 implementation.
4630 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4633 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4634 Add strncpy-power8 and stpncpy-power8 objects.
4635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4636 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4638 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4639 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4640 __stpncpy_power8 implementation.
4641 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4642 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4643 __strncpy_power8 implementation.
4644 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4645 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4648 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4649 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4650 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4652 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4653 strncat-power8 object.
4654 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4655 __strcat_power8 implementation.
4656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4657 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4658 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4659 optimized strcat for power8.
4661 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4662 strcpy-power8 and stpcpy-power8 objects.
4663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4664 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4666 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4667 multiarch stpcpy implementation for POWER8.
4668 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4669 multiarch strcpy implementation for POWER8.
4670 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4671 __strcpy_power8 function.
4672 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4674 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4678 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
4681 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4682 weights and rules. Use do_xfrm_cached if data fits in cache,
4683 do_xfrm otherwise. Moved former main loop to...
4684 * (do_xfrm_cached): New function.
4685 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4686 find_idx, find_position and stack_push.
4687 * (find_idx): New function.
4688 * (find_position): Likewise.
4689 * localedata/sort-test.sh: Added test run for do_xfrm.
4690 * localedata/xfrm-test.c (main): Added command line option
4691 -nocache to run the test with strings that are too large for
4694 2015-01-13 Torvald Riegel <triegel@redhat.com>
4696 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4697 variable to lll_futex_wake call, not the value itself.
4699 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4702 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4703 twom64. Adjust value to 0x1p-64L.
4704 (__scalblnl): Only return standard underflowing result for K <=
4705 -64 not K <= -63; adjust exponent for underflowing result by 64
4707 * math/libm-test.inc (scalbn_test_data): Add more tests.
4708 (scalbln_test_data): Likewise.
4711 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4713 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4715 * math/libm-test.inc (scalbn_test_data): Add more tests.
4716 (scalbln_test_data): Likewise.
4718 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4719 Stefani Seibold <stefani@seibold.net>
4721 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4722 (sysdep_routines): Add dl-vdso here, ...
4723 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4724 (sysdep_routines): ... not here.
4725 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4726 fallback when vDSO is not presented.
4727 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4728 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4729 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4730 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4731 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4732 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4733 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4734 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4735 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4736 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4737 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4738 fallback configurable symbol when vDSO is not available.
4739 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4740 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4741 be able to redefine fallback symbol when vDSO is not available.
4742 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4743 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4745 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4747 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4748 (TLS_INIT_TP): Add tm_capable initialization.
4749 (TLS_DEFINE_INIT_TP): Likewise.
4750 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4752 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4753 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4755 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4756 transactoion is lock elision is built and TCB tm_capable is set.
4757 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4759 (INTERNAL_SYSCALL_NCS): Likewise.
4760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4761 (INTERNAL_SYSCALL_NCS): Likewise.
4762 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4764 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4766 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4767 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4768 and remove it for 32 bits case.
4769 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4770 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4772 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4773 Disable lock elision with rdlocks if elision is not available.
4775 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4776 (sysdep_routines): Add lock elision objects.
4777 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4778 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4779 [pthread_mutex_t] (__elision): Add field.
4780 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4781 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4782 elision definitions for powerpc.
4783 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4784 implementation of lock elision for powerpc.
4785 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4786 implementation of timed lock elision for powerpc.
4787 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4788 implementation of trylock with lock elision for powerpc.
4789 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4790 implementaion of unlock for lock elision for powerpc.
4791 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4792 automatic enable lock elision for mutexes.
4793 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4794 transaction execution definitions for powerpc.
4795 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4797 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4798 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4799 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4800 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4803 2015-01-09 Roland McGrath <roland@hack.frob.com>
4805 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4806 for #include of <shm-directory.h>.
4808 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4810 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4811 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4813 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4816 * NEWS: Mention bug fix.
4817 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4818 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4819 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4821 2015-01-09 Torvald Riegel <triegel@redhat.com>
4823 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4825 2015-01-09 Torvald Riegel <triegel@redhat.com>
4827 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4829 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4831 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4832 pointer and cast to uintptr_t.
4834 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4836 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4838 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4840 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4842 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4845 2015-01-08 Roland McGrath <roland@hack.frob.com>
4847 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4848 <nptl/pthreadP.h> instead.
4849 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4851 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4853 [__SIGRTMIN] (init): Function removed.
4854 [__SIGRTMIN] (initialized): Variable removed.
4855 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4856 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4857 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4858 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4859 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4860 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4861 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4862 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4863 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4864 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4865 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4866 * sysdeps/nptl/allocrtsig.c: New file.
4867 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4868 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4869 * sysdeps/generic/testrtsig.h: File removed.
4871 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4872 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4874 * nptl/nptl-init.c (pthread_functions): Conditionalize
4875 .ptr__nptl_setxid initialization on [SIGSETXID].
4877 * sysdeps/nptl/sys/procfs.h: New file.
4878 * nptl_db/Makefile (headers): Add it.
4879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4881 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4882 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4883 * nptl/pthread_attr_setaffinity.c: Include it.
4884 * nptl/pthread_setattr_default_np.c: Likewise.
4885 * nptl/check-cpuset.h: New file.
4887 2015-01-08 Richard Henderson <rth@redhat.com>
4889 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4890 (CFLAGS-tst-execstack-prog.c): Likewise.
4891 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4893 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4894 Sandra Loosemore <sandra@codesourcery.com>
4895 Andrew Jenner <andrew@codesourcery.com>
4896 Joseph Myers <joseph@codesourcery.com>
4897 Nathan Sidwell <nathan@codesourcery.com>
4899 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4900 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4901 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4902 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4903 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4904 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4905 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4906 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4907 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4908 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4909 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4910 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4911 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4912 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4913 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4914 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4915 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4917 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4919 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4920 timespec struct member in syscall macro.
4921 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4922 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4923 first timeval struct member in syscall macro.
4924 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4926 2015-01-07 Joseph Myers <joseph@codesourcery.com>
4929 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4930 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4931 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4932 __feupdateenv and define as weak alias of __feupdateenv. Use
4934 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4936 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4937 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4938 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4939 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4941 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4942 __feupdateenv and define as weak alias of __feupdateenv. Use
4944 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4946 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4947 __feupdateenv and define as weak alias of __feupdateenv. Use
4949 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4951 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4952 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4953 (__feupdateenv): Likewise.
4954 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4955 __feupdateenv and define as weak alias of __feupdateenv. Use
4957 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4958 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4960 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4962 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4964 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4965 __feupdateenv instead of feupdateenv.
4966 (default_libc_feupdateenv_test): Likewise.
4967 (libc_feresetround_ctx): Likewise.
4969 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4971 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4974 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4976 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4977 COLL_SYM in a couple of places to avoid uninitialized variable
4978 wanings on tilegx gcc 4.8.2.
4980 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4982 * sysdeps/aarch64/strcpy.S: New file.
4983 * sysdeps/aarch64/stpcpy.S: New file.
4986 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4988 * sysdeps/aarch64/strrchr.S: New file.
4991 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
4994 * stdlib/setenv.c: Fix memory leak when setting large,
4997 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5000 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5001 and tabs from buffer before parsing fstab entry.
5002 * misc/tst-mntent.c (main): Add test for mount entry with
5003 trailing spaces and tabs.
5005 2015-01-06 Joseph Myers <joseph@codesourcery.com>
5008 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
5009 * math/fesetround.c (fesetround): Rename to __fesetround and
5010 define as weak alias of __fesetround. Use libm_hidden_weak.
5011 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5012 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5013 * sysdeps/arm/fesetround.c (fesetround): Likewise.
5014 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5015 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5016 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5017 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5018 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5019 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5020 __fesetround_inline.
5021 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5022 __fesetround_inline instead of __fesetround.
5023 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5024 __fesetround and define as weak alias of __fesetround. Use
5025 libm_hidden_weak. Call __fesetround_inline instead of
5027 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5028 __fesetround and define as weak alias of __fesetround. Use
5030 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5032 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5033 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5034 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5035 * sysdeps/tile/math_private.h (__fesetround): New inline function.
5036 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5037 __fesetround and define as weak alias of __fesetround. Use
5039 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5040 __fesetround instead of fesetround.
5041 (default_libc_feholdexcept_setround): Likewise.
5042 (libc_feholdsetround_ctx): Likewise.
5043 (libc_feholdsetround_noex_ctx): Likewise.
5046 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5047 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5048 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5049 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5050 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5051 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5052 define as weak alias of __fesetenv. Use libm_hidden_weak.
5053 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5054 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5055 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5056 define as weak alias of __fesetenv. Use libm_hidden_weak.
5057 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5058 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5059 define as weak alias of __fesetenv. Use libm_hidden_weak.
5060 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5062 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5063 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5065 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5066 define as weak alias of __fesetenv. Use libm_hidden_weak.
5067 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5068 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5069 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5070 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5071 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5072 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5073 __fesetenv instead of fesetenv.
5074 (libc_feresetround_noex_ctx): Likewise.
5075 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5076 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5077 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5078 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5079 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5080 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5081 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5082 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5083 (__feupdateenv): Likewise.
5084 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5085 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5086 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5087 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5089 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5092 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5093 addresses have been freed.
5095 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5097 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5100 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5102 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5103 Clean up check_pf allocation pattern. addresses
5105 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5107 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5108 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5109 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5110 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5111 * nptl/pthread_join.c (pthread_join): Likewise.
5112 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5113 * sysdeps/posix/waitid.c (__waitid): Likewise.
5114 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5115 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5116 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5117 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5118 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5120 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5121 (__libc_pread64): Likewise.
5122 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5123 (__libc_pwrite): Likewise.
5124 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5125 (__libc_pwrite64): Likewsie.
5126 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5127 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5128 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5129 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5130 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5131 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5132 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5136 (__libc_pread64): Likewise.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5140 (__libc_pwrite64): Likewise.
5141 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5142 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5143 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5144 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5145 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5146 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5147 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5148 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5149 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5150 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5151 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5152 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5153 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5154 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5155 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5156 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5159 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5161 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5162 (CFLAGS-test-double.c): Likewise.
5163 (CFLAGS-test-ldouble.c): Likewise.
5164 (CPPFLAGS-test-ifloat.c): Likewise.
5165 (CPPFLAGS-test-idouble.c): Likewise.
5166 (CPPFLAGS-test-ildoubl.c): Likewise.
5167 (CFLAGS-test-test-fenv.c): Remove variable.
5168 (CFLAGS-test-misc.c): Likewise.
5170 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5173 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5174 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5175 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5176 CLOCKS_PER_SEC == 1000000.
5177 * time/clocktest.c (main): Replace %ld with %jd and cast to
5180 2015-01-05 Roland McGrath <roland@hack.frob.com>
5182 * sysdeps/generic/unwind-resume.h: New file.
5183 * sysdeps/gnu/unwind-resume.c: Include it.
5184 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5185 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5187 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5188 global rather than static.
5189 (_Unwind_Resume): Update user.
5190 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5191 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5192 rather than static. Add __attribute__ ((cold)).
5193 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5194 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5195 * sysdeps/arm/arm-unwind-resume.S: New file.
5196 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5197 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5198 * sysdeps/arm/Makefile [$(subdir) = csu]
5199 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5200 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5201 Add rt-arm-unwind-resume.
5203 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5204 Add pt-arm-unwind-resume.
5205 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5206 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5208 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5211 * include/fenv.h (__feholdexcept): Declare. Use
5213 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5214 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5215 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5216 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5217 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5218 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5219 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5220 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5221 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5222 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5223 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5224 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5225 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5226 (feholdexcept): Likewise.
5227 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5228 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5229 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5230 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5231 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5232 __feholdexcept instead of feholdexcept.
5233 (default_libc_feholdexcept_setround): Likewise.
5235 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5237 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5238 to avoid using stl/str to align destination.
5240 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5242 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5244 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5247 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5248 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5249 Define as weak alias not strong alias.
5251 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5253 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5254 bltzal with addiupc.
5255 (RTLD_START): Ditto.
5257 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5259 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5260 for __vdso_* functions in declarations.
5261 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5263 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5264 INTERNAL_VSYSCALL): Use struct return types to check for error.
5266 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5267 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5268 function with cast from llround().
5269 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5270 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5273 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5276 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5277 Define as weak alias not strong alias.
5280 * ctype/ctype-c99.c: New file. isblank implementation moved from
5282 * ctype/ctype-extn.c: ... here.
5283 (__isblank_l): Move to ...
5284 * ctype/ctype-c99_l.c: ... here. New file.
5285 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5286 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5288 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5289 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5290 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5291 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5292 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5295 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5296 (posix_fadvise64): Define as weak alias not strong alias.
5297 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5298 (posix_fallocate64): Likewise.
5299 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5301 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5302 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5303 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5304 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5305 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5307 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5310 * NEWS: Mention bug fix.
5311 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5312 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5313 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5314 (HOST_STACK_END_ADDR): Likewise.
5316 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5319 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5320 * math/fegetround.c (fegetround): Rename to __fegetround and
5321 define as weak alias of __fegetround. Use libm_hidden_weak.
5322 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5323 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5324 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5325 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5326 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5327 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5328 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5329 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5330 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5331 Undefine after rather than before function definition; use
5332 parentheses around function name in definition.
5333 (__fegetround): Also undefine macro after function definition.
5334 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5335 __fegetround and define as weak alias of __fegetround. Use
5336 libm_hidden_weak. Do not undefine as macro.
5337 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5339 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5340 __fegetround and define as weak alias of __fegetround. Use
5342 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5343 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5344 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5345 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5346 __fegetround and define as weak alias of __fegetround. Use
5348 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5349 __fegetround instead of fegetround.
5352 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5353 Condition macro definition on [__USE_MISC].
5356 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5357 (struct sigaction): Change type of sa_flags field to int.
5360 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5361 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5364 * nptl/version.c (banner): Use single year in copyright notice.
5366 * NEWS: Update copyright dates.
5367 * catgets/gencat.c (print_version): Likewise.
5368 * csu/version.c (banner): Likewise.
5369 * debug/catchsegv.sh: Likewise.
5370 * debug/pcprofiledump.c (print_version): Likewise.
5371 * debug/xtrace.sh (do_version): Likewise.
5372 * elf/ldconfig.c (print_version): Likewise.
5373 * elf/ldd.bash.in: Likewise.
5374 * elf/pldd.c (print_version): Likewise.
5375 * elf/sotruss.sh: Likewise.
5376 * elf/sprof.c (print_version): Likewise.
5377 * iconv/iconv_prog.c (print_version): Likewise.
5378 * iconv/iconvconfig.c (print_version): Likewise.
5379 * locale/programs/locale.c (print_version): Likewise.
5380 * locale/programs/localedef.c (print_version): Likewise.
5381 * login/programs/pt_chown.c (print_version): Likewise.
5382 * malloc/memusage.sh (do_version): Likewise.
5383 * malloc/memusagestat.c (print_version): Likewise.
5384 * malloc/mtrace.pl: Likewise.
5385 * manual/libc.texinfo: Likewise.
5386 * nptl/version.c (banner): Likewise.
5387 * nscd/nscd.c (print_version): Likewise.
5388 * nss/getent.c (print_version): Likewise.
5389 * nss/makedb.c (print_version): Likewise.
5390 * posix/getconf.c (main): Likewise.
5391 * scripts/test-installation.pl: Likewise.
5392 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5394 2015-01-02 Will Newton <will.newton@linaro.org>
5396 * sysdeps/arm/armv7/configure: Removed.
5397 * sysdeps/arm/armv7/configure.ac: Likewise.
5399 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5401 * All files with FSF copyright notices: Update copyright dates
5402 using scripts/update-copyrights.
5403 * intl/plural.c: Regenerated.
5404 * locale/programs/charmap-kw.h: Likewise.
5405 * locale/programs/locfile-kw.h: Likewise.
5407 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5409 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5411 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5414 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5415 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5416 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5417 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5418 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5419 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5420 define as weak alias of __fegetenv. Use libm_hidden_weak.
5421 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5422 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5423 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5424 define as weak alias of __fegetenv. Use libm_hidden_weak.
5425 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5426 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5427 define as weak alias of __fegetenv. Use libm_hidden_weak.
5428 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5430 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5431 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5433 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5434 define as weak alias of __fegetenv. Use libm_hidden_weak.
5435 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5436 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5437 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5438 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5439 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5440 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5441 __fegetenv instead of fegetenv.
5442 (libc_feholdsetround_noex_ctx): Likewise.
5444 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5446 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5447 (Elf_MIPS_ABIFlags_v0): New structure.
5448 (EF_MIPS_FP64): Define.
5449 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5450 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5451 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5452 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5453 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5454 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5455 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5456 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5457 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5458 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5459 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5460 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5461 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5462 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5463 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5464 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5465 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5466 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5467 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5468 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5469 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5470 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5472 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5474 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5475 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5476 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5477 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5478 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5479 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5480 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5481 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5482 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5483 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5484 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5485 record the current FP ABI extension.
5486 (mips-mode-switch): Define to show if kernel headers support mode
5488 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5489 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5490 supported SYSV ABI version to 3.
5491 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5494 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5495 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5497 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5499 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5501 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5503 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5504 __fegetround and redefine to call __fegetround. Remove condition
5505 on [!__NO_MATH_INLINES].
5506 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5508 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5511 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5512 instead of <fenv_libc.h>.
5513 (__llrintl): Call fegetround instead of __fegetround.
5514 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5515 instead of <fenv_libc.h>.
5516 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5517 (__lrintl): Call fegetround instead of __fegetround.
5518 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5519 instead of <fenv_libc.h>.
5520 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5521 (__rintl): Call fegetround instead of __fegetround.
5523 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5525 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5528 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5531 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5532 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5533 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5535 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5537 * sysdeps/i386/tls-macros.h: Include <features.h>.
5538 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5542 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5543 define for GCC >= 5.0.
5545 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5547 * math/test-fenv.c (test_single_exception, set_single_exc,
5548 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5549 feexcp_mask_test, feenable_test, fe_single_test): Add
5550 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5551 case where they are not used.
5552 * math/libm-test.inc: Likewise.
5553 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5554 unused in the absence of FP rounding/exception support.
5555 * stdio-common/tst-printf-round.c: Likewise.
5556 * stdlib/tst-strtod-round.c: Likewise.
5557 * stdlib/tst-strtod-underflow.c: Likewise.
5559 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5562 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5563 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5564 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5565 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5567 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5568 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5569 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5571 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5572 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5574 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5576 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5577 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5578 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5580 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5582 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5583 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5584 (__feraiseexcept): Likewise.
5585 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5586 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5588 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5589 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5591 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5592 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5593 Use libm_hidden_def.
5594 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5596 (feraiseexcept): Define as weak not strong alias. Use
5598 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5599 New inline function. Factored out of ...
5600 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5601 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5602 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5604 * math/w_acos.c (__acos): Likewise.
5605 * math/w_asin.c (__asin): Likewise.
5606 * math/w_ilogb.c (__ilogb): Likewise.
5607 * math/w_j0.c (y0): Likewise.
5608 * math/w_j1.c (y1): Likewise.
5609 * math/w_jn.c (yn): Likewise.
5610 * math/w_log.c (__log): Likewise.
5611 * math/w_log10.c (__log10): Likewise.
5612 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5613 * sysdeps/aarch64/fpu/math_private.h
5614 (libc_feupdateenv_test_aarch64): Likewise.
5615 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5616 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5617 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5618 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5619 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5620 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5621 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5622 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5623 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5624 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5626 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5629 * io/test-utime.c (main): Replace %ld with %jd and cast to
5631 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5632 * nptl/tst-mutex5.c: Include <stdint.h>.
5633 (do_test): Replace %ld with %jd and cast to intmax_t.
5634 * posix/tst-regex.c (run_test): Likewise.
5635 (run_test_backwards): Likewise.
5636 * rt/tst-clock.c: Include <stdint.h>.
5637 (clock_test): Replace %ld with %jd and cast to intmax_t.
5638 * rt/tst-cpuclock1.c: Include <stdint.h>.
5639 (do_test): Replace %lu with %ju and cast to uintmax_t.
5640 * rt/tst-cpuclock2.c: Include <stdint.h>.
5641 (do_test): Replace %lu with %ju and cast to uintmax_t.
5642 * rt/tst-mqueue1.c: Include <stdint.h>.
5643 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5644 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5646 * rt/tst-mqueue4.c (do_test): Likewise.
5647 * rt/tst-timer4.c: Include <stdint.h>.
5648 (check_ts): Replace %ld with %jd and cast to intmax_t.
5649 (do_test): Likewise.
5650 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5651 and cast to intmax_t.
5652 * sysdeps/pthread/tst-timer.c (main): Likewise.
5653 * time/clocktest.c (main): Likewise.
5654 * time/tst-posixtz.c (do_test): Likewise.
5655 * timezone/tst-timezone.c (main): Likewise.
5657 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5658 H.J. Lu <hongjiu.lu@intel.com>
5660 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5661 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5662 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5663 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5664 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5665 version if bit_Fast_Unaligned_Load is set.
5666 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5667 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5668 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5669 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5670 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5671 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5673 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5674 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5675 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5677 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5678 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5679 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5680 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5682 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5684 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5685 instead of #if to avoid a Wundef warning.
5686 * stdlib/tst-limits.c (do_test): Likewise.
5688 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5689 parallel other exception macros.
5690 (fegetenv): Convert from macro to extern inline so that it applies
5691 retroactively to inline functions already seen by the compiler.
5692 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5694 * posix/Makefile (before-compile): Use $(objpfx) for
5695 posix-conf-vars-def.h.
5697 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5699 * posix/getconf.c (main): Use size_t for type of I.
5700 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5703 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5704 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5705 * posix/posix-envs.def: Likewise.
5706 * sysdeps/posix/sysconf.c: Likewise.
5707 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5708 (specs): Remove array.
5709 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5712 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5713 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5714 (__sysconf): Use CONF_IS_* macros.
5716 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5717 ($(objpfx)posix-conf-vars-def.h): New target.
5718 * posix/posix-conf-vars.list: New file.
5719 * posix/posix-conf-vars.h: New file.
5720 * posix/confstr.c: Include posix-conf-vars.h.
5721 (confstr): Use CONF_IS_* macros.
5722 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5724 * scripts/gen-posix-conf-vars.awk: New file.
5726 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5728 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5729 fegetround): Add no-op macros to avoid linknamespace issues.
5731 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5732 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5734 * sysdeps/unix/sysv/linux/tile/sysdep.h
5735 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5736 assembly-specific section to avoid a redefinition warning.
5738 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5739 long before casting to pointer to avoid a cast warning.
5741 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5743 * sysdeps/tile/tilegx/Implies: New file.
5745 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
5747 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5749 2014-12-23 Florian Weimer <fweimer@redhat.com>
5751 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5753 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5755 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5757 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5758 <kernel-features.h>.
5759 (__utimes) [__NR_utimes]: Make code unconditional.
5760 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5761 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5762 (__ASSUME_UTIMES): Do not undefine.
5763 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5764 (__ASSUME_UTIMES): Likewise.
5765 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5766 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5767 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5768 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5770 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5772 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5774 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5777 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5778 alias to weak alias for j0l, y0l.
5779 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5780 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5783 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5786 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5788 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5789 to zero if not already defined.
5791 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5794 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5795 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5796 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5797 (char *) casts added.
5798 * sysdeps/ieee754/k_standardf.c: New file.
5799 * sysdeps/ieee754/k_standardl.c: Likewise.
5800 * math/Makefile (libm-support): Remove k_standard.
5801 (libm-calls): Add k_standard.
5803 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5805 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5806 Optimize to avoid an unnecessary FPCR read.
5808 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5810 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5811 Optimize to reduce FPCR/FPSR accesses.
5813 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5815 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5816 Call libc_fetestexcept_aarch64.
5818 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5820 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5821 Call libc_fesetround_aarch64.
5823 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5826 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5827 (__bind): Do not define as weak alias.
5828 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5830 (__getsockname): Do not define as weak alias.
5832 2014-12-22 Will Newton <will.newton@linaro.org>
5834 * manual/install.texi: Document that we require bison 2.7
5836 * INSTALL: Regenerate.
5837 * configure.ac: Use AC_CHECK_PROG_VER instead of
5838 AC_PATH_PROG when checking for bison and check for
5839 version 2.7 or above.
5840 * configure: Regenerate.
5842 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5845 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5846 * sysdeps/tile/ffsll.c (ffsll): To here.
5848 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5850 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5852 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5854 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5856 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5857 hidden ___tls_get_addr.
5858 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5859 hidden __tls_get_addr.
5860 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5861 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5864 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5866 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5869 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5871 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5872 from "call _dl_init@PLT".
5873 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5875 2014-12-21 Anders Kaseorg <andersk@mit.edu>
5877 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5880 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5882 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5884 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5887 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5890 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5892 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5894 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5895 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5896 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5897 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5898 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5900 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5902 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5903 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5904 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5905 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5906 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5908 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5910 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
5912 * string/strncat.c (STRNCAT): Simplify implementation.
5914 2014-12-19 David S. Miller <davem@davemloft.net>
5916 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5917 access the quad as both a long double and as a series of 4 words.
5919 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5920 link_map->l_info array access.
5922 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5924 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5926 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5927 * math/atest-exp2.c (TIMEOUT): Likewise.
5928 * math/atest-sincos.c (TIMEOUT): Likewise.
5930 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5932 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5933 -Wno-error with -fno-builtin-lround.
5935 2014-12-19 Torvald Riegel <triegel@redhat.com>
5937 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5938 Contains futex constants and functions moved over from ...
5939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5940 <lowlevellock-futex.h>.
5941 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5942 (lll_timedwait_tid): Add comments and parentheses around macro
5945 2014-12-19 Torvald Riegel <triegel@redhat.com>
5947 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5948 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5949 (__lll_private_flag): Remove.
5950 (lll_futex_wait): Likewise.
5951 (lll_futex_timed_wait): Likewise.
5952 (lll_futex_wake): Likewise.
5953 (lll_futex_requeue): Likewise.
5954 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5955 (__lll_timedwait_tid): Spell out argument names.
5956 (lll_timedwait_tid): Add comments and parentheses around macro
5958 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5959 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5961 2014-12-19 Torvald Riegel <triegel@redhat.com>
5963 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5964 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5965 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5966 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5967 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5968 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5969 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5970 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5971 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5972 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5973 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5974 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5975 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5976 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5977 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5978 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5979 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5980 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5981 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5983 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5985 * sysdeps/x86_64/x32/Makefile: New file.
5987 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5989 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5990 1L with (mp_limb_t) 1.
5992 2014-12-17 Roland McGrath <roland@hack.frob.com>
5994 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5995 * nptl/libc_pthread_init.c: ... here.
5996 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5997 * nptl/register-atfork.c: ... here.
5999 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6000 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6001 Use assert_perror to check its return value.
6002 (__gai_create_helper_thread): Likewise.
6004 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6006 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6008 2014-12-17 Joseph Myers <joseph@codesourcery.com>
6011 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6013 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6015 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6017 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6019 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6020 (profil_counter): Likewise.
6021 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6022 (profil_counter): Likewise.
6023 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6025 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6027 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6028 (profil_counter): Likewise.
6029 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6031 [!__profil_counter] (profil_counter): Define as weak alias of
6033 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6034 (profil_counter): Rename to __profil_counter.
6035 [!__profil_counter] (profil_counter): Define as weak alias of
6037 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6038 (profil_counter): Rename to __profil_counter.
6039 [!__profil_counter] (profil_counter): Define as weak alias of
6041 * sysdeps/posix/profil.c: Update comment referring to
6043 (__profil): Use __profil_counter instead of profil_counter.
6044 * sysdeps/posix/sprofil.c (profil_counter): Rename to
6045 __profil_counter. Use __profil_counter_ushort and
6046 __profil_counter_uint in definitions.
6047 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6048 instead of profil_counter_uint and profil_counter_ushort.
6051 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6052 define as weak alias of __inet_makeaddr.
6053 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6054 as weak alias of __inet_addr.
6055 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6056 as weak alias of __inet_pton. Use libc_hidden_weak.
6057 * include/arpa/inet.h (__inet_pton): Declare. Use
6059 (inet_makeaddr): Don't use libc_hidden_proto.
6060 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6061 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6062 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6063 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6065 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6066 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6068 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6070 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6072 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6074 * stdio-common/bug-vfprintf-nargs.c (do_test):
6075 Cast value to intptr_t to avoid format warning
6076 for usage with PRIdPTR printing macro.
6078 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6080 * libio/tst-widetext.c (do_test):
6081 Use format type %td instead of %Zd for ptrdiff_t
6082 in order to avoid format warning.
6084 2014-12-17 Andreas Schwab <schwab@suse.de>
6086 * nscd/mem.c (gc): Add size_t cast to match printf format.
6088 2014-12-16 Roland McGrath <roland@hack.frob.com>
6090 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6091 (init): Apply PTR_MANGLE to pointers before storing them.
6092 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6095 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6098 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6099 define as weak alias of __memrchr.
6100 (__memrchr): Do not define as strong alias of memrchr.
6101 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6103 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6104 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6105 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6108 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6109 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6110 (if_indextoname): Rename to __if_indextoname and define as weak
6111 alias of __if_indextoname. Use libc_hidden_weak.
6112 (if_freenameindex): Rename to __if_freenameindex and define as
6113 weak alias of __if_freenameindex.
6114 (if_nameindex): Rename to __if_nameindex and define as weak alias
6116 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6117 __if_nametoindex and define as weak alias of __if_nametoindex.
6118 Use libc_hidden_weak.
6119 (if_freenameindex): Rename to __if_freenameindex and define as
6120 weak alias of __if_freenameindex.
6121 (if_nameindex): Rename to __if_nameindex and define as weak alias
6123 (if_indextoname): Rename to __if_indextoname and define as weak
6124 alias of __if_indextoname. Use libc_hidden_weak.
6125 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6126 __if_nametoindex and define as weak alias of __if_nametoindex.
6127 Use libc_hidden_weak.
6128 (if_freenameindex): Rename to __if_freenameindex and define as
6129 weak alias of __if_freenameindex. Use libc_hidden_weak.
6130 (if_nameindex_netlink): Use __if_freenameindex instead of
6132 (if_nameindex): Rename to __if_nameindex and define as weak alias
6133 of __if_nameindex. Use libc_hidden_weak.
6134 (if_indextoname): Rename to __if_indextoname and define as weak
6135 alias of __if_indextoname. Use libc_hidden_weak.
6136 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6138 [!_ISOMAC] (__if_freenameindex): Likewise.
6139 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6141 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6143 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6144 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6145 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6146 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6147 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6148 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6149 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6151 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6153 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6154 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6156 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6158 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6159 subscript above bounds'
6161 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6164 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6166 * libio/tst-fopenloc.c: Use test-skeleton.c.
6168 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6169 (entry): Rename to ITEM.
6170 (do_test, comp): Adjust.
6172 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6174 2014-12-16 Torvald Riegel <triegel@redhat.com>
6176 * string/tester.c: Include <libc-internal.h>.
6177 (test_memset): Ignore -Wmemset-transposed-args.
6179 2014-12-16 Torvald Riegel <triegel@redhat.com>
6181 * misc/tst-mntent2.c (do_test): Fix warning.
6183 2014-12-16 Torvald Riegel <triegel@redhat.com>
6185 * elf/tst-unique4lib.cc(a): Mark as used.
6187 2014-12-16 Florian Weimer <fweimer@redhat.com>
6190 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6193 2014-12-16 Allan McRae <allan@archlinux.org>
6195 * stdio-common/Makefile (tests): Re-add bug26.
6197 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6200 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6203 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6205 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6206 (__lll_lock_wait): Likewise.
6207 (__lll_timedlock_wait): Likewise.
6208 (__lll_timedwait_tid): Likewise.
6209 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6210 (__lll_robust_timedlock_wait): Likewise.
6211 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6212 (lll_cond_trylock): Likewise.
6213 (__lll_lock): Likewise.
6214 (__lll_robust_lock): Likewise.
6215 (__lll_cond_lock): Likewise.
6216 (lll_robust_cond_lock): Likewise.
6217 (__lll_timedlock): Likewise.
6218 (__lll_robust_timedlock): Likewise.
6219 (__lll_unlock): Likewise.
6220 (__lll_robust_unlock): Likewise.
6221 (lll_wait_tid): Likewise.
6222 (lll_timedwait_tid): Likewise.
6224 2014-12-15 Torvald Riegel <triegel@redhat.com>
6226 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6228 2014-12-15 Torvald Riegel <triegel@redhat.com>
6230 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6232 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6234 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6235 * stdio-common/tst-sprintf.c: Likewise.
6237 2014-12-15 Torvald Riegel <triegel@redhat.com>
6239 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6241 2014-12-15 Jeff Law <law@redhat.com>
6244 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6245 on the heap. (CVE-2012-3406)
6246 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6247 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6248 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6250 2014-12-15 Will Newton <will.newton@linaro.org>
6252 * manual/install.texi: Bump required version of texinfo
6254 * INSTALL: Regenerated.
6255 * configure.ac: Check for makeinfo version 4.7 and above.
6256 * configure: Regenerated.
6258 2014-12-12 Roland McGrath <roland@hack.frob.com>
6260 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6261 PREFIX, string constant to insert between directory and name.
6262 * sysdeps/posix/shm_open.c: Update caller.
6263 * sysdeps/posix/shm_unlink.c: Likewise.
6264 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6265 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6266 (SEM_SHM_PREFIX): New macro.
6267 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6268 [$(have-thread-library) = no].
6269 * nptl/Makefile (libpthread-routines): Add shm-directory.
6270 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6271 * sysdeps/nptl/shm-directory.h: New file.
6272 * sysdeps/posix/shm-directory.c
6273 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6274 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6275 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6277 (__where_is_shmfs): Function removed.
6278 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6280 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6282 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6284 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6285 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6286 unconditional for use inside libpthread.
6287 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6289 2014-12-12 Roland McGrath <roland@hack.frob.com>
6291 * nptl/pthread_getaffinity.c: New file.
6292 * nptl/pthread_setaffinity.c: New file.
6293 * nptl/pthread_getname.c: New file.
6294 * nptl/pthread_setname.c: New file.
6296 * nptl/pthread_create.c (START_THREAD_DEFN)
6297 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6299 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6300 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302 * resolv/res_send.c (send_vc): Disable warning resplen may
6303 be used uninitialized.
6305 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6308 (ATTR_NULL): New define checks ATTR against NULL.
6309 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6310 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6312 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6316 (mem2mem_check): Revert my previous change.
6317 (malloc_check_get_size): Revert my previous change.
6318 (mem2chunk_check): Revert my previous change.
6320 2014-12-11 Roland McGrath <roland@hack.frob.com>
6322 * sysdeps/posix/shm-directory.c: New file.
6323 * sysdeps/posix/shm-directory.h: New file.
6324 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6325 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6326 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6327 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6328 Transmute EPERM to EACCES.
6329 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6331 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6332 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6334 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6336 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6337 pointer and cast to uintptr_t.
6338 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6339 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6340 Add cast to avoid warning.
6341 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6343 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6345 * nptl/semaphore.h: Move to ...
6346 * sysdeps/pthread/semaphore.h: ... here.
6347 * Makefile (installed-headers): Change nptl/semaphore.h to
6348 sysdeps/pthread/semaphore.h.
6350 2014-12-11 Roland McGrath <roland@hack.frob.com>
6352 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6353 generated error format strings.
6355 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6356 -Wformat-extra-args warnings for scanf formats.
6357 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6358 test of zero-length format (duh).
6359 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6360 corner-case scanf format test.
6361 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6362 generated fprintf format string.
6363 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6364 corner-case sprintf format tests.
6365 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6366 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6367 -Wformat-extra-args warnings throughout.
6368 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6369 (CFLAGS-scanf4.c): Likewise.
6370 (CFLAGS-scanf7.c): Likewise.
6371 (CFLAGS-tst-sprintf.c): Likewise.
6372 (CFLAGS-tst-printf.c): Likewise.
6373 (CFLAGS-tst-printfsz.c): Likewise.
6375 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6377 * include/cpio.h: New file.
6378 * include/fmtmsg.h: Likewise.
6380 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6381 corresponding format argument to size_t.
6382 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6384 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6385 corresponding format argument to size_t.
6386 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6388 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6389 corresponding format argument to size_t.
6390 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6391 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6392 (CFLAGS-tst-mbswcs2.c): Likewise.
6393 (CFLAGS-tst-mbswcs3.c): Likewise.
6394 (CFLAGS-tst-mbswcs4.c): Likewise.
6395 (CFLAGS-tst-mbswcs5.c): Likewise.
6396 (CFLAGS-tst-trans.c): Likewise
6398 2014-12-11 Roland McGrath <roland@hack.frob.com>
6400 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6401 rather than assuming they won't contain any '%'s.
6403 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6405 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6406 inhibit_loop_to_libcall to avoid recursive calls.
6407 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6408 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6410 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6412 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6415 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6417 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6418 integer value instead of boolean.
6420 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6422 * malloc/malloc.c: Fix powerof2 check.
6424 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6426 * locale/programs/locfile.h (maybe_swap_uint32):
6427 Remove inline and add unused attribute.
6429 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6431 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6432 Truncating assembler expression to a .long expression.
6434 2014-12-11 Andreas Schwab <schwab@suse.de>
6436 * elf/rtld.c (struct map_args): Constify str member.
6437 (do_preload): Constify fname argument.
6439 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6441 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6442 constants definition.
6444 2014-12-11 Andreas Schwab <schwab@suse.de>
6447 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6448 FORCE_ELISION instead of DO_ELISION.
6449 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6451 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6454 * iconvdata/gconv-modules: Remove duplicate entry.
6456 2014-12-11 Will Newton <will.newton@linaro.org>
6458 Merge gettext 0.19.3 into intl/.
6460 This involves a number of cosmetic changes to comments
6461 and ANSI function definitions and prototypes throughout
6462 all the files. The gettext copyright header is used but
6463 with the date ranges taken from the glibc copy.
6465 * NEWS: Add gettext merge to 2.21.
6466 * intl/bindtextdom.c: Switch to gettext copyright.
6467 Use ANSI definitions and prototypes.
6468 Use gl_* locking primitives rather than __libc_* ones.
6469 Use __builtin_expect rather than __glibc_likely/unlikely.
6470 * intl/dcgettext.c: Switch to gettext copyright.
6471 Use ANSI definitions and prototypes.
6472 * intl/dcigettext.c: Switch to gettext copyright.
6473 Use ANSI definitions and prototypes.
6474 (INTDIV0_RAISES_SIGFPE): New define.
6475 Use gl_* locking primitives rather than __libc_* ones.
6476 Include eval-plural.h instead of plural-eval.c.
6477 Use __builtin_expect rather than __glibc_likely/unlikely.
6478 * intl/dcngettext.c: Switch to gettext copyright.
6479 Use ANSI definitions and prototypes.
6480 * intl/dgettext.c: Likewise.
6481 * intl/dngettext.c: Likewise.
6482 * intl/plural-eval.c: Renamed to...
6483 * intl/eval-plural.h: ...this.
6484 * intl/explodename.c: Switch to gettext copyright.
6485 Use ANSI definitions and prototypes.
6486 (_nl_explode_name): Use strchr instead of __rawmemchr.
6487 * intl/finddomain.c: Switch to gettext copyright.
6488 Use ANSI definitions and prototypes.
6489 Use gl_* locking primitives rather than __libc_* ones.
6490 (_nl_find_domain): Use malloc rather than alloca for
6491 allocation of temporary locale name.
6492 * intl/gettext.c: Switch to gettext copyright.
6493 Use ANSI definitions and prototypes.
6494 * intl/gettextP.h: Switch to gettext copyright.
6495 Use ANSI definitions and prototypes.
6496 Use gl_* locking primitives rather than __libc_* ones.
6497 * intl/gmo.h: Switch to gettext copyright.
6498 (struct sysdep_string): Move struct segment_pair outside of
6500 * intl/hash-string.c: Use ANSI definitions and prototypes.
6501 * intl/hash-string.h: Switch to gettext copyright.
6502 Use ANSI definitions and prototypes.
6503 * intl/l10nflist.c: Switch to gettext copyright.
6504 Use ANSI definitions and prototypes.
6505 (_nl_normalize_codeset): Avoid integer overflow.
6506 * intl/loadinfo.h: Switch to gettext copyright.
6507 Use ANSI definitions and prototypes.
6508 (LIBINTL_DLL_EXPORTED): New define.
6509 (PATH_SEPARATOR): New define.
6510 * intl/loadmsgcat.c: Switch to gettext copyright.
6511 * intl/localealias.c: Switch to gettext copyright.
6512 Use ANSI definitions and prototypes.
6513 (_nl_expand_alias): Use PATH_SEPARATOR.
6514 * intl/ngettext.c: Switch to gettext copyright.
6515 Use ANSI definitions and prototypes.
6516 * intl/plural-exp.c: Likewise.
6517 * intl/plural-exp.h: Switch to gettext copyright.
6518 Use ANSI definitions and prototypes.
6519 (struct expression): Move definition of enum operator outside
6520 of struct definition.
6521 * intl/plural.c: Regenerate.
6522 * intl/plural.y: Switch to gettext copyright.
6523 Use ANSI definitions and prototypes.
6525 * intl/textdomain.c: Switch to gettext copyright.
6526 Use ANSI definitions and prototypes.
6527 Use gl_* locking primitives rather than __libc_* ones.
6529 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6531 * debug/warning-nop.c: Add used atrribute.
6533 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6535 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6537 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6538 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6539 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6541 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6542 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6545 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6546 Undefine after defining function. Define as weak alias of
6547 __wcschr. Use libc_hidden_weak.
6548 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6549 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6550 (libc_hidden_def): Also define __GI___wcschr alias.
6551 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6552 __wcschr and define as weak alias of __wcschr.
6553 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6555 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6556 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6557 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6558 libc_hidden_weak. Do not use libc_hidden_def.
6559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6560 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6561 __GI___wcschr alias.
6562 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6563 [IS_IN (libc)] (wcschr): Define as macro expanding to
6565 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6566 [IS_IN (libc)] (__wcschr_power6): Likewise.
6567 [IS_IN (libc)] (__wcschr_power7): Likewise.
6568 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6570 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6572 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6573 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6574 __wcschr and define as weak alias of __wcschr. Use
6575 libc_hidden_builtin_def.
6576 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6577 as weak alias of __wcschr. Use libc_hidden_weak.
6578 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6580 * time/era.c (_nl_init_era_entries): Likewise.
6581 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6583 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6584 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6586 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6588 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6589 format for long int variable.
6591 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6594 * manual/search.texi: (Array Sort Function): Remove claim how to make
6597 2014-12-10 Andreas Schwab <schwab@suse.de>
6600 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6601 user-controlled locks.
6603 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6605 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6608 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6610 * configure.ac (--disable-werror): New configure option.
6611 (enable_werror): New AC_SUBST.
6612 * configure: Regenerated.
6613 * config.make.in (enable-werror): New variable.
6614 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6616 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6617 * manual/install.texi (Configuring and compiling): Document
6619 * INSTALL: Regenerated.
6620 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6621 (CFLAGS-tst-chk2.c): Likewise.
6622 (CFLAGS-tst-chk3.c): Likewise.
6623 (CFLAGS-tst-chk4.cc): Likewise.
6624 (CFLAGS-tst-chk5.cc): Likewise.
6625 (CFLAGS-tst-chk6.cc): Likewise.
6626 (CFLAGS-tst-lfschk1.c): Likewise.
6627 (CFLAGS-tst-lfschk2.c): Likewise.
6628 (CFLAGS-tst-lfschk3.c): Likewise.
6629 (CFLAGS-tst-lfschk4.cc): Likewise.
6630 (CFLAGS-tst-lfschk5.cc): Likewise.
6631 (CFLAGS-tst-lfschk6.cc): Likewise.
6633 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6634 (main): Disable -Wdeprecated-declarations around calls to
6635 register_printf_function.
6637 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6638 (do_test): Disable -Wdiv-by-zero around some calls to
6639 fwrite_unlocked and fread_unlocked.
6641 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6642 (DIAG_POP_NEEDS_COMMENT): Likewise.
6643 (_DIAG_STR1): Likewise.
6644 (_DIAG_STR): Likewise.
6645 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6646 * stdio-common/bug21.c: Include <libc-internal.h>.
6647 (do_test): Disable -Wformat around call to sscanf.
6648 * stdio-common/scanf14.c: Include <libc-internal.h>.
6649 (main): Disable -Wformat around some calls to scanf functions.
6651 2014-12-09 Torvald Riegel <triegel@redhat.com>
6653 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6655 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6657 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6658 stack variable alignment.
6660 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6663 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6664 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6665 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6666 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6667 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6668 __getrlimit instead of getrlimit.
6669 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6670 __gettimeofday instead of gettimeofday.
6671 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6673 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6675 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6676 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6678 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6679 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6681 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6683 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6684 for wide-character tests.
6686 2014-12-04 Roland McGrath <roland@hack.frob.com>
6688 * io/openat64.c: #include <libc-internal.h>
6689 (__openat64): Prototypify. Use ignore_value on MODE.
6690 * io/openat.c: Likewise.
6691 * misc/reboot.c: #include <libc-internal.h>
6692 (reboot): Prototypify. Use ignore_value on HOWTO.
6693 * misc/ptrace.c: #include <libc-internal.h>
6694 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6696 2014-12-04 Joseph Myers <joseph@codesourcery.com>
6698 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6699 XPG4, UNIX98 and XOPEN2K.
6700 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6702 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6704 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6706 * libio/fileops.c: Use ISO C style for function definitions.
6707 * libio/iofopen.c: Likewise.
6708 * libio/wfileops.c: Likewise.
6711 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6713 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6714 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6715 (fgets_func): Function pointer to fgets and fgetws.
6716 (do_ftell_test): Add test to verify ftell value after read
6718 (do_test): Set fgets_func.
6720 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6721 O_TRUNC flag for w and w+ modes.
6722 (do_rewind_test): Likewise.
6723 (do_ftell_test): Likewise.
6724 (do_write_test): Likewise.
6727 * libio/fileops.c (do_ftell): Seek only when there are
6729 * libio/wfileops.c (do_ftell_wide): Likewise.
6730 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6732 (do_one_test): Call it.
6734 2014-12-03 Joseph Myers <joseph@codesourcery.com>
6736 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6737 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6738 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6740 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6741 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6742 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6744 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6746 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6748 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6751 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6752 as weak alias of __getifaddrs. Use libc_hidden_weak.
6753 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6754 __freeifaddrs. Use libc_hidden_weak.
6755 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6756 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6757 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6758 __freeifaddrs. Use libc_hidden_weak.
6759 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6760 __getifaddrs and define as weak alias of __getifaddrs. Use
6762 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6763 __freeifaddrs. Use libc_hidden_weak.
6764 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6766 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6767 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6769 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6772 * sysdeps/mips/start.S (__start): Use indirect jump to call
6775 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6777 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6779 * nptl/tst-mutex1.c: Include <stdbool.h>.
6780 [!ATTR] (ATTR_NULL): New macro.
6781 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6782 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6783 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6785 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6789 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6790 Change conditional to [__USE_MISC].
6793 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6795 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6797 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6799 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6801 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6802 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6803 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6804 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6805 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6806 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6807 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6808 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6809 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6811 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6813 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6815 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6816 Remove strpbrk objects.
6817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6818 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6819 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6820 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6821 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6822 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6824 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6825 Remove strcspn objects.
6826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6827 (__libc_ifunc_impl_list): Remove strcspn implementation.
6828 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6829 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6830 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6831 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6833 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6834 Remove strspn objetcs.
6835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6836 (__libc_ifunc_impl_list): Remove strspn implementation.
6837 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6838 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6839 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6840 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6842 2014-12-01 James Lemke <jwlemke@codesourcery.com>
6846 (mem2mem_check): Add a terminator to the chain of checking blocks.
6847 (malloc_check_get_size): Use it here.
6848 (mem2chunk_check): Ditto.
6850 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6852 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6853 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6855 2014-11-29 Carlos O'Donell <carlos@redhat.com>
6857 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6859 * nptl/nptl-init.c: Include libc-internal.h.
6860 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6862 * elf/ldconfig.c (search_dir): Expand comment.
6864 2014-11-29 Joseph Myers <joseph@codesourcery.com>
6866 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6868 (linknamespace-symlist-stdlibs-tests): Likewise.
6869 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6870 instead of $(objpfx)symlist-stdlibs.
6871 (linknamespace-libs-isoc): New variable.
6872 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6873 (linknamespace-libs-ISO): New variable.
6874 (linknamespace-libs-ISO99): Likewise.
6875 (linknamespace-libs-ISO11): Likewise.
6876 (linknamespace-libs-XPG3): Likewise.
6877 (linknamespace-libs-XPG4): Likewise.
6878 (linknamespace-libs-POSIX): Likewise.
6879 (linknamespace-libs-UNIX98): Likewise.
6880 (linknamespace-libs-XOPEN2K): Likewise.
6881 (linknamespace-libs-POSIX2008): Likewise.
6882 (linknamespace-libs-XOPEN2K8): Likewise.
6883 ($(objpfx)symlist-stdlibs): Replace by
6884 $(linknamespace-symlist-stdlibs-tests). Use
6885 $(linknamespace-libs-$*) as set of libraries.
6886 ($(linknamespace-header-tests)): Update dependencies. Use
6887 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6888 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6889 * conform/linknamespace.pl: Remove comment about considering
6890 definitions of symbols from irrelevant libraries.
6892 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6895 * elf/dl-tls.c: Include <atomic.h>.
6896 (oom): Remove #ifdef SHARED/#endif.
6897 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6898 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6899 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6901 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6902 * nptl/Makefile (tests): Add tst-stack4.
6903 (modules-names): Add tst-stack4mod.
6904 ($(objpfx)tst-stack4): New.
6905 (tst-stack4mod.sos): Likewise.
6906 ($(objpfx)tst-stack4.out): Likewise.
6907 ($(tst-stack4mod.sos)): Likewise.
6909 * nptl/tst-stack4.c: New file.
6910 * nptl/tst-stack4mod.c: Likewise.
6912 2014-11-27 J. Brown <jb999@gmx.de>
6914 * sysdeps/x86/bits/string.h: Add recent CPUs.
6916 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6918 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6921 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6924 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6927 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6929 * nscd/connections.c: Include libc-internal.h because of macro
6932 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6934 * string/bits/string3.h (__warn_memset_zero_len): Don't
6935 declare for gcc newer than 5.0.
6936 (memset): Don't test for zero-length __LEN for gcc newer than
6939 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6941 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6942 size_t for %zu format.
6944 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6945 difference, not %ju.
6947 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6949 * include/libc-internal.h (ignore_value): New macro.
6950 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6953 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6956 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6957 pthread_cleanup_push to void *.
6959 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6964 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6965 instead of 1L << 52.
6967 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6968 * libio/bug-rewind2.c (do_test): Likewise.
6970 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6971 * debug/test-strcpy_chk-ifunc.c: Likewise.
6972 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6973 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6974 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6975 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6976 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6977 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6978 * Rules [$(multi-arch) = no] (tests): Do not filter out
6980 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6981 * debug/Makefile (tests-ifunc): Remove variable.
6982 (tests): Do not add $(tests-ifunc).
6983 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6984 (tests): Do not add $(tests-ifunc).
6985 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6986 [TEST_IFUNC]: Remove conditionals.
6987 * string/test-string.h (TEST_IFUNC): Remove macro.
6988 [TEST_IFUNC]: Remove conditionals.
6990 * string/test-strchr.c [!WIDE] (L): New macro.
6991 [WIDE] (L): Likewise.
6992 (check1): Use CHAR instead of char. Use L on string and character
6995 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6997 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6999 * sysdeps/powerpc/bits/atomic.h
7000 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7001 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7002 (atomic_exchange_and_add_acq): Likewise.
7003 (atomic_exchange_and_add_rel): Likewise.
7004 * sysdeps/powerpc/powerpc32/bits/atomic.h
7005 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7006 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7007 * sysdeps/powerpc/powerpc64/bits/atomic.h
7008 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7009 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7011 2014-11-26 Torvald Riegel <triegel@redhat.com>
7013 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7014 Change synchronization of __sched_fifo_min_prio and
7015 __sched_fifo_max_prio.
7016 * nptl/pthread_mutexattr_getprioceiling.c
7017 (pthread_mutexattr_getprioceiling): Likewise.
7018 * nptl/pthread_mutexattr_setprioceiling.c
7019 (pthread_mutexattr_setprioceiling): Likewise.
7020 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7021 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7024 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7026 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7029 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7031 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7032 third argument const.
7034 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
7036 fnmatch: work around GCC compiler warning bug with uninit var
7037 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7038 This works around a bug with x86-64 GCC 4.9.2 and earlier
7039 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7040 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7041 used uninitialized in this function [-Wmaybe-uninitialized]".
7043 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7045 * posix/bug-regex31.c (main): Return RES not 0.
7047 2014-11-25 Anton Blanchard <anton@samba.org>
7049 * sysdeps/powerpc/bits/atomic.h
7050 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7052 2014-11-24 Sterling Augustine <saugustine@google.com>
7054 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7056 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7059 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7061 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7064 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7065 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7067 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7068 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7070 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7072 * string/strncpy.c (strncpy): Improve performance by using memset.
7074 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7076 * string/strcpy.c (strcpy):
7077 Improve performance by using strlen and memcpy.
7079 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7081 * string/strcoll_l.c (get_next_seq): __always_inline.
7082 * string/strcoll_l.c (do_compare): __always_inline.
7084 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7086 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7088 * include/mqueue.h: Likewise.
7089 * include/stdlib.h: Likewise.
7091 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7092 (get_null_defines): Adjust.
7093 * sunrpc/Makefile: Adjust comment.
7094 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7095 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7096 (CFLAGS-interp.c): Likewise.
7097 (CFLAGS-ldconfig.c): Likewise.
7098 (CPPFLAGS-.os): Likewise.
7099 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7100 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7101 * extra-modules.mk (extra-modules.mk): Likewise.
7102 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7103 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7104 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7105 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7106 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7107 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7108 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7109 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7110 * iconvdata/Makefile (CPPFLAGS): Likewise.
7111 (cpp-srcs-left): Add libof for all iconvdata routines.
7112 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7113 * include/assert.h: Likewise.
7114 * include/ctype.h: Likewise.
7115 * include/errno.h: Likewise.
7116 * include/libc-symbols.h: Likewise.
7117 * include/math.h: Likewise.
7118 * include/netdb.h: Likewise.
7119 * include/resolv.h: Likewise.
7120 * include/stdio.h: Likewise.
7121 * include/stdlib.h: Likewise.
7122 * include/string.h: Likewise.
7123 * include/sys/stat.h: Likewise.
7124 * include/wctype.h: Likewise.
7125 * intl/l10nflist.c: Likewise.
7126 * libidn/idn-stub.c: Likewise.
7127 * libio/libioP.h: Likewise.
7128 * nptl/libc_multiple_threads.c: Likewise.
7129 * nptl/pthreadP.h: Likewise.
7130 * posix/regex_internal.h: Likewise.
7131 * resolv/res_hconf.c: Likewise.
7132 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7133 * sysdeps/arm/memmove.S: Likewise.
7134 * sysdeps/arm/sysdep.h: Likewise.
7135 * sysdeps/generic/_itoa.h: Likewise.
7136 * sysdeps/generic/symbol-hacks.h: Likewise.
7137 * sysdeps/gnu/errlist.awk: Likewise.
7138 * sysdeps/gnu/errlist.c: Likewise.
7139 * sysdeps/i386/i586/memcpy.S: Likewise.
7140 * sysdeps/i386/i586/memset.S: Likewise.
7141 * sysdeps/i386/i686/memcpy.S: Likewise.
7142 * sysdeps/i386/i686/memmove.S: Likewise.
7143 * sysdeps/i386/i686/mempcpy.S: Likewise.
7144 * sysdeps/i386/i686/memset.S: Likewise.
7145 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7146 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7147 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7148 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7149 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7150 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7151 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7152 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7153 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7155 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7156 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7157 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7158 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7159 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7160 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7161 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7162 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7163 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7164 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7165 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7166 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7167 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7168 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7169 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7171 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7172 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7173 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7174 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7176 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7178 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7179 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7181 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7182 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7183 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7184 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7185 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7186 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7187 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7188 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7189 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7190 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7191 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7192 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7193 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7194 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7195 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7197 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7200 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7201 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7202 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7203 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7204 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7205 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7206 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7207 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7208 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7209 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7210 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7211 * sysdeps/posix/closedir.c: Likewise.
7212 * sysdeps/posix/opendir.c: Likewise.
7213 * sysdeps/posix/readdir.c: Likewise.
7214 * sysdeps/posix/rewinddir.c: Likewise.
7215 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7216 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7217 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7218 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7219 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7221 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7223 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7226 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7228 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7230 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7231 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7232 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7233 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7234 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7235 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7236 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7238 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7239 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7241 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7242 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7243 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7250 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7251 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7252 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7253 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7254 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7255 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7256 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7257 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7258 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7259 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7260 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7261 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7262 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7263 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7264 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7265 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7266 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7267 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7268 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7269 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7270 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7271 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7272 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7273 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7274 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7275 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7276 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7277 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7278 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7279 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7280 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7281 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7282 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7283 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7284 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7285 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7286 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7287 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7288 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7289 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7290 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7291 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7292 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7293 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7294 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7295 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7296 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7297 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7298 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7299 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7300 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7301 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7302 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7303 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7304 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7305 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7306 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7307 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7308 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7309 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7310 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7311 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7313 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7314 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7315 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7316 * sysdeps/unix/alpha/sysdep.S: Likewise.
7317 * sysdeps/unix/alpha/sysdep.h: Likewise.
7318 * sysdeps/unix/make-syscalls.sh: Likewise.
7319 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7321 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7322 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7323 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7324 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7325 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7326 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7327 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7328 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7329 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7330 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7331 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7332 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7333 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7334 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7335 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7336 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7337 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7338 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7339 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7340 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7341 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7342 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7343 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7344 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7345 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7348 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7349 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7353 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7354 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7357 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7358 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7359 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7360 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7361 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7362 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7363 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7364 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7365 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7366 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7369 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7370 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7371 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7372 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7374 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7375 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7377 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7378 * sysdeps/x86_64/memcpy.S: Likewise.
7379 * sysdeps/x86_64/memmove.c: Likewise.
7380 * sysdeps/x86_64/memset.S: Likewise.
7381 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7382 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7383 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7384 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7385 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7388 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7389 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7390 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7391 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7392 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7393 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7394 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7395 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7396 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7397 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7398 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7399 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7400 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7401 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7402 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7403 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7404 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7405 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7406 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7407 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7408 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7409 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7410 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7411 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7412 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7413 * sysdeps/x86_64/strcmp.S: Likewise.
7415 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7417 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7418 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7419 * elf/rtld-Rules: Likewise.
7420 * elf/setup-vdso.h: Likewise.
7421 * include/assert.h: Likewise.
7422 * include/bits/stdlib-float.h: Likewise.
7423 * include/errno.h: Likewise.
7424 * include/sys/stat.h: Likewise.
7425 * include/unistd.h: Likewise.
7426 * sysdeps/aarch64/setjmp.S: Likewise.
7427 * sysdeps/alpha/setjmp.S: Likewise.
7428 * sysdeps/arm/__longjmp.S: Likewise.
7429 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7430 * sysdeps/arm/setjmp.S: Likewise.
7431 * sysdeps/arm/sysdep.h: Likewise.
7432 * sysdeps/generic/_itoa.h: Likewise.
7433 * sysdeps/generic/dl-sysdep.h: Likewise.
7434 * sysdeps/generic/ldsodefs.h: Likewise.
7435 * sysdeps/i386/dl-tls.h: Likewise.
7436 * sysdeps/i386/setjmp.S: Likewise.
7437 * sysdeps/m68k/setjmp.c: Likewise.
7438 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7439 * sysdeps/mach/hurd/opendir.c: Likewise.
7440 * sysdeps/posix/getcwd.c: Likewise.
7441 * sysdeps/posix/opendir.c: Likewise.
7442 * sysdeps/posix/profil.c: Likewise.
7443 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7444 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7445 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7446 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7447 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7448 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7450 * sysdeps/s390/dl-tls.h: Likewise.
7451 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7452 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7453 * sysdeps/sh/sh3/setjmp.S: Likewise.
7454 * sysdeps/sh/sh4/setjmp.S: Likewise.
7455 * sysdeps/unix/alpha/sysdep.h: Likewise.
7456 * sysdeps/unix/arm/sysdep.S: Likewise.
7457 * sysdeps/unix/i386/sysdep.S: Likewise.
7458 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7459 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7460 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7461 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7462 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7463 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7464 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7465 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7466 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7467 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7468 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7469 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7470 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7473 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7475 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7476 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7477 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7478 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7481 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7482 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7483 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7485 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7486 * sysdeps/x86_64/setjmp.S: Likewise.
7488 * include/math.h: Use IS_IN instead of IS_IN_libm.
7489 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7497 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7498 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7501 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7506 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7507 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7509 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7510 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7511 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7512 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7513 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7514 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7515 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7516 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7517 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7518 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7519 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7520 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7521 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7532 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7533 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7534 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7535 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7536 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7537 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7543 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7544 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7545 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7546 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7548 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7549 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7550 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7551 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7552 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7553 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7554 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7555 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7556 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7558 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7560 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7561 * nptl/pthreadP.h: Likewise.
7562 * nptl_db/structs.def: Likewise.
7563 * sysdeps/arm/sysdep.h: Likewise.
7564 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7565 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7566 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7567 * sysdeps/unix/alpha/sysdep.h: Likewise.
7568 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7569 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7570 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7571 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7572 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7573 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7574 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7575 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7576 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7577 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7578 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7579 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7580 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7581 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7584 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7585 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7586 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7589 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7590 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7591 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7592 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7593 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7595 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7596 * nptl/pthreadP.h: Likewise.
7597 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7598 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7599 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7600 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7601 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7602 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7603 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7604 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7605 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7606 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7607 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7608 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7615 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7617 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7618 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7619 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7620 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7622 * dlfcn/dladdr.c: Use IS_IN.
7623 * dlfcn/dladdr1.c: Likewise.
7624 * dlfcn/dlclose.c: Likewise.
7625 * dlfcn/dlerror.c: Likewise.
7626 * dlfcn/dlinfo.c: Likewise.
7627 * dlfcn/dlmopen.c: Likewise.
7628 * dlfcn/dlopen.c: Likewise.
7629 * dlfcn/dlsym.c: Likewise.
7630 * dlfcn/dlvsym.c: Likewise.
7632 * include/ifaddrs.h: Use IS_IN.
7633 * inet/check_pf.c: Likewise.
7634 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7635 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7637 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7639 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7640 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7642 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7643 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7646 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7648 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7649 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7650 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7651 * include/libc-symbols.h (IS_IN_LIB): New macro.
7652 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7653 * include/netdb.h: Likewise.
7654 * include/stap-probe.h: Remove all uses of IN_LIB.
7656 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7657 instead of IN_MODULE.
7658 * include/libc-symbols.h (IN_MODULE): Define using
7660 (PASTE_NAME, PASTE_NAME1): New macros.
7661 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7663 (STAP_PROBE_ASM): Likewise.
7665 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7667 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7668 __mach_init in dlopened libc.
7670 2014-11-22 Mike Frysinger <vapier@gentoo.org>
7672 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7673 * sysdeps/arm/preconfigure: Regenerate.
7675 2014-11-21 Roland McGrath <roland@hack.frob.com>
7677 * nptl/pthread_create.c (__pthread_create_2_1): Set
7678 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7679 when copying values from IATTR into PD.
7681 2014-11-21 Will Newton <will.newton@linaro.org>
7682 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7684 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7685 Refactor inline-asm. Also add comment.
7687 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7688 ElfW macro instead of hardcoded Elf64 types.
7689 (la_aarch64_gnu_pltenter): Likewise.
7690 * sysdeps/aarch64/dl-machine.h
7691 (elf_machine_runtime_setup): Use ElfW(Addr).
7693 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7694 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7695 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7696 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7697 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7698 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7699 (R_AARCH64_TLS_DTPMOD): This.
7700 (R_AARCH64_TLS_DTPREL64): Rename to ...
7701 (R_AARCH64_TLS_DTPREL): This.
7702 (R_AARCH64_TLS_TPREL64): Rename to ...
7703 (R_AARCH64_TLS_TPREL): This.
7704 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7705 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7706 R_AARCH64_TLS_TPREL64.
7707 (elf_machine_rela): Likewise.
7709 2014-11-21 Torvald Riegel <triegel@redhat.com>
7711 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7712 by setting it to 0. 64b atomics are not supported currently.
7714 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7717 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7718 search domain names.
7720 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7724 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7726 * posix/tst-getaddrinfo5.c: New.
7727 * posix/Makefile (tests): Add it.
7729 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7733 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7734 after parsing line but before break_if_match.
7735 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7736 if there is a protocol mismatch.
7738 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7740 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7741 because the potential race is on the user-supplied stream.
7743 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7745 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7746 string literal if not passed a buffer.
7747 * manual/job.texi (ctermid): Update reasoning, note deviation
7748 from posix, suggest mtasurace when not passed a buffer, for
7749 future non-preliminary safety notes.
7751 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7753 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7754 of not passing it a buffer.
7755 Reported by Peng Haitao.
7757 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7759 * manual/Makefile ($(objpfx)stamp-summary): Require
7760 check-safety.sh to pass.
7761 * manual/check-safety.sh: Wish for verification that every
7762 @deftypefn and @deftypefun is followed by a @safety remark.
7764 2014-11-20 Roland McGrath <roland@hack.frob.com>
7766 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7768 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7769 PTHREAD_CANCEL_ASYNCHRONOUS.
7770 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7773 * nptl/default-sched.h: New file.
7774 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7775 * nptl/pthread_create.c: Include it.
7776 (__pthread_create_2_1): Use collect_default_sched instead of making
7777 Linux syscalls here directly.
7779 2014-11-20 Torvald Riegel <triegel@redhat.com>
7781 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7782 __pthread_once): Use C11 atomics.
7784 2014-11-20 Torvald Riegel <triegel@redhat.com>
7786 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7788 2014-11-20 Torvald Riegel <triegel@redhat.com>
7790 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7791 atomic_thread_fence_acquire, atomic_thread_fence_release,
7792 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7793 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7794 atomic_compare_exchange_weak_relaxed,
7795 atomic_compare_exchange_weak_acquire,
7796 atomic_compare_exchange_weak_release,
7797 atomic_exchange_acquire, atomic_exchange_release,
7798 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7799 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7800 atomic_fetch_and_acquire,
7801 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7803 2014-11-20 Torvald Riegel <triegel@redhat.com>
7805 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7806 USE_ATOMIC_COMPILER_BUILTINS): Define.
7807 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7808 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7809 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7810 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7811 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7812 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7813 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7814 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7815 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7816 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7817 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7818 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7819 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7820 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7821 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7822 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7823 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7824 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7825 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7826 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7827 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7828 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7829 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7830 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7831 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7832 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7833 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7834 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7835 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7836 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7837 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7838 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7839 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7840 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7841 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7842 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7843 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7844 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7845 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7846 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7848 2014-11-19 Roland McGrath <roland@hack.frob.com>
7850 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7851 the sched_priority value here. It was already checked when the user
7852 called pthread_attr_setschedparam.
7854 * nptl/tst-bad-schedattr.c: New file.
7855 * nptl/Makefile (tests): Add it.
7857 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7858 Florian Weimer <fweimer@redhat.com>
7859 Joseph Myers <joseph@codesourcery.com>
7860 Adam Conrad <adconrad@0c3.net>
7861 Andreas Schwab <schwab@suse.de>
7862 Brooks <bmoses@google.com>
7865 * wordexp-test.c (__dso_handle): Add prototype.
7866 (__register_atfork): Likewise.
7867 (__app_register_atfork): New function.
7868 (registered_forks): New global.
7869 (register_fork): New function.
7870 (test_case): Add 3 new tests for WRDE_CMDSUB.
7871 (main): Call __app_register_atfork.
7872 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7873 fork count is non-zero fail the test.
7874 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7876 (parse_dollars): Remove check for WRDE_NOCMD.
7877 (parse_dquote): Likewise.
7879 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7881 * Makeconfig (built-modules): List non-library modules to be
7883 (module-cppflags): Include libc-modules.h for
7884 everything except shlib-versions.v.i.
7886 (before-compile): Add libc-modules.h.
7887 ($(common-objpfx)libc-modules.h,
7888 $(common-objpfx)libc-modules.stmp): New targets.
7889 (common-generated): Add libc-modules.h and libc-modules.stmp.
7890 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7891 * include/libc-symbols.h: Don't include libc-modules.h.
7892 * include/libc-modules.h: Remove file.
7893 * scripts/gen-libc-modules.awk: New script to generate
7895 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7896 Depend on libc-modules.stmp.
7898 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7900 * Makeconfig (in-module): Get value of libof set for the
7902 (CPPFLAGS): Use $(in-module).
7903 * Makerules: Don't suffix routine names for nonlib.
7904 * include/libc-modules.h: New file.
7905 * include/libc-symbols.h: Include libc-modules.h
7906 (IS_IN): New macro to replace IS_IN_* macros.
7907 * elf/Makefile: Set libof-* for each routine.
7908 * elf/rtld-Rules: Likewise.
7909 * extra-modules.mk: Likewise.
7910 * iconv/Makefile: Likewise.
7911 * iconvdata/Makefile: Likewise.
7912 * locale/Makefile: Likewise.
7913 * malloc/Makefile: Likewise.
7914 * nss/Makefile: Likewise.
7915 * sysdeps/gnu/Makefile: Likewise.
7916 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7917 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7918 * sysdeps/s390/s390-64/Makefile: Likewise.
7919 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7920 CPPFLAGS for nscd instead of nonlib.
7922 2014-11-18 Roland McGrath <roland@hack.frob.com>
7924 * nptl/createthread.c: New file.
7926 * nptl/createthread.c: Moved ...
7927 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7929 * nptl/createthread.c: Add proper top-line comment.
7930 (do_clone): Folded into ...
7931 (create_thread): ... here. Take new arguments STOPPED_START and
7932 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7933 increment __nptl_threads, do event-reporting logic, do
7934 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7935 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7936 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7937 just send SIGCANCEL.
7938 * nptl/pthread_create.c: Forward-declare create_thread before
7939 including createthread.c.
7940 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7941 declaration, and new macro START_THREAD_SELF to replace argument.
7942 Remove return statement.
7943 (report_thread_creation): New function.
7944 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7945 synchronization logic, and __nptl_nthreads increment here, around
7946 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7947 PD->parent_cancelhandling here, before create_thread. When
7948 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7949 __deallocate_stack, and ENOMEM translation here.
7951 2014-11-18 Joseph Myers <joseph@codesourcery.com>
7954 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7955 (mptwo): Rename to __mptwo.
7956 (__inv): Use __mptwo instead of mptwo.
7957 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7958 (mptwo): Rename to __mptwo.
7959 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7960 of mpone and __mptwo instead of mptwo.
7961 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7963 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7964 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7965 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7966 of mpone and __mptwo instead of mptwo.
7967 (__mpranred): Use __mpone instead of mpone.
7968 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7970 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7971 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7972 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7973 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7974 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7975 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7976 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7977 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7978 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7979 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7980 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7981 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7982 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7983 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7984 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7985 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7986 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7987 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7988 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7990 2014-11-18 Tom de Vries <tom@codesoucery.com>
7992 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7993 replace BSD Handler xref with BSD Signal Handling.
7995 2014-11-17 Richard Henderson <rth@redhat.com>
7997 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7998 (_FP_PACK_RAW_2): Remove.
7999 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8000 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8001 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8002 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8003 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8004 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8005 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8006 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8007 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8008 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8009 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8010 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8011 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8012 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8013 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8014 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8016 2014-11-14 Roland McGrath <roland@hack.frob.com>
8018 * signal/signal.h [__USE_MISC]
8019 (struct sigvec): Remove type.
8020 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8021 (sigvec): Remove declaration.
8022 * sysdeps/posix/sigvec.c: Moved ...
8023 * signal/sigvec.c: ... here, replacing old file.
8024 (struct sigvec): New type, copied from old signal.h definition.
8025 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8026 (__sigvec): Convert definition to prototype.
8027 (sigvec): Replace weak_alias with compat_symbol.
8028 * signal/Versions (libc: GLIBC_2.21): New version set.
8029 * include/signal.h: Remove __sigvec declaration.
8030 * sysdeps/unix/bsd/sigvec.c: Remove file.
8031 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8032 * manual/signal.texi (BSD Handler): Remove subsection.
8033 Move siginterrupt up to ...
8034 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
8035 (Blocking in BSD): Fold subsection into its parent.
8036 * NEWS: Mention sigvec removal.
8038 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8040 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8041 (DLA_FMS): Make definition conditional only on [__FMA4__].
8042 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8045 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8046 Make definition conditional only on [PROF].
8047 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8049 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8050 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8052 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8054 * include/signal.h (__sigpause): Move declaration above call to
8056 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8058 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8059 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8061 2014-11-14 David S. Miller <davem@davemloft.net>
8063 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8064 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8066 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8068 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8069 * configure: Regenerated.
8070 * manual/install.texi (Tools for Compilation): Document a
8071 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8072 compiler verified to work.
8073 * INSTALL: Regenerated.
8075 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8076 redeclare with asm name.
8077 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8078 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8079 including <string.h>.
8080 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8081 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8082 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8083 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8084 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8085 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8086 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8088 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8090 * stdlib/strtol.c (__strtol): Use prototype definition.
8093 * stdlib/strtol.c (SYM__): New macro.
8095 (__strtol): Likewise.
8096 (strtol): Rename to __strtol and define as weak alias of
8097 __strtol. Use libc_hidden_weak.
8099 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8101 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8102 Use numbered labels in inline assembly.
8104 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8106 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8107 Add setjmp LIBC_PROBE.
8108 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8110 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8111 Add longjmp, longjmp_target LIBC_PROBE.
8112 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8115 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8117 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8118 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8119 to get rid of unused variable warning.
8121 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8123 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8124 Check for unwind_backtrace == NULL only in SHARED case.
8125 (__backchain_backtrace): Compile only in SHARED case.
8126 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8128 (__backchain_backtrace): Declare as static.
8130 2014-11-12 Roland McGrath <roland@hack.frob.com>
8132 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8133 (__libc_multiple_threads_ptr): Variable moved ...
8134 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8136 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8138 * conform/GlibcConform.pm: New file.
8139 * conform/conformtest.pl: Use GlibcConform module.
8140 * conform/linknamespace.pl: New file.
8141 * conform/list-header-symbols.pl: Likewise.
8142 * conform/Makefile (linknamespace-symlists-base): New variable.
8143 (linknamespace-symlists-tests): Likewise.
8144 (linknamespace-header-base): Likewise.
8145 (linknamespace-header-tests): Likewise.
8146 (tests-special): Add new tests.
8147 ($(linknamespace-symlists-tests)): New rule.
8148 (linknamespace-libs): New variable.
8149 ($(objpfx)symlist-stdlibs): New rule.
8150 ($(linknamespace-header-tests)): Likewise.
8151 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8152 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8153 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8154 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8155 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8156 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8157 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8158 (test-xfail-ISO/math.h/linknamespace): Likewise.
8159 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8160 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8161 (test-xfail-ISO/time.h/linknamespace): Likewise.
8162 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8163 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8164 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8165 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8166 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8167 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8168 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8169 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8170 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8171 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8172 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8173 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8174 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8175 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8176 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8177 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8178 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8179 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8180 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8181 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8182 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8183 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8184 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8185 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8186 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8187 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8188 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8189 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8190 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8191 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8192 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8193 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8194 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8195 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8196 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8197 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8198 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8199 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8200 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8201 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8202 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8203 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8204 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8205 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8206 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8207 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8208 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8209 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8210 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8211 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8212 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8213 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8214 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8215 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8216 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8217 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8218 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8219 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8220 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8221 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8222 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8223 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8224 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8225 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8226 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8227 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8228 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8229 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8230 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8231 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8232 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8233 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8234 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8235 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8236 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8237 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8238 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8239 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8240 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8241 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8242 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8243 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8244 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8245 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8246 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8247 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8248 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8249 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8250 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8251 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8252 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8253 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8254 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8255 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8256 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8257 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8258 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8259 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8260 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8261 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8262 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8263 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8264 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8265 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8266 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8267 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8268 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8269 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8270 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8271 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8272 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8273 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8274 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8275 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8276 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8277 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8278 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8279 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8280 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8281 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8282 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8283 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8284 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8285 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8286 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8287 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8288 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8289 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8290 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8291 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8292 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8293 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8294 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8295 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8296 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8297 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8298 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8299 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8300 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8301 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8302 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8303 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8304 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8305 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8306 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8307 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8308 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8309 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8310 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8311 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8314 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8318 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8319 (memmem): Rename to __memmem and define as weak alias of
8320 __memmem. Use libc_hidden_weak.
8321 (__memmem): Use libc_hidden_def.
8322 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8323 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8327 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8328 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8329 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8330 and define as weak alias of __fgets_unlocked. Use
8332 (__fgets_unlocked): Use libc_hidden_def.
8333 * include/stdio.h (__fgets_unlocked): Declare. Use
8335 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8336 __fgets_unlocked instead of fgets_unlocked.
8337 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8338 (GET_NPROCS_CONF_PARSER): Likewise.
8339 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8340 (GET_NPROCS_CONF_PARSER): Likewise.
8343 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8344 weak alias of __wmemset. Use libc_hidden_weak.
8345 (__wmemset): Use libc_hidden_def.
8346 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8347 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8351 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8352 with asm name __mempcpy.
8353 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8356 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8357 and define as weak alias of __rawmemchr.
8358 (__rawmemchr): Do not define as strong alias of rawmemchr.
8361 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8363 (qsort): Call __qsort_r instead of qsort_r.
8364 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8365 (__qsort_r): Declare. Call libc_hidden_proto.
8366 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8368 * nscd/gai.c (__qsort_r): Define to qsort_r.
8369 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8370 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8371 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8374 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8375 define as weak alias of __malloc_info.
8378 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8379 as weak alias of __rewinddir. Don't use libc_hidden_def.
8380 (__rewinddir): Use libc_hidden_def.
8381 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8382 as weak alias of __rewinddir. Don't use libc_hidden_def.
8383 (__rewinddir): Use libc_hidden_def.
8384 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8385 weak alias of __rewinddir. Don't use libc_hidden_def.
8386 (__rewinddir): Use libc_hidden_def.
8387 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8388 (__rewinddir): Use libc_hidden_proto.
8389 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8391 (__getcwd): Use __rewinddir instead of rewinddir.
8394 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8395 alias of __fileno. Use libc_hidden_weak.
8396 (__fileno): Use libc_hidden_def.
8397 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8398 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8400 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8402 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8403 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8405 (fread_unlocked): Don't use libc_hidden_ver.
8406 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8407 and define as weak alias of __fread_unlocked. Don't use
8409 (__fread_unlocked): Use libc_hidden_def.
8410 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8411 (ftello): Don't use libc_hidden_proto.
8412 (__ftello): Declare. Use libc_hidden_proto.
8413 (fread_unlocked): Don't use libc_hidden_proto.
8414 (__fread_unlocked): Declare. Use libc_hidden_proto.
8415 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8416 and __ftello instead of fileno, fread_unlocked and ftello.
8418 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8420 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8422 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8424 (_dl_start_user): Likewise.
8425 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8427 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8428 Siddhesh Poyarekar <siddhesh@redhat.com>
8430 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8431 Move argv and envp down instead of moving argc up.
8432 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8434 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8437 * test-skeleton.c (main): Return successful if one of
8438 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8439 * string/tst-strcoll-overflow.c: Define expected status.
8441 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8444 * locale/iso-639.def: Define Bhili and Tulu language codes.
8446 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8448 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8450 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8453 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8455 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8457 * configure.ac: Updated check of minimal required version to
8459 * manual/install.texi (Tools for Compilation): Updated version
8461 * configure: Regenerated.
8462 * INSTALL: Likewise.
8464 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8466 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8469 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8471 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8472 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8473 (__waitpid): Don't define as alias. Use libc_hidden_def not
8475 (waitpid): Define as alias of __waitpid.
8476 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8478 (__waitpid): Don't define as alias. Use libc_hidden_def not
8480 (waitpid): Define as alias of __waitpid.
8481 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8482 __libc_waitpid alias.
8483 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8484 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8486 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8487 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8488 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8490 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8492 (__waitpid): Don't define as alias. Use libc_hidden_def not
8494 (waitpid): Define as alias of __waitpid.
8496 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8498 * manual/llio.texi: Add comment that write safety has been
8501 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8502 (localplt-build-dso): Add elf/ld.so.
8503 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8504 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8507 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8512 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8513 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8514 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8515 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8516 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8517 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8518 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8519 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8520 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8521 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8522 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8524 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8527 * include/libc-symbols.h (INTUSE): Remove macro.
8529 (INTVARDEF): Likewise.
8530 (_INTVARDEF): Likewise.
8531 (INTDEF2): Likewise.
8532 (INTVARDEF2): Likewise.
8533 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8534 rtld_hidden_def instead of INTVARDEF.
8535 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8536 (_dl_starting_up_internal): Remove declaration.
8537 (_dl_starting_up): Use rtld_hidden_proto.
8538 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8540 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8541 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8543 * elf/dl-writev.h (_dl_writev): Likewise.
8544 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8545 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8546 _dl_starting_up_internal.
8548 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8550 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8553 2014-11-05 Will Newton <will.newton@linaro.org>
8555 * benchtests/Makefile: (bench-malloc): Add malloc thread
8556 scalability benchmark.
8557 * benchtests/bench-malloc-threads.c: New file.
8559 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8561 * sysdeps/aarch64/strchrnul.S: New file.
8563 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8565 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8567 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8569 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8571 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8573 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8575 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8578 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8580 * catgets/test-gencat.c: Use test-skeleton.c.
8581 * catgets/tst-catgets.c: Likewise.
8582 * csu/tst-empty.c: Likewise.
8583 * elf/tst-audit2.c: Likewise.
8584 * elf/tst-global1.c: Likewise.
8585 * elf/tst-pathopt.c: Likewise.
8586 * elf/tst-piemod1.c: Likewise.
8587 * elf/tst-tls10.c: Likewise.
8588 * elf/tst-tls11.c: Likewise.
8589 * elf/tst-tls12.c: Likewise.
8590 * gnulib/tst-gcc.c: Likewise.
8591 * iconvdata/tst-e2big.c: Likewise.
8592 * iconvdata/tst-loading.c: Likewise.
8593 * iconv/tst-iconv1.c: Likewise.
8594 * iconv/tst-iconv2.c: Likewise.
8595 * inet/test-inet6_opt.c: Likewise.
8596 * inet/tst-gethnm.c: Likewise.
8597 * inet/tst-network.c: Likewise.
8598 * inet/tst-ntoa.c: Likewise.
8599 * intl/tst-codeset.c: Likewise.
8600 * intl/tst-gettext2.c: Likewise.
8601 * intl/tst-gettext3.c: Likewise.
8602 * intl/tst-ngettext.c: Likewise.
8603 * intl/tst-translit.c: Likewise.
8604 * io/test-stat.c: Likewise.
8605 * libio/test-fmemopen.c: Likewise.
8606 * libio/tst-freopen.c: Likewise.
8607 * libio/tst-sscanf.c: Likewise.
8608 * libio/tst-ungetwc1.c: Likewise.
8609 * libio/tst-ungetwc2.c: Likewise.
8610 * libio/tst-widetext.c: Likewise.
8611 * localedata/tst-ctype.c: Likewise.
8612 * localedata/tst-digits.c: Likewise.
8613 * localedata/tst-leaks.c: Likewise.
8614 * localedata/tst-mbswcs1.c: Likewise.
8615 * localedata/tst-mbswcs2.c: Likewise.
8616 * localedata/tst-mbswcs3.c: Likewise.
8617 * localedata/tst-mbswcs4.c: Likewise.
8618 * localedata/tst-mbswcs5.c: Likewise.
8619 * localedata/tst-setlocale.c: Likewise.
8620 * localedata/tst-trans.c: Likewise.
8621 * localedata/tst-wctype.c: Likewise.
8622 * localedata/tst-xlocale1.c: Likewise.
8623 * login/tst-grantpt.c: Likewise.
8624 * malloc/tst-calloc.c: Likewise.
8625 * malloc/tst-malloc.c: Likewise.
8626 * malloc/tst-mallocstate.c: Likewise.
8627 * malloc/tst-mcheck.c: Likewise.
8628 * malloc/tst-mtrace.c: Likewise.
8629 * malloc/tst-obstack.c: Likewise.
8630 * math/atest-exp2.c: Likewise.
8631 * math/atest-exp.c: Likewise.
8632 * math/atest-sincos.c: Likewise.
8633 * math/test-matherr.c: Likewise.
8634 * math/test-misc.c: Likewise.
8635 * math/test-powl.c: Likewise.
8636 * math/tst-definitions.c: Likewise.
8637 * misc/tst-dirname.c: Likewise.
8638 * misc/tst-efgcvt.c: Likewise.
8639 * misc/tst-fdset.c: Likewise.
8640 * misc/tst-hsearch.c: Likewise.
8641 * misc/tst-mntent2.c: Likewise.
8642 * nptl/tst-sem7.c: Likewise.
8643 * nptl/tst-sem8.c: Likewise.
8644 * nptl/tst-sem9.c: Likewise.
8645 * nss/test-netdb.c: Likewise.
8646 * posix/tst-fnmatch.c: Likewise.
8647 * posix/tst-getlogin.c: Likewise.
8648 * posix/tst-gnuglob.c: Likewise.
8649 * posix/tst-mmap.c: Likewise.
8650 * pwd/tst-getpw.c: Likewise.
8651 * resolv/tst-inet_ntop.c: Likewise.
8652 * rt/tst-timer.c: Likewise.
8653 * stdio-common/test-fseek.c: Likewise.
8654 * stdio-common/test-popen.c: Likewise.
8655 * stdio-common/test-vfprintf.c: Likewise.
8656 * stdio-common/tst-cookie.c: Likewise.
8657 * stdio-common/tst-fileno.c: Likewise.
8658 * stdio-common/tst-gets.c: Likewise.
8659 * stdio-common/tst-obprintf.c: Likewise.
8660 * stdio-common/tst-perror.c: Likewise.
8661 * stdio-common/tst-sprintf2.c: Likewise.
8662 * stdio-common/tst-sprintf3.c: Likewise.
8663 * stdio-common/tst-sprintf.c: Likewise.
8664 * stdio-common/tst-swprintf.c: Likewise.
8665 * stdio-common/tst-tmpnam.c: Likewise.
8666 * stdio-common/tst-unbputc.c: Likewise.
8667 * stdio-common/tst-wc-printf.c: Likewise.
8668 * stdlib/tst-environ.c: Likewise.
8669 * stdlib/tst-fmtmsg.c: Likewise.
8670 * stdlib/tst-limits.c: Likewise.
8671 * stdlib/tst-rand48-2.c: Likewise.
8672 * stdlib/tst-rand48.c: Likewise.
8673 * stdlib/tst-random2.c: Likewise.
8674 * stdlib/tst-random.c: Likewise.
8675 * stdlib/tst-strtol.c: Likewise.
8676 * stdlib/tst-strtoll.c: Likewise.
8677 * stdlib/tst-tls-atexit.c: Likewise.
8678 * stdlib/tst-xpg-basename.c: Likewise.
8679 * string/test-ffs.c: Likewise.
8680 * string/tst-bswap.c: Likewise.
8681 * string/tst-inlcall.c: Likewise.
8682 * string/tst-strtok.c: Likewise.
8683 * string/tst-strxfrm.c: Likewise.
8684 * sysdeps/x86_64/tst-audit10.c: Likewise.
8685 * sysdeps/x86_64/tst-audit3.c: Likewise.
8686 * sysdeps/x86_64/tst-audit4.c: Likewise.
8687 * sysdeps/x86_64/tst-audit5.c: Likewise.
8688 * time/tst-ftime_l.c: Likewise.
8689 * time/tst-getdate.c: Likewise.
8690 * time/tst-mktime3.c: Likewise.
8691 * time/tst-mktime.c: Likewise.
8692 * time/tst-posixtz.c: Likewise.
8693 * time/tst-strptime2.c: Likewise.
8694 * time/tst-strptime3.c: Likewise.
8695 * wcsmbs/tst-btowc.c: Likewise.
8696 * wcsmbs/tst-mbrtowc.c: Likewise.
8697 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8698 * wcsmbs/tst-wchar-h.c: Likewise.
8699 * wcsmbs/tst-wcpncpy.c: Likewise.
8700 * wcsmbs/tst-wcrtomb.c: Likewise.
8701 * wcsmbs/tst-wcsnlen.c: Likewise.
8702 * wcsmbs/tst-wcstof.c: Likewise.
8704 2014-11-04 Joseph Myers <joseph@codesourcery.com>
8707 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8709 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8711 (_dl_mcount): Use rtld_hidden_proto.
8712 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8714 * elf/rtld.c (_rtld_global_ro): Likewise.
8717 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8718 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8719 of _dl_init_internal.
8720 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8721 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8722 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8723 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8724 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8725 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8726 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8727 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8728 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8729 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8730 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8731 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8732 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8733 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8734 * sysdeps/tile/dl-start.S (_start): Likewise.
8735 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8736 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8739 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8740 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8741 (rtld_progname): Make macro definition unconditional.
8742 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8744 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8745 (dl_main): Likewise.
8746 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8747 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8748 instead of _dl_argv_internal.
8749 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8750 __GI__dl_argv instead of INTUSE(_dl_argv).
8751 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8752 __GI__dl_argv instead of _dl_argv_internal.
8754 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8755 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8757 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8758 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8760 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8761 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8763 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8764 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8766 2014-11-04 Andreas Schwab <schwab@suse.de>
8768 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8770 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8772 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8773 mtvsrd instruction in binary form.
8775 2014-11-03 Andreas Schwab <schwab@suse.de>
8778 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8779 for less than MB_LEN_MAX use a local buffer of that size.
8780 * libio/tst-fputws.c: New file.
8781 * libio/Makefile (tests): Add tst-fputws.
8783 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8785 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8786 the size of the fpu_fr.fpu_dregs[] array.
8788 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8790 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8791 (__nanosleep): Do not define as alias.
8792 (nanosleep): Define as alias of __nanosleep.
8793 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8794 __libc_nanosleep name.
8796 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8798 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8799 install.texi in comment.
8801 2014-10-31 Torvald Riegel <triegel@redhat.com>
8803 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8804 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8805 ... add here and use lwsync or sync ...
8806 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8807 ... and add here using lwsync.
8809 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8811 * elf/dl-machine-reject-phdr.h: New file.
8812 * elf/dl-load.c: #include that.
8813 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8814 if that returned true.
8816 2014-10-31 Roland McGrath <roland@hack.frob.com>
8819 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8820 gen-as-const-headers chunk. Add a big scare comment after the last
8821 safe place to touch before-compile.
8823 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8825 * manual/install.texi (Tools for Compilation): Update autoconf
8826 version requirements.
8827 * INSTALL: Regenerated.
8829 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8830 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8831 (__libc_pselect): Likewise.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8839 2014-10-31 Torvald Riegel <triegel@redhat.com>
8841 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8842 correct barrier instruction.
8843 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8845 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8848 2014-10-30 Roland McGrath <roland@hack.frob.com>
8850 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8851 after defining inlines. Instead, just use parens to defeat macro
8852 expansion of __isctype in its declaration.
8854 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8856 * include/sys/uio.h (__libc_readv): Remove declaration.
8857 (__libc_writev): Likewise.
8858 * misc/readv.c (__libc_readv): Rename to __readv.
8859 (__readv): Do not define as alias.
8860 (readv): Define as alias of __readv.
8861 * misc/writev.c (__libc_writev): Rename to __writev.
8862 (__writev): Do not define as alias.
8863 (writev): Define as alias of __writev.
8864 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8865 (__readv): Do not define as alias.
8866 (readv): Define unconditionally as alias of __readv.
8867 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8868 (__writev): Do not define as alias.
8869 (writev): Define unconditionally as alias of __writev.
8870 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8872 (writev): Do not define __libc_writev name.
8874 2014-10-30 Roland McGrath <roland@hack.frob.com>
8876 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8877 (convert_charseq): New function, broken out of ...
8878 (use_from_charmap): ... here. Call it.
8879 (use_to_charmap): Use convert_charseq and free instead of duplicating
8880 its code with a variable-length stack struct.
8882 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8884 * include/fcntl.h (__libc_creat): Remove declaration.
8885 * io/creat.c (__libc_creat): Rename to creat.
8886 (creat): Do not define as alias.
8887 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8888 of creat instead of __libc_creat.
8889 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8891 (creat): Do not define as alias.
8892 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8894 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8896 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8899 2014-10-29 Carlos O'Donell <carlos@redhat.com>
8901 * manual/llio.texi: Add comments discussing why write() may be
8902 considered MT-unsafe on Linux.
8904 2014-10-28 Carlos O'Donell <carlos@redhat.com>
8906 * dl-load.c (local_strdup): Remove.
8907 (expand_dynamic_string_token): Use __strdup.
8908 (decompose_rpath): Likewise.
8909 (_dl_map_object): Likewise.
8911 2014-10-28 Joseph Myers <joseph@codesourcery.com>
8914 * sysdeps/generic/unwind-dw2-fde.c
8915 (__register_frame_info_bases_internal): Do not declare.
8916 (__register_frame_info_table_bases_internal): Likewise.
8917 (__deregister_frame_info_bases_internal): Likewise.
8918 (__register_frame_info_bases): Declare and use hidden_proto before
8919 definition. Use hidden_def instead of INTDEF.
8920 (__register_frame_info_table_bases): Likewise.
8921 (__deregister_frame_info_bases): Likewise.
8922 (__register_frame_info): Do not use INTUSE.
8923 (__register_frame): Likewise.
8924 (__register_frame_info_table): Likewise.
8925 (__register_frame_table): Likewise.
8926 (__deregister_frame_info): Likewise.
8927 (__deregister_frame): Likewise.
8929 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8932 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8934 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8936 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8939 2014-10-27 Joseph Myers <joseph@codesourcery.com>
8942 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8943 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8944 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8945 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8946 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8947 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8948 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8949 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8950 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8951 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8952 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8953 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8954 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8956 (setfsuid): Likewise.
8957 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8958 (setfsuid): Likewise.
8959 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8960 (setfsuid): Likewise.
8961 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8963 (setfsuid): Likewise.
8964 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8965 (setfsuid): Likewise.
8966 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8968 (setfsuid): Likewise.
8970 2014-10-27 Andreas Schwab <schwab@suse.de>
8973 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8974 check for Slow_SSE4_2 feature bit.
8975 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8976 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8977 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8978 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8980 2014-10-24 Roland McGrath <roland@hack.frob.com>
8982 * configure.ac: Validate compiler version with a empirical test of
8983 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8985 * configure: Regenerated.
8987 * inet/htons.c (htons): Prototypify.
8988 * inet/htonl.c (htonl): Likewise.
8990 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8992 * string/strncat.c (strncat): Improve performance by using strlen.
8994 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8996 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8998 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9000 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9001 Call libc_fetestexcept_aarch64.
9003 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9005 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9006 Call libc_feholdexcept_aarch64.
9008 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9010 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9011 Call get_rounding_mode.
9013 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9015 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9018 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9020 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9023 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9026 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9027 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9028 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9029 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9030 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9031 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9032 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9033 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9034 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9035 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9036 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9037 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9038 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9039 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9040 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9041 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9042 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9043 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9044 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9045 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9046 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9047 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9048 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9049 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9050 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9051 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9052 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9053 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9054 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9055 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9056 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9057 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9058 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9059 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9060 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9061 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9062 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9063 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9064 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9065 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9066 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9068 (geteuid): Likewise.
9071 (getresgid): Likewise.
9072 (getresuid): Likewise.
9073 (getgroups): Likewise.
9074 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9075 (geteuid): Likewise.
9078 (getresgid): Likewise.
9079 (getresuid): Likewise.
9080 (getgroups): Likewise.
9081 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9082 (geteuid): Likewise.
9085 (getresgid): Likewise.
9086 (getresuid): Likewise.
9087 (getgroups): Likewise.
9088 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9090 (geteuid): Likewise.
9093 (getresgid): Likewise.
9094 (getresuid): Likewise.
9095 (getgroups): Likewise.
9096 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9097 (geteuid): Likewise.
9100 (getresgid): Likewise.
9101 (getresuid): Likewise.
9102 (getgroups): Likewise.
9103 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9105 (geteuid): Likewise.
9108 (getgroups): Likewise.
9111 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9112 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9113 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9114 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9115 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9116 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9117 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9118 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9119 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9120 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9121 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9122 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9123 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9125 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9128 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9132 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9140 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9142 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9145 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9147 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9150 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9152 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9153 Remove unused include.
9155 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9157 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9158 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9159 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9160 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9162 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9163 Helge Deller <deller@gmx.de>
9166 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9167 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9168 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9170 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9173 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9174 Remove macro definition.
9175 (__ashrdi3_v_glibc20): Likewise.
9176 (__lshrdi3_v_glibc20): Likewise.
9177 (__cmpdi2_v_glibc20): Likewise.
9178 (__ucmpdi2_v_glibc20): Likewise.
9179 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9180 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9181 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9182 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9183 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9184 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9186 2014-10-22 Roland McGrath <roland@hack.frob.com>
9188 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9189 old GNU extension [0] syntax.
9190 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9191 alloca rather than an array member with variable length.
9192 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9193 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9194 (parse_opt): ... here. Likewise use alloca there.
9195 Validate the -i argument before checking for rootness.
9196 (send_shutdown): New function, broken out of ...
9197 (parse_opt): ... here.
9199 2014-10-22 Roland McGrath <roland@hack.frob.com>
9201 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9202 macro to get at the _rt_local_ro field.
9203 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9204 ([PIC] case) or _dl_hwcap ([!PIC] case).
9205 * sysdeps/arm/setjmp.S: Likewise.
9207 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9208 * sysdeps/arm/configure.ac: New check to define it.
9209 * sysdeps/arm/configure: Regenerated.
9210 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9211 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9212 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9213 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9214 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9215 Use move/movt pair instead of a load.
9216 (LDST_GLOBAL): Macro removed.
9217 (LDR_GLOBAL): New macro replaces it.
9218 (LDR_HIDDEN): New macro.
9219 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9220 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9222 * setjmp/tst-setjmp-static.c: New file.
9223 * setjmp/Makefile (tests): Add it.
9224 (tests-static): New variable.
9226 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9229 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9231 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9234 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9236 2014-10-21 Roland McGrath <roland@hack.frob.com>
9238 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9240 2014-10-20 Roland McGrath <roland@hack.frob.com>
9242 * io/fts.c (dirent_not_directory): New function.
9243 (fts_build): Call it.
9245 2014-10-20 Roland McGrath <roland@hack.frob.com>
9247 * nptl/version.c (__nptl_main): Use normal __write rather than
9249 (banner): Update copyright years.
9251 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9253 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9254 * nptl/pthread_cond_timedwait.c: Likewise.
9255 * nptl/pthread_mutex_timedlock.c: Likewise.
9256 * nptl/sem_timedwait.c: Likewise.
9258 * sysdeps/nptl/bits/libc-lock.h
9259 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9260 (__libc_lock_init_recursive): Return void, not 0.
9261 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9262 (__libc_rwlock_init): Likewise.
9263 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9265 2014-10-20 Torvald Riegel <triegel@redhat.com>
9268 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9269 (__pthread_once_slow): ... here.
9270 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9271 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9273 2014-10-20 Torvald Riegel <triegel@redhat.com>
9276 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9277 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9278 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9279 * nptl/pthread_once.c (__pthread_once): Likewise.
9282 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9285 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9287 (writev): Use __libc_writev as strong name.
9288 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9289 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9291 2014-10-17 Roland McGrath <roland@hack.frob.com>
9293 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9295 * sysdeps/i386/nptl/tls.h
9296 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9297 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9299 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9300 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9301 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9302 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9303 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9304 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9306 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9307 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9309 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9311 (__pthread_mutex_init): ... here. Call it.
9312 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9313 Conditionalize PI cases on [__NR_futex].
9314 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9315 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9316 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9318 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9319 conditional on [SIGSETXID].
9320 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9321 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9322 is defined. Likewise for SIGSETXID.
9323 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9324 Conditionalize definitions on [SIGSETXID].
9325 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9326 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9327 unblocking on [SIGCANCEL].
9329 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9330 [__NR_set_robust_list].
9332 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9334 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9335 (do_compare): Likewise.
9337 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9340 * string/strcoll_l.c: Don't include stdio.h.
9341 (coll_seq): Remove members idxarr and rulearr.
9342 (get_next_seq_cached): Remove function.
9343 (get_next_seq): Likewise.
9344 (get_next_seq_nocache): Rename to get_next_seq.
9345 (do_compare): Remove function.
9346 (do_compare_nocache): Rename to do_compare.
9347 (STRCOLL): Remove weight and rules cache.
9349 2014-10-16 Roland McGrath <roland@hack.frob.com>
9351 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9352 * sysdeps/arm/sfp-machine.h: ... to here.
9353 * sysdeps/arm/Implies: Remove arm/soft-fp.
9355 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9357 * conform/data/sys/utsname.h-data (*_t): Allow.
9358 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9359 [POSIX] (WEXITED): Do not expect constant.
9360 [POSIX] (WSTOPPED): Likewise.
9361 [POSIX] (WNOHANG): Likewise.
9362 [POSIX] (WNOWAIT): Likewise.
9363 [POSIX] (siginfo_t): Do not expect type or elements.
9364 [POSIX] (pid_t): Do not expect type.
9365 [POSIX] (signal.h): Do not allow header.
9366 [POSIX] (sys/resource.h): Likewise.
9367 [POSIX] (si_*): Do not allow pattern.
9368 [POSIX] (W*): Likewise.
9369 [POSIX] (P_*): Likewise.
9370 [POSIX] (BUS_*): Likewise.
9371 [POSIX] (CLD_*): Likewise.
9372 [POSIX] (FPE_*): Likewise.
9373 [POSIX] (ILL_*): Likewise.
9374 [POSIX] (POLL_*): Likewise.
9375 [POSIX] (SEGV_*): Likewise.
9376 [POSIX] (SI_*): Likewise.
9377 [POSIX] (TRAP_*): Likewise.
9378 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9381 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9384 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9385 infinite loop when __recvmsg returns 0.
9387 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9389 * CANCEL-FCT-WAIVE: Remove file.
9390 * CANCEL-FILE-WAIVE: Likewise.
9393 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9394 instead of INTVARDEF.
9395 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9396 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9397 rtld_hidden_data_def instead of INTVARDEF.
9398 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9399 * elf/dl-deps.c (expand_dst): Likewise.
9400 * elf/dl-load.c (_dl_dst_count): Likewise.
9401 (_dl_dst_substitute): Likewise.
9402 (decompose_rpath): Likewise.
9403 (_dl_init_paths): Likewise.
9404 (open_path): Likewise.
9405 (_dl_map_object): Likewise.
9406 * elf/rtld.c (dl_main): Likewise.
9407 (process_dl_audit): Likewise.
9408 (process_envvars): Likewise.
9409 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9411 (__libc_enable_secure): Use rtld_hidden_proto.
9413 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9416 (add_path): New function broken out of _dl_rtld_di_serinfo.
9417 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9419 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9421 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9422 parentheses around macro arguments.
9423 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9424 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9425 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9426 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9427 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9428 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9429 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9430 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9431 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9432 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9434 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9435 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9436 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9437 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9438 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9439 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
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 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9460 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9461 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9462 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9463 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9464 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9465 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9466 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9467 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9468 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9469 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9470 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9471 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9472 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9473 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9474 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9475 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9476 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9477 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9478 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9479 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9480 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9481 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9482 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9483 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9484 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9485 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9486 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9487 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9488 (_FP_FRAC_SRS_1): Likewise.
9489 (_FP_FRAC_CLZ_1): Likewise.
9490 (_FP_MUL_MEAT_1_imm): Likewise.
9491 (_FP_MUL_MEAT_1_wide): Likewise.
9492 (_FP_MUL_MEAT_1_hard): Likewise.
9493 (_FP_SQRT_MEAT_1): Likewise.
9494 (_FP_FRAC_ASSEMBLE_1): Likewise.
9495 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9496 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9497 (__FP_CLZ_2): Likewise.
9498 (_FP_MUL_MEAT_2_wide): Likewise.
9499 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9500 (_FP_MUL_MEAT_2_gmp): Likewise.
9501 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9502 (_FP_SQRT_MEAT_2): Likewise.
9503 (_FP_FRAC_ASSEMBLE_2): Likewise.
9504 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9505 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9506 (_FP_FRAC_CLZ_4): Likewise.
9507 (_FP_MUL_MEAT_4_wide): Likewise.
9508 (_FP_MUL_MEAT_4_gmp): Likewise.
9509 (_FP_SQRT_MEAT_4): Likewise.
9510 (_FP_FRAC_ASSEMBLE_4): Likewise.
9511 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9512 * soft-fp/op-common.h (_FP_CMP): Likewise.
9513 (_FP_CMP_EQ): Likewise.
9514 (_FP_CMP_UNORD): Likewise.
9515 (_FP_TO_INT): Likewise.
9516 (_FP_FROM_INT): Likewise.
9517 [!__FP_CLZ] (__FP_CLZ): Likewise.
9518 (_FP_DIV_HELP_imm): Likewise.
9519 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9521 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9522 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9523 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9524 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9525 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9526 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9527 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9528 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9529 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9530 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9531 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9532 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9533 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9534 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9535 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9536 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9537 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9538 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
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 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9557 (FP_UNPACK_RAW_SP): Likewise.
9558 (FP_PACK_RAW_S): Likewise.
9559 (FP_PACK_RAW_SP): Likewise.
9560 (FP_UNPACK_S): Likewise.
9561 (FP_UNPACK_SP): Likewise.
9562 (FP_UNPACK_SEMIRAW_S): Likewise.
9563 (FP_UNPACK_SEMIRAW_SP): Likewise.
9564 (FP_PACK_S): Likewise.
9565 (FP_PACK_SP): Likewise.
9566 (FP_PACK_SEMIRAW_S): Likewise.
9567 (FP_PACK_SEMIRAW_SP): Likewise.
9568 (_FP_SQRT_MEAT_S): Likewise.
9569 (FP_CMP_S): Likewise.
9570 (FP_CMP_EQ_S): Likewise.
9571 (FP_CMP_UNORD_S): Likewise.
9572 (FP_TO_INT_S): Likewise.
9573 (FP_FROM_INT_S): Likewise.
9575 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9577 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9578 (FP_EX_INVALID_IMZ): Likewise.
9579 (FP_EX_INVALID_IMZ_FMA): Likewise.
9580 (FP_EX_INVALID_ISI): Likewise.
9581 (FP_EX_INVALID_ZDZ): Likewise.
9582 (FP_EX_INVALID_IDI): Likewise.
9583 (FP_EX_INVALID_SQRT): Likewise.
9584 (FP_EX_INVALID_CVI): Likewise.
9585 (FP_EX_INVALID_VC): Likewise.
9586 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9587 "invalid" exceptions.
9588 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9589 (_FP_ADD_INTERNAL): Likewise.
9590 (_FP_MUL): Likewise.
9591 (_FP_FMA): Likewise.
9592 (_FP_DIV): Likewise.
9593 (_FP_CMP_CHECK_NAN): Likewise.
9594 (_FP_SQRT): Likewise.
9595 (_FP_TO_INT): Likewise.
9596 (FP_EXTEND): Likewise.
9598 2014-10-09 Allan McRae <allan@archlinux.org>
9600 * po/fr.po: Update French translation from translation project.
9602 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9605 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9607 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9608 (__cxa_atexit): Use libc_hidden_proto.
9609 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9612 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9614 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9615 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9616 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9617 [!_ISOMAC] (__iswctype_internal): Likewise.
9618 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9619 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9621 (fcntl): Remove __fcntl_internal alias.
9622 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9623 __connect_internal alias.
9624 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9627 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9628 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9630 (_FP_CHECK_FLUSH_ZERO): New macro.
9631 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9632 (_FP_CMP): Likewise.
9633 (_FP_CMP_EQ): Likewise.
9634 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9636 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9637 (FP_TRUNC): Likewise.
9639 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9640 treated as invalid conversion, not as normal exponent.
9642 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9643 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9644 (_FP_CMP_EQ): Likewise.
9645 (_FP_CMP_UNORD): Likewise.
9646 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9647 (FP_CMP_EQ_D): Likewise.
9648 (FP_CMP_UNORD_D): Likewise.
9649 * soft-fp/extended.h (FP_CMP_E): Likewise.
9650 (FP_CMP_EQ_E): Likewise.
9651 (FP_CMP_UNORD_E): Likewise.
9652 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9653 (FP_CMP_EQ_Q): Likewise.
9654 (FP_CMP_UNORD_Q): Likewise.
9655 * soft-fp/single.h (FP_CMP_S): Likewise.
9656 (FP_CMP_EQ_S): Likewise.
9657 (FP_CMP_UNORD_S): Likewise.
9658 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9659 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9660 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9661 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9662 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9663 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9664 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9665 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9666 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9667 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9668 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9669 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9670 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9672 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9674 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9675 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9677 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9679 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9680 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9681 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9682 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9684 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9686 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9687 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9689 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9691 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9692 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9693 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9694 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9697 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9698 a subnormal result, set the underflow exception if trapping on
9699 underflow is enabled.
9700 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9701 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9702 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9704 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9705 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9706 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9707 * soft-fp/extendxftf2.c (__extendxftf2): Use
9708 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9710 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9711 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9712 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9713 FP_HANDLE_EXCEPTIONS.
9714 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9715 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9716 FP_HANDLE_EXCEPTIONS.
9717 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9718 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9719 FP_HANDLE_EXCEPTIONS.
9720 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9721 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9722 FP_HANDLE_EXCEPTIONS.
9724 2014-10-08 Joseph Myers <joseph@codesourcery.com>
9727 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9728 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9730 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9731 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9733 (__adjtimex): Define using libc_hidden_ver.
9734 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9736 (ntp_gettime): Call __adjtimex directly.
9737 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9739 (ntp_gettimex): Call __adjtimex directly.
9740 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9741 __adjtimex_internal alias.
9743 2014-10-08 Roland McGrath <roland@hack.frob.com>
9746 * nscd/nscd.c (more_help): Rewrite list of tables collection
9747 using xstrdup and asprintf.
9749 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9751 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9752 Roland McGrath <roland@hack.frob.com>
9754 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9755 (do_lookup_unique): ... local function 'enter' here; update callers.
9757 2014-10-06 Joseph Myers <joseph@codesourcery.com>
9759 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9760 compat_symbol calls on [SHARED].
9761 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9762 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9764 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9765 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9766 (oldsetrlimit): Remove.
9767 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9769 (lchown): New syscall entry.
9770 (oldsetrlimit): Remove.
9771 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9772 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9773 (oldsetrlimit): Remove.
9774 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9777 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9778 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9779 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9780 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9781 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9782 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9784 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9789 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9791 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9792 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9793 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9794 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9795 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9797 (__old_sem_post): Likewise.
9799 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
9801 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9802 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9803 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9804 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9805 Use INLINE_VSYSCALL macro.
9806 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9807 __vdso_clock_gettime.
9808 * sysdeps/unix/sysv/linux/tile/init-first.c
9809 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9810 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9811 __vdso_clock_gettime.
9813 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9814 to set up frame more cleanly.
9816 * sysdeps/tile/memcmp.c: New file.
9818 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9820 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9821 * sysdeps/tile/tilegx/strcasestr.c: New file.
9822 * sysdeps/tile/tilegx/strnlen.c: New file.
9823 * sysdeps/tile/tilegx/strstr.c: New file.
9825 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9827 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
9829 * nptl/tst-setuid3.c: Write errors to stdout.
9831 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9834 (preload): New functions broken out of _dl_map_object_deps.
9835 (_dl_map_object_deps): Remove a nested function. Update call sites.
9837 2014-10-01 Joseph Myers <joseph@codesourcery.com>
9840 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9841 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9843 2014-10-01 Steve Ellcey <sellcey@mips.com>
9845 * sysdeps/mips/strcmp.S: New.
9847 2014-09-30 Joseph Myers <joseph@codesourcery.com>
9850 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9852 (mkdirat): Likewise.
9853 (readlinkat): Likewise.
9854 (renameat): Likewise.
9855 (symlinkat): Likewise.
9856 (unlinkat): Likewise.
9857 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9858 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9859 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9860 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9861 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9862 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9863 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9865 2014-09-30 Will Newton <will.newton@linaro.org>
9867 * math/math.h: Define long double math functions if
9868 _LIBC_TEST is defined.
9869 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9871 * localedata/Makefile: Move assignment to tests-special
9872 into an ifdef testing run-built-tests.
9873 * timezone/Makefile: Likewise.
9875 2014-09-29 Joseph Myers <joseph@codesourcery.com>
9877 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9878 with $(BASH) not $(SHELL).
9880 2014-09-29 Carlos O'Donell <carlos@redhat.com>
9881 Matthew LeGendre <legendre1@llnl.gov>
9884 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9887 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9889 * stdio-common/printf_fp.c
9890 (hack_digit): New function, broken out of ...
9891 (__printf_fp): ... local function here. Update call sites.
9892 hack_digit now takes an additional parameter that is a pointer
9893 to a struct of the referenced locals. Those locals moved inside
9894 the struct and references updated.
9896 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9898 * aclocal.m4: Require autoconf 2.69.
9899 * configure: Regenerated.
9900 * sysdeps/aarch64/configure: Likewise.
9901 * sysdeps/alpha/configure: Likewise.
9902 * sysdeps/arm/armv7/configure: Likewise.
9903 * sysdeps/arm/configure: Likewise.
9904 * sysdeps/ia64/configure: Likewise.
9905 * sysdeps/mach/configure: Likewise.
9906 * sysdeps/mips/configure: Likewise.
9907 * sysdeps/s390/configure: Likewise.
9908 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9911 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9913 * sysdeps/ia64/configure.ac: Likewise.
9915 2014-09-26 Joseph Myers <joseph@codesourcery.com>
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9918 specify symbol version for ld.so. Do not include entry for
9920 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9921 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9922 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9925 * Makeconfig [$(build-shared) = yes]
9926 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9928 [$(build-shared) = yes && $(soversions.mk-done) = t]
9929 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9930 [$(build-shared) = yes && $(soversions.mk-done) = t]
9931 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9933 [$(build-shared) = yes && $(soversions.mk-done) = t]
9934 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9936 [$(build-shared) = yes && $(soversions.mk-done) = t]
9937 (common-generated): Don't append gnu/lib-names.h and
9938 gnu/lib-names.stmp here.
9939 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9940 (lib-names-h-abi): New variable.
9941 [$(build-shared) = yes && $(soversions.mk-done) = t]
9942 (lib-names-stmp-abi): Likewise.
9943 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9944 abi-variants] (before-compile): Append
9945 $(common-objpfx)$(lib-names-h-abi).
9946 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9947 abi-variants] (common-generated): Append gnu/lib-names.h.
9948 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9949 abi-variants] (install-others-nosubdir): Depend on
9950 $(inst_includedir)/$(lib-names-h-abi).
9951 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9952 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9953 [$(build-shared) = yes && $(soversions.mk-done) = t]
9954 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9955 [$(build-shared) = yes && $(soversions.mk-done) = t]
9956 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9957 [$(build-shared) = yes && $(soversions.mk-done) = t]
9958 (common-generated): Append $(lib-names-h-abi) and
9959 $(lib-names-stmp-abi).
9960 * scripts/lib-names.awk: Do not handle multi being set.
9961 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9963 (abi-lp64_be-ld-soname): Likewise.
9964 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9966 (abi-hard-ld-soname): Likewise.
9967 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9968 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9970 (abi-o32_hard-ld-soname): Likewise.
9971 (abi-o32_soft_2008-ld-soname): Likewise.
9972 (abi-o32_hard_2008-ld-soname): Likewise.
9973 (abi-n32_soft-ld-soname): Likewise.
9974 (abi-n32_hard-ld-soname): Likewise.
9975 (abi-n32_soft_2008-ld-soname): Likewise.
9976 (abi-n32_hard_2008-ld-soname): Likewise.
9977 (abi-n64_soft-ld-soname): Likewise.
9978 (abi-n64_hard-ld-soname): Likewise.
9979 (abi-n64_soft_2008-ld-soname): Likewise.
9980 (abi-n64_hard_2008-ld-soname): Likewise.
9981 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9983 (abi-64-v2-ld-soname): Likewise.
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9986 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9988 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9990 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9992 (abi-64-ld-soname): Likewise.
9993 (abi-x32-ld-soname): Likewise.
9994 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9996 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9998 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10001 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10002 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10003 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10004 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10005 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10006 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10007 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10008 syscall entry for GLIBC_2.2 symbol version.
10009 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10012 (setrlimit): Likewise.
10013 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10016 2014-09-23 Will Newton <will.newton@linaro.org>
10018 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10019 _LINUX_ARM_SYSDEP_H include guard too.
10020 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10023 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10025 * sysdeps/unix/sysv/linux/eventfd.c:
10026 Make first argument unsigned.
10027 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10028 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10030 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10032 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10033 * socket/sys/socket.h: Likewise
10034 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10036 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10038 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10040 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
10042 * time/tst-ftime.c: New test.
10043 * time/Makefile (tests): Add tst-ftime.
10045 2014-09-17 Joseph Myers <joseph@codesourcery.com>
10047 * soft-fp/extended.h: Fix comment formatting.
10048 * soft-fp/op-1.h: Likewise.
10049 * soft-fp/op-2.h: Likewise.
10050 * soft-fp/op-4.h: Likewise.
10051 * soft-fp/op-8.h: Likewise.
10052 * soft-fp/op-common.h: Likewise.
10053 * soft-fp/soft-fp.h: Likewise.
10055 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10057 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10060 * Makeconfig (soversions-default-setname): Remove variable.
10061 ($(common-objpfx)soversions.i): Don't pass default_setname to
10063 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10064 oldest_abi to abi-versions.awk.
10065 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10066 * config.make.in (oldest-abi): Remove variable.
10067 * configure.ac (--enable-oldest-abi): Remove configure option.
10068 * configure: Regenerated.
10069 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10071 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10072 * scripts/soversions.awk: Do not handle default_setname variable.
10073 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10075 * sysdeps/mach/hurd/configure: Regenerated.
10076 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10078 * sysdeps/unix/sysv/linux/configure: Regenerated.
10080 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10082 * elf/Makefile (CFLAGS-interp.c): Remove.
10083 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10085 * elf/interp.c: Include generated runtime-linker.h
10087 * Makerules (lib%.so): Don't include $(+interp) in
10089 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10090 * dlfcn/eval.c: Remove file.
10092 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10096 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10100 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10102 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10103 Jakub Jelinek <jakub@redhat.com>
10106 * libio/stdio.h: Check definition of __fortify_function
10107 instead of __extern_always_inline to include bits/stdio2.h.
10108 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10109 check if __extern_always_inline is defined.
10110 [__USE_MISC || __USE_XOPEN]: Likewise.
10111 [__USE_ISOC99] Likewise.
10112 * misc/sys/cdefs.h (__fortify_function): Define only if
10113 __extern_always_inline is defined.
10114 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10115 __extern_always_inline and __extern_inline only for g++-4.3
10116 and newer or a compatible gcc.
10118 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10121 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10122 last change to handle zero prefix length.
10124 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10126 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10129 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10130 _POSIX_RAW_SOCKETS.
10132 2014-09-13 Allan McRae <allan@archlinux.org>
10134 * po/ru.po: Update Russian translation from translation project.
10136 2014-09-12 Roland McGrath <roland@hack.frob.com>
10138 * locale/programs/locale.c (show_locale_vars): Inline local function
10139 into its sole call site. Clean up some style nits.
10140 (print_item): New function, broken out of ...
10141 (show_info): ... local function here. Clean up style nits.
10143 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10145 (set_class_defaults): ... local function set_default here.
10146 Define set_default as a macro locally to pass constant parameters.
10147 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10148 rather than a shared local.
10150 * stdlib/rpmatch.c (try): New function, broken out of ...
10151 (rpmatch): ... local function here. Also, prototypify definition.
10153 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10155 * scripts/soversions.awk: Do not handle configuration names.
10156 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10157 vendor and os variables to soversions.awk.
10158 * configure.ac: Do not modify gnu-* host_os.
10159 * configure: Regenerated
10160 * shlib-versions: Remove first column with configuration names.
10161 * nptl/shlib-versions: Likewise.
10162 * nptl_db/shlib-versions: Likewise.
10163 * sysdeps/hppa/shlib-versions: Likewise.
10164 * sysdeps/m68k/shlib-versions: Likewise.
10165 * sysdeps/mach/hurd/shlib-versions: Likewise.
10166 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10167 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10168 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10169 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10170 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10171 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10172 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10173 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10176 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10177 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10178 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10179 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10180 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10181 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10182 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10183 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10186 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10189 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10191 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10193 * shlib-versions: Remove OS-specific entries. Moved to files in
10195 * sysdeps/mach/hurd/shlib-versions: New file.
10196 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10198 * nptl/shlib-versions: Remove architecture-specific entries.
10199 Moved to files in sysdeps.
10200 * shlib-versions: Likewise.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10203 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10204 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10205 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10206 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10208 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10209 (UDP_NO_CHECK6_RX): Likewise.
10211 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10213 * sysdeps/posix/sysconf.c (__sysconf): Spell
10214 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10216 2014-08-12 Florian Weimer <fweimer@redhat.com>
10218 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10220 * iconv/Versions (__gconv_transliterate): Export for use from
10222 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10223 (struct __gconv_trans_data, __gconv_trans_fct,
10224 __gconv_trans_context_fct, __gconv_trans_query_fct,
10225 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10227 (struct __gconv_step_data): Remove __trans member.
10228 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10229 longer hidden. Remove unused trans_data argument.
10230 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10231 (__gconv_translit_find): Remove declaration.
10232 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10234 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10235 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10236 trans_data argument. Add hidden definition.
10237 (__gconv_translit_find): Remove.
10238 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10239 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10240 * iconv/skeleton.c: Remove transliteration initialization.
10241 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10242 __gconv_step_data initialization.
10243 * libio/iofwide.c (__libio_translit_): Remove.
10244 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10245 * wcsmbs/btowc.c (__btowc): Likewise.
10246 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10247 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10248 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10249 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10250 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10251 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10252 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10253 * wcsmbs/wctob.c (wctob): Likewise.
10255 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10258 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10259 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10261 * sysdeps/x86/Makefile: Adjust.
10263 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10264 Roland McGrath <roland@hack.frob.com>
10266 * locale/weight.h: Add include guard.
10267 (findidx): Make static rather than auto; take new parameters
10268 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10269 * locale/weightwc.h: Likewise.
10270 * posix/fnmatch_loop.c
10271 (FCT): Change type of EXTRA from int32_t to wint_t.
10272 Don't include either header inside the function.
10273 Call FINDIDX rather than findidx, and pass new arguments.
10274 #undef FINDIDX at the end of the file.
10275 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10276 FINDIDX before including fnmatch_loop.c for the non-wide version.
10277 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10278 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10279 for the wide version.
10280 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10281 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10282 Pass new arguments to findidx.
10283 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10284 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10285 Don't #include it inside the function. Pass new arguments to findidx.
10286 * posix/regex_internal.h
10287 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10288 (re_string_elem_size_at): Don't #include it inside the function.
10289 Pass new arguments to findidx.
10290 * string/strcoll_l.c: #include WEIGHT_H at top level.
10291 (get_next_seq): Don't #include it inside the function.
10292 Pass new arguments to findidx.
10293 (get_next_seq_nocache): Likewise.
10294 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10295 (STRXFRM): Don't #include it inside the function.
10296 Pass new arguments to findidx.
10298 2014-09-11 Florian Weimer <fweimer@redhat.com>
10301 * malloc/malloc.c (unlink): Turn asserts into a call to
10304 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10307 * libio/wfileops (do_ftell_wide): Free OUT.
10309 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10311 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10313 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10316 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10317 group if the current group is empty.
10319 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10321 * benchtests/bench-memset.c (test_main): Add more test from size
10322 from 32 to 512 bytes.
10323 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10324 Add POWER8 memset object.
10325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10326 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10327 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10329 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10331 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10332 multiarch POWER8 memset optimization.
10333 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10334 POWER8 memset optimization.
10336 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10337 Remove bzero multiarch objects.
10338 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10339 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10340 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10341 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10343 [__bzero]: Redefine to specific name.
10344 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10345 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10346 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10348 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10349 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10351 2014-09-10 Florian Weimer <fweimer@redhat.com>
10353 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10354 warnings into errors.
10356 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10357 __cxa_thread_atexit_impl prototype.
10359 2014-09-09 Steve Ellcey <sellcey@mips.com>
10361 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10362 Fix capitalization of error message.
10364 2014-09-09 Steve Ellcey <sellcey@mips.com>
10366 * sysdeps/mips/preconfigure: Modify ABI tests.
10368 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10370 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10372 2014-09-07 Roland McGrath <roland@hack.frob.com>
10373 Carlos O'Donell <carlos@systemhalted.org>
10375 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10376 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10377 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10378 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10379 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10380 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10381 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10382 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10383 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10384 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10385 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10386 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10387 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10388 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10389 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10390 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10391 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10392 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10393 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10394 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10395 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10396 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10397 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10398 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10399 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10400 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10401 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10402 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10403 Deconditionalize the code that was previously under [RESET_PID].
10404 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10405 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10406 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10407 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10410 2014-09-08 Allan McRae <allan@archlinux.org>
10412 * version.h (RELEASE): Set to "development".
10413 (VERSION): Set to "2.20.90"
10415 2014-09-07 Allan McRae <allan@archlinux.org
10417 * version.h (RELEASE): Set to "stable".
10418 (VERSION): Set to "2.20"
10419 * include/features.h (__GLIBC_MINOR__): Set to 20.
10421 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10424 * po/ko.po: Update Korean translation from translation project.
10426 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10429 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10430 macro for handling signed relocations.
10432 2014-09-03 Florian Weimer <fweimer@redhat.com>
10435 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10436 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10438 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10439 * iconvdata/ibm935.c (BODY): Likewise.
10440 * iconvdata/ibm937.c (BODY): Likewise.
10441 * iconvdata/ibm939.c (BODY): Likewise.
10442 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10444 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10446 * iconvdata/run-iconv-test.sh: New test loop for checking for
10449 2014-09-02 Khem Raj <raj.khem@gmail.com>
10451 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10454 2014-09-01 Allan McRae <allan@archlinux.org>
10456 * po/eo.po: Update Esperanto translation from translation project.
10458 * po/ca.po: Update Catalan translation from translation project.
10460 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10462 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10463 __proc_dostop call.
10465 2014-08-27 Mark Wielaard <mjw@redhat.com>
10468 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10469 to call set_thread_area instead of hand written asm.
10470 (__NR_set_thread_area): Removed define.
10471 (TLS_FLAG_WRITABLE): Likewise.
10472 (__ASSUME_SET_THREAD_AREA): Remove check.
10473 (TLS_EBX_ARG): Remove define.
10474 (TLS_LOAD_EBX): Likewise.
10476 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10478 Simplify atomicity of socket creation in bind.
10480 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10481 looking up the name after linking the file.
10483 2014-08-27 Allan McRae <allan@archlinux.org>
10485 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10487 2014-08-26 Florian Weimer <fweimer@redhat.com>
10490 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10491 trans_compare, open_translit, __gconv_translit_find):
10492 Remove module loading code.
10494 2014-08-26 Allan McRae <allan@archlinux.org>
10496 * po/vi.po: Update Vietnamese translation from translation project.
10498 * po/uk.po: Update Ukrainian translation from translation project.
10500 * po/fr.po: Update French translation from translation project.
10502 * po/ru.po: Update Russian translation from translation project.
10504 * po/pl.po: Update Polish translation from translation project.
10506 * po/cs.po: Update Czech translation from translation project.
10508 * po/de.po: Update German translation from translation project.
10510 * po/bg.po: Update Bulgarian translation from translation project.
10512 * po/sv.po: Update Sweedish translation from translation project.
10514 * po/nl.po: Update Dutch translation from translation project.
10516 * po/es.po: Update Spanish translation from translation project.
10518 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10520 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10522 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10523 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10524 (CPPFLAGS-iconvconfig): Likewise.
10525 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10527 * include/libc-symbols.h: Remove unnecessary check for
10529 * nptl/pthreadP.h: Likewise.
10530 * sysdeps/aarch64/setjmp.S: Likewise.
10531 * sysdeps/alpha/setjmp.S: Likewise.
10532 * sysdeps/arm/sysdep.h: Likewise.
10533 * sysdeps/i386/setjmp.S: Likewise.
10534 * sysdeps/m68k/setjmp.c: Likewise.
10535 * sysdeps/posix/getcwd.c: Likewise.
10536 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10537 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10538 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10539 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10540 * sysdeps/sh/sh3/setjmp.S: Likewise.
10541 * sysdeps/sh/sh4/setjmp.S: Likewise.
10542 * sysdeps/unix/alpha/sysdep.h: Likewise.
10543 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10544 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10545 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10546 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10550 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10551 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10554 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10556 * sysdeps/x86_64/setjmp.S: Likewise.
10558 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10561 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10563 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10564 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10566 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10568 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10571 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10572 and __x86_64__ when disabling x87 inline functions.
10574 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10577 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10578 asm statement with __cpuid_count.
10580 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10582 * configure.ac: Change __ehdr_start code to dereference the struct.
10583 Run readelf on the output to look for relocations.
10584 * configure: Regenerated.
10586 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10589 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10591 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10593 2014-08-12 Roland McGrath <roland@hack.frob.com>
10595 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10597 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10600 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10601 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10603 2014-08-12 Sean Anderson <seanga2@gmail.com>
10605 * malloc/malloc.c: Fix typo in comment.
10607 2014-08-09 Allan McRae <allan@archlinux.org>
10609 * Regenerate libc.po.
10611 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10613 * intl/tst-gettext2.sh: Check every lang file for creation.
10615 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10617 * sysdeps/aarch64/fpu/math_private.h
10618 (libc_feholdsetround_noex_aarch64_ctx): New function.
10620 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10622 * sysdeps/arm/armv6/strcpy.S (strcpy):
10623 Fix performance issue in misaligned cases.
10625 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10627 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10628 Move definition from termios.h.
10629 (struct termio): Likewise.
10630 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10631 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10632 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10633 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10635 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10636 Move definition to ioctl-types.h
10637 (struct termio): Likewise.
10638 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10639 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10640 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10641 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10644 2014-08-05 Richard Henderson <rth@redhat.com>
10646 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10648 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10650 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10651 Use __feraiseexcept.
10652 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10653 Protect libm symbols with IS_IN_libm.
10655 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10657 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10659 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10661 2014-08-04 Will Newton <will.newton@linaro.org>
10663 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10666 2014-08-04 Mike Frysinger <vapier@gentoo.org>
10668 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10669 variants for each function.
10671 2014-08-04 Roland McGrath <roland@hack.frob.com>
10673 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10675 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10676 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10678 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10679 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10680 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10681 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10682 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10683 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10684 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10685 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10686 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10687 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10688 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10690 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10691 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10692 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10693 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10694 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10695 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10696 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10697 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10698 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10699 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10700 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10701 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10702 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10703 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10704 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10705 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10706 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10707 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10708 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10709 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10710 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10711 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10712 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10713 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10714 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10715 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10716 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10717 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10718 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10719 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10720 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10721 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10722 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10723 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10724 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10725 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10726 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10727 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10728 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10729 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10730 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10732 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10733 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10735 2014-08-04 Roland McGrath <roland@hack.frob.com>
10737 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10738 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10739 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10740 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10741 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10742 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10744 2014-08-04 Roland McGrath <roland@hack.frob.com>
10746 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10747 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10748 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10749 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10751 2014-08-04 Roland McGrath <roland@hack.frob.com>
10753 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10754 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10755 (__libc_vfork): Define function under this name.
10756 (__vfork): Define as an alias.
10757 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10758 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10760 2014-08-04 Roland McGrath <roland@hack.frob.com>
10762 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10763 that was previously under [RESET_PID].
10764 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10766 2014-08-04 Andreas Schwab <schwab@suse.de>
10768 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10770 2014-08-03 Mike Frysinger <vapier@gentoo.org>
10772 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10775 2014-08-01 Roland McGrath <roland@hack.frob.com>
10777 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10779 2014-08-01 Richard Henderon <rth@redhat.com>
10781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10782 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10783 typo in exact zero test.
10784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10785 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10786 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10788 2014-08-01 Roland McGrath <roland@hack.frob.com>
10790 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10791 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10792 * sysdeps/arm/sysdep.h: ... here.
10793 [!__ASSEMBLER__]: Include <stdint.h>.
10795 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10797 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10798 (HAVE_WCTYPE_H): Likewise.
10799 (HAVE_ISWCTYPE): Likewise.
10800 (ENABLE_NLS): Likewise.
10801 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10802 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10804 * posix/regex_internal.c: Check if DEBUG is defined and is
10807 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10808 (HAVE_MBSRTOWCS): Likewise.
10809 * posix/fnmatch.c: Include string.h unconditionally.
10811 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10813 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10816 2014-07-31 Roland McGrath <roland@hack.frob.com>
10818 * sysdeps/generic/safe-fatal.h: New file.
10819 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10820 * nptl/forward.c: Include it.
10821 (__pthread_unwind): Use __safe_fatal as default action, rather
10822 than a bogus use of INTERNAL_SYSCALL that could never work.
10824 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10825 * configure.ac (libc_cv_builtin_trap): New test.
10826 * configure: Regenerated.
10827 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10828 (ABORT_INSTRUCTION): Define using __builtin_trap.
10830 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10831 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10832 * sysdeps/nptl/nptl-signals.h: New file.
10833 * nptl/pthreadP.h: Include <nptl-signals.h>.
10835 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10837 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10838 (ONE_DIRECTION): Define.
10839 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10840 (ONE_DIRECTION): Define.
10841 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10842 (ONE_DIRECTION): Define.
10844 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10846 * sysdeps/s390/Makefile: Delete file.
10847 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10848 * sysdeps/s390/__longjmp.c: Delete file.
10849 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10850 Remove fields __flags and __reserved.
10851 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10852 and add versioning.
10853 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10854 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10855 * sysdeps/s390/rtld-setjmp.S: Likewise.
10856 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10857 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10858 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10859 * sysdeps/s390/s390-32/setjmp.S: ... here.
10861 (__sigsetjmp): Remove setting __flags field.
10862 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10863 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10864 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10865 * sysdeps/s390/s390-64/setjmp.S: ... here.
10867 (__sigsetjmp): Remove setting __flags field.
10868 * sysdeps/s390/setjmp.S: Delete file.
10869 * sysdeps/s390/sigjmp.c: Likewise.
10870 * sysdeps/s390/v1-longjmp.c: Likewise.
10871 * sysdeps/s390/v1-setjmp.h: Likewise.
10872 * sysdeps/s390/v1-sigjmp.c: Likewise.
10873 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10874 Remove v1-longjmp_chk.
10875 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10876 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10877 Include debug/longjmp_chk.c and add versioning.
10878 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10879 Include nptl/pt-longjmp.c and add versioning.
10880 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10881 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10882 Include __longjmp.c.
10883 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10885 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10886 (__getcontext): Remove setting __flags field.
10888 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10889 Don't restore upper high grps.
10890 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10892 (__swapcontext): Remove setting uc_flags field.
10893 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10895 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10896 Include __longjmp.c.
10897 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10899 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10900 (__getcontext): Remove setting __flags field.
10902 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10903 (__swapcontext): Remove setting uc_flags field.
10904 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10905 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10906 Remove fields uc_high_gprs and __reserved.
10907 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10908 New file with reverted content.
10909 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10910 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10912 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10915 2014-07-31 Andreas Schwab <schwab@suse.de>
10917 * config.h.in (HAVE_IFUNC): Define to 0.
10918 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10921 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10924 memmove-avx-unaligned, memcpy-avx-unaligned and
10925 mempcpy-avx-unaligned.
10926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10927 Add tests for AVX memcpy functions.
10928 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10929 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10931 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10932 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10934 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10935 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10937 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10938 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10939 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10941 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10944 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10947 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
10950 * manual/llio.texi: Add section about open file description locks.
10951 * manual/examples/ofdlocks.c: Example of open file description
10953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10954 F_OFD_SETLK, and F_OFD_SETLKW.
10956 2014-07-23 Allan McRae <allan@archlinux.org>
10958 * po/es.po: Update Spanish translation from translation project.
10960 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10962 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10964 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10967 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10968 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10969 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10971 2014-07-17 Joseph Myers <joseph@codesourcery.com>
10974 * math/fesetenv.c (__fesetenv)
10975 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10976 * math/feupdateenv.c (__feupdateenv)
10977 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10979 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10980 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10981 (__ASSUME_SOCKETCALL): Do not define.
10983 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10984 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10985 (__ASSUME_SOCKETCALL): Do not define.
10986 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10987 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10988 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10989 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10990 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10991 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10992 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10993 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10995 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10996 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10997 (__ASSUME_SOCKETCALL): Do not define.
10998 (__ASSUME_IPC64): Define unconditionally.
10999 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11000 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11001 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11002 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11003 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11004 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11005 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11008 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11009 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11010 (__ASSUME_SOCKETCALL): Do not define.
11011 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11012 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11013 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11014 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11015 (__ASSUME_REQUEUE_PI): Define unconditionally.
11016 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11017 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11018 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11019 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11020 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11021 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11023 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11024 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11025 (__ASSUME_SOCKETCALL): Do not define.
11026 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11027 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11028 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11029 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11030 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11031 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11033 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11034 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11035 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11036 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11037 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11038 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11039 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11040 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11041 (__ASSUME_GETCPU_SYSCALL): Likewise.
11043 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11044 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
11045 cases for individual architectures.
11046 * sysdeps/gnu/configure: Regenerated.
11047 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11048 LIBC_SLIBDIR_RTLDDIR.
11049 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11050 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11051 LIBC_SLIBDIR_RTLDDIR.
11052 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11054 LIBC_SLIBDIR_RTLDDIR.
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11057 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11058 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11060 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11061 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11063 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11064 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11065 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11066 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11068 * sysdeps/aarch64/shlib-versions: Move to ...
11069 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11070 * sysdeps/alpha/shlib-versions: Move to ...
11071 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11072 * sysdeps/arm/shlib-versions: Move to ...
11073 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11074 * sysdeps/hppa/shlib-versions: Move all contents except for
11075 libgcc_s entry to ...
11076 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11078 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11079 * sysdeps/ia64/shlib-versions: Move to ...
11080 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11082 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11083 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11084 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11085 * sysdeps/microblaze/shlib-versions: Move to ...
11086 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11087 * sysdeps/mips/shlib-versions: Move to ...
11088 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11090 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11091 * sysdeps/tile/shlib-versions: Move to ...
11092 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11093 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11095 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11096 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11098 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11100 2014-07-17 Will Newton <will.newton@linaro.org>
11102 * sysdeps/arm/bits/atomic.h
11103 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11104 (__arch_compare_and_exchange_bool_16_int): Likewise.
11105 (__arch_compare_and_exchange_bool_64_int): Likewise.
11107 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11108 into an #else block.
11110 2014-07-16 Roland McGrath <roland@hack.frob.com>
11112 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11113 just Linux configurations. Test empirically that the compiler sets
11114 __ARM_EABI__, rather than using the tuple to decide.
11115 * sysdeps/arm/preconfigure: Regenerated.
11116 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11117 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11118 contents appended ...
11119 * sysdeps/arm/configure.ac: ... here.
11120 * sysdeps/arm/configure: Regenerated.
11122 2014-07-15 Roland McGrath <roland@hack.frob.com>
11124 * nptl/pthread_kill.c: New file.
11125 * nptl/pthread_sigmask.c: New file.
11126 * nptl/pthread_sigqueue.c: New file.
11128 * sysdeps/nptl/lowlevellock.h: New file.
11129 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11130 * sysdeps/nptl/lowlevellock-futex.h: New file.
11132 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11133 Remove dead declarations.
11135 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11137 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11138 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11139 config-cflags-avx2.
11140 * sysdeps/x86_64/configure.ac: Likewise.
11141 * sysdeps/i386/configure: Regenerated.
11142 * sysdeps/x86_64/configure: Likewise.
11143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11144 memset-avx2 only if config-cflags-avx2 is yes.
11145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11146 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11148 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11149 only if HAVE_AVX2_SUPPORT is defined.
11150 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11152 2014-07-14 Alan Modra <amodra@gmail.com>
11155 * elf/elf.h (DT_PPC64_NUM): Correct value.
11156 * NEWS: Add to fixed bug list.
11158 2014-07-13 Jim Meyering <meyering@fb.com>
11161 regex: don't deref NULL upon heap allocation failure
11162 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11163 failure in one more place.
11164 To trigger the segfault, configure grep -with-included-regex,
11165 build it, and run these commands:
11166 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11168 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11170 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11172 2014-07-11 Richard Henderson <rth@redhat.com>
11174 * sysdeps/aarch64/libm-test-ulps: Update.
11176 2014-07-10 Florian Weimer <fweimer@redhat.com>
11179 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11180 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11181 (__nptl_setxid): Initialize error member. Call
11182 __nptl_setxid_error.
11183 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11184 * nptl/descr.h (struct xid_command): Add error member.
11185 * nptl/tst-setuid3.c: New file.
11186 * nptl/Makefile (tests): Add it.
11188 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11190 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11192 (__lll_trylock): Use __lll_base_trylock.
11193 (__lll_cond_trylock): Likewise.
11195 2014-07-10 Roland McGrath <roland@hack.frob.com>
11197 * nptl/pthread_create.c (start_thread): Use atomic_or and
11198 lll_futex_wake directly rather than lll_robust_dead.
11199 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11200 (lll_robust_dead): Macro removed.
11201 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11202 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11203 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11204 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11205 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11206 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11207 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11208 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11209 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11210 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11211 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11212 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11213 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11214 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11215 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11217 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11218 Use atomic_compare_and_exchange_val_acq directly rather than
11219 lll_robust_trylock.
11220 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11221 (__lll_robust_trylock, lll_robust_trylock): Removed.
11222 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11223 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11224 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11225 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11226 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11227 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11228 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11229 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11230 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11231 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11232 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11233 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11234 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11235 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11237 2014-07-02 Florian Weimer <fweimer@redhat.com>
11239 * manual/locale.texi (Locale Names): New section documenting
11240 locale name syntax. Adjust menu and node chaining accordingly.
11241 (Choosing Locale): Reference Locale Names, Locale Categories.
11242 Mention setting LC_ALL=C. Reflect that name syntax is now
11244 (Locale Categories): New section title. Reference Locale Names.
11245 LC_ALL is an environment variable, but not a category.
11246 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11247 description, now in Locale Name. Reference that section. Locale
11248 name syntax is now documented.
11250 2014-07-02 Florian Weimer <fweimer@redhat.com>
11253 * locale/findlocale.c (name_present, valid_locale_name): New
11255 (_nl_find_locale): Use the loc_name variable to store name
11256 candidates. Call name_present and valid_locale_name to check and
11257 validate locale names. Return an error if the locale is invalid.
11259 2014-07-02 Florian Weimer <fweimer@redhat.com>
11261 * locale/setlocale.c (setlocale): Use strdup for allocating
11262 composite name copy.
11264 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11266 Sync up with gnulib.
11267 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11268 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11269 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11270 and _GL_ARG_NONNULL.
11271 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11272 [!_LIBC]: Include code for Windows and Cygwin.
11273 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11274 Include prototype for int strerror_r.
11275 [!_LIBC] (is_open): New function.
11276 (flush_stdout): New function.
11277 (print_errno_message): Use it.
11279 (error_at_line): Likewise.
11280 (error_tail) Add function attribute macros. Use
11283 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11285 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11287 * io/ftw.c: Include sys/param.h unconditionally.
11289 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11292 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11294 (freecache): New function to free CACHE on exit.
11296 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11299 2014-07-09 David S. Miller <davem@davemloft.net>
11301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11303 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11304 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11305 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11306 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11307 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11308 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11309 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11310 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11311 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11312 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11313 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11314 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11315 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11317 2014-07-09 Andreas Schwab <schwab@suse.de>
11319 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11321 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11322 (do_test): Likewise.
11324 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11326 2014-07-09 Will Newton <will.newton@linaro.org>
11328 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11329 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11330 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11331 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11332 * sysdeps/hppa/start.S (_start): Likewise.
11334 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11336 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11338 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11341 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11343 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11344 after checking that it is non-NULL.
11346 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11348 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11350 * sysdeps/powerpc/memmove.c: Remove file.
11351 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11352 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11353 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11354 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11355 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11356 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11357 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11358 string memmove instead of removed powerpc one.
11360 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11361 [weak_alias]: Fix compiler warning due trailing data.
11362 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11363 [weak_alias]: Likewise.
11364 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11365 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11368 (__libc_ifunc_impl_list): Add memmove functions.
11370 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11372 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11374 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11376 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11378 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11380 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11382 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11384 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11386 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11388 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11390 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11392 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11394 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11396 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11398 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11400 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11402 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11404 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11407 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11409 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11410 to avoid alignment traps in non-cacheable memory.
11411 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11415 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11416 file: multiarch power7 memmove.
11417 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11418 multiarch default memmove.
11419 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11420 multiarch memove for powerpc32/power4.
11422 * string/bcopy.c: Use full path to include memmove.c.
11423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11425 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11426 bcopy for powerpc64.
11427 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11428 bcopy for powerpc64.
11429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11430 and memmove implementations.
11431 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11432 optimized multiarch memmove for POWER7/powerpc64.
11433 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11434 default multiarch memmove for powerpc64.
11435 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11436 multiarch for powerpc64.
11437 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11438 for POWER7/powerpc64.
11439 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11440 memmove for POWER7/powerpc64.
11442 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11445 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11446 __ELF_NATIVE_CLASS equal to 64.
11448 2014-07-07 Roland McGrath <roland@hack.frob.com>
11450 * sysdeps/nptl/lowlevellock.h: File removed.
11452 * NEWS: NPTL is no longer an add-on!
11453 * nptl/internaltypes.h: Moved ...
11454 * sysdeps/nptl/internaltypes.h: ... here.
11455 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11456 * sysdeps/nptl/fork.c: Likewise.
11457 * sysdeps/nptl/gai_misc.h: Likewise.
11458 * sysdeps/nptl/librt-cancellation.c: Likewise.
11459 * sysdeps/nptl/jmp-unwind.c: Likewise.
11460 * sysdeps/nptl/setxid.h: Likewise.
11461 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11462 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11463 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11464 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11465 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11466 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11467 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11468 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11469 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11470 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11471 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11472 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11473 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11474 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11475 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11476 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11477 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11478 * nptl/Makeconfig: Moved ...
11479 * sysdeps/nptl/Makeconfig: ... here.
11480 * nptl/configure: File removed.
11481 * nptl/ANNOUNCE: File removed.
11482 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11483 * sysdeps/unix/sysv/linux/configure: Regenerated.
11485 * nptl/Makefile (routines): Add libc_pthread_init,
11486 libc_multiple_threads, register-atfork and unregister-atfork.
11487 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11488 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11489 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11490 pthread-pi-defines.sym, structsem.sym.
11491 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11492 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11493 [$(subdir) = nptl] (tests): Add tst-setgetname.
11494 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11495 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11496 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11497 [!LIBC_SIGACTION]: Remove aliases.
11498 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11499 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11500 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11501 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11502 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11503 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11504 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11505 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11506 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11507 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11508 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11509 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11510 __libc_allocate_rtsig_private.
11511 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11512 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11513 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11514 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11515 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11516 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11517 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11518 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11519 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11520 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11521 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11522 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11523 * nptl/internaltypes.h: ... here.
11524 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11525 * sysdeps/nptl/jmp-unwind.c: ... here.
11526 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11527 * nptl/libc-lowlevellock.c: ... here.
11528 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11529 * nptl/libc_multiple_threads.c: ... here.
11530 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11531 * nptl/libc_pthread_init.c: ... here.
11532 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11533 * nptl/lowlevelbarrier.sym: ... here.
11534 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11535 * nptl/lowlevelcond.sym: ... here.
11536 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11537 * nptl/lowlevellock.c: ... here.
11538 * nptl/lowlevellock.h: Moved ...
11539 * sysdeps/nptl/lowlevellock.h: ... here.
11540 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11541 * nptl/lowlevelrobustlock.c: ... here.
11542 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11543 * nptl/lowlevelrobustlock.sym: ... here.
11544 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11545 * nptl/lowlevelrwlock.sym: ... here.
11546 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11547 * nptl/pt-fork.c: ... here.
11548 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11549 * nptl/pthread-pi-defines.sym: ... here.
11550 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11551 * nptl/pthread_attr_getaffinity.c: ... here.
11552 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11553 * nptl/pthread_attr_setaffinity.c: ... here.
11554 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11555 * nptl/pthread_mutex_cond_lock.c: ... here.
11556 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11558 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11559 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11560 * nptl/pthread_once.c: ... here, replacing old file.
11561 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11562 * nptl/pthread_yield.c: ... here.
11563 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11564 * nptl/register-atfork.c: ... here.
11565 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11566 * nptl/sem_post.c: ... here.
11567 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11568 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11569 * nptl/sem_timedwait.c: ... here.
11570 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11571 * nptl/sem_trywait.c: ... here.
11572 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11573 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11574 * nptl/sem_wait.c: ... here.
11575 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11576 * nptl/structsem.sym: ... here.
11577 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11578 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11579 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11580 * nptl/unregister-atfork.c: ... here.
11581 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11582 * nptl/unwindbuf.sym: ... here.
11583 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11584 * sysdeps/nptl/fork.c: ... here.
11585 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11586 * sysdeps/nptl/fork.h: ... here.
11587 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11588 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11589 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11590 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11591 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11592 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11593 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11594 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11595 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11596 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11597 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11598 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11599 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11600 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11601 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11602 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11603 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11604 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11605 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11606 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11607 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11608 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11609 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11610 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11611 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11612 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11613 * sysdeps/unix/sysv/linux/raise.c: ... here.
11614 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11615 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11616 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11617 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11618 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11619 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11620 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11621 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11622 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11623 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11624 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11625 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11626 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11627 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11628 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11630 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11632 * sysdeps/generic/memcopy.h: Add comment for
11633 MEMCPY_OK_FOR_FWD_MEMMOVE.
11635 2014-07-04 Will Newton <will.newton@linaro.org>
11637 * string/memchr.c: Merge from gnulib.
11638 [_LIBC]: Remove conditionals.
11639 (__ptr_t): Remove define.
11640 (LONG_MAX_32_BITS): Likewise.
11641 (LONG_MAX): Likewise.
11642 (MEMCHR): Use ANSI prototype and optimize algorithm.
11644 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11646 2014-07-03 Roland McGrath <roland@hack.frob.com>
11648 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11649 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11651 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11652 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11653 in a bare environment with no <stdlib.h> installed.
11654 * sysdeps/nptl/configure: Regenerated.
11656 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11658 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11659 AC_EGREP_CPP for kernel header checks, so they only succeed if
11660 including <linux/version.h> actually works right.
11661 * sysdeps/unix/sysv/linux/configure: Regenerated.
11663 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11664 value so it's not diagnosed as unused.
11666 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11667 thing) with "ifeq ($(subdir),rt)".
11669 2014-07-03 Richard Henderson <rth@redhat.com>
11671 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11672 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11673 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11675 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11676 (math_force_eval): New.
11678 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11679 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11681 * sysdeps/alpha/fpu/s_round.c: Remove file.
11682 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11684 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11685 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11686 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11687 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11688 (_dl_start, print_statistics): Likewise.
11689 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11690 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11692 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11693 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11694 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11695 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11696 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11697 (HP_SMALL_TIMING_AVAIL): Define.
11698 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11699 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11700 (HP_SMALL_TIMING_AVAIL): Define.
11701 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11702 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11704 * sysdeps/aarch64/hp-timing.h: New file.
11706 * sysdeps/generic/hp-timing.h: Remove dead comment.
11707 * sysdeps/generic/hp-timing-common.h: New file.
11708 * sysdeps/alpha/hp-timing.h: Include it.
11709 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11710 * sysdeps/i386/i686/hp-timing.h: Likewise.
11711 * sysdeps/ia64/hp-timing.h: Likewise.
11712 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11713 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11714 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11715 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11716 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11717 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11718 (hp_timing_t): New.
11720 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11721 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11722 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11723 * elf/rtld.c (_dl_start_final): Likewise.
11724 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11725 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11726 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11727 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11728 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11729 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11730 (HP_TIMING_DIFF_INIT): Remove.
11731 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11732 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11733 (HP_TIMING_DIFF_INIT): Remove.
11734 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11735 * sysdeps/i386/i686/hp-timing.c: Remove file.
11736 * sysdeps/x86_64/hp-timing.c: Remove file.
11737 * sysdeps/ia64/hp-timing.c: Remove file.
11738 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11739 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11740 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11741 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11743 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11744 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11745 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11746 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11747 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11748 (HP_TIMING_ACCUM): Remove.
11749 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11750 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11751 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11753 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11754 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11755 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11756 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11758 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11759 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11760 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11762 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11764 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11766 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11768 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11770 Sync up with gettext.
11771 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11772 [_MSC_VER]: Include malloc.h
11773 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11774 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11775 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11776 TEMP_FAILURE_RETRY. Cast return of alloca.
11777 [!_LIBC] Call gl_rwlock_init.
11778 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11780 2014-07-02 Roland McGrath <roland@hack.frob.com>
11782 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11783 before checking its value.
11785 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11787 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11789 * debug/memcpy_chk.c: Don't include pagecopy.h.
11790 * debug/mempcpy_chk.c: Likewise.
11791 * string/memcpy.c: Likewise.
11792 * string/memmove.c: Likewise.
11793 * sysdeps/powerpc/memmove.c: Likewise.
11794 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11795 definition of PAGE_COPY_FWD_MAYBE here...
11796 * sysdeps/generic/pagecopy.h: ... from here.
11797 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11799 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11800 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11802 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11806 (__libc_ifunc_impl_list): Likewise.
11807 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11808 multiarch strcat for PPC64.
11809 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11810 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11812 2014-07-02 Roland McGrath <roland@hack.frob.com>
11814 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11816 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11818 * intl/loadmsgcat.c: Remove declaration of
11819 get_sysdep_segment_value.
11820 (get_sysdep_segment_value): Use ISO C style.
11821 (_nl_load_domain): Use ISO C style. Get rid of redundant
11822 semicolon. Fix typo and formatting in comment.
11823 (_nl_unload_domain): Use ISO C style.
11825 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11827 2014-07-02 Will Newton <will.newton@linaro.org>
11829 * malloc/obstack.c: Merge from gnulib master.
11830 [HAVE_CONFIG_H]: Remove conditional code.
11831 [!_LIBC]: Include config.h.
11832 [!ELIDE_CODE]: Don't include inttypes.h, include
11833 stdint.h unconditionally.
11834 (print_and_abort): Mark as _Noreturn.
11835 (_obstack_allocated_p): Mark as __attribute_pure__.
11836 (obstack_free): Rename to __obstack_free.
11837 [!__attribute__]: Remove conditional code.
11838 * malloc/obstack.h: Merge from gnulib master.
11839 [__cplusplus]: Move conditional down.
11840 [!__attribute_pure__]: Define __attribute_pure__ here
11841 if it is not already defined.
11842 (_obstack_memory_used): Mark as __attribute_pure__.
11843 [!__obstack_free]: Define as obstack_free.
11844 [__GNUC__]: Remove check for ancient NeXT gcc.
11846 2014-07-02 Will Newton <will.newton@linaro.org>
11847 Paul Eggert <eggert@cs.ucla.edu>
11849 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11851 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11853 * resolv/gethnamaddr.c: Add comment warning that the file is
11856 2014-07-01 Carlos O'Donell <carlos@redhat.com>
11858 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11861 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11862 entry for aio_cancel and aio_cancel64.
11863 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11864 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11865 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11866 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11867 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11868 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11869 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11870 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11871 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11872 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11873 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11874 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11875 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11877 2014-07-01 Roland McGrath <roland@hack.frob.com>
11879 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11880 * nptl/pthread_mutex_lock.c: Likewise.
11881 * nptl/pthread_mutex_timedlock.c: Likewise.
11882 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11884 2014-07-01 Richard henderson <rth@redhat.com>
11886 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11887 (__isnan, __isnanl): Remove.
11888 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11890 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11892 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11894 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11896 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11898 * resolv/nss_dns/dns-host.c (getanswer_r)
11899 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11901 2014-07-01 Joseph Myers <joseph@codesourcery.com>
11903 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11904 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11906 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11907 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11909 2014-07-01 Roland McGrath <roland@hack.frob.com>
11911 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11912 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11914 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11915 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11917 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11918 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11920 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11921 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11923 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11924 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11925 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11926 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11928 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11929 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11930 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11931 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11932 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11934 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11936 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11937 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11938 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11939 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11940 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11941 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11942 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11943 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11944 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11945 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11946 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11947 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11948 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11949 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11950 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11951 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11952 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11953 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11954 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11955 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11957 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11958 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11959 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11960 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11961 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11962 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11963 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11964 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11966 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11968 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11969 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11970 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11973 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11977 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11979 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11980 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11982 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11984 * sysdeps/arm/libm-test-ulps: Regenerated.
11986 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11987 Roland McGrath <roland@hack.frob.com>
11989 * test-skeleton.c (signal_handler): Kill the whole process group
11990 before killing the child individually.
11991 (main): Report any failure on `setpgid'.
11993 2014-06-30 Roland McGrath <roland@hack.frob.com>
11995 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11996 from _TLS_H to _ARM_NPTL_TLS_H.
11997 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11998 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12000 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12003 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12004 (__expm1l): Return argument unchanged when small but not
12007 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12008 include macro name.
12009 (_FP_UNPACK_RAW_1_P): Likewise.
12010 (_FP_PACK_RAW_1): Likewise.
12011 (_FP_PACK_RAW_1_P): Likewise.
12012 (_FP_MUL_MEAT_1_wide): Likewise.
12013 (_FP_MUL_MEAT_DW_1_hard): Likewise.
12014 (_FP_MUL_MEAT_1_hard): Likewise.
12015 (_FP_DIV_MEAT_1_imm): Likewise.
12016 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12017 (_FP_DIV_MEAT_1_udiv): Likewise.
12018 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12019 (_FP_UNPACK_RAW_2): Likewise.
12020 (_FP_UNPACK_RAW_2_P): Likewise.
12021 (_FP_PACK_RAW_2): Likewise.
12022 (_FP_PACK_RAW_2_P): Likewise.
12023 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12024 (_FP_MUL_MEAT_2_wide): Likewise.
12025 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12026 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12027 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12028 (_FP_MUL_MEAT_2_gmp): Likewise.
12029 (_FP_DIV_MEAT_2_udiv): Likewise.
12030 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12031 (_FP_FRAC_SRL_4): Likewise.
12032 (_FP_FRAC_SRST_4): Likewise.
12033 (_FP_FRAC_SRS_4): Likewise.
12034 (_FP_UNPACK_RAW_4): Likewise.
12035 (_FP_UNPACK_RAW_4_P): Likewise.
12036 (_FP_PACK_RAW_4): Likewise.
12037 (_FP_PACK_RAW_4_P): Likewise.
12038 (_FP_MUL_MEAT_DW_4_wide): Likewise.
12039 (_FP_MUL_MEAT_4_wide): Likewise.
12040 (_FP_MUL_MEAT_4_gmp): Likewise.
12041 (umul_ppppmnnn): Likewise.
12042 (_FP_DIV_MEAT_4_udiv): Likewise.
12043 (__FP_FRAC_ADD_4): Likewise.
12044 (__FP_FRAC_SUB_3): Likewise.
12045 (__FP_FRAC_SUB_4): Likewise.
12046 (__FP_FRAC_DEC_3): Likewise.
12047 (__FP_FRAC_DEC_4): Likewise.
12048 (__FP_FRAC_ADDI_4): Likewise.
12049 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12050 (_FP_FRAC_SRL_8): Likewise.
12051 (_FP_FRAC_SRS_8): Likewise.
12053 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12054 include macro name.
12055 (FP_UNPACK_RAW_EP): Likewise.
12056 (FP_PACK_RAW_E): Likewise.
12057 (FP_PACK_RAW_EP): Likewise.
12058 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12059 (_FP_ISSIGNAN): Likewise.
12060 (_FP_ADD_INTERNAL): Likewise.
12061 (_FP_FMA): Likewise.
12062 (_FP_CMP): Likewise.
12063 (_FP_SQRT): Likewise.
12064 (_FP_TO_INT): Likewise.
12065 (_FP_FROM_INT): Likewise.
12066 (FP_EXTEND): Likewise.
12067 (_FP_DIV_MEAT_N_loop): Likewise.
12069 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12071 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12074 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12077 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12078 result with correct sign in case of exponents that produce
12079 overflow except for X very close to 1.
12081 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12083 mktime: merge #if/#ifdef usage from glibc
12084 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12085 as that works with both Glibc's and Gnulib's style.
12086 See thread starting at Siddhesh Poyarekar's bug report at:
12087 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12089 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12091 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12092 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12093 * sysdeps/tile/tilegx/memmove.c: Remove file.
12095 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12097 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12098 abi-name definition.
12099 * scripts/soversions.awk: Do not handle or generate ABI lines.
12100 * shlib-versions: Remove ABI entries.
12101 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12102 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12104 2014-06-27 Roland McGrath <roland@hack.frob.com>
12106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12107 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12108 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12109 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12111 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12114 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12117 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12118 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12119 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12120 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12121 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12122 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12123 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12125 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12127 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12130 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12132 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12134 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12135 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12137 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12138 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12140 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12142 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12145 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12146 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12147 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12149 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12150 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12151 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12154 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12155 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12156 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12157 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12159 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12160 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12162 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12163 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12164 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12165 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12167 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12170 Identical file removed.
12171 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12173 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12174 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12175 Identical file removed.
12176 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12177 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12178 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12180 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12181 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12182 Identical file removed.
12183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12184 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12186 Identical file removed.
12187 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12188 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12189 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12190 Identical file removed.
12191 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12192 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12193 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12194 Identical file removed.
12195 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12197 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12198 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12199 Identical file removed.
12200 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12202 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12203 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12204 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12205 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12206 Identical file removed.
12207 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12209 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12211 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12212 Identical file removed.
12213 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12215 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12216 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12217 Identical file removed.
12218 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12220 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12221 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12222 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12223 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12224 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12225 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12227 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12228 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12229 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12231 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12232 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12233 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12234 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12235 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12237 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12240 * nscd/nscd.c (monitor_child): Return exit status of child
12241 instead of return value from wait syscall.
12243 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12245 * configure.ac (libc_commonpagesize): Remove variable.
12246 (libc_relro_required): Likewise.
12247 (libc_cv_z_relro): Remove configure test.
12248 * configure: Regenerated.
12249 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12251 (libc_relro_required): Likewise.
12252 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12253 (libc_relro_required): Likewise.
12254 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12255 (libc_relro_required): Likewise.
12256 * sysdeps/arm/preconfigure: Regenerated.
12257 * sysdeps/ia64/preconfigure: Remove file.
12258 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12260 (libc_relro_required): Likewise.
12264 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12265 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12266 recompute overflowing results in original rounding mode.
12267 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12268 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12269 recompute overflowing results in original rounding mode.
12270 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12271 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12272 recompute overflowing results in original rounding mode.
12273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12274 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12275 recompute overflowing results in original rounding mode.
12276 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12277 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12278 recompute overflowing results in original rounding mode.
12279 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12280 (libc_feholdsetround_ctx): New macro.
12281 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12282 * sysdeps/i386/fpu/libm-test-ulps: Update.
12283 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12285 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12287 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12288 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12289 corresponding .cpsetup call.
12291 2014-06-26 Roland McGrath <roland@hack.frob.com>
12293 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12294 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12295 * sysdeps/arm/Makefile [$(subdir) = csu]
12296 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12297 (static-only-routines): Add aeabi_read_tp here.
12298 (shared-only-routines): Add libc-aeabi_read_tp here.
12299 (CFLAGS-libc-start.c): Add -fexceptions here.
12300 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12301 (sysdep_routines, static-only-routines, shared-only-routines):
12302 Don't add to these here.
12303 (CFLAGS-libc-start.c): Likewise.
12305 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12306 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12307 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12308 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12309 * sysdeps/arm/Makefile [$(subdir) = rt]
12310 (librt-sysdep_routines, librt-shared-only-routines):
12311 Append rt-aeabi_unwind_cpp_pr1 here.
12312 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12313 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12314 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12315 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12316 Append nptl-aeabi_unwind_cpp_pr1 here.
12317 (tests): Filter out tst-cleanupx4 here.
12318 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12319 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12320 Don't do those here.
12322 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12324 * scripts/list-sources.sh: Do not handle ports specially.
12326 2014-06-26 Roland McGrath <roland@hack.frob.com>
12328 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12329 * sysdeps/arm/feupdateenv.c: Likewise.
12331 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12333 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12335 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12336 trailing whitespace removed.
12337 * scripts/config.guess: Update to version 2014-03-23.
12338 * scripts/config.sub: Update to version 2014-05-01
12339 * scripts/install-sh: Update to version 2013-12-25.23.
12340 * scripts/move-if-change: Update from gnulib.
12342 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12344 * debug/memmove_chk.c: Remove pagecopy.h include.
12346 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12348 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12349 identical to gnulib mktime.
12351 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12353 * configure.ac: Do not test for machine being rs6000. Do not test
12354 for powerpc*-*soft.
12355 * configure: Regenerated.
12358 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12360 * configure: Regenerated.
12361 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12362 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12363 Remove configure test.
12364 * sysdeps/arm/configure: Regenerated.
12365 * sysdeps/nptl/configure.ac: Do not check
12366 libc_cv_asm_cfi_directives.
12367 * sysdeps/nptl/configure: Regenerated.
12368 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12369 * sysdeps/x86_64/nptl/configure: Remove generated file.
12370 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12372 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12374 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12376 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12377 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12378 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12381 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12382 instead of whether it is defined.
12383 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12384 * sysdeps/hppa/dl-machine.h: Likewise.
12385 * sysdeps/ia64/dl-machine.h: Likewise.
12386 * sysdeps/m68k/dl-machine.h: Likewise.
12387 * sysdeps/microblaze/dl-machine.h: Likewise.
12388 * sysdeps/mips/dl-machine.: Likewise.
12389 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12390 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12391 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12392 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12393 * sysdeps/sh/dl-machine.h: Likewise.
12394 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12395 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12396 * sysdeps/tile/dl-machine.h: Likewise.
12397 * sysdeps/x86_64/dl-machine.h: Likewise.
12399 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12401 (verify_persistent_db): Likewise.
12403 2014-06-26 Roland McGrath <roland@hack.frob.com>
12405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12406 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12408 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12411 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12414 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12416 Identical file removed.
12417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12418 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12420 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12422 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12424 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12426 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12429 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12431 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12433 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12436 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12438 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12440 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12442 Identical file removed.
12443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12444 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12446 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12449 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12452 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12454 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12456 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12458 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12460 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12463 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12466 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12468 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12471 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12473 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12475 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12477 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12478 * sysdeps/unix/sysv/linux/s390/Versions
12479 (libpthread: GLIBC_2.19): New version set.
12480 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12481 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12482 (librt: GLIBC_2.3.3): New version set.
12483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12484 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12485 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12486 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12487 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12489 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12490 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12491 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12492 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12493 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12494 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12495 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12496 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12497 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12499 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12500 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12501 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12503 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12504 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12505 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12506 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12507 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12508 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12509 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12511 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12512 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12513 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12519 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12521 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12523 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12524 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12525 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12527 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12529 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12530 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12531 (__libc_vfork): Define the function under this name.
12532 [!NOT_IN_libc] (__vfork): Make this an alias.
12533 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12535 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12536 (__libc_vfork): Define the function under this name.
12537 [!NOT_IN_libc] (__vfork): Make this an alias.
12538 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12539 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12540 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12542 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12543 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12545 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12546 code that was previously under [RESET_PID].
12547 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12548 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12549 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12551 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12552 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12553 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12554 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12555 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12556 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12557 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12558 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12559 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12560 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12561 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12563 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12564 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12565 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12566 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12567 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12568 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12569 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12570 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12571 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12572 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12573 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12574 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12575 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12576 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12577 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12578 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12579 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12580 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12581 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12582 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12583 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12584 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12585 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12586 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12587 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12588 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12589 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12591 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12593 2014-06-25 Roland McGrath <roland@hack.frob.com>
12595 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12596 that was previously under [RESET_PID].
12597 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12599 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12601 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12602 not undefine and redefine.
12603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12604 [O_CLOEXEC]: Make code unconditional.
12605 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12606 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12607 <kernel-features.h>.
12608 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12609 conditional variable definition.
12610 (shm_open) [O_CLOEXEC]: Make code unconditional.
12611 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12614 * configure.ac (USE_REGPARMS): Don't define here.
12615 * configure: Regenerated.
12616 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12617 * sysdeps/i386/configure: Regenerated.
12619 * nptl/createthread.c: Don't include kernel-features.h.
12620 * nptl/pthread_cancel.c: Likewise.
12621 * nptl/pthread_condattr_setclock.c: Likewise.
12622 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12623 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12624 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12625 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12626 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12627 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12628 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12629 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12630 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12631 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12632 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12633 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12634 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12635 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12636 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12637 * nscd/gai.c: Likewise.
12638 * nss/nss_db/db-open.c: Likewise.
12639 * sysdeps/generic/ldsodefs.h: Likewise.
12640 * sysdeps/sh/nptl/tls.h: Likewise.
12641 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12642 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12643 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12644 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12645 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12646 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12647 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12648 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12649 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12650 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12651 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12652 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12653 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12654 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12655 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12656 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12657 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12658 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12659 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12660 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12661 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12662 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12663 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12664 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12665 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12666 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12667 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12668 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12669 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12670 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12671 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12672 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12673 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12674 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12675 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12676 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12677 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12678 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12679 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12680 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12681 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12682 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12683 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12684 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12685 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12686 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12687 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12688 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12689 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12690 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12691 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12692 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12693 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12694 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12695 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12696 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12698 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12721 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12722 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12723 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12724 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12725 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12726 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12727 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12728 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12729 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12730 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12731 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12732 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12733 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12734 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12735 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12736 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12738 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12739 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12740 * sysdeps/unix/sysv/linux/system.c: Likewise.
12741 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12742 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12743 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12744 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12745 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12746 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12747 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12749 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12750 * configure: Regenerated.
12751 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12753 * configure.ac (base_machine): Do not set specially for particular
12755 * configure: Regenerated.
12756 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12757 settings from configure.ac.
12758 * sysdeps/i386/preconfigure: New file.
12759 * sysdeps/s390/preconfigure: Likewise.
12760 * sysdeps/sh/preconfigure: Likewise.
12761 * sysdeps/sparc/preconfigure: Likewise.
12763 2014-06-25 Roland McGrath <roland@hack.frob.com>
12765 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12766 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12767 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12768 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12769 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12770 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12771 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12772 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12773 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12774 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12775 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12776 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12777 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12778 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12779 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12780 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12781 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12782 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12783 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12785 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12786 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12787 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12788 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12789 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12790 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12791 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12792 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12793 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12794 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12795 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12796 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12797 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12798 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12799 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12800 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12801 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12802 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12803 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12804 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12805 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12806 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12807 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12808 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12809 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12810 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12811 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12812 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12813 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12814 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12815 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12816 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12817 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12818 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12819 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12820 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12821 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12822 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12825 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12827 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12830 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12833 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12835 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12838 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12840 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12842 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12844 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12847 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12850 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12852 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12855 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12857 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12859 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12861 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12863 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12866 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12869 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12871 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12874 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12876 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12878 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12880 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12883 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12886 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12891 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12893 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12895 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12897 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12899 * timezone/checktab.awk: Update from tzcode 2014e.
12900 * timezone/private.h: Likewise.
12901 * timezone/tzfile.h: Likewise.
12902 * timezone/zdump.c: Likewise.
12903 * timezone/zic.c: Likewise.
12905 * sysdeps/unix/sysv/linux/kernel-features.h
12906 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12908 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12909 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12910 Remove conditional code.
12912 2014-06-25 Will Newton <will.newton@linaro.org>
12914 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12915 (_dl_arm_cap_flags): Add HWCAP2 values.
12916 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12917 (_DL_HWCAP_COUNT): Increase to 37.
12918 (_DL_HWCAP_LAST): New define.
12919 (_DL_HWCAP2_LAST): New define.
12920 (_dl_procinfo): Add support for printing
12922 (_dl_string_hwcap): Use _dl_hwcap_string.
12924 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12928 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12930 * README: Do not mention ports directory.
12932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12934 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12935 <kernel-features.h>.
12936 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12937 conditional variable definition.
12938 (__futimes): Update comment.
12939 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12940 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12943 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12944 arguments close to 0.
12945 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12947 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12949 * math/auto-libm-test-in: Add more tests of exp10.
12950 * math/auto-libm-test-out: Regenerated.
12951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12953 * sysdeps/unix/sysv/linux/kernel-features.h
12954 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12955 * sysdeps/unix/sysv/linux/readv.c: Do not include
12956 <kernel-features.h>.
12957 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12958 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12959 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12961 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12963 * sysdeps/unix/sysv/linux/writev.c: Do not include
12964 <kernel-features.h>.
12965 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12966 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12967 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12969 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12972 2014-06-25 Will Newton <will.newton@linaro.org>
12974 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12975 comment changes throughout the file. Remove checks
12976 for HAVE_*_H definitions that are not required.
12977 (__gen_tempname): Call abort if an unknown kind value is
12980 2014-06-25 Andreas Schwab <schwab@suse.de>
12983 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12984 scalbln, scalblnf, scalblnl in libc.
12986 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12989 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12990 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12991 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12993 2014-06-24 Roland McGrath <roland@hack.frob.com>
12995 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12996 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12997 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12998 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13000 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13001 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13003 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13004 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13005 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13006 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13007 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13008 * sysdeps/x86/bits/pthreadtypes.h: ... here.
13009 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13010 * sysdeps/x86/bits/semaphore.h: ... here.
13011 * sysdeps/x86/nptl/elide.h: Moved ...
13012 * sysdeps/x86/elide.h: ... here.
13013 * sysdeps/x86_64/nptl/Implies: File removed.
13014 * sysdeps/i386/nptl/Implies: File removed.
13016 2014-06-24 Joseph Myers <joseph@codesourcery.com>
13019 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13020 return the argument for normal arguments with exponent below -64.
13021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13023 * math/auto-libm-test-in: Add another test of expm1.
13024 * math/auto-libm-test-out: Regenerated.
13027 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13028 calling __erfcl for arguments at least 16.
13029 * math/auto-libm-test-in: Add more tests of erf.
13030 * math/auto-libm-test-out: Regenerated.
13032 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13033 individual architectures.
13034 * sysdeps/unix/sysv/linux/configure: Regenerated.
13035 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13036 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13037 * sysdeps/unix/sysv/linux/powerpc/configure.ac
13038 (ldd_rewrite_script): Define variable.
13039 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13044 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13045 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13046 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13047 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13048 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13049 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13050 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13051 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13053 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13056 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13057 Rename member __data.d to __data.__elision_data.
13059 2014-06-24 Wilco <wdijkstr@arm.com>
13061 * NEWS: Add 16918 to fixed bug list.
13063 2014-06-24 Wilco <wdijkstr@arm.com>
13065 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13067 2014-06-24 Wilco <wdijkstr@arm.com>
13069 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13070 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13071 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13072 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13073 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13074 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13075 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13078 2014-06-24 Wilco <wdijkstr@arm.com>
13080 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13082 2014-06-24 Wilco <wdijkstr@arm.com>
13084 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13085 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13086 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13087 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13089 2014-06-24 Wilco <wdijkstr@arm.com>
13092 * sysdeps/arm/feupdateenv.c (feupdateenv):
13093 Rewrite to reduce FPSCR accesses and fix return value.
13095 2014-06-24 Wilco <wdijkstr@arm.com>
13097 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13098 Optimize to avoid unnecessary FPSCR writes.
13099 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13100 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13101 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13102 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13104 2014-06-24 Wilco <wdijkstr@arm.com>
13106 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13107 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13108 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13109 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13110 Call libc_fetestexcept_vfp.
13111 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13112 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13113 __SOFTFP__ ifdef so that they can be built for softfp.
13115 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13117 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13118 argument type signed char.
13120 * Makerules (check-abi): Dump diff of symlist if the test
13123 2014-06-23 Roland McGrath <roland@hack.frob.com>
13125 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13128 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13129 Remove unused variable ST.
13131 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13135 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13136 small arguments before calling __expm1.
13137 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13138 small arguments before calling __expm1f.
13139 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13140 small arguments before calling __expm1l.
13141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13143 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13144 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13145 spurious underflow for some cosh tests.
13146 * math/auto-libm-test-out: Regenerated.
13147 * sysdeps/i386/fpu/libm-test-ulps: Update.
13150 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13151 (__ieee754_y1): Set errno if return value overflows.
13152 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13153 (__ieee754_y1f): Set errno if return value overflows.
13154 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13155 (__ieee754_y1l): Set errno if return value overflows.
13156 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13157 (__ieee754_y1l): Set errno if return value overflows.
13158 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13159 * math/auto-libm-test-out: Regenerated.
13161 * math/gen-auto-libm-tests.c: Document use of
13162 ignore-zero-inf-sign.
13163 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13164 (input_flags): Add ignore-zero-inf-sign.
13165 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13166 * math/gen-libm-test.pl (generate_testfile): Handle
13167 ignore-zero-inf-sign.
13168 * math/auto-libm-test-in: Mark some cpow tests with
13169 ignore-zero-inf-sign and some with xfail-rounding.
13170 * math/auto-libm-test-out: Regenerated.
13171 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13172 * sysdeps/i386/fpu/libm-test-ulps: Update.
13173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13176 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13177 overflowing or underflowing operations take place with sign of
13179 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13180 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13181 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13182 (__ieee754_pow): Recompute overflowing and underflowing results in
13183 original rounding mode.
13184 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13185 (__powl_helper): Allow negative argument X and scale negated value
13186 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13187 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13188 overflowing or underflowing operations take place with sign of
13190 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13192 * math/auto-libm-test-in: Add more tests of pow.
13193 * math/auto-libm-test-out: Regenerated.
13194 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13195 (pow_tonearest_test_data): Remove.
13196 (pow_test_tonearest): Likewise.
13197 (pow_towardzero_test_data): Likewise.
13198 (pow_test_towardzero): Likewise.
13199 (pow_downward_test_data): Likewise.
13200 (pow_test_downward): Likewise.
13201 (pow_upward_test_data): Likewise.
13202 (pow_test_upward): Likewise.
13203 (main): Don't call removed functions.
13204 * sysdeps/i386/fpu/libm-test-ulps: Update.
13205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13207 2014-06-23 Roland McGrath <roland@hack.frob.com>
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13383 2014-06-23 Will Newton <will.newton@linaro.org>
13384 Wilco <wdijkstr@arm.com>
13386 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13387 implementation. Include get-rounding-mode.h.
13388 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13389 [!libc_feholdsetround_noex_ctx]: Define
13390 libc_feholdsetround_noex_ctx.
13391 [!libc_feholdsetround_noexf_ctx]: Define
13392 libc_feholdsetround_noexf_ctx.
13393 [!libc_feholdsetround_noexl_ctx]: Define
13394 libc_feholdsetround_noexl_ctx.
13395 (libc_feholdsetround_ctx): New function.
13396 (libc_feresetround_ctx): New function.
13397 (libc_feholdsetround_noex_ctx): New function.
13398 (libc_feresetround_noex_ctx): New function.
13400 2014-06-23 Roland McGrath <roland@hack.frob.com>
13402 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13403 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13404 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13405 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13406 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13407 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13409 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13410 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13411 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13412 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13413 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13414 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13415 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13416 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13417 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13418 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13419 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13421 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13424 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13425 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13426 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13429 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13430 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13431 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13432 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13433 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13434 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13435 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13436 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13438 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13439 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13441 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13442 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13443 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13444 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13446 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13447 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13448 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13449 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13450 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13451 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13452 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13453 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13454 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13455 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13457 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13459 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13460 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13461 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13462 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13463 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13464 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13465 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13466 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13467 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13468 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13469 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13470 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13471 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13473 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13474 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13475 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13476 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13477 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13478 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13480 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13481 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13482 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13483 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13484 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13486 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13487 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13488 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13489 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13490 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13491 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13492 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13493 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13495 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13496 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13497 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13498 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13499 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13500 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13501 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13502 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13503 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13504 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13505 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13506 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13507 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13508 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13509 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13510 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13511 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13512 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13513 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13515 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13517 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13518 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13519 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13520 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13521 (IPV6_PMTUDISC_INTERFACE): Likewise.
13522 (IPV6_PMTUDISC_OMIT): Likewise.
13524 2014-06-23 Andreas Schwab <schwab@suse.de>
13526 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13527 Remove unused errout label.
13529 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13531 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13532 macro: hardware supports Vector Crypto instructions.
13534 2014-06-23 Will Newton <will.newton@linaro.org>
13536 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13537 rather than __builtin_expect.
13539 * elf/dl-lookup.c (undefined_msg): Remove variable.
13540 (_dl_lookup_symbol_x): Replace undefined_msg with string
13543 * elf/dl-lookup.c (do_lookup_unique): New function.
13544 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13545 to a separate function.
13547 2014-06-23 Andreas Schwab <schwab@suse.de>
13550 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13551 before reading the next line.
13553 2014-06-23 Will Newton <will.newton@linaro.org>
13555 * test-skeleton.c (signal_handler): Use printf and %m
13556 rather than perror. Use printf rather than fprintf to
13557 stderr. Use puts rather than fputs to stderr.
13560 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13562 * nscd/nscd.c (thread_info_t): Remove typedef.
13563 (thread_info): Remove variable.
13565 2014-06-21 Allan McRae <allan@archlinux.org>
13567 * NEWS: Mention CVE-2014-4043.
13569 2014-06-20 Roland McGrath <roland@hack.frob.com>
13571 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13572 * nptl/smp.h: ... here.
13574 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13576 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13577 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13578 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13579 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13581 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13582 * nptl/stack-aliasing.h: New file.
13583 * sysdeps/i386/i686/stack-aliasing.h: New file.
13584 * sysdeps/i386/i686/nptl/Makefile: File removed.
13585 * sysdeps/x86_64/stack-aliasing.h: New file.
13586 * sysdeps/x86_64/nptl/Makefile
13587 (CFLAGS-pthread_create.c): Variable removed.
13589 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13590 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13592 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13593 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13596 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13598 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13599 (__ASSUME_SIGFRAME_V2): Remove macro.
13600 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13601 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13602 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13603 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13604 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13605 Declare as function. Remove conditional macro definitions.
13606 (__default_rt_sa_restorer): Likewise.
13607 (__default_sa_restorer_v1): Remove declaration.
13608 (__default_sa_restorer_v2): Likewise.
13609 (__default_rt_sa_restorer_v1): Likewise.
13610 (__default_rt_sa_restorer_v2): Likewise.
13611 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13612 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13613 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13615 2014-06-20 Roland McGrath <roland@hack.frob.com>
13617 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13618 (libpthread-routines): Add sysdep.
13619 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13620 * sysdeps/unix/sysv/linux/sparc/Versions
13621 (libpthread: GLIBC_2.3.3): New version set.
13622 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13623 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13624 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13625 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13626 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13627 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13629 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13630 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13631 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13632 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13633 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13634 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13635 * sysdeps/sparc/nptl/sem_init.c: ... here.
13636 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13637 * sysdeps/sparc/nptl/sem_post.c: ... here.
13638 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13639 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13640 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13641 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13642 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13643 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13644 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13645 (libpthread-routines): Add cpu_relax.
13646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13648 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13649 (librt: GLIBC_2.3.3): New version set.
13650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13651 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13652 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13653 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13656 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13659 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13661 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13663 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13665 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13666 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13667 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13670 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13674 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13678 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13682 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13686 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13690 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13693 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13699 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13701 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13704 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13706 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13708 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13710 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13712 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13713 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13714 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13715 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13716 * nscd/nscd.c: Likewise.
13717 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13718 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13719 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13720 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13722 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13723 <kernel-features.h>.
13724 (init_mq_netlink): Remove conditional have_sock_cloexec
13725 definitions. Remove code conditional on have_sock_cloexec < 0.
13726 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13727 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13728 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13729 <kernel-features.h>.
13730 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13731 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13733 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13736 Add tests for memset_chk and memset.
13738 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13741 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13744 * elf/tst-dl-iter-static.c: New file.
13745 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13747 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13750 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13752 * sysdeps/unix/sysv/linux/kernel-features.h
13753 (__ASSUME_F_GETOWN_EX): Remove macro.
13754 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13755 <kernel-features.h>.
13756 (miss_F_GETOWN_EX): Remove variable or macro.
13757 (do_fcntl): Do not check miss_F_GETOWN_EX.
13758 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13760 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13763 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13764 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13766 * sysdeps/unix/sysv/linux/kernel-features.h
13767 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13768 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13769 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13770 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13772 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13775 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13776 Fix calculation of the symbol's value.
13777 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13778 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13779 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13780 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13781 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13782 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13783 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13784 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13785 (modules-names): Add `tst-armtlsdescmod',
13786 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13787 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13788 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13789 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13790 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13791 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13792 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13793 ($(objpfx)tst-armtlsdescloc): New dependency.
13794 ($(objpfx)tst-armtlsdescextnow): Likewise.
13795 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13796 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13797 TLS scheme support.
13798 * sysdeps/arm/configure: Regenerate.
13800 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13802 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13803 (__atfct_seterrno_2): Likewise.
13804 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13805 <kernel-features.h>.
13806 (__ASSUME_ATFCTS): Do not undefine and redefine.
13807 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13808 (__have_atfcts): Remove conditional definition.
13809 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13810 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13811 unreachable if [__ASSUME_ATFCTS].
13812 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13813 not undefine and redefine.
13814 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13815 <kernel-features.h>.
13816 (faccessat) [__NR_faccessat]: Make code unconditional.
13817 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13818 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13819 <kernel-features.h>.
13820 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13821 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13822 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13823 <kernel-features.h>.
13824 (fchownat) [__NR_fchownat]: Make code unconditional.
13825 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13826 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13827 <kernel-features.h>.
13828 (futimesat) [__NR_futimesat]: Make code unconditional.
13829 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13830 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13831 <kernel-features.h>.
13832 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13833 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13834 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13835 <kernel-features.h>.
13836 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13837 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13838 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13839 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13840 <kernel-features.h>.
13841 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13842 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13843 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13844 <kernel-features.h>.
13845 (linkat) [__NR_linkat]: Make code unconditional.
13846 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13847 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13848 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13849 <kernel-features.h>.
13850 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13851 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13852 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13853 <kernel-features.h>.
13854 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13855 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13856 * sysdeps/unix/sysv/linux/openat.c: Do not include
13857 <kernel-features.h>.
13858 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13859 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13860 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13861 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13862 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13863 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13864 <kernel-features.h>.
13865 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13866 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13867 result of INLINE_SYSCALL directly, not via int variable.
13868 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13869 <kernel-features.h>.
13870 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13871 (renameat) [__NR_renameat]: Make code unconditional.
13872 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13873 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13874 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13875 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13876 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13877 (__ASSUME_ATFCTS): Do not undefine and redefine.
13878 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13879 <kernel-features.h>.
13880 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13881 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13882 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13883 <kernel-features.h>.
13884 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13885 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13886 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13887 (__ASSUME_ATFCTS): Do not undefine and redefine.
13888 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13889 <kernel-features.h>.
13890 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13891 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13892 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13893 <kernel-features.h>.
13894 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13895 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13897 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13899 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13901 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13904 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13905 constructed tree before returning error.
13906 * posix/bug-regexp36.c: Expand test case.
13908 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13911 * math/libm-test.inc (scalbln_test_date):
13912 Add errno expectations.
13913 * math/w_scalblnf.c: New File.
13914 Add wrapper which checks for setting errno to ERANGE.
13915 Add weak_alias for corresponding scalbln function.
13916 * math/w_scalbln.c: Likewise.
13917 * math/w_scalblnl.c: Likewise.
13918 * math/Makefile (libm-calls): Add w_scalbln.
13919 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13920 Remove weak_alias for corresponding scalbln function.
13921 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13923 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13925 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13926 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13927 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13928 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13929 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13930 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13931 Remove long_double_symbol for scalblnl function in libm, libc.
13932 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13933 Add wrapper which checks for setting errno to ERANGE.
13934 Add long_double_symbol for scalblnl function in libm, libc.
13935 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13936 Remove long_double_symbol for scalblnl in libm.
13937 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13938 Add wrapper which checks for setting errno to ERANGE.
13939 Add long_double_symbol for scalblnl function in libm.
13940 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13941 Do not use wrapper because of own implementation.
13943 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13945 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13946 3 bytes for __pad1 for x32.
13947 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13949 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13950 H.J. Lu <hongjiu.lu@intel.com>
13952 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13953 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13954 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13955 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13956 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13958 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13961 * posix/regcomp.c (parse_expression): Deallocate partially
13962 constructed tree before returning error.
13963 * posix/Makefile.c (tests): Add bug-regex36.
13964 (generated): Add bug-regex36.mtrace.
13965 (tests-special): Add $(objpfx)bug-regex36-mem.out
13966 (bug-regex36-ENV): New variable.
13967 ($(objpfx)bug-regex36-mem.out): New rule.
13968 * posix/bug-regex36.c: New file.
13970 2014-06-19 Will Newton <will.newton@linaro.org>
13972 * malloc/malloc.c (systrim): If extra is zero then return
13975 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13977 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13979 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
13981 * sysdeps/aarch64/strchr.S: New file.
13983 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13986 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13987 from arguments -2 or below.
13988 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13989 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13991 2014-06-18 Andreas Schwab <schwab@suse.de>
13994 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13995 of a bracket expr not to run off the end of the string.
13996 * posix/Makefile (tests): Add tst-fnmatch3.
13997 * posix/tst-fnmatch3.c: New file.
13999 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14001 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14002 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14003 [$(cross-compiling) = no]: Likewise.
14004 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14005 [$(cross-compiling) = no]: Likewise.
14007 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14010 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14011 double, adjusted for any remainder from the high double.
14012 * math/libm-test.inc (nearbyint): Add tests.
14015 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14017 * nptl/sysdeps/powerpc/Makefile: Moved ...
14018 * sysdeps/powerpc/nptl/Makefile: ... here.
14019 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14020 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14021 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14022 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14023 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14024 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14025 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14026 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14027 * nptl/sysdeps/powerpc/tls.h: Moved ...
14028 * sysdeps/powerpc/nptl/tls.h: ... here.
14030 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14033 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14034 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14035 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14036 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14037 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14038 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14039 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14040 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14041 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14043 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
14045 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14047 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
14049 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14052 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14055 2014-06-16 Florian Weimer <fweimer@redhat.com>
14058 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14059 non-executed part of the test.
14061 2014-06-16 Andreas Schwab <schwab@suse.de>
14063 * string/bits/string2.h (strdup, strndup): Update feature guard.
14065 2014-06-14 David S. Miller <davem@davemloft.net>
14067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14069 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14071 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14072 that was previously under [RESET_PID].
14073 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14075 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14076 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14077 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14078 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14079 (__libc_vfork): New strong alias.
14080 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14082 2014-06-14 Andi Kleen <ak@linux.intel.com>
14084 * sysdeps/generic/elide.h: New file.
14086 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14088 * Makefile (installed-headers): Adjust path of pthread.h header.
14090 2014-06-13 Roland McGrath <roland@hack.frob.com>
14092 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14093 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14094 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14095 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14097 * nptl/sysdeps/s390/Makefile: Moved ...
14098 * sysdeps/s390/nptl/Makefile: ... here.
14099 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14100 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14101 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14102 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14103 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14104 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14105 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14106 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14107 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14108 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14109 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14110 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14111 * nptl/sysdeps/s390/tls.h: Moved ...
14112 * sysdeps/s390/nptl/tls.h: ... here.
14114 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14115 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14117 2014-06-13 David S. Miller <davem@davemloft.net>
14119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14122 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14126 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14127 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14128 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14129 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14130 Remove RESET_PID cpp guards.
14131 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14132 Remove RESET_PID cpp guards.
14133 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14135 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14137 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14140 2014-06-13 Andi Kleen <ak@linux.intel.com>
14142 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14143 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14144 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14145 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14146 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14147 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14148 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14149 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14150 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14151 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14152 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14153 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14154 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14155 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14156 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14157 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14158 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14159 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14160 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14161 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14163 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14164 (pthread_rwlock_rdlock): Add elision.
14165 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14166 (pthread_rwlock_wrlock): Add elision.
14167 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14168 (pthread_rwlock_trywrlock): Add elision.
14169 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14170 (pthread_rwlock_tryrdlock): Add elision.
14171 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14172 (pthread_rwlock_tryrdlock): Add elision unlock.
14173 * nptl/sysdeps/pthread/pthread.h:
14174 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14175 (PTHREAD_RWLOCK_INITIALIZER,
14176 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14177 Handle new elision field.
14178 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14179 * sysdeps/arm/nptl/bits/pthreadtypes.h
14180 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14181 * sysdeps/sh/nptl/bits/pthreadtypes.h
14182 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14183 * sysdeps/tile/nptl/bits/pthreadtypes.h
14184 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14185 * sysdeps/a/nptl/bits/pthreadtypes.h
14186 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14187 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14188 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14189 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14190 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14191 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14192 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14193 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14194 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14195 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14196 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14197 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14198 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14199 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14201 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14203 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14204 (elision_init): Set try_xbegin to zero when no RTM.
14205 * sysdeps/x86/nptl/bits/pthreadtypes.h
14206 (pthread_rwlock_t): Change __pad1 to __rwelision.
14207 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14209 2014-06-13 Andi Kleen <ak@linux.intel.com>
14211 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14212 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14213 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14214 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14216 2014-06-13 Meador Inge <meadori@codesourcery.com>
14219 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14220 that the cached result has been set before returning it.
14222 2014-06-12 Roland McGrath <roland@hack.frob.com>
14224 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14225 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14226 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14227 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14228 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14229 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14231 * nptl/sysdeps/sparc/Makefile: Moved ...
14232 * sysdeps/sparc/nptl/Makefile: ... here.
14233 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14234 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14235 * nptl/sysdeps/sparc/tls.h: Moved ...
14236 * sysdeps/sparc/nptl/tls.h: ... here.
14237 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14238 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14239 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14240 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14241 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14242 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14243 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14244 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14245 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14246 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14247 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14248 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14249 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14250 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14251 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14252 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14253 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14254 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14256 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14257 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14259 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14260 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14262 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14263 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14266 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14268 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14269 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14271 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14272 (struct list_links): Type removed.
14273 (struct thread_node, struct timer_node): Replace struct list_links
14274 with struct list_head.
14275 (list_unlink_ip): Likewise.
14276 * sysdeps/pthread/timer_routines.c
14277 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14278 (list_append, list_insbefore): Likewise.
14279 (list_init): Function removed.
14280 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14281 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14282 * sysdeps/pthread/Makefile: ... here, new file.
14284 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14285 * sysdeps/nptl/Implies: ... here.
14286 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14287 * nptl/sysdeps/pthread/list.h: Moved ...
14288 * include/list.h: ... here.
14289 * nptl/sysdeps/pthread/createthread.c: Moved ...
14290 * nptl/createthread.c: ... here.
14291 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14292 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14293 * nptl/pt-longjmp.c: ... here.
14294 * nptl/sysdeps/pthread/Makefile: Moved ...
14295 * sysdeps/nptl/Makefile: ... here.
14296 * nptl/sysdeps/pthread/Subdirs: Moved ...
14297 * sysdeps/nptl/Subdirs: ... here.
14298 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14299 * sysdeps/nptl/aio_misc.h: ... here.
14300 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14301 * sysdeps/nptl/bits/libc-lock.h: ... here.
14302 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14303 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14304 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14305 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14306 * nptl/sysdeps/pthread/configure: Moved ...
14307 * sysdeps/nptl/configure: ... here.
14308 * nptl/sysdeps/pthread/configure.ac: Moved ...
14309 * sysdeps/nptl/configure.ac: ... here.
14310 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14311 * sysdeps/nptl/gai_misc.h: ... here.
14312 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14313 * sysdeps/nptl/librt-cancellation.c: ... here.
14314 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14315 * sysdeps/nptl/malloc-machine.h: ... here.
14316 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14317 * sysdeps/nptl/pthread-functions.h: ... here.
14318 * nptl/sysdeps/pthread/pthread.h: Moved ...
14319 * sysdeps/nptl/pthread.h: ... here.
14320 * nptl/sysdeps/pthread/setxid.h: Moved ...
14321 * sysdeps/nptl/setxid.h: ... here.
14322 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14323 * sysdeps/nptl/sigfillset.c: ... here.
14324 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14325 * sysdeps/nptl/tcb-offsets.h: ... here.
14326 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14327 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14328 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14329 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14330 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14331 * sysdeps/pthread/allocalim.h: ... here.
14332 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14333 * sysdeps/pthread/bits/sigthread.h: ... here.
14334 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14335 * sysdeps/pthread/flockfile.c: ... here.
14336 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14337 * sysdeps/pthread/ftrylockfile.c: ... here.
14338 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14339 * sysdeps/pthread/funlockfile.c: ... here.
14340 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14341 * sysdeps/pthread/posix-timer.h: ... here.
14342 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14343 * sysdeps/pthread/timer_create.c: ... here.
14344 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14345 * sysdeps/pthread/timer_delete.c: ... here.
14346 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14347 * sysdeps/pthread/timer_getoverr.c: ... here.
14348 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14349 * sysdeps/pthread/timer_gettime.c: ... here.
14350 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14351 * sysdeps/pthread/timer_routines.c: ... here.
14352 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14353 * sysdeps/pthread/timer_settime.c: ... here.
14354 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14355 * sysdeps/pthread/tst-timer.c: ... here.
14356 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14357 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14359 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14360 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14362 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14363 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14364 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14365 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14366 Update #include target.
14367 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14368 * sysdeps/i386/i686/nptl/Makefile: ... here.
14369 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14370 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14371 Update #include target.
14372 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14373 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14374 * nptl/sysdeps/i386/Makefile: Moved ...
14375 * sysdeps/i386/nptl/Makefile: ... here.
14376 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14377 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14378 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14379 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14380 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14381 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14382 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14383 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14384 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14385 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14386 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14387 * nptl/sysdeps/i386/tls.h: Moved ...
14388 * sysdeps/i386/nptl/tls.h: ... here.
14390 * sysdeps/sh/Makefile [$(subdir) = csu]
14391 (gen-as-const-headers): Add tcb-offsets.sym.
14392 * nptl/sysdeps/sh/Makefile: File removed.
14393 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14394 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14395 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14396 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14397 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14398 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14399 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14400 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14401 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14402 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14403 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14404 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14405 * nptl/sysdeps/sh/tls.h: Moved ...
14406 * sysdeps/sh/nptl/tls.h: ... here.
14407 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14408 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14409 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14410 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14411 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14412 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14413 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14414 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14415 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14416 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14417 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14418 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14419 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14420 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14421 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14422 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14423 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14424 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14425 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14426 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14427 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14428 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14429 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14430 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14431 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14433 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14434 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14436 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14437 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14438 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14439 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14440 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14441 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14442 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14443 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14444 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14445 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14446 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14447 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14448 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14449 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14450 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14451 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14452 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14453 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14454 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14456 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14458 * posix/spawn_faction_addopen.c: Include string.h.
14460 2014-06-11 Roland McGrath <roland@hack.frob.com>
14462 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14463 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14464 * nptl/sysdeps/x86_64/Makefile: Moved ...
14465 * sysdeps/x86_64/nptl/Makefile: ... here.
14466 * nptl/sysdeps/x86_64/configure: Moved ...
14467 * sysdeps/x86_64/nptl/configure: ... here.
14468 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14469 * sysdeps/x86_64/nptl/configure.ac: ... here.
14470 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14471 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14472 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14473 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14474 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14475 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14476 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14477 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14478 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14479 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14480 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14481 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14482 * nptl/sysdeps/x86_64/tls.h: Moved ...
14483 * sysdeps/x86_64/nptl/tls.h: ... here.
14484 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14485 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14486 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14487 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14489 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14491 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14495 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14497 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14499 [POSIX] (off_t): Likewise.
14500 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14501 [POSIX] (S_ISBLK): Require macro.
14502 [POSIX] (S_ISCHR): Likewise.
14503 [POSIX] (S_ISDIR): Likewise.
14504 [POSIX] (S_ISFIFO): Likewise.
14505 [POSIX] (S_ISREG): Likewise.
14506 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14508 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14510 [POSIX] (time_t): Likewise.
14511 [POSIX] (timer_t): Likewise.
14513 2014-06-11 Florian Weimer <fweimer@redhat.com>
14516 * posix/spawn_int.h (struct __spawn_action): Make the path string
14517 non-const to support deallocation.
14518 * posix/spawn_faction_addopen.c
14519 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14520 * posix/spawn_faction_destroy.c
14521 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14522 path in all spawn_do_open actions.
14523 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14524 posix_spawn_file_actions_addopen.
14526 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14528 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14529 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14530 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14531 conditional code always true.
14532 (__libc_vfork): New alias.
14534 2014-06-11 Roland McGrath <roland@hack.frob.com>
14536 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14537 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14539 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14541 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14542 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14544 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14545 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14547 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14548 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14550 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14552 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14553 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14554 multiarch strcmp for PPC64.
14555 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14556 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14558 multiarch optimizations.
14559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14560 (__libc_ifunc_impl_list): Likewise.
14562 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14564 * benchtests/scripts/validate_benchout.py: New script.
14565 * benchtests/Makefile (bench-func): Call it.
14566 * benchtests/scripts/benchout.schema.json: New file.
14568 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14570 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14571 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14572 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14573 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14574 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14575 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14576 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14577 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14578 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14579 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14580 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14581 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14582 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14583 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14584 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14585 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14689 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14690 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14691 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14692 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14693 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14695 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14697 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14698 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14699 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14700 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14701 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14702 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14703 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14704 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14705 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14706 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14707 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14708 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14709 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14711 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14712 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14714 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14715 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14716 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14717 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14719 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14720 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14721 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14722 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14723 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14724 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14725 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14727 2014-06-10 Wilco <wdijkstr@arm.com>
14729 * math/test-fenv-return.c: New file.
14730 * math/Makefile: Add new test test-fenv-return.
14732 2014-06-10 Joseph Myers <joseph@codesourcery.com>
14735 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14736 when x - 1 is zero.
14737 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14738 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14739 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14740 0.0L for an argument of 1.0L.
14741 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14743 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14744 value when x - 1 is zero.
14745 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14746 * sysdeps/i386/fpu/libm-test-ulps: Update.
14747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14749 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14752 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14754 2014-06-09 Roland McGrath <roland@hack.frob.com>
14756 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14757 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14759 2014-06-09 Roland McGrath <roland@hack.frob.com>
14761 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14762 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14764 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14765 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14767 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14768 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14770 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14771 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14773 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14774 if not already defined.
14775 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14776 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14777 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14778 (TLS_INIT_TP): Use it.
14779 (TLS_DEFINE_INIT_TP): New macro.
14780 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14782 2014-06-09 Joseph Myers <joseph@codesourcery.com>
14784 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14786 [POSIX] (IXANY): Likewise.
14787 [POSIX] (OLCUC): Likewise.
14788 [POSIX || POSIX2008] (CBAUD): Do not allow.
14789 [POSIX || POSIX2008] (DEFECHO): Likewise.
14790 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14791 [POSIX || POSIX2008] (ECHOKE): Likewise.
14792 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14793 [POSIX || POSIX2008] (EXTA): Likewise.
14794 [POSIX || POSIX2008] (EXTB): Likewise.
14795 [POSIX || POSIX2008] (FLUSHO): Likewise.
14796 [POSIX || POSIX2008] (LOBLK): Likewise.
14797 [POSIX || POSIX2008] (PENDIN): Likewise.
14798 [POSIX || POSIX2008] (SWTCH): Likewise.
14799 [POSIX || POSIX2008] (VDISCARD): Likewise.
14800 [POSIX || POSIX2008] (VDSUSP): Likewise.
14801 [POSIX || POSIX2008] (VLNEXT): Likewise.
14802 [POSIX || POSIX2008] (VREPRINT): Likewise.
14803 [POSIX || POSIX2008] (VSTATUS): Likewise.
14804 [POSIX || POSIX2008] (VWERASE): Likewise.
14805 (B*): Change to B[0123456789]*.
14806 * conform/data/time.h-data [POSIX || UNIX98]
14807 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14808 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14809 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14810 [POSIX] (tm_*): Do not allow.
14812 2014-06-07 Joseph Myers <joseph@codesourcery.com>
14814 * Makefile (install): Don't set LANGUAGE.
14815 * Makefile.in (install): Likewise.
14816 * assert/Makefile (test-assert-ENV): Remove variable.
14817 (test-assert-perr-ENV): Likewise.
14818 * elf/Makefile (neededtest4-ENV): Likewise.
14819 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14820 [$(cross-compiling) = no]: Don't set LANGUAGE.
14821 * io/ftwtest-sh (LANG): Remove variable.
14822 * libio/Makefile (tst-widetext-ENV): Likewise.
14823 * manual/install.texi (Running make install): Don't refer to
14824 environment settings for make install.
14825 * INSTALL: Regenerated.
14826 * nptl/tst-tls6.sh: Don't set LANG.
14827 * posix/globtest.sh (LANG): Remove variable.
14828 * string/Makefile (tester-ENV): Likewise.
14829 (inl-tester-ENV): Likewise.
14830 (noinl-tester-ENV): Likewise.
14831 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14832 [$(cross-compiling) = no]: Don't set LANGUAGE.
14833 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14834 without explicit environment settings.
14836 2014-06-06 Roland McGrath <roland@hack.frob.com>
14838 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14839 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14840 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14841 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14843 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14845 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14846 other files in the crypt directory.
14847 * crypt/crypt.c: Remove duplicate includes.
14848 * crypt/crypt-entry.c: Likewise.
14849 * crypt/crypt_util.c: Likewise.
14851 2014-06-06 Joseph Myers <joseph@codesourcery.com>
14853 * Makeconfig (run-program-env): New variable.
14854 (run-program-prefix-before-env): Likewise.
14855 (run-program-prefix-after-env): Likewise.
14856 (run-program-prefix): Define in terms of new variables.
14857 (built-program-cmd-before-env): New variable.
14858 (built-program-cmd-after-env): Likewise.
14859 (built-program-cmd): Define in terms of new variables.
14860 (test-program-prefix-before-env): New variable.
14861 (test-program-prefix-after-env): Likewise.
14862 (test-program-prefix): Define in terms of new variables.
14863 (test-program-cmd-before-env): New variable.
14864 (test-program-cmd-after-env): Likewise.
14865 (test-program-cmd): Define in terms of new variables.
14866 * Rules (make-test-out): Use $(run-program-env).
14867 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14868 (help): Do not mention environment variables. Mention
14869 --timeoutfactor option.
14870 (timeoutfactor): New variable.
14871 (blacklist_exports): Remove function.
14872 (exports): Remove variable.
14873 (command): Do not include ${exports}.
14874 * manual/install.texi (Configuring and compiling): Do not mention
14875 test wrappers preserving environment variables. Mention that last
14876 assignment to a variable must take precedence.
14877 * INSTALL: Regenerated.
14878 * benchtests/Makefile (run-bench): Use $(run-program-env).
14879 * catgets/Makefile ($(objpfx)test1.cat): Use
14880 $(built-program-cmd-before-env), $(run-program-env) and
14881 $(built-program-cmd-after-env).
14882 ($(objpfx)test2.cat): Do not specify environment variables
14884 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14885 $(run-program-env) and $(built-program-cmd-after-env).
14886 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14887 $(run-program-env) and $(test-program-cmd-after-env).
14888 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14890 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14891 run_program_env and test_program_cmd_after_env arguments.
14892 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14893 * elf/tst-pathopt.sh: Use run_program_env argument.
14894 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14895 $(test-wrapper-env) and $(run-program-env).
14896 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14897 run_program_env arguments.
14898 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14899 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14900 $(test-program-prefix-before-env), $(run-program-env) and
14901 $(test-program-prefix-after-env).
14902 ($(objpfx)tst-gettext2.out): Likewise.
14903 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14904 run_program_env and test_program_prefix_after_env arguments.
14905 * intl/tst-gettext2.sh: Likewise.
14906 * intl/tst-gettext4.sh: Do not set environment variables
14908 * intl/tst-gettext6.sh: Likewise.
14909 * intl/tst-translit.sh: Likewise.
14910 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14911 $(test-program-prefix-before-env), $(run-program-env) and
14912 $(test-program-prefix-after-env).
14913 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14914 run_program_env and test_program_prefix_after_env arguments.
14915 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14916 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14917 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14918 explicitly with each use of ${test_wrapper_env}.
14919 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14920 $(test-program-prefix-before-env), $(run-program-env) and
14921 $(test-program-prefix-after-env).
14922 * posix/tst-getconf.sh: Do not set environment variables
14924 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14925 run_program_env and test_program_prefix_after_env arguments.
14926 * stdio-common/tst-printf.sh: Do not set environment variables
14928 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14929 $(test-program-prefix-before-env), $(run-program-env) and
14930 $(test-program-prefix-after-env).
14931 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14932 run_program_env and test_program_prefix_after_env arguments.
14933 Split $test calls into $test_pre and $test.
14934 * timezone/Makefile (build-testdata): Use
14935 $(built-program-cmd-before-env), $(run-program-env) and
14936 $(built-program-cmd-after-env).
14938 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14940 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14941 strlen for non SHARED builds.
14943 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14945 * nptl/allocatestack.c (check_list): Inlined function...
14946 (__reclaim_stacks): ... here.
14948 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14951 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14954 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14956 * Rules (make-test-out): Include
14957 LOCPATH=$(common-objpfx)localedata in default environment.
14958 * debug/Makefile (tst-chk1-ENV): Remove variable.
14959 (tst-chk2-ENV): Likewise.
14960 (tst-chk3-ENV): Likewise.
14961 (tst-chk4-ENV): Likewise.
14962 (tst-chk5-ENV): Likewise.
14963 (tst-chk6-ENV): Likewise.
14964 (tst-lfschk1-ENV): Likewise.
14965 (tst-lfschk2-ENV): Likewise.
14966 (tst-lfschk3-ENV): Likewise.
14967 (tst-lfschk4-ENV): Likewise.
14968 (tst-lfschk5-ENV): Likewise.
14969 (tst-lfschk6-ENV): Likewise.
14970 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14971 (tst-iconv7-ENV): Likewise.
14972 * intl/Makefile (LOCPATH-ENV): Likewise.
14973 (tst-codeset-ENV): Likewise.
14974 (tst-gettext3-ENV): Likewise.
14975 (tst-gettext5-ENV): Likewise.
14976 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14977 (tst-fopenloc-ENV): Likewise.
14978 (tst-fgetws-ENV): Remove variable.
14979 (tst-ungetwc1-ENV): Likewise.
14980 (tst-ungetwc2-ENV): Likewise.
14981 (bug-ungetwc2-ENV): Likewise.
14982 (tst-swscanf-ENV): Likewise.
14983 (bug-ftell-ENV): Likewise.
14984 (tst-fgetwc-ENV): Likewise.
14985 (tst-fseek-ENV): Likewise.
14986 (tst-ftell-partial-wide-ENV): Likewise.
14987 (tst-ftell-active-handler-ENV): Likewise.
14988 (tst-ftell-append-ENV): Likewise.
14989 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14990 (tst-regexloc-ENV): Likewise.
14991 (bug-regex1-ENV): Likewise.
14992 (tst-regex-ENV): Likewise.
14993 (tst-regex2-ENV): Likewise.
14994 (bug-regex5-ENV): Likewise.
14995 (bug-regex6-ENV): Likewise.
14996 (bug-regex17-ENV): Likewise.
14997 (bug-regex18-ENV): Likewise.
14998 (bug-regex19-ENV): Likewise.
14999 (bug-regex20-ENV): Likewise.
15000 (bug-regex22-ENV): Likewise.
15001 (bug-regex23-ENV): Likewise.
15002 (bug-regex25-ENV): Likewise.
15003 (bug-regex26-ENV): Likewise.
15004 (bug-regex30-ENV): Likewise.
15005 (bug-regex32-ENV): Likewise.
15006 (bug-regex33-ENV): Likewise.
15007 (bug-regex34-ENV): Likewise.
15008 (bug-regex35-ENV): Likewise.
15009 (tst-rxspencer-ENV): Likewise.
15010 (tst-rxspencer-no-utf8-ENV): Likewise.
15011 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15012 (tst-sscanf-ENV): Likewise.
15013 (tst-swprintf-ENV): Likewise.
15014 (tst-swscanf-ENV): Likewise.
15015 (test-vfprintf-ENV): Likewise.
15016 (scanf13-ENV): Likewise.
15017 (bug14-ENV): Likewise.
15018 (tst-grouping-ENV): Likewise.
15019 * stdlib/Makefile (tst-strtod-ENV): Likewise.
15020 (tst-strtod3-ENV): Likewise.
15021 (tst-strtod4-ENV): Likewise.
15022 (tst-strtod5-ENV): Likewise.
15023 (testmb2-ENV): Likewise./
15024 * string/Makefile (tst-strxfrm-ENV): Likewise.
15025 (tst-strxfrm2-ENV): Likewise.
15026 (bug-strcoll1-ENV): Likewise.
15027 (test-strcasecmp-ENV): Likewise.
15028 (test-strncasecmp-ENV): Likewise.
15029 * time/Makefile (tst-strptime-ENV): Likewise.
15030 (tst-ftime_l-ENV): Likewise.
15031 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15032 (tst-mbrtowc-ENV): Likewise.
15033 (tst-wcrtomb-ENV): Likewise.
15034 (tst-mbrtowc2-ENV): Likewise.
15035 (tst-c16c32-1-ENV): Likewise.
15036 (tst-mbsnrtowcs-ENV): Likewise.
15038 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15040 * manual/resource.texi (How to get information about the memory
15041 subsystem?): Fix typo.
15042 Reported by Peon de la Parra Ivan <peon@keba.com>
15044 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
15047 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15048 (pthread_spin_lock): Branch out of spin loop to proper location.
15049 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15050 (pthread_spin_lock): Likewise.
15052 * nptl/tst-spin4.c: New test.
15053 * nptl/Makefile (tests): Add tst-spin4.
15055 2014-06-03 Andreas Schwab <schwab@suse.de>
15058 * resolv/res_send.c (send_dg): Reload file descriptor after
15061 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15063 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15065 2014-06-03 Richard Henderson <rth@redhat.com>
15067 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15068 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15069 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15070 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15071 in the SAVE_PID block.
15072 (__libc_vfork): New alias.
15073 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15075 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15076 child in registers, not on the stack. Remove RESET_PID conditionals.
15077 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15079 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15081 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15083 2014-06-03 Wilco <wdijkstr@arm.com>
15085 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15086 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15087 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15088 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15089 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15092 2014-06-03 Wilco <wdijkstr@arm.com>
15094 * sysdeps/aarch64/fpu/math_private.h
15095 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15096 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15097 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15098 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15101 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15103 * crypt/crypt-private.h: Include ufc-crypt.h.
15104 (__b64_from_24bit): Declare extern.
15105 * crypt/crypt_util.c(__b64_from_24bit): New function.
15106 (b64t): New static const variable.
15107 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15108 (b64t): Remove variable.
15109 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15110 * crypt/sha256-crypt.c: Include crypt-private.h.
15111 (b64t): Remove variable.
15112 (__sha256_crypt_r): Remove b64_from_24bit and replace
15113 with __b64_from_24bit.
15114 * crypt/sha512-crypt.c: Likewise.
15116 2014-06-02 Roland McGrath <roland@hack.frob.com>
15118 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15119 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15120 Label the code __libc_vfork rather than __vfork.
15121 [!NOT_IN_libc] (vfork): Define as weak alias.
15122 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15123 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15124 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15126 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15128 * malloc/malloc.c (malloc_info): Fix format specifier for
15131 2014-06-02 Wilco <wdijkstr@arm.com>
15133 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15136 2014-06-02 Wilco <wdijkstr@arm.com>
15139 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15140 Rewrite to reduce FPCR/FPSR accesses.
15142 2014-06-01 David S. Miller <davem@davemloft.net>
15144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15146 2014-05-31 David S. Miller <davem@davemloft.net>
15148 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15149 to occur in round to nearest mode when |x| >= 2.0
15151 2014-05-30 Richard Henderson <rth@twiddle.net>
15153 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15154 (PSEUDO_RET_NOERRNO): Remove.
15155 (ret): Don't redefine.
15156 (ret_NOERRNO): Define in terms of ret.
15157 (ret_ERRVAL): Likewise.
15159 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15160 use of PSEUDO_RET; perform the error check directly.
15162 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15164 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15167 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15169 * malloc/malloc (malloc_info): Fix formatting.
15171 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15172 Roland McGrath <roland@hack.frob.com>
15174 * malloc/malloc (malloc_info): Also print mmapped statistics.
15176 2014-05-30 Roland McGrath <roland@hack.frob.com>
15178 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15179 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15181 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15183 * malloc/malloc.c (malloc_info): Inline mi_arena.
15185 2014-05-29 Richard Henderson <rth@twiddle.net>
15187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15188 Remove comma before expanding ASM_ARGS_##nr.
15189 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15190 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15192 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15193 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15194 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15195 (ASM_ARGS_1): Add leading comma.
15197 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15198 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15199 to __errno_location.
15200 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15201 Remove the expected plt for __errno_location.
15203 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15204 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15207 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15208 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15209 it and break it down.
15210 (DOCARGS_0, DOCARGS_1): Do nothing.
15211 (DOCARGS_2): Update to store into the new stack frame.
15212 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15213 (UNDOCARGS_1): Update to restore from the new stack frame.
15214 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15215 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15217 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15218 (SINGLE_THREAD_P): New parameter for result regno.
15219 (PSEUDO): Update to match; use cbz instead of beq.
15221 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15222 Use ENTRY to define the _nocancel entry point. Share the syscall
15223 and syscall error check paths with the cancel path.
15226 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15227 whitespace; tabs before and after asm mnemonics.
15229 2014-05-29 Eric Wong <normalperson@yhbt.net>
15232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15233 Call fstat64 or stat64 internally, depending on arguments passed.
15234 Replace stat buffer argument with file descriptor argument.
15235 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15236 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15237 Pass fd to __internal_statvfs instead of calling fstat64.
15238 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15239 Pass fd to __internal_statvfs64 instead of calling fstat64.
15240 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15241 Pass -1 to __internal_statvfs instead of calling stat64.
15242 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15243 Pass -1 to __internal_statvfs64 instead of calling stat64.
15245 2014-05-28 Roland McGrath <roland@hack.frob.com>
15247 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15248 that was previously under [RESET_PID].
15249 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15251 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15252 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15254 2014-05-27 Roland McGrath <roland@hack.frob.com>
15256 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15258 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15259 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15261 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15263 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15265 2014-05-27 Andreas Schwab <schwab@suse.de>
15267 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15269 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15270 * elf/rtld.c (init_tls, dl_main): Likewise.
15271 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15272 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15273 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15274 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15275 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15276 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15277 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15278 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15279 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15280 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15281 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15282 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15283 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15284 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15285 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15286 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15287 * sysdeps/generic/tls.h: Update description.
15289 2014-05-27 Will Newton <will.newton@linaro.org>
15292 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15293 and restore r2 rather than just restoring.
15295 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15298 * libio/tst-ftell-append.c: New test case.
15299 * libio/Makefile (tests): Add test case.
15300 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15302 * libio/wfileops.c (do_ftell_wide): Likewise.
15304 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15308 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15312 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15313 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15314 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15315 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15316 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15317 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15324 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15325 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15326 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15327 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15328 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15330 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15331 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15333 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15335 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15337 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15338 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15339 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15341 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15342 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15343 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15344 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15359 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15367 conditional [RESET_PID].
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15376 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15377 (__libc_vfork): New strong alias.
15378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15385 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15386 (__libc_vfork): New strong alias.
15387 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15392 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15394 * malloc/malloc.c (mi_arena): New function.
15395 (malloc_info): Remove nested function mi_arena. Call non-nosted
15398 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15400 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15402 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15403 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15404 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15405 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15406 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15407 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15408 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15410 2014-05-26 Andreas Schwab <schwab@suse.de>
15413 * locale/programs/repertoire.c (repertoire_read): Add slash
15414 between I18NPATH element and file name.
15415 * locale/programs/locfile.c (locfile_read): Likewise.
15417 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15419 * nptl/pthread_mutexattr_settype.c
15420 (__pthread_mutexattr_settype):
15421 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15423 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15425 * nptl/tst-mutex5 (do_test):
15426 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15428 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15430 * benchtests/README: Document 'init' directive.
15431 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15433 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15434 (parse_file): Recognize 'init' directive.
15436 2014-05-26 Kyle McMartin <kyle@redhat.com>
15439 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15440 alignment of struct pthread.
15442 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15445 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15446 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15447 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15448 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15450 2014-05-25 Richard Henderson <rth@twiddle.net>
15452 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15453 (SINGLE_THREAD_P_PIC): Remove.
15454 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15455 (SINGLE_THREAD_P_PIC): Remove.
15457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15458 branch to syscall error ...
15459 (PSEUDO): ... here.
15460 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15461 from __local_syscall_error to .Lsyscall_error.
15462 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15463 (SYSCALL_ERROR): Update label name.
15465 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15466 Do not use DOARGS/UNDOARGS.
15467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15468 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15469 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15470 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15471 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15473 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15476 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15477 define if !NOT_IN_libc.
15478 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15479 define with non-default symbol versions.
15481 2014-05-23 Richard Henderson <rth@twiddle.net>
15483 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15484 (vfork, __vfork): Define via compat_symbol.
15486 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15487 [!HAVE_IFUNC] (vfork_compat): Remove.
15488 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15490 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15493 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15494 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15497 2014-05-23 Richard Henderson <rth@twiddle.net>
15499 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15500 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15501 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15502 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15504 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15505 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15506 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15507 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15508 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15509 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15510 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15511 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15512 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15513 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15514 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15515 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15516 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15517 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15518 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15519 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15520 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15521 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15522 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15523 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15524 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15525 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15526 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15527 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15528 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15529 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15530 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15531 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15532 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15533 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15534 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15535 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15536 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15537 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15538 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15539 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15540 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15541 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15542 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15543 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15544 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15545 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15546 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15547 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15548 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15549 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15551 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15552 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15553 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15554 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15555 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15556 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15557 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15558 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15559 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15561 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15562 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15563 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15564 before exiting on error.
15565 (__libc_vfork): New strong alias.
15566 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15567 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15569 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15570 that was previously under [RESET_PID].
15571 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15573 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15575 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15578 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15579 value when x - 1 is zero.
15580 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15581 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15582 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15583 0.0L for an argument of 1.0L.
15584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15586 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15587 value when x - 1 is zero.
15588 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15589 * sysdeps/i386/fpu/libm-test-ulps: Update.
15590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15592 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15594 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15595 alphasort and versionsort.
15597 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15599 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15601 [copysignf]: Likewise.
15603 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15605 * crypt/md5-crypt.c: Fix formatting.
15607 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15609 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15610 (b64_from_24bit): New function.
15612 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15614 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15615 libc_hidden_builtin_def to ifunc.
15616 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15617 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15619 2014-05-21 Roland McGrath <roland@hack.frob.com>
15621 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15622 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15624 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15626 * nscd/Depend (linuxthreads): Remove.
15628 * resolv/Depend (linuxthreads): Remove.
15629 * rt/Depend (linuxthreads): Remove.
15631 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15632 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15633 $(common-objpfx)elf/.
15634 (link-libc-before-gnulib): Likewise.
15635 (elfobjdir): Remove variable.
15636 * Makefile (install): Use $(elf-objpfx) instead of
15637 $(common-objpfx)elf/.
15638 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15640 (link-libc-deps): Likewise.
15641 ($(common-objpfx)libc.so): Likewise.
15642 ($(common-objpfx)linkobj/libc.so): Likewise.
15643 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15644 instead of $(common-objpfx)elf/.
15645 (symbolic-link-list): Likewise.
15646 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15647 [$(cross-compiling) = no]: Likewise.
15648 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15650 (static-gnulib-arch): Likewise.
15651 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15652 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15653 $(common-objpfx)elf/.
15655 2014-05-21 Richard Henderson <rth@redhat.com>
15657 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15658 (SINGLE_THREAD_P): Use the correct width load. Fold
15659 into the ldr offset.
15661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15662 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15664 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15666 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15667 (libgcc_s_resume): Use __attribute_used__.
15668 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15671 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15673 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15674 optimization when used with float constants.
15676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15678 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15681 * locale/nl_langinfo_l.c: Make direct reference to every
15682 _nl_current_CATEGORY symbol.
15683 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15684 (tests-static): Add tst-langinfo-static.
15685 (tests-special): Add tst-langinfo-static.out.
15686 ($(objpfx)tst-langinfo.out): Redirect output.
15687 ($(objpfx)tst-langinfo-static.out): New.
15688 * localedata/tst-langinfo.sh: Send output to stdout.
15689 * localedata/tst-langinfo-static.c: New file.
15692 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15693 when the shift amount is modulo the limb size.
15695 2014-05-20 Richard Henderson <rth@redhat.com>
15698 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15699 Change type of sa_flags from unsigned int to int.
15702 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15704 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15706 2014-05-20 Will Newton <will.newton@linaro.org>
15708 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15709 Test the return value of the system call in the nocancel case.
15711 2014-05-20 Will Newton <will.newton@linaro.org>
15712 Yvan Roux <yvan.roux@linaro.org>
15714 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15715 #include of asm/ptrace.h.
15716 (PTRACE_GET_THREAD_AREA): Remove #undef.
15717 (PTRACE_GETHBPREGS): Likewise.
15718 (PTRACE_SETHBPREGS): Likewise.
15719 (struct user_regs_struct): New structure.
15720 (struct user_fpsimd_struct): New structure.
15721 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15722 #include of asm/ptrace.h and second #include of sys/user.h.
15723 (PTRACE_GET_THREAD_AREA): Remove #undef.
15724 (PTRACE_GETHBPREGS): Likewise.
15725 (PTRACE_SETHBPREGS): Likewise.
15726 (ELF_NGREG): Use new struct user_regs_struct.
15727 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15729 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15731 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15732 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15734 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15738 membar to avoid block loads/stores to overlap previous stores.
15740 2014-05-17 Richard Henderson <rth@redhat.com>
15742 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15743 Create the __##syscall_name##_nocancel entry point.
15744 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15745 Remove; let the sysdep-cancel.h code create it.
15747 2014-05-17 David S. Miller <davem@davemloft.net>
15749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15750 Protect with __USE_GNU.
15751 (TIOCSET_TEMPT): Likewise.
15752 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15753 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15754 these are already provided in bits/ioctl-types.h
15756 2014-05-16 Roland McGrath <roland@hack.frob.com>
15758 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15759 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15761 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15762 Use wait4 regardless of [__NR_waitpid].
15764 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15767 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15768 (_FP_NANSIGN_Q): Set the quiet bit.
15770 2014-05-16 Joseph Myers <joseph@codesourcery.com>
15772 * benchtests/Makefile
15773 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15774 not $(common-objpfx)math/libm.so.
15775 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15776 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15777 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15778 $(common-objpfx)dlfcn/libdl.so.
15779 ($(objpfx)tst-audit8): Depend on $(libm), not
15780 $(common-objpfx)math/libm.so.
15781 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15782 not $(common-objpfx)dlfcn/libdl.so.
15784 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15785 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15786 [$(build-shared) = yes].
15787 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15788 $(common-objpfx)nptl/libpthread.so.
15789 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15790 $(common-objpfx)math/libm.so$(libm.so-version) or
15791 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15792 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15793 $(common-objpfx)dlfcn/libdl.so.
15794 * setjmp/Makefile (link-libm): Remove variable.
15795 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15796 * stdio-common/Makefile (link-libm): Remove variable.
15797 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15798 * stdlib/Makefile (link-libm): Remove variable.
15799 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15800 ($(objpfx)tst-strtod-round): Likewise.
15801 ($(objpfx)tst-tininess): Likewise.
15802 ($(objpfx)tst-strtod-underflow): Likewise.
15803 ($(objpfx)tst-strtod6): Likewise.
15804 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15805 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15806 $(common-objpfx)dlfcn/libdl.so.
15808 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15810 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15811 BSD terminal modes definitions.
15813 2014-05-16 Roland McGrath <roland@hack.frob.com>
15815 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15816 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15818 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15819 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15820 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15821 Don't do #include_next.
15822 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15823 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15824 Don't do #include_next.
15825 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15826 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15827 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15828 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15830 2014-05-16 Allan McRae <allan@archlinux.org>
15832 * po/sv.po: Update Swedish translation from translation project.
15834 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15837 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15840 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15841 errno if the TIOCGPTN ioctl fails with an error different than
15843 * login/tst-ptsname.c: New file.
15844 * login/Makefile (tests): Add tst-ptsname.
15847 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15850 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15854 herrno to return EAI_AGAIN.
15856 2014-05-14 Roland McGrath <roland@hack.frob.com>
15858 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15859 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15860 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15861 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15862 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15863 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15864 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15865 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15867 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15868 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15869 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15870 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15871 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15872 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15873 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15874 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15875 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15876 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15877 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15878 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15879 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15880 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15881 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15882 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15883 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15884 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15885 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15886 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15887 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15889 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15891 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15894 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15896 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15898 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15900 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15902 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15904 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15906 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15908 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15910 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15912 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15914 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15916 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15918 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15920 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15923 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15925 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15927 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15929 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15931 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15933 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15935 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15937 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15939 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15941 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15944 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15946 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15948 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15949 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15950 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15951 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15952 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15953 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15954 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15955 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15956 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15957 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15958 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15959 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15960 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15961 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15962 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15963 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15964 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15965 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15966 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15967 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15968 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15969 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15970 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15971 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15972 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15973 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15974 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15975 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15976 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15977 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15978 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15980 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15981 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15983 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15984 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15985 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15986 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15987 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15988 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15990 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15991 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15993 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15994 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15996 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15997 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15999 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16000 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16001 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16002 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16004 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16005 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16006 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16007 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16008 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16009 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16010 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16011 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16013 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16014 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16016 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16018 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16019 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16020 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16021 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16022 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16024 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16026 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16028 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16029 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16030 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16031 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16032 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16033 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16035 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16036 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16038 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16039 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16041 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16042 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16044 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16045 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16046 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16047 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16049 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16050 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16051 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16052 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16053 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16054 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16055 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16056 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16058 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16059 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16061 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16063 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16064 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16065 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16066 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16067 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16069 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16071 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16073 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16074 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16075 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16076 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16077 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16078 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16079 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16080 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16081 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16082 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16084 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16085 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16087 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16088 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16090 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16091 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16093 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16094 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16095 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16096 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16097 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16098 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16100 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16101 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16102 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16103 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16104 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16105 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16106 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16107 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16109 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16110 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16112 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16114 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16115 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16116 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16117 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16118 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16120 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16122 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16124 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16125 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16126 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16127 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16128 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16129 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16130 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16131 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16132 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16133 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16134 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16136 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16137 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16139 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16140 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16142 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16143 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16144 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16145 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16146 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16147 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16148 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16149 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16150 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16151 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16152 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16153 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16154 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16155 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16156 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16157 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16158 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16159 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16161 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16163 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16164 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16166 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16167 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16168 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16169 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16170 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16171 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16172 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16173 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16175 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16178 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16180 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16181 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16182 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16183 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16184 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16185 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16186 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16187 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16188 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16189 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16190 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16191 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16192 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16193 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16194 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16196 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16197 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16198 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16199 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16200 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16202 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16203 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16204 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16205 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16206 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16207 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16208 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16209 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16210 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16211 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16213 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16214 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16216 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16217 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16218 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16219 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16220 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16221 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16222 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16223 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16224 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16225 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16226 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16227 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16228 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16229 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16236 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16238 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16250 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16251 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16252 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16253 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16254 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16255 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16256 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16257 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16258 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16259 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16260 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16261 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16262 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16263 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16264 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16266 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16267 that was previously under [RESET_PID].
16268 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16269 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16270 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16272 * sysdeps/i386/nptl/Implies: New file.
16273 * sysdeps/x86_64/nptl/Implies: New file.
16274 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16275 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16276 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16277 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16279 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16280 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16281 (__libc_vfork): New strong alias.
16282 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16283 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16285 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16286 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16287 (__libc_vfork): New strong alias.
16288 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16289 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16291 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16292 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16293 (__libc_vfork): New strong alias.
16294 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16295 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16296 * nptl/pt-vfork.c: New file.
16297 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16298 (libpthread: GLIBC_2.20): New version set (empty).
16300 2014-05-14 Will Newton <will.newton@linaro.org>
16302 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16305 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16308 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16309 arguments with exponent 65 or above.
16310 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16311 arguments 0x1p113L or above.
16312 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16313 to arguments 0x1p107L or above.
16314 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16315 positive arguments with exponent 65 or above.
16316 * math/auto-libm-test-in: Add more tests of log1p.
16317 * math/auto-libm-test-out: Regenerated.
16320 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16321 non-finite arguments is +0.
16322 * math/s_cacosf.c (__cacosf): Likewise.
16323 * math/s_cacosl.c (__cacosl): Likewise.
16324 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16325 * sysdeps/i386/fpu/libm-test-ulps: Update.
16326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16329 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16331 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16332 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16333 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16334 for explicit high bit of mantissa when testing for argument equal
16336 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16337 * sysdeps/i386/fpu/libm-test-ulps: Update.
16338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16341 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16342 (__erf): Scale by 16 instead of 8 in potentially underflowing
16343 case. Ensure exception if result actually underflows.
16344 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16345 (__erff): Scale by 16 instead of 8 in potentially underflowing
16346 case. Ensure exception if result actually underflows.
16347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16348 (efx8): Remove variable.
16349 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16350 case. Ensure exception if result actually underflows.
16351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16352 (efx8): Remove variable.
16353 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16354 case. Ensure exception if result actually underflows.
16355 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16356 (efx8): Remove variable.
16357 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16358 case. Ensure exception if result actually underflows.
16359 * math/auto-libm-test-in: Add more tests of erf.
16360 * math/auto-libm-test-out: Regenerated.
16362 2014-05-14 Andreas Schwab <schwab@suse.de>
16364 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16365 Remove code conditionalized on USE___THREAD.
16367 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16368 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16371 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16374 Define unconditionally.
16375 (__ASSUME_O_CLOEXEC): Likewise.
16376 (__ASSUME_SOCK_CLOEXEC): Likewise.
16377 (__ASSUME_IN_NONBLOCK): Likewise.
16378 (__ASSUME_PIPE2): Likewise.
16379 (__ASSUME_EVENTFD2): Likewise.
16380 (__ASSUME_SIGNALFD4): Likewise.
16381 (__ASSUME_DUP3): Likewise.
16382 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16383 (__ASSUME_DUP3): Do not define.
16384 (__ASSUME_EVENTFD2): Likewise.
16385 (__ASSUME_IN_NONBLOCK): Likewise.
16386 (__ASSUME_O_CLOEXEC): Likewise.
16387 (__ASSUME_PIPE2): Likewise.
16388 (__ASSUME_SIGNALFD4): Likewise.
16389 (__ASSUME_SOCK_CLOEXEC): Likewise.
16390 (__ASSUME_UTIMES): Undefine.
16391 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16392 (__ASSUME_UTIMES): Do not define.
16393 (__ASSUME_O_CLOEXEC): Likewise.
16394 (__ASSUME_SOCK_CLOEXEC): Likewise.
16395 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16396 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16398 (__ASSUME_PIPE2): Likewise.
16399 (__ASSUME_EVENTFD2): Likewise.
16400 (__ASSUME_SIGNALFD4): Likewise.
16401 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16402 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16404 (__ASSUME_EVENTFD2): Likewise.
16405 (__ASSUME_SIGNALFD4): Likewise.
16406 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16407 (__ASSUME_32BITUIDS): Likewise.
16408 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16409 (__ASSUME_IPC64): Likewise.
16410 (__ASSUME_ST_INO_64_BIT): Likewise.
16411 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16412 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16413 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16414 (__ASSUME_UTIMES): Do not define.
16415 (__ASSUME_PSELECT): Likewise.
16416 (__ASSUME_PPOLL): Likewise.
16417 (__ASSUME_O_CLOEXEC): Likewise.
16418 (__ASSUME_SOCK_CLOEXEC): Likewise.
16419 (__ASSUME_IN_NONBLOCK): Likewise.
16420 (__ASSUME_PIPE2): Likewise.
16421 (__ASSUME_EVENTFD2): Likewise.
16422 (__ASSUME_SIGNALFD4): Likewise.
16423 (__ASSUME_DUP3): Likewise.
16424 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16425 (__ASSUME_UTIMES): Likewise.
16426 (__ASSUME_O_CLOEXEC): Likewise.
16427 (__ASSUME_SOCK_CLOEXEC): Likewise.
16428 (__ASSUME_IN_NONBLOCK): Likewise.
16429 (__ASSUME_PIPE2): Likewise.
16430 (__ASSUME_EVENTFD2): Likewise.
16431 (__ASSUME_SIGNALFD4): Likewise.
16432 (__ASSUME_DUP3): Likewise.
16433 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16434 (__ASSUME_UTIMES): 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/mips/kernel-features.h (__ASSUME_IPC64):
16444 (__ASSUME_UTIMES): Likewise.
16445 (__ASSUME_EVENTFD2): Likewise.
16446 (__ASSUME_SIGNALFD4): Likewise.
16447 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16448 (__ASSUME_O_CLOEXEC): Likewise.
16449 (__ASSUME_SOCK_CLOEXEC): Likewise.
16450 (__ASSUME_IN_NONBLOCK): Likewise.
16451 (__ASSUME_PIPE2): Likewise.
16452 (__ASSUME_EVENTFD2): Likewise.
16453 (__ASSUME_SIGNALFD4): Likewise.
16454 (__ASSUME_DUP3): Likewise.
16455 (__ASSUME_UTIMES): Undefine.
16457 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16458 feclearexcept. Remove symbol versioning code.
16459 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16460 symbol versioning code.
16461 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16462 symbol versioning code.
16463 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16464 feupdateenv. Remove symbol versioning code.
16465 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16466 fegetexceptflag. Remove symbol versioning code.
16467 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16468 fesetexceptflag. Remove symbol versioning code.
16469 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16470 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16471 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16472 (__posix_fadvise64_l32): Remove prototype.
16473 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16476 2014-05-13 Roland McGrath <roland@hack.frob.com>
16478 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16479 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16480 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16481 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16483 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16485 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16486 current working directory
16488 2014-05-13 Roland McGrath <roland@hack.frob.com>
16490 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16491 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16492 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16493 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16494 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16495 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16496 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16497 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16498 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16499 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16500 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16501 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16502 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16503 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16504 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16505 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16506 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16507 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16508 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16509 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16510 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16511 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16512 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16513 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16514 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16515 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16516 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16517 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16518 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16519 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16520 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16521 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16522 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16523 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16524 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16525 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16526 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16527 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16528 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16529 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16530 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16531 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16533 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16534 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16536 * sysdeps/unix/sysv/linux/arm/Makefile
16537 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16538 Add rt-aeabi_unwind_cpp_pr1.
16539 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16540 Add nptl-aeabi_unwind_cpp_pr1.
16541 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16542 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16543 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16544 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16545 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16546 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16548 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16549 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16550 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16551 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16553 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16554 Deconditionalize the code that was previously under [RESET_PID].
16555 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16557 * sysdeps/generic/exit-thread.h: New file.
16558 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16559 * include/unistd.h (__exit_thread): Remove declaration.
16560 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16561 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16562 * csu/libc-start.c: Include <exit-thread.h>.
16563 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16564 * nptl/pthread_create.c: Include <exit-thread.h>.
16565 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16566 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16567 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16568 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16569 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16570 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16571 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16572 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16573 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16574 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16575 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16576 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16577 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16578 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16579 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16580 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16581 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16583 2014-05-13 Andreas Schwab <schwab@suse.de>
16585 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16587 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16589 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16590 (__ASSUME_UTIMES): Do not condition on kernel version.
16591 (__ASSUME_PSELECT): Define unconditionally.
16592 (__ASSUME_PPOLL): Likewise.
16593 (__ASSUME_ATFCTS): Likewise.
16594 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16595 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16596 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16597 (__ASSUME_UTIMENSAT): Define unconditionally.
16598 (__ASSUME_PRIVATE_FUTEX): Likewise.
16599 (__ASSUME_FALLOCATE): Likewise.
16600 (__ASSUME_O_CLOEXEC): Likewise.
16601 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16602 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16603 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16604 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16605 (__ASSUME_IN_NONBLOCK): Likewise.
16606 (__ASSUME_PIPE2): Likewise.
16607 (__ASSUME_EVENTFD2): Likewise.
16608 (__ASSUME_SIGNALFD4): Likewise.
16609 (__ASSUME_DUP3): Likewise.
16610 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16611 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16612 (__ASSUME_AT_RANDOM): Likewise.
16613 (__ASSUME_PREADV): Likewise.
16614 (__ASSUME_PWRITEV): Likewise.
16615 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16616 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16617 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16618 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16619 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16620 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16621 (__ASSUME_O_CLOEXEC): Define unconditionally.
16622 (__ASSUME_PSELECT): Do not undefine conditionally.
16623 (__ASSUME_PPOLL): Likewise.
16624 (__ASSUME_ATFCTS): Likewise.
16625 (__ASSUME_SET_ROBUST_LIST): Likewise.
16626 (__ASSUME_UTIMENSAT): Likewise.
16627 (__ASSUME_FDATASYNC): Define unconditionally.
16628 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16629 (__ASSUME_SIGFRAME_V2): Likewise.
16630 )__ASSUME_EVENTFD2): Likewise.
16631 (__ASSUME_SIGNALFD4): Likewise.
16632 (__ASSUME_PSELECT): Do not undefine conditionally.
16633 (__ASSUME_PPOLL): Likewise.
16634 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16635 (__ASSUME_PSELECT): Define unconditionally.
16636 (__ASSUME_PPOLL): Likewise.
16637 (__ASSUME_O_CLOEXEC): Likewise.
16638 (__ASSUME_SOCK_CLOEXEC): Likewise.
16639 (__ASSUME_IN_NONBLOCK): Likewise.
16640 (__ASSUME_PIPE2): Likewise.
16641 (__ASSUME_EVENTFD2): Likewise.
16642 (__ASSUME_SIGNALFD4): Likewise.
16643 (__ASSUME_DUP3): Likewise.
16644 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16645 (__ASSUME_O_CLOEXEC): Likewise.
16646 (__ASSUME_SOCK_CLOEXEC): Likewise.
16647 (__ASSUME_IN_NONBLOCK): Likewise.
16648 (__ASSUME_PIPE2): Likewise.
16649 (__ASSUME_EVENTFD2): Likewise.
16650 (__ASSUME_SIGNALFD4): Likewise.
16651 (__ASSUME_DUP3): Likewise.
16652 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16653 (__ASSUME_EVENTFD2): Likewise.
16654 (__ASSUME_SIGNALFD4): Likewise.
16655 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16657 2014-05-12 Andreas Schwab <schwab@suse.de>
16660 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16661 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16662 than maximum RPC packet size.
16663 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16664 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16665 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16666 (_nss_nis_getservbyport_r): Likewise.
16668 2014-05-12 Will Newton <will.newton@linaro.org>
16670 * malloc/Makefile (tests): Add tst-mallopt.
16671 * malloc/tst-mallopt.c: New file.
16673 2014-05-09 Roland McGrath <roland@hack.frob.com>
16675 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16676 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16678 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16680 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16681 (tst-tlsmod6.so): Likewise.
16683 2014-05-09 Roland McGrath <roland@hack.frob.com>
16685 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16687 2014-05-09 Joseph Myers <joseph@codesourcery.com>
16690 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16691 and <dl-procinfo.h>.
16692 (__fegetenv): Save SSE state in envp->__eip if supported.
16693 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16694 envp->__eip if supported.
16695 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16696 and <dl-procinfo.h>.
16697 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16698 __data_offset and __data_selector in environment to 0. Set SSE
16699 state if supported.
16700 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16702 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16704 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16706 2014-05-09 Will Newton <will.newton@linaro.org>
16708 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16709 and libc_relro_required for ARM.
16710 * sysdeps/arm/preconfigure: Regenerate.
16712 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16713 Stefan Liebler <stli@linux.vnet.ibm.com>
16715 * config.make.in (enable-lock-elision): New Makefile variable.
16716 * configure.ac: Likewise.
16717 * configure: Regenerate.
16718 * sysdeps/s390/configure.ac:
16719 Add check for gcc transactions support.
16720 * sysdeps/s390/configure: Regenerate.
16721 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16722 Build elision files if enabled.
16723 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16724 Add lock elision support for s390.
16725 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16726 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16727 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16728 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16729 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16730 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16731 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16733 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16735 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16737 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16739 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16740 (__lll_timedlock_elision, __lll_lock_elision)
16741 (__lll_unlock_elision, __lll_trylock_elision)
16742 (lll_timedlock_elision, lll_lock_elision)
16743 (lll_unlock_elision, lll_trylock_elision): Add.
16744 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16745 (pthread_mutex_t): Add lock elision support for s390.
16747 2014-05-14 Wilco <wdijkstr@arm.com>
16749 * sysdeps/arm/fclrexcpt.c: Cleanup.
16750 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16751 * sysdeps/arm/feenablxcpt.c: Cleanup.
16752 * sysdeps/arm/fegetenv.c: Cleanup.
16753 * sysdeps/arm/fegetexcept.c: Cleanup.
16754 * sysdeps/arm/fegetround.c: Cleanup.
16755 * sysdeps/arm/feholdexcpt.c: Cleanup.
16756 * sysdeps/arm/fesetenv.c: Cleanup.
16757 * sysdeps/arm/fesetround.c: Cleanup.
16758 * sysdeps/arm/feupdateenv.c: Cleanup.
16759 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16760 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16761 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16762 * sysdeps/arm/ftestexcept.c: Cleanup.
16763 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16764 * sysdeps/arm/setfpucw.c: Cleanup.
16766 2014-05-09 Will Newton <will.newton@linaro.org>
16768 * sysdeps/arm/armv7/strcmp.S: New file.
16769 * NEWS: Mention addition of ARMv7 optimized strcmp.
16771 2014-05-08 Roland McGrath <roland@hack.frob.com>
16773 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16774 look for %.ac rather than %.in.
16776 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16777 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16778 * sysdeps/mach/hurd/configure: Regenerated.
16779 * sysdeps/unix/sysv/linux/configure: Regenerated.
16781 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16783 2014-05-07 Steve Ellcey <sellcey@mips.com>
16786 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16790 2014-05-07 Andreas Schwab <schwab@suse.de>
16792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16793 when skipping over non-matching result from nscd.
16795 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
16798 * nptl/sockperf.c (client): Check socket return value.
16801 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16802 nscd security class.
16804 2014-05-06 Roland McGrath <roland@hack.frob.com>
16806 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16807 * sysdeps/arm/unwind.h: ... here.
16809 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16812 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16815 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16817 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16818 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16819 multiarch strncpy for PPC64.
16820 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16821 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16823 multiarch optimizations.
16824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16825 (__libc_ifunc_impl_list): Likewise.
16826 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16827 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16828 multiarch stpncpy for PPC64.
16829 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16830 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16832 2014-05-06 Andreas Schwab <schwab@suse.de>
16835 * gmon/mcount.c (_MCOUNT_DECL): Use
16836 atomic_compare_and_exchange_bool_acq instead of
16837 catomic_compare_and_exchange_bool_acq.
16839 2014-05-05 Roland McGrath <roland@hack.frob.com>
16841 * elf/Makefile (others, install-bin): Remove pldd.
16842 (pldd-modules): Variable removed.
16843 ($(objpfx)pldd): Target removed.
16844 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16845 (others, install-bin): Append pldd here.
16846 ($(objpfx)pldd): New target.
16848 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16849 to 0, so the first #if test emitted later doesn't see it undefined.
16850 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16851 * sysdeps/gnu/errlist.c: Regenerated.
16853 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16855 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16856 [libc_hidden_builtin_def]: Define to empty value.
16857 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16858 [libc_hidden_builtin_def]: Likewise.
16859 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16860 [libc_hidden_builtin_def]: Likewise.
16861 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16862 [libc_hidden_builtin_def]: Likewise.
16863 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16864 __redirect_memcpy and define ifunc as default hidden symbol.
16865 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16866 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16868 2014-05-04 Adam Conrad <adconrad@0c3.net>
16870 * locale/iso-4217.def: Reintroduce XDR currency.
16872 2014-05-04 Allan McRae <allan@archlinux.org>
16874 * po/eo.po: Update Esperanto translation from translation project.
16876 2014-05-02 Carlos O'Donell <carlos@redhat.com>
16878 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16879 and FEATURE_INDEX_MAX to 1.
16880 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16882 2014-05-01 Steve Ellcey <sellcey@mips.com>
16884 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16885 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16886 * iconvdata/big5.c (ONE_DIRECTION): Define.
16887 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16888 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16889 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16890 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16891 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16892 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16893 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16894 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16895 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16896 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16897 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16898 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16899 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16900 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16901 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16902 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16903 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16904 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16905 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16906 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16907 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16908 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16909 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16910 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16911 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16912 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16913 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16914 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16915 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16916 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16917 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16918 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16919 * iconvdata/johab.c (ONE_DIRECTION): Define.
16920 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16921 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16922 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16923 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16924 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16925 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16926 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16927 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16928 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16929 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16931 2014-05-01 Roland McGrath <roland@hack.frob.com>
16933 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16934 (_IO_JUMPS_OFFSET): Define to 0.
16936 * nptl/sysdeps/pthread/bits/libc-lock.h
16937 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16938 (__libc_lock_define_initialized_recursive): Always define using
16939 initializer. Modern compilers treat uninitialized (implicit zero) and
16940 explicit zero initializers the same (i.e. put the datum in bss).
16942 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16944 * nscd/nscd-client.h: Include <string.h>.
16946 2014-05-01 David S. Miller <davem@davemloft.net>
16949 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16950 multiple zero bytes exist at the end of a string.
16951 Reported by Aurelien Jarno <aurelien@aurel32.net>
16953 * string/test-strcmp.c (check): Add explicit test for situations where
16954 there are multiple zero bytes after the first.
16956 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16959 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16960 when compiling wprintf.
16961 * stdio-common/tstdiomisc.c (t3): New function.
16964 2014-05-01 Steve Ellcey <sellcey@mips.com>
16966 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16967 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16968 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16969 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16971 2014-05-01 Steve Ellcey <sellcey@mips.com>
16973 * stdlib/longlong.h: Updated from GCC.
16975 2014-05-01 Will Newton <will.newton@linaro.org>
16976 Bernard Ogden <bernie.ogden@linaro.org>
16978 * NEWS: Update fixed bug list.
16981 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16983 2014-04-30 David S. Miller <davem@davemloft.net>
16985 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16986 (libc_feholdexcept_setround_sparc_ctx): New function.
16987 (libc_fesetenv_sparc_ctx): Likewise.
16988 (libc_feupdateenv_sparc_ctx): Likewise.
16989 (libc_feholdsetround_sparc_ctx): Likewise.
16990 (libc_feholdexcept_setround_ctx): Define.
16991 (libc_feholdexcept_setroundf_ctx): Likewise.
16992 (libc_feholdexcept_setroundl_ctx): Likewise.
16993 (libc_fesetenv_ctx): Likewise.
16994 (libc_fesetenvf_ctx): Likewise.
16995 (libc_fesetenvl_ctx): Likewise.
16996 (libc_feupdateenv_ctx): Likewise.
16997 (libc_feupdateenvf_ctx): Likewise.
16998 (libc_feupdateenvl_ctx): Likewise.
16999 (libc_feresetround_ctx): Likewise.
17000 (libc_feresetroundf_ctx): Likewise.
17001 (libc_feresetroundl_ctx): Likewise.
17002 (libc_feholdsetround_ctx): Likewise.
17003 (libc_feholdsetroundf_ctx): Likewise.
17004 (libc_feholdsetroundl_ctx): Likewise.
17006 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17007 with __USE_GNU instead of XOPEN cpp guards.
17009 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17012 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17013 with XOPEN cpp guards.
17015 2014-04-30 Julian Brown <julian@codesourcery.com>
17018 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17021 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17024 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17026 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17027 * sysdeps/unix/sysv/linux/configure: Regenerated.
17028 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17029 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17030 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17031 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17032 * README: Update reference to required Linux kernel version.
17033 * manual/install.texi (Linux): Update reference to required Linux
17034 kernel headers version.
17035 * INSTALL: Regenerated.
17037 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17039 [POSIX] (limits.h): Likewise.
17040 [POSIX] (math.h): Likewise.
17041 [POSIX] (sys/wait.h): Likewise.
17042 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17044 [POSIX] (stddef.h): Do not allow header inclusion.
17046 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17048 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17050 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
17052 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17053 Return immediately after lll_futex_wake.
17055 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17058 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17060 (datahead_init_pos): Call datahead_init_common early.
17061 (datahead_init_neg): Likewise.
17063 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17064 datahead_init_neg): New functions.
17065 * nscd/aicache.c (addhstaiX): Use them.
17066 * nscd/grpcache.c (cache_addgr): Likewise.
17067 * nscd/hstcache.c (cache_addhst): Likewise.
17068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17069 * nscd/netgroupcache.c (do_notfound): Likewise.
17070 (addgetnetgrentX): Likewise.
17071 (addinnetgrX): Likewise.
17072 * nscd/pwdcache.c (cache_addpw): Likewise.
17073 * nscd/servicescache.c (cache_addserv): Likewise.
17075 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17076 Atsushi Onoe <atsushi@onoe.org>
17081 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17082 one response is valid.
17083 * resolv/res_send.c (send_dg): Check for validity of other
17084 response if the current response is a referral.
17086 2014-04-29 Steve Ellcey <sellcey@mips.com>
17088 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17090 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17093 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17094 Always divide by positive zero when computing -Inf result.
17095 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17096 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17098 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17100 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17101 FPSCR if value do not change.
17102 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17103 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17104 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17105 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17106 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17107 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17110 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17112 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17113 * sysdeps/unix/sysv/linux/hppa: Move directory from
17114 ports/systeps/unix/sysv/linux/hppa.
17115 * README: Update listing for hppa-*-linux-gnu.
17117 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17120 * manual/stdio.texi (Hook functions): Fix types of stream hook
17123 * socket/sys/socket.h: Fix typo in comment.
17125 2014-04-28 Wilco <wdijkstr@arm.com>
17127 * sysdeps/arm/fenv_private.h: New file.
17128 * sysdeps/arm/math_private.h: New file.
17129 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17131 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17133 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17135 (La_x86_64_retval): Likewise.
17137 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17139 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17140 fpsr if value didn't change.
17141 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17142 to fpcr if value didn't change.
17143 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17144 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17145 fpsr or fpcr if value didn't change.
17146 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17147 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17148 fpcr if value didn't change.
17149 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17150 to fpsr if value didn't change.
17152 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17154 * nptl/tst-sem3.c: Use test-skeleton.c
17155 (main): Rename to do_test. Use return instead of
17157 * nptl/tst-sem4.c: Use test-skeleton.c
17158 (main): Rename to do_test.
17160 2014-04-22 David S. Miller <davem@davemloft.net>
17162 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17163 (struct sigaction): New struct member __glibc_reserved0, change
17164 type of sa_flags to int.
17166 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17168 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17169 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17171 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17173 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17174 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17176 2014-04-22 Will Newton <will.newton@linaro.org>
17177 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17179 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17180 (__longjmp): Add longjmp and longjmp_target SystemTap
17182 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17183 (__sigsetjmp): Add setjmp SystemTap probe.
17185 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17187 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17188 match manual order.
17190 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17192 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17194 * sysdeps/powerpc/fpu/fenv_private.h
17195 (libc_feholdexcept_setroundl_ctx): Define to
17196 libc_feholdexcept_setround_ppc_ctx.
17197 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17198 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17199 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17200 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17202 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17204 * sysdeps/aarch64/math-tests.h: New file.
17206 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17208 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17211 Check and set bit_AVX2_Usable.
17212 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17214 (bit_AVX2): Likewise.
17215 (index_AVX2_Usable): Likewise.
17216 (CPUID_AVX2): Likewise.
17217 (HAS_AVX2): Likewise.
17219 2014-04-17 Will Newton <will.newton@linaro.org>
17221 * manual/setjmp.texi (System V contexts): Add note that
17222 calling setcontext on a context created by a call to a
17223 signal handler is undefined. Update text to note that
17224 setcontext from a signal handler is possible but not
17228 * stdlib/tst-setcontext.c: Include signal.h.
17229 (main): Check that the signal stack before and
17230 after swapcontext is the same.
17232 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17233 Re-implement to restore registers in user code and avoid
17234 rt_sigreturn system call.
17236 2014-04-17 Wilco <wdijkstr@arm.com>
17238 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17239 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17240 * math/test-fenv.c: Skip exception trap tests on targets which only
17241 support non-stop mode.
17243 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17244 Wilco Dijkstra <wilco.dijkstra@arm.com>
17246 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17247 (libc_feholdsetround_aarch64_ctx)
17248 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17249 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17250 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17251 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17252 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17253 (libc_feresetround_noexl_ctx): Define.
17255 2014-04-16 Richard Henderson <rth@redhat.com>
17257 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17259 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17262 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17263 const from the non-libc, non-ldso copy.
17265 * sysdeps/alpha/libm-test-ulps: Regenerate.
17267 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17268 Wilco Dijkstra <wilco.dijkstra@arm.com>
17270 * sysdeps/aarch64/fpu/math_private.h: New file.
17272 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17274 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17276 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17279 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17280 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17281 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17282 Intel MPX bound registers before _dl_profile_fixup.
17283 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17284 registers after _dl_profile_fixup. Save and restore bound
17285 registers bnd0/bnd1 when calling _dl_call_pltexit.
17286 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17287 (LR_BND_OFFSET): Likewise.
17288 (LRV_BND0_OFFSET): Likewise.
17289 (LRV_BND1_OFFSET): Likewise.
17291 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17293 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17295 * sysdeps/mach/hurd/i386/tls.h: ... here.
17296 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17297 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17300 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17302 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17304 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17306 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17308 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17311 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17312 * sysdeps/s390/configure: Regenerate.
17315 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17316 Set round-to-nearest internally to reduce error accumulation.
17318 2014-04-16 Alan Modra <amodra@gmail.com>
17322 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17323 * math/libm-test.inc (frexp_test_data): Add tests.
17324 * NEWS: Update fixed bug list.
17326 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17328 * benchtests/Makefile: Depend on libraries in build directory.
17329 (bench-math): Separate out math tests.
17330 (bench-pthread): Separate out pthread tests.
17331 (bench): Include math and pthread tests.
17333 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17336 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17337 _dl_debug_initialize.
17339 * configure.ac: Remove SELinux header check.
17340 * configure: Regenerate.
17341 * nscd/selinux.c (perms): Array of const char* to permission names.
17342 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17343 default policy. Call string_to_security_class and string_to_av_perm to
17344 translate strings. Enforce default policy and call avs_has_perm with
17345 results of translated strings.
17347 2014-04-13 David S. Miller <davem@davemloft.net>
17349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17351 2014-04-12 Allan McRae <allan@archlinux.org>
17354 * manual/string.texi (Collation Functions): Fix qsort argument
17356 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17358 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17360 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17361 Make the test a no-op if there are no exceptions defined.
17363 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17365 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17366 enable-hardcoded-path-in-tests
17368 2014-04-11 Will Newton <will.newton@linaro.org>
17370 * benchtests/Makefile (extra-objs): Add json-lib.o.
17371 (bench-func): Tidy up JSON output.
17372 * benchtests/bench-skeleton.c: Include json-lib.h.
17373 (main): Use JSON library functions to do output of
17375 * benchtests/bench-timing-type.c (main): Output the
17376 timing type simply, leaving formatting to the user.
17377 * benchtests/json-lib.c: New file.
17378 * benchtests/json-lib.h: Likewise.
17380 2014-04-11 Torvald Riegel <triegel@redhat.com>
17383 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17384 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17385 memory barriers. Add comments.
17386 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17387 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17388 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17389 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17390 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17391 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17393 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17395 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17396 * sysdeps/s390/s390-64/configure.ac: ... this ...
17397 * sysdeps/s390/configure.ac: ... to here.
17398 * sysdeps/s390/s390-32/configure: Delete file.
17399 * sysdeps/s390/s390-64/configure: Delete file.
17400 * sysdeps/s390/configure: Regenerate.
17402 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17404 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17406 2014-04-11 Will Newton <will.newton@linaro.org>
17408 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17409 to zero if it is not defined elsewhere. (mtrim): Test
17410 the value of MALLOC_DEBUG with #if rather than #ifdef.
17412 2014-04-10 Torvald Riegel <triegel@redhat.com>
17414 * benchtests/pthread_once-inputs: New file.
17415 * benchtests/pthread_once-source.c: New file.
17416 * benchtests/README: Update documentation.
17418 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17419 H.J. Lu <hongjiu.lu@intel.com>
17422 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17423 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17424 * sysdeps/x86_64/configure: Regenerated.
17425 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17427 (REGISTER_SAVE_RAX): Likewise.
17428 (REGISTER_SAVE_RCX): Likewise.
17429 (REGISTER_SAVE_RDX): Likewise.
17430 (REGISTER_SAVE_RSI): Likewise.
17431 (REGISTER_SAVE_RDI): Likewise.
17432 (REGISTER_SAVE_R8): Likewise.
17433 (REGISTER_SAVE_R9): Likewise.
17434 (REGISTER_SAVE_BND0): Likewise.
17435 (REGISTER_SAVE_BND1): Likewise.
17436 (REGISTER_SAVE_BND2): Likewise.
17437 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17438 bound registers when calling _dl_fixup.
17440 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17442 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17443 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17445 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17446 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17447 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17448 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17449 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17450 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17451 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17453 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17456 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17457 pathconf(_PC_NAME_MAX).
17459 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17461 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17462 Remove macro usage.
17463 (__PTHREAD_SPINS): Move definition to ...
17464 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17465 (__PTHREAD_SPINS): ... here.
17466 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17467 (__PTHREAD_SPIN): Likewise.
17468 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17469 (__PTHREAD_SPIN): Likewise.
17470 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17471 (__PTHREAD_SPIN): Likewise.
17472 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17473 (__PTHREAD_SPIN): Likewise.
17474 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17475 (__PTHREAD_SPIN): Likewise.
17476 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17477 (__PTHREAD_SPIN): Likewise.
17478 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17479 (__PTHREAD_SPIN): Likewise.
17480 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17481 (__PTHREAD_SPIN): Likewise.
17482 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17483 (__PTHREAD_SPIN): Likewise.
17484 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17485 (__PTHREAD_SPIN): Likewise.
17486 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17487 (__PTHREAD_SPIN): Likewise.
17488 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17489 (__PTHREAD_SPIN): Likewise.
17491 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17492 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17493 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17494 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17496 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17497 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17498 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17499 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17500 correct imply path.
17501 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17502 strlen symbol for non multi-arch builds.
17503 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17504 missing hidden_def and weak_alias.
17506 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17508 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17510 2014-04-07 Will Newton <will.newton@linaro.org>
17512 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17513 and contents. [!_LIBC] Remove #ifndef and contents.
17514 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17515 * string/memccpy.c (__memccpy): Use ANSI prototype.
17516 * string/memfrob.c (memfrob): Likewise.
17517 * string/strcoll.c (STRCOLL): Likewise.
17518 * string/strlen.c (strlen): Likewise.
17519 * string/strtok.c (STRTOK): Likewise.
17520 * string/strcat.c: Remove unused #include of memcopy.h.
17521 (strcat): Use ANSI prototype.
17522 * string/strchr.c: Remove unused #include of memcopy.h.
17523 (strchr): Use ANSI prototype.
17524 * string/strcmp.c: Remove unused #include of memcopy.h.
17525 (strcmp): Use ANSI prototype.
17526 * string/strcpy.c: Remove unused #include of memcopy.h.
17527 (strcpy): Use ANSI prototype.
17529 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17531 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17532 * config.make.in (config-extra-cppflags): Set it from
17533 libc_extra_cppflags.
17534 * configure.ac (libc_extra_cflags): Make it accumulate over
17535 configure fragments.
17536 (libc_extra_cppflags): New flag.
17537 * configure. Regenerate.
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17539 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17540 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17544 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17545 result for FE_DOWNWARD rounding mode.
17546 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17550 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17552 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17553 in function argument name.
17555 2014-04-03 David Svoboda <svoboda@cert.org>
17558 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17561 2014-04-03 Roland McGrath <roland@hack.frob.com>
17563 * elf/dl-unmap-segments.h: New file.
17564 * sysdeps/generic/ldsodefs.h
17565 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17566 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17567 * elf/dl-fptr.c: Likewise.
17568 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17569 * sysdeps/aarch64/tlsdesc.c: Likewise.
17570 * sysdeps/arm/tlsdesc.c: Likewise.
17571 * sysdeps/i386/tlsdesc.c: Likewise.
17572 * sysdeps/tile/dl-runtime.c: Likewise.
17573 * sysdeps/x86_64/tlsdesc.c: Likewise.
17574 * elf/dl-load.h: New file.
17575 * elf/dl-load.c: Include it.
17576 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17577 Macros moved to dl-load.h.
17578 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17579 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17580 Use _dl_unmap_segments in place of __munmap.
17581 Break out segment-mapping loop into ...
17582 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17584 2014-04-03 Will Newton <will.newton@linaro.org>
17586 * elf/dl-lookup.c (do_lookup_x): Remove comment
17587 referring to nested function and move variable
17588 declarations down to before first use.
17590 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17594 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17596 * math/s_catanf.c (__catanf): Likewise.
17597 * math/s_catanh.c (__catanh): Likewise.
17598 * math/s_catanhf.c (__catanhf): Likewise.
17599 * math/s_catanhl.c (__catanhl): Likewise.
17600 * math/s_catanl.c (__catanl): Likewise.
17601 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17602 by positive zero when computing -Inf result.
17603 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17604 (catanh_test): Likewise.
17605 * sysdeps/i386/fpu/libm-test-ulps: Update.
17606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17609 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17610 instead of using underflowing value in computing result.
17611 * math/s_clog10.c (__clog10): Likewise.
17612 * math/s_clog10f.c (__clog10f): Likewise.
17613 * math/s_clog10l.c (__clog10l): Likewise.
17614 * math/s_clogf.c (__clogf): Likewise.
17615 * math/s_clogl.c (__clogl): Likewise.
17616 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17617 (clog10_test): Likewise.
17618 * sysdeps/i386/fpu/libm-test-ulps: Update.
17619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17621 2014-04-02 Alan Modra <amodra@gmail.com>
17624 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17625 output when value is near a power of two. Use int64_t for lx and
17626 remove casts. Use decimal rather than hex exponent constants.
17627 Don't use long double multiplication when double will suffice.
17628 * math/libm-test.inc (nextafter_test_data): Add tests.
17629 * NEWS: Add 16739 and 16786 to bug list.
17631 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17633 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17635 2014-04-01 Will Newton <will.newton@linaro.org>
17637 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17638 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17640 2014-04-01 Florian Weimer <fweimer@redhat.com>
17643 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17644 * nptl/tst-setuid2.c: New file.
17645 * nptl/Makefile (xtests): Add tst-setuid2.
17647 2014-04-01 Alan Modra <amodra@gmail.com>
17650 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17652 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17656 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17657 set errno as appropriate.
17658 * math/w_scalbf.c (__scalbf): Likewise.
17659 * math/w_scalbl.c (__scalbl): Likewise.
17660 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17661 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17662 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17663 Add more NaN tests.
17666 * math/w_atan2.c: Include <errno.h>.
17667 (__atan2): Set errno for result underflowing to zero.
17668 * math/w_atan2f.c: Include <errno.h>.
17669 (__atan2f): Set errno for result underflowing to zero.
17670 * math/w_atan2l.c: Include <errno.h>.
17671 (__atan2l): Set errno for result underflowing to zero.
17672 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17674 * math/auto-libm-test-out: Regenerated.
17676 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17678 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17679 Encode instruction correctly in little endian.
17680 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17682 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17684 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17686 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17689 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17692 * sysdeps/unix/sysv/linux/kernel-features.h
17693 [__sparc__ && !__arch64__ && !__sparc_v9__]
17694 (__ASSUME_SET_ROBUST_LIST): Do not define.
17695 [__sparc__ && !__arch64__ && !__sparc_v9__]
17696 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17697 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17699 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17700 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17701 (__ASSUME_REQUEUE_PI): Likewise.
17702 (__ASSUME_SET_ROBUST_LIST): Likewise.
17703 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17704 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17706 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17707 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17709 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17711 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17713 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17714 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17716 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17717 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17721 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17722 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17723 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17725 2014-03-31 Will Newton <will.newton@linaro.org>
17727 * benchtests/Makefile (bench): Add ffs and ffsll to list
17729 * benchtests/ffs-inputs: New file.
17730 * benchtests/ffsll-inputs: Likewise.
17732 2014-03-29 Joseph Myers <joseph@codesourcery.com>
17735 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17736 too large before casting to int.
17737 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17738 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17739 * math/libm-test.inc (scalb_test_data): Add more tests.
17741 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17743 * benchtests/Makefile (DETAILED_OPT): New make option.
17744 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17746 * benchtests/bench-skeleton.c: Include stdbool.h.
17747 (main): Store and print timings per input.
17748 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17749 member to each argument value.
17750 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17751 (_print_arg_data): Initialize per-input timing to 0.
17753 * benchtests/Makefile (timing-type): New binary.
17754 (bench-clean): Also remove bench-timing-type.
17755 (bench): New target for timing-type.
17756 (bench-func): Print output in JSON format.
17757 * benchtests/bench-skeleton.c (main): Print output in JSON
17759 * benchtests/bench-timing-type.c: New file.
17760 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17761 (TIMING_PRINT_STATS): Remove.
17762 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17765 * benchtests/bench-modf.c: Remove.
17766 * benchtests/modf-inputs: New inputs file.
17768 2014-03-28 Joseph Myers <joseph@codesourcery.com>
17771 * math/s_clog10.c (M_PI_LOG10E): New macro.
17772 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17773 imaginary parts are 0.
17774 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17775 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17776 imaginary parts are 0.
17777 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17778 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17779 imaginary parts are 0.
17780 * math/libm-test.inc (clog10_test_data): Update expected results
17781 for when real and imaginary parts are 0.
17783 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17785 * elf/dl-load.c: Finish conversion of __builtin_expect into
17786 __glibc_{un}likely.
17788 2014-03-27 Joseph Myers <joseph@codesourcery.com>
17791 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17792 1+x for argument with exponent below -67.
17793 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17795 * math/auto-libm-test-in: Add more tests of exp.
17796 * math/auto-libm-test-out: Regenerated.
17798 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17801 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17802 (nscd_getnetgrent): Use it.
17805 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17808 2014-03-27 Andi Kleen <ak@linux.intel.com>
17810 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17811 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17812 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17813 (lll_robust_unlock): Remove out of line section. Use cfi
17815 (LLL_STUB_UNWIND_INFO*): Remove.
17816 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17817 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17818 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17819 (lll_robust_unlock): Remove out of line section. Use cfi
17821 (LLL_STUB_UNWIND_INFO*): Remove.
17823 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17826 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17829 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17831 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17833 2014-03-26 Joseph Myers <joseph@codesourcery.com>
17836 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17838 * math/test-fenv-preserve.c: New file.
17839 * math/Makefile (tests): Add test-fenv-preserve.
17841 2014-03-26 Will Newton <will.newton@linaro.org>
17843 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17845 2014-03-25 Roland McGrath <roland@hack.frob.com>
17847 * scripts/versionlist.awk: Partition the version sets and emit all
17848 GLIBC_* (sorted) before all others (sorted).
17850 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17852 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17853 GLIBC_2.2.5 version.
17855 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17857 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17860 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17865 2014-03-25 Andreas Schwab <schwab@suse.de>
17867 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17868 label to be used after in6ailist is initialized.
17870 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17872 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17873 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17875 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17879 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17881 (fp_formats): Update initializers.
17882 (init_fp_formats): Initialize new field.
17883 (output_for_one_input_case): Allow underflow for results up to
17885 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17886 * math/auto-libm-test-in: Don't mark some underflows from asin and
17888 * math/auto-libm-test-out: Regenerated.
17889 * sysdeps/i386/fpu/libm-test-ulps: Update.
17890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17892 2014-03-25 Andreas Schwab <schwab@suse.de>
17894 * libio/Makefile (tst-ftell-partial-wide-ENV)
17895 (tst-ftell-active-handler-ENV): Define.
17897 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17899 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17901 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17903 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17905 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17907 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17908 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17909 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17911 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17914 * elf/dl-load.c (open_verify): Add mode parameter.
17915 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17916 (open_path): Change from boolean 'secure' to complete flag 'mode'
17917 (_dl_map_object): Adjust.
17918 * elf/Makefile (tests): Add tst-dlopen-aout.
17919 * elf/tst-dlopen-aout.c: New test.
17921 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17924 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17925 (struct stat): Rename member pad0 to __glibc_reserved0.
17928 * sysdeps/s390/s390-32/bits/wordsize.h
17929 (__WORDSIZE32_SIZE_ULONG): New define.
17930 * sysdeps/s390/s390-64/bits/wordsize.h
17931 (__WORDSIZE32_SIZE_ULONG): Likewise.
17932 * sysdeps/generic/stdint.h (SIZE_MAX):
17933 Define as UL if __WORDSIZE32_SIZE_ULONG.
17936 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17937 (__glibc_reserved0): New variable.
17938 (sa_flags): Change type to int.
17940 * posix/Makefile (before-compile): Use += before-compile instead
17943 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17944 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17946 2014-03-20 Andreas Schwab <schwab@suse.de>
17949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17950 non-matching result from nscd.
17952 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17954 * scripts/bench.py: Moved to ...
17955 * benchtests/scripts/bench.py: ... here.
17956 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17958 2014-03-24 Andreas Schwab <schwab@suse.de>
17961 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17962 alloca_account and account alloca use for struct in6ailist.
17964 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17967 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17968 rounding mode to recompute results that overflow to infinity or
17970 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17972 * math/auto-libm-test-out: Regenerated.
17973 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17974 (ccosh_test): Likewise.
17975 (csin_test_data): Use plus_oflow.
17976 (csin_test): Use ALL_RM_TEST.
17977 (csinh_test_data): Use plus_oflow.
17978 (csinh_test): Use ALL_RM_TEST.
17979 * sysdeps/i386/fpu/libm-test-ulps: Update.
17980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17982 2014-03-21 Joseph Myers <joseph@codesourcery.com>
17984 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17985 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17986 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17989 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17990 when x - 1 is zero.
17991 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17992 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17993 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17994 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17996 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17997 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17999 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18000 * sysdeps/i386/fpu/libm-test-ulps: Update.
18001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18003 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18005 * scripts/bench.pl: Remove file.
18006 * scripts/bench.py: New benchmark script.
18007 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18008 * benchtests/README: Mention python dependency.
18009 * scripts/pylintrc: New file.
18010 * scripts/pylint: New file.
18012 * bits/mathdef.h: Use #ifdef instead of #if.
18013 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18014 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18015 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18016 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18017 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18018 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18020 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18021 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18023 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18025 and strpbrk-ppc64 objects.
18026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18027 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18028 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18029 multiarch strpbrk for POWER7.
18030 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18031 multiarch strpbrk for PPC64.
18032 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18034 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18035 strpbrk for POWER7.
18037 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18039 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18040 (atan_test): Likewise.
18041 (atanh_test_data): Use NO_TEST_INLINE for two tests.
18042 (atanh_test): Use ALL_RM_TEST.
18043 (atan2_test_data): Likewise.
18044 (cabs_test): Likewise.
18045 (cacosh_test): Likewise.
18046 (carg_test): Likewise.
18047 (casin_test): Likewise.
18048 (casinh_test): Likewise.
18049 (cbrt_test): Likewise.
18050 (csqrt_test): Likewise.
18051 (erf_test): Likewise.
18052 (erfc_test): Likewise.
18053 (pow10_test): Likewise.
18054 (exp2_test): Likewise.
18055 (hypot_test): Likewise.
18056 (j0_test): Likewise.
18057 (j1_test): Likewise.
18058 (lgamma_test): Likewise.
18059 (gamma_test): Likewise.
18060 (sincos_test): Likewise.
18061 (tanh_test): Likewise.
18062 (y0_test): Likewise.
18063 (y1_test): Likewise.
18064 * sysdeps/i386/fpu/libm-test-ulps: Update.
18065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18067 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18069 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18071 and strcspn-ppc64 objects.
18072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18073 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18074 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18075 multiarch strcspn for POWER7.
18076 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18077 multiarch strcspn for PPC64.
18078 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18080 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18081 strcspn for POWER7.
18083 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18085 * math/gen-libm-test.pl (generate_testfile): Expect only function
18086 name as argument to AUTO_TESTS_* and pass results for all rounding
18087 modes to parse_args.
18088 (parse_auto_input): Separate inputs of automatic tests from
18089 outputs before storing in %auto_tests.
18090 * math/libm-test.inc (acos_test_data): Update call to
18092 (acos_test): Use ALL_RM_TEST.
18093 (acos_tonearest_test_data): Remove.
18094 (acos_test_tonearest): Likewise.
18095 (acos_towardzero_test_data): Likewise.
18096 (acos_test_towardzero): Likewise.
18097 (acos_downward_test_data): Likewise.
18098 (acos_test_downward): Likewise.
18099 (acos_upward_test_data): Likewise.
18100 (acos_test_upward): Likewise.
18101 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18102 (asin_test_data): Likewise.
18103 (asin_test): Use ALL_RM_TEST.
18104 (asin_tonearest_test_data): Remove.
18105 (asin_test_tonearest): Likewise.
18106 (asin_towardzero_test_data): Likewise.
18107 (asin_test_towardzero): Likewise.
18108 (asin_downward_test_data): Likewise.
18109 (asin_test_downward): Likewise.
18110 (asin_upward_test_data): Likewise.
18111 (asin_test_upward): Likewise.
18112 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18113 (atan_test_data): Likewise.
18114 (atanh_test_data): Likewise.
18115 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18116 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18117 (carg_test_data): Likewise.
18118 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18119 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18120 (ccosh_test_data): Likewise.
18121 (cexp_test_data): Likewise.
18122 (clog_test_data): Likewise.
18123 (clog10_test_data): Likewise.
18124 (cos_test_data): Update call to AUTO_TESTS_f_f.
18125 (cos_test): Use ALL_RM_TEST.
18126 (cos_tonearest_test_data): Remove.
18127 (cos_test_tonearest): Likewise.
18128 (cos_towardzero_test_data): Likewise.
18129 (cos_test_towardzero): Likewise.
18130 (cos_downward_test_data): Likewise.
18131 (cos_test_downward): Likewise.
18132 (cos_upward_test_data): Likewise.
18133 (cos_test_upward): Likewise.
18134 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18135 (cosh_test): Use ALL_RM_TEST.
18136 (cosh_tonearest_test_data): Remove.
18137 (cosh_test_tonearest): Likewise.
18138 (cosh_towardzero_test_data): Likewise.
18139 (cosh_test_towardzero): Likewise.
18140 (cosh_downward_test_data): Likewise.
18141 (cosh_test_downward): Likewise.
18142 (cosh_upward_test_data): Likewise.
18143 (cosh_test_upward): Likewise.
18144 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18145 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18146 (ctan_test_data): Likewise.
18147 (ctan_test): Use ALL_RM_TEST.
18148 (ctan_tonearest_test_data): Remove.
18149 (ctan_test_tonearest): Likewise.
18150 (ctan_towardzero_test_data): Likewise.
18151 (ctan_test_towardzero): Likewise.
18152 (ctan_downward_test_data): Likewise.
18153 (ctan_test_downward): Likewise.
18154 (ctan_upward_test_data): Likewise.
18155 (ctan_test_upward): Likewise.
18156 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18157 (ctanh_test): Use ALL_RM_TEST.
18158 (ctanh_tonearest_test_data): Remove.
18159 (ctanh_test_tonearest): Likewise.
18160 (ctanh_towardzero_test_data): Likewise.
18161 (ctanh_test_towardzero): Likewise.
18162 (ctanh_downward_test_data): Likewise.
18163 (ctanh_test_downward): Likewise.
18164 (ctanh_upward_test_data): Likewise.
18165 (ctanh_test_upward): Likewise.
18166 (erf_test_data): Update call to AUTO_TESTS_f_f.
18167 (erfc_test_data): Likewise.
18168 (exp_test_data): Likewise.
18169 (exp_test): Use ALL_RM_TEST.
18170 (exp_tonearest_test_data): Remove.
18171 (exp_test_tonearest): Likewise.
18172 (exp_towardzero_test_data): Likewise.
18173 (exp_test_towardzero): Likewise.
18174 (exp_downward_test_data): Likewise.
18175 (exp_test_downward): Likewise.
18176 (exp_upward_test_data): Likewise.
18177 (exp_test_upward): Likewise.
18178 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18179 (exp10_test): Use ALL_RM_TEST.
18180 (exp10_tonearest_test_data): Remove.
18181 (exp10_test_tonearest): Likewise.
18182 (exp10_towardzero_test_data): Likewise.
18183 (exp10_test_towardzero): Likewise.
18184 (exp10_downward_test_data): Likewise.
18185 (exp10_test_downward): Likewise.
18186 (exp10_upward_test_data): Likewise.
18187 (exp10_test_upward): Likewise.
18188 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18189 (expm1_test_data): Likewise.
18190 (expm1_test): Use ALL_RM_TEST.
18191 (expm1_tonearest_test_data): Remove.
18192 (expm1_test_tonearest): Likewise.
18193 (expm1_towardzero_test_data): Likewise.
18194 (expm1_test_towardzero): Likewise.
18195 (expm1_downward_test_data): Likewise.
18196 (expm1_test_downward): Likewise.
18197 (expm1_upward_test_data): Likewise.
18198 (expm1_test_upward): Likewise.
18199 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18200 (fma_test): Use ALL_RM_TEST.
18201 (fma_towardzero_test_data): Remove.
18202 (fma_test_towardzero): Likewise.
18203 (fma_downward_test_data): Likewise.
18204 (fma_test_downward): Likewise.
18205 (fma_upward_test_data): Likewise.
18206 (fma_test_upward): Likewise.
18207 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18208 (j0_test_data): Update call to AUTO_TESTS_f_f.
18209 (j1_test_data): Likewise.
18210 (jn_test_data): Update call to AUTO_TESTS_if_f.
18211 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18212 (log_test_data): Update call to AUTO_TESTS_f_f.
18213 (log10_test_data): Likewise.
18214 (log1p_test_data): Likewise.
18215 (log2_test_data): Likewise.
18216 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18217 (pow_tonearest_test_data): Likewise.
18218 (sin_test_data): Update call to AUTO_TESTS_f_f.
18219 (sin_test): Use ALL_RM_TEST.
18220 (sin_tonearest_test_data): Remove.
18221 (sin_test_tonearest): Likewise.
18222 (sin_towardzero_test_data): Likewise.
18223 (sin_test_towardzero): Likewise.
18224 (sin_downward_test_data): Likewise.
18225 (sin_test_downward): Likewise.
18226 (sin_upward_test_data): Likewise.
18227 (sin_test_upward): Likewise.
18228 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18229 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18230 (sinh_test): Use ALL_RM_TEST.
18231 (sinh_tonearest_test_data): Remove.
18232 (sinh_test_tonearest): Likewise.
18233 (sinh_towardzero_test_data): Likewise.
18234 (sinh_test_towardzero): Likewise.
18235 (sinh_downward_test_data): Likewise.
18236 (sinh_test_downward): Likewise.
18237 (sinh_upward_test_data): Likewise.
18238 (sinh_test_upward): Likewise.
18239 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18240 (sqrt_test): Use ALL_RM_TEST.
18241 (sqrt_tonearest_test_data): Remove.
18242 (sqrt_test_tonearest): Likewise.
18243 (sqrt_towardzero_test_data): Likewise.
18244 (sqrt_test_towardzero): Likewise.
18245 (sqrt_downward_test_data): Likewise.
18246 (sqrt_test_downward): Likewise.
18247 (sqrt_upward_test_data): Likewise.
18248 (sqrt_test_upward): Likewise.
18249 (tan_test_data): Update call to AUTO_TESTS_f_f.
18250 (tan_test): Use ALL_RM_TEST.
18251 (tan_tonearest_test_data): Remove.
18252 (tan_test_tonearest): Likewise.
18253 (tan_towardzero_test_data): Likewise.
18254 (tan_test_towardzero): Likewise.
18255 (tan_downward_test_data): Likewise.
18256 (tan_test_downward): Likewise.
18257 (tan_upward_test_data): Likewise.
18258 (tan_test_upward): Likewise.
18259 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18260 (tgamma_test_data): Likewise.
18261 (y0_test_data): Likewise.
18262 (y1_test_data): Likewise.
18263 (yn_test_data): Update call to AUTO_TESTS_if_f.
18264 (main): Do not call removed functions.
18266 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18268 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18269 (ldexp_test_data): Remove.
18270 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18272 (scalb_test): Use ALL_RM_TEST.
18274 2014-03-19 Andreas Schwab <schwab@suse.de>
18276 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18278 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18281 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18282 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18283 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18284 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18285 (__ASSUME_PREADV): Undefine.
18286 (__ASSUME_PWRITEV): Likewise.
18288 2014-03-18 Roland McGrath <roland@hack.frob.com>
18290 * bits/mman-linux.h: Add comment about non-Linux use.
18291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18292 bits/mman-linux.h resting place.
18294 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18295 * bits/mman-linux.h: ... here.
18297 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18299 * conform/conformtest.pl: Add standard definition when calling C
18300 preprocessor on data files.
18301 (checknamespace): Remove unused variable.
18303 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18305 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18306 minus_oflow, plus_uflow and minus_uflow in expected results.
18307 * math/libm-test.inc (scalbn_test_data): Add more tests of
18308 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18310 (scalbn_test): Use ALL_RM_TEST.
18311 (scalbln_test_data): Add more tests of negative arguments. Use
18312 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18313 (scalbln_test): Use ALL_RM_TEST.
18315 2014-03-18 Roland McGrath <roland@hack.frob.com>
18317 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18319 2014-03-18 Will Newton <will.newton@linaro.org>
18321 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18322 inaccurate comment.
18324 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18326 * Makerules [!subdir] (check-abi): Exit with error status if a
18329 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18331 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18332 for rint. Include results for all rounding modes.
18333 (nearbyint_test): Use ALL_RM_TEST.
18334 (rint_test_data): Include all tests used for nearbyint.
18336 2014-03-17 Will Newton <will.newton@linaro.org>
18338 * nptl/sysdeps/pthread/pthread.h: Revert previous
18341 * sysdeps/generic/ldsodefs.h: Revert previous
18344 * libio/genops.c: Revert previous change.
18345 * libio/libioP.h: Likewise.
18346 * stdio-common/vfprintf.c: Likewise.
18348 * sysdeps/generic/math_private.h: Revert previous
18351 * sysdeps/generic/math_private.h: Check whether
18352 HAVE_RM_CTX is defined with #ifdef rather
18355 * argp/argp-fmtstream.h: Check whether
18356 __STRICT_ANSI__ is defined with #ifdef rather
18358 * argp/argp.h: Likewise.
18360 * libio/genops.c: Check whether
18361 _IO_JUMPS_OFFSET is defined with #ifdef rather
18363 * libio/libioP.h: Likewise.
18364 * stdio-common/vfprintf.c: Likewise.
18366 * sysdeps/generic/ldsodefs.h: Check whether
18367 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18370 * nptl/sysdeps/pthread/pthread.h: Check
18371 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18374 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18376 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18378 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18382 * libio/fileops.c (_IO_file_open): Seek to end of file but
18383 don't cache the offset.
18384 (get_file_offset): Remove function.
18385 (do_ftell): Use cached offset when available.
18386 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18387 don't cache the offset.
18388 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18390 (do_one_test): Call it.
18391 (do_ftell_test): Fix up expected old offset for a+ mode.
18392 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18395 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18396 up test status with function return status.
18397 (do_write_test): Likewise.
18398 (do_append_test): Likewise.
18400 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18401 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18404 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18406 * math/gen-libm-test.pl (parse_args): Handle results specified for
18407 each rounding mode separately.
18408 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18409 tests and results from lrint_tonearest_test_data,
18410 lrint_towardzero_test_data, lrint_downward_test_data and
18411 lrint_upward_test_data.
18412 (lrint_test): Use ALL_RM_TEST.
18413 (lrint_tonearest_test_data): Remove.
18414 (lrint_test_tonearest): Likewise.
18415 (lrint_towardzero_test_data): Likewise.
18416 (lrint_test_towardzero): Likewise.
18417 (lrint_downward_test_data): Likewise.
18418 (lrint_test_downward): Likewise.
18419 (lrint_upward_test_data): Likewise.
18420 (lrint_test_upward): Likewise.
18421 (llrint_test_data): Merge in per-rounding-mode tests and results
18422 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18423 llrint_downward_test_data and llrint_upward_test_data.
18424 (llrint_test): Use ALL_RM_TEST.
18425 (llrint_tonearest_test_data): Remove.
18426 (llrint_test_tonearest): Likewise.
18427 (llrint_towardzero_test_data): Likewise.
18428 (llrint_test_towardzero): Likewise.
18429 (llrint_downward_test_data): Likewise.
18430 (llrint_test_downward): Likewise.
18431 (llrint_upward_test_data): Likewise.
18432 (llrint_test_upward): Likewise.
18433 (rint_test_data): Merge in per-rounding-mode tests and results
18434 from rint_tonearest_test_data, rint_towardzero_test_data,
18435 rint_downward_test_data and rint_upward_test_data. Add
18436 per-rounding-mode results for tests not in those arrays.
18437 (rint_test): Use ALL_RM_TEST.
18438 (rint_tonearest_test_data): Remove.
18439 (rint_test_tonearest): Likewise.
18440 (rint_towardzero_test_data): Likewise.
18441 (rint_test_towardzero): Likewise.
18442 (rint_downward_test_data): Likewise.
18443 (rint_test_downward): Likewise.
18444 (rint_upward_test_data): Likewise.
18445 (rint_test_upward): Likewise.
18446 (main): Don't call removed functions.
18448 2014-03-14 Roland McGrath <roland@hack.frob.com>
18450 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18451 "Compiled on ..." crapola. It is anti-useful.
18453 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18455 * scripts/evaluate-test.sh: Handle fourth argument to determine
18456 whether test run should stop on failure.
18457 * Makeconfig (stop-on-test-failure): New variable.
18458 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18459 $(stop-on-test-failure).
18460 * Makefile (tests): Give a summary of results from testing and
18461 exit with failure status if they include an ERROR or FAIL.
18462 (xtests): Likewise.
18463 * manual/install.texi (Configuring and compiling): Mention
18464 stop-on-test-failure=y.
18465 * INSTALL: Regenerated.
18467 2014-03-14 Roland McGrath <roland@hack.frob.com>
18469 * scripts/versionlist.awk: New file.
18470 * Makerules [$(build-shared) = yes]
18471 (postclean-generated): Add Versions.def, not Versions.def.v and
18473 ($(common-objpfx)Versions.def.v.i): Target removed.
18474 ($(common-objpfx)Versions.def): New target.
18475 ($(common-objpfx)Versions.all): Depend on that rather that
18476 $(common-objpfx)Versions.def.v.
18477 * Versions.def: File removed.
18479 * Makeconfig (+gccwarn): Add -Wundef.
18480 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18481 a dl-sysdep.h breaking its contract.
18482 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18483 * include/stackinfo.h: New file.
18484 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18485 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18486 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18487 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18488 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18489 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18490 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18491 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18492 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18493 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18494 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18495 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18496 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18497 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18498 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18500 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18503 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18505 * math/libm-test.inc (round_test_data): Add more tests.
18508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18510 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18513 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18515 * math/libm-test.inc (ceil_test_data): Add more tests.
18517 * math/libm-test.inc (trunc_test_data): Add more tests related to
18520 2014-03-14 Roland McGrath <roland@hack.frob.com>
18522 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18523 with #if rather than #ifdef.
18524 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18526 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18528 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18529 first. Disable AVX-512 GCC support if assembler doesn't support
18531 * sysdeps/x86_64/configure: Regenerated.
18533 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18535 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18536 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18537 (__old_pthread_attr_setstack): Likewise.
18538 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18539 [!_STACK_GROWS_DOWN]: Likewise.
18541 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18543 * config.make.in (have-bash2): Delete.
18544 * configure.ac (libc_cv_have_bash2): Delete.
18545 * configure: Regenerate.
18546 * elf/Makefile (common-ldd-rewrite): Rename to ...
18547 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18548 (sh-ldd-rewrite): Delete.
18549 (bash-ldd-rewrite): Delete.
18550 (have-bash2): Delete checks.
18551 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18554 * config.make.in (have-ksh): Delete.
18556 * configure.ac (libc_cv_have_ksh): Delete.
18557 * configure: Regenerate.
18559 * elf/Makefile: Delete $(have-ksh) check.
18560 ($(objpfx)sotruss): Change KSH to BASH.
18561 * elf/sotruss.ksh: Rename to ...
18562 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18563 function style to match POSIX. Drop ksh vim mode setting.
18565 * manual/time.texi (Specifying the Time Zone with TZ): Change
18566 Tuesday to Thursday.
18568 * debug/tst-longjmp_chk2.c: Update header comment.
18569 (stackoverflow_handler): Add comment. Call assert on pass value.
18571 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18574 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18575 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18576 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18577 (La_x86_64_vector): Add zmm.
18578 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18579 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18580 ($(objpfx)tst-audit10): New target.
18581 ($(objpfx)tst-audit10.out): Likewise.
18582 (tst-audit10-ENV): New.
18583 (AVX512-CFLAGS): Likewise.
18584 (CFLAGS-tst-audit10.c): Likewise.
18585 (CFLAGS-tst-auditmod10a.c): Likewise.
18586 (CFLAGS-tst-auditmod10b.c): Likewise.
18587 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18588 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18589 * sysdeps/x86_64/configure: Regenerated.
18590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18591 AVX-512 zmm register support.
18592 (_dl_x86_64_save_sse): Likewise.
18593 (_dl_x86_64_restore_sse): Likewise.
18594 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18595 size vector registers.
18596 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18597 (ZMM_SIZE): Likewise.
18598 * sysdeps/x86_64/tst-audit10.c: New file.
18599 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18600 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18602 2014-03-13 Roland McGrath <roland@hack.frob.com>
18604 * configure.ac (HAVE_EHDR_START): New check.
18605 * configure: Regenerated.
18606 * config.h.in (HAVE_EHDR_START): New #undef.
18607 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18608 assuming the lowest-addressed segment maps the start of the file.
18610 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18612 * INSTALL: Regenerated.
18614 2014-03-13 Will Newton <will.newton@linaro.org>
18616 * manual/setjmp.texi (System V contexts): Improve
18617 clarity and grammar of documentation.
18619 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18622 * elf/Makefile (tests): Add tst-pie2.
18623 (tests-pie): Add tst-pie2.
18624 * elf/tst-pie2.c: New file.
18625 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18627 * elf/rtld.c (map_doit): Load executable as lt_executable.
18628 (dl_main): Likewise.
18630 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18633 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18634 (__ASSUME_PSELECT): Undefine.
18636 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18639 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18640 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18642 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18643 selector for static builds.
18645 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18648 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18651 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18653 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18654 IFUNC selector for static builds.
18656 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18658 * sysdeps/mips/math_private.h [__mips_hard_float]
18659 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18660 libc_feresetround_mips_ctx.
18661 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18662 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18663 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18666 * math/s_nextafter.c (__nextafter): Do not return value from
18667 overflowing computation.
18668 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18669 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18670 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18672 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18674 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18675 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18677 2014-03-11 Roland McGrath <roland@hack.frob.com>
18679 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18680 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18681 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18682 the new mov targetting sp.
18684 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18687 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18688 Define it for static builds as well.
18689 (NO_BZERO_IMPL): Likewise.
18691 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18693 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18694 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18695 multiarch strspn for PPC64.
18696 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18697 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18699 (__libc_ifunc_impl_list): Likewise.
18700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18701 multiarch optimizations
18702 * string/strspn.c (strspn): Using macro to redefine symbol name.
18704 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18705 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18707 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18708 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18709 multiarch strncat for PPC64.
18710 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18711 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18713 (__libc_ifunc_impl_list): Likewise.
18714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18715 multiarch optimizations
18717 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18720 * nscd/nscd.service: Make service type forking.
18722 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18724 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18725 sign in non default rounding modes.
18726 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18728 2014-03-08 Joseph Myers <joseph@codesourcery.com>
18730 * math/libm-test.inc (ALL_RM_TEST): New macro.
18731 (ceil_test): Use ALL_RM_TEST.
18732 (cimag_test): Likewise.
18733 (conj_test): Likewise.
18734 (copysign_test): Likewise.
18735 (cproj_test): Likewise.
18736 (creal_test): Likewise.
18737 (fabs_test): Likewise.
18738 (floor_test): Likewise.
18739 (fmax_test): Likewise.
18740 (fmin_test): Likewise.
18741 (fmod_test): Likewise.
18742 (fpclassify_test): Likewise.
18743 (frexp_test): Likewise.
18744 (ilogb_test): Likewise.
18745 (isfinite_test): Likewise.
18746 (finite_test): Likewise.
18747 (isgreater_test): Likewise.
18748 (isgreaterequal_test): Likewise.
18749 (isinf_test): Likewise.
18750 (isless_test): Likewise.
18751 (islessequal_test): Likewise.
18752 (islessgreater_test): Likewise.
18753 (isnan_test): Likewise.
18754 (isnormal_test): Likewise.
18755 (issignaling_test): Likewise.
18756 (isunordered_test): Likewise.
18757 (logb_test): Likewise.
18758 (logb_downward_test_data): Remove.
18759 (logb_test_downward): Likewise.
18760 (lround_test): Use ALL_RM_TEST.
18761 (llround_test): Likewise.
18762 (modf_test): Likewise.
18763 (nexttoward_test): Likewise.
18764 (remainder_test): Likewise.
18765 (drem_test): Likewise.
18766 (remainder_tonearest_test_data): Likewise.
18767 (remainder_test_tonearest): Likewise.
18768 (drem_test_tonearest): Likewise.
18769 (remainder_towardzero_test_data): Likewise.
18770 (remainder_test_towardzero): Likewise.
18771 (drem_test_towardzero): Likewise.
18772 (remainder_downward_test_data): Likewise.
18773 (remainder_test_downward): Likewise.
18774 (drem_test_downward): Likewise.
18775 (remainder_upward_test_data): Likewise.
18776 (remainder_test_upward): Likewise.
18777 (drem_test_upward): Likewise.
18778 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18779 (round_test): Use ALL_RM_TEST.
18780 (signbit_test): Likewise.
18781 (trunc_test): Likewise.
18782 (significand_test): Likewise.
18783 (main): Don't call removed functions.
18785 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18788 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18789 || __USE_XOPEN2K8].
18790 (ILL_ILLOPN): Likewise.
18791 (ILL_ILLADR): Likewise.
18792 (ILL_ILLTRP): Likewise.
18793 (ILL_PRVOPC): Likewise.
18794 (ILL_PRVREG): Likewise.
18795 (ILL_COPROC): Likewise.
18796 (ILL_BADSTK): Likewise.
18797 (FPE_INTDIV): Likewise.
18798 (FPE_INTOVF): Likewise.
18799 (FPE_FLTDIV): Likewise.
18800 (FPE_FLTOVF): Likewise.
18801 (FPE_FLTUND): Likewise.
18802 (FPE_FLTRES): Likewise.
18803 (FPE_FLTINV): Likewise.
18804 (FPE_FLTSUB): Likewise.
18805 (SEGV_MAPERR): Likewise.
18806 (SEGV_ACCERR): Likewise.
18807 (BUS_ADRALN): Likewise.
18808 (BUS_ADRERR): Likewise.
18809 (BUS_OBJERR): Likewise.
18810 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18811 (TRAP_TRACE): Likewise.
18812 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18814 (CLD_KILLED): Likewise.
18815 (CLD_DUMPED): Likewise.
18816 (CLD_TRAPPED): Likewise.
18817 (CLD_STOPPED): Likewise.
18818 (CLD_CONTINUED): Likewise.
18819 (POLL_IN): Likewise.
18820 (POLL_OUT): Likewise.
18821 (POLL_MSG): Likewise.
18822 (POLL_ERR): Likewise.
18823 (POLL_PRI): Likewise.
18824 (POLL_HUP): Likewise.
18825 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18827 (ILL_ILLOPN): Likewise.
18828 (ILL_ILLADR): Likewise.
18829 (ILL_ILLTRP): Likewise.
18830 (ILL_PRVOPC): Likewise.
18831 (ILL_PRVREG): Likewise.
18832 (ILL_COPROC): Likewise.
18833 (ILL_BADSTK): Likewise.
18834 (FPE_INTDIV): Likewise.
18835 (FPE_INTOVF): Likewise.
18836 (FPE_FLTDIV): Likewise.
18837 (FPE_FLTOVF): Likewise.
18838 (FPE_FLTUND): Likewise.
18839 (FPE_FLTRES): Likewise.
18840 (FPE_FLTINV): Likewise.
18841 (FPE_FLTSUB): Likewise.
18842 (SEGV_MAPERR): Likewise.
18843 (SEGV_ACCERR): Likewise.
18844 (BUS_ADRALN): Likewise.
18845 (BUS_ADRERR): Likewise.
18846 (BUS_OBJERR): Likewise.
18847 (BUS_MCEERR_AR): Likewise.
18848 (BUS_MCEERR_AO): Likewise.
18849 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18850 (TRAP_TRACE): Likewise.
18851 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18853 (CLD_KILLED): Likewise.
18854 (CLD_DUMPED): Likewise.
18855 (CLD_TRAPPED): Likewise.
18856 (CLD_STOPPED): Likewise.
18857 (CLD_CONTINUED): Likewise.
18858 (POLL_IN): Likewise.
18859 (POLL_OUT): Likewise.
18860 (POLL_MSG): Likewise.
18861 (POLL_ERR): Likewise.
18862 (POLL_PRI): Likewise.
18863 (POLL_HUP): Likewise.
18864 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18865 (ILL_ILLOPN): Likewise.
18866 (ILL_ILLADR): Likewise.
18867 (ILL_ILLTRP): Likewise.
18868 (ILL_PRVOPC): Likewise.
18869 (ILL_PRVREG): Likewise.
18870 (ILL_COPROC): Likewise.
18871 (ILL_BADSTK): Likewise.
18872 (FPE_INTDIV): Likewise.
18873 (FPE_INTOVF): Likewise.
18874 (FPE_FLTDIV): Likewise.
18875 (FPE_FLTOVF): Likewise.
18876 (FPE_FLTUND): Likewise.
18877 (FPE_FLTRES): Likewise.
18878 (FPE_FLTINV): Likewise.
18879 (FPE_FLTSUB): Likewise.
18880 (SEGV_MAPERR): Likewise.
18881 (SEGV_ACCERR): Likewise.
18882 (BUS_ADRALN): Likewise.
18883 (BUS_ADRERR): Likewise.
18884 (BUS_OBJERR): Likewise.
18885 (BUS_MCEERR_AR): Likewise.
18886 (BUS_MCEERR_AO): Likewise.
18887 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18888 (TRAP_TRACE): Likewise.
18889 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18891 (CLD_KILLED): Likewise.
18892 (CLD_DUMPED): Likewise.
18893 (CLD_TRAPPED): Likewise.
18894 (CLD_STOPPED): Likewise.
18895 (CLD_CONTINUED): Likewise.
18896 (POLL_IN): Likewise.
18897 (POLL_OUT): Likewise.
18898 (POLL_MSG): Likewise.
18899 (POLL_ERR): Likewise.
18900 (POLL_PRI): Likewise.
18901 (POLL_HUP): Likewise.
18902 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18904 (ILL_ILLOPN): Likewise.
18905 (ILL_ILLADR): Likewise.
18906 (ILL_ILLTRP): Likewise.
18907 (ILL_PRVOPC): Likewise.
18908 (ILL_PRVREG): Likewise.
18909 (ILL_COPROC): Likewise.
18910 (ILL_BADSTK): Likewise.
18911 (ILL_BADIADDR): Likewise.
18912 (ILL_BREAK): Likewise.
18913 (FPE_INTDIV): Likewise.
18914 (FPE_INTOVF): Likewise.
18915 (FPE_FLTDIV): Likewise.
18916 (FPE_FLTOVF): Likewise.
18917 (FPE_FLTUND): Likewise.
18918 (FPE_FLTRES): Likewise.
18919 (FPE_FLTINV): Likewise.
18920 (FPE_FLTSUB): Likewise.
18921 (FPE_DECOVF): Likewise.
18922 (FPE_DECDIV): Likewise.
18923 (FPE_DECERR): Likewise.
18924 (FPE_INVASC): Likewise.
18925 (FPE_INVDEC): Likewise.
18926 (SEGV_MAPERR): Likewise.
18927 (SEGV_ACCERR): Likewise.
18928 (SEGV_PSTKOVF): Likewise.
18929 (BUS_ADRALN): Likewise.
18930 (BUS_ADRERR): Likewise.
18931 (BUS_OBJERR): Likewise.
18932 (BUS_MCEERR_AR): Likewise.
18933 (BUS_MCEERR_AO): Likewise.
18934 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18935 (TRAP_TRACE): Likewise.
18936 (TRAP_BRANCH): Likewise.
18937 (TRAP_HWBKPT): Likewise.
18938 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18940 (CLD_KILLED): Likewise.
18941 (CLD_DUMPED): Likewise.
18942 (CLD_TRAPPED): Likewise.
18943 (CLD_STOPPED): Likewise.
18944 (CLD_CONTINUED): Likewise.
18945 (POLL_IN): Likewise.
18946 (POLL_OUT): Likewise.
18947 (POLL_MSG): Likewise.
18948 (POLL_ERR): Likewise.
18949 (POLL_PRI): Likewise.
18950 (POLL_HUP): Likewise.
18951 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18952 (ILL_ILLOPN): Likewise.
18953 (ILL_ILLADR): Likewise.
18954 (ILL_ILLTRP): Likewise.
18955 (ILL_PRVOPC): Likewise.
18956 (ILL_PRVREG): Likewise.
18957 (ILL_COPROC): Likewise.
18958 (ILL_BADSTK): Likewise.
18959 (FPE_INTDIV): Likewise.
18960 (FPE_INTOVF): Likewise.
18961 (FPE_FLTDIV): Likewise.
18962 (FPE_FLTOVF): Likewise.
18963 (FPE_FLTUND): Likewise.
18964 (FPE_FLTRES): Likewise.
18965 (FPE_FLTINV): Likewise.
18966 (FPE_FLTSUB): Likewise.
18967 (SEGV_MAPERR): Likewise.
18968 (SEGV_ACCERR): Likewise.
18969 (BUS_ADRALN): Likewise.
18970 (BUS_ADRERR): Likewise.
18971 (BUS_OBJERR): Likewise.
18972 (BUS_MCEERR_AR): Likewise.
18973 (BUS_MCEERR_AO): Likewise.
18974 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18975 (TRAP_TRACE): Likewise.
18976 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18978 (CLD_KILLED): Likewise.
18979 (CLD_DUMPED): Likewise.
18980 (CLD_TRAPPED): Likewise.
18981 (CLD_STOPPED): Likewise.
18982 (CLD_CONTINUED): Likewise.
18983 (POLL_IN): Likewise.
18984 (POLL_OUT): Likewise.
18985 (POLL_MSG): Likewise.
18986 (POLL_ERR): Likewise.
18987 (POLL_PRI): Likewise.
18988 (POLL_HUP): Likewise.
18989 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18990 (ILL_ILLOPN): Likewise.
18991 (ILL_ILLADR): Likewise.
18992 (ILL_ILLTRP): Likewise.
18993 (ILL_PRVOPC): Likewise.
18994 (ILL_PRVREG): Likewise.
18995 (ILL_COPROC): Likewise.
18996 (ILL_BADSTK): Likewise.
18997 (FPE_INTDIV): Likewise.
18998 (FPE_INTOVF): Likewise.
18999 (FPE_FLTDIV): Likewise.
19000 (FPE_FLTOVF): Likewise.
19001 (FPE_FLTUND): Likewise.
19002 (FPE_FLTRES): Likewise.
19003 (FPE_FLTINV): Likewise.
19004 (FPE_FLTSUB): Likewise.
19005 (SEGV_MAPERR): Likewise.
19006 (SEGV_ACCERR): Likewise.
19007 (BUS_ADRALN): Likewise.
19008 (BUS_ADRERR): Likewise.
19009 (BUS_OBJERR): Likewise.
19010 (BUS_MCEERR_AR): Likewise.
19011 (BUS_MCEERR_AO): Likewise.
19012 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19013 (TRAP_TRACE): Likewise.
19014 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19016 (CLD_KILLED): Likewise.
19017 (CLD_DUMPED): Likewise.
19018 (CLD_TRAPPED): Likewise.
19019 (CLD_STOPPED): Likewise.
19020 (CLD_CONTINUED): Likewise.
19021 (POLL_IN): Likewise.
19022 (POLL_OUT): Likewise.
19023 (POLL_MSG): Likewise.
19024 (POLL_ERR): Likewise.
19025 (POLL_PRI): Likewise.
19026 (POLL_HUP): Likewise.
19027 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19028 (ILL_ILLOPN): Likewise.
19029 (ILL_ILLADR): Likewise.
19030 (ILL_ILLTRP): Likewise.
19031 (ILL_PRVOPC): Likewise.
19032 (ILL_PRVREG): Likewise.
19033 (ILL_COPROC): Likewise.
19034 (ILL_BADSTK): Likewise.
19035 (FPE_INTDIV): Likewise.
19036 (FPE_INTOVF): Likewise.
19037 (FPE_FLTDIV): Likewise.
19038 (FPE_FLTOVF): Likewise.
19039 (FPE_FLTUND): Likewise.
19040 (FPE_FLTRES): Likewise.
19041 (FPE_FLTINV): Likewise.
19042 (FPE_FLTSUB): Likewise.
19043 (SEGV_MAPERR): Likewise.
19044 (SEGV_ACCERR): Likewise.
19045 (BUS_ADRALN): Likewise.
19046 (BUS_ADRERR): Likewise.
19047 (BUS_OBJERR): Likewise.
19048 (BUS_MCEERR_AR): Likewise.
19049 (BUS_MCEERR_AO): Likewise.
19050 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19051 (TRAP_TRACE): Likewise.
19052 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19054 (CLD_KILLED): Likewise.
19055 (CLD_DUMPED): Likewise.
19056 (CLD_TRAPPED): Likewise.
19057 (CLD_STOPPED): Likewise.
19058 (CLD_CONTINUED): Likewise.
19059 (POLL_IN): Likewise.
19060 (POLL_OUT): Likewise.
19061 (POLL_MSG): Likewise.
19062 (POLL_ERR): Likewise.
19063 (POLL_PRI): Likewise.
19064 (POLL_HUP): Likewise.
19065 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19066 (ILL_ILLOPN): Likewise.
19067 (ILL_ILLADR): Likewise.
19068 (ILL_ILLTRP): Likewise.
19069 (ILL_PRVOPC): Likewise.
19070 (ILL_PRVREG): Likewise.
19071 (ILL_COPROC): Likewise.
19072 (ILL_BADSTK): Likewise.
19073 (ILL_DBLFLT): Likewise.
19074 (ILL_HARDWALL): Likewise.
19075 (FPE_INTDIV): Likewise.
19076 (FPE_INTOVF): Likewise.
19077 (FPE_FLTDIV): Likewise.
19078 (FPE_FLTOVF): Likewise.
19079 (FPE_FLTUND): Likewise.
19080 (FPE_FLTRES): Likewise.
19081 (FPE_FLTINV): Likewise.
19082 (FPE_FLTSUB): Likewise.
19083 (SEGV_MAPERR): Likewise.
19084 (SEGV_ACCERR): Likewise.
19085 (BUS_ADRALN): Likewise.
19086 (BUS_ADRERR): Likewise.
19087 (BUS_OBJERR): Likewise.
19088 (BUS_MCEERR_AR): Likewise.
19089 (BUS_MCEERR_AO): Likewise.
19090 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19091 (TRAP_TRACE): Likewise.
19092 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19094 (CLD_KILLED): Likewise.
19095 (CLD_DUMPED): Likewise.
19096 (CLD_TRAPPED): Likewise.
19097 (CLD_STOPPED): Likewise.
19098 (CLD_CONTINUED): Likewise.
19099 (POLL_IN): Likewise.
19100 (POLL_OUT): Likewise.
19101 (POLL_MSG): Likewise.
19102 (POLL_ERR): Likewise.
19103 (POLL_PRI): Likewise.
19104 (POLL_HUP): Likewise.
19105 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19106 (ILL_ILLOPN): Likewise.
19107 (ILL_ILLADR): Likewise.
19108 (ILL_ILLTRP): Likewise.
19109 (ILL_PRVOPC): Likewise.
19110 (ILL_PRVREG): Likewise.
19111 (ILL_COPROC): Likewise.
19112 (ILL_BADSTK): Likewise.
19113 (FPE_INTDIV): Likewise.
19114 (FPE_INTOVF): Likewise.
19115 (FPE_FLTDIV): Likewise.
19116 (FPE_FLTOVF): Likewise.
19117 (FPE_FLTUND): Likewise.
19118 (FPE_FLTRES): Likewise.
19119 (FPE_FLTINV): Likewise.
19120 (FPE_FLTSUB): Likewise.
19121 (SEGV_MAPERR): Likewise.
19122 (SEGV_ACCERR): Likewise.
19123 (BUS_ADRALN): Likewise.
19124 (BUS_ADRERR): Likewise.
19125 (BUS_OBJERR): Likewise.
19126 (BUS_MCEERR_AR): Likewise.
19127 (BUS_MCEERR_AO): Likewise.
19128 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19129 (TRAP_TRACE): Likewise.
19130 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19132 (CLD_KILLED): Likewise.
19133 (CLD_DUMPED): Likewise.
19134 (CLD_TRAPPED): Likewise.
19135 (CLD_STOPPED): Likewise.
19136 (CLD_CONTINUED): Likewise.
19137 (POLL_IN): Likewise.
19138 (POLL_OUT): Likewise.
19139 (POLL_MSG): Likewise.
19140 (POLL_ERR): Likewise.
19141 (POLL_PRI): Likewise.
19142 (POLL_HUP): Likewise.
19143 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19144 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19147 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19148 before #include of <time.h>.
19149 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19150 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19151 (test-xfail-UNIX98/sched.h/conform): Likewise.
19153 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19155 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19156 error absence of trapping exception support.
19157 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19159 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19161 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19162 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19163 * timezone/Makefile (testdata): Move definition above include of
19165 (test-zones): New variable.
19166 (tests-special): Add zone files.
19167 (build-testdata): Use $(evaluate-test).
19169 * elf/Makefile (tests-special): Rename tests to end with .out.
19170 ($(objpfx)noload-mem): Likewise.
19171 ($(objpfx)tst-leaks1-mem): Likewise.
19172 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19173 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19174 $(objpfx)test-iconvconfig.out.
19175 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19176 set -e inside subshell and redirect output to file.
19177 * iconvdata/Makefile (generated): Rename tests to end with .out.
19179 (tests-special): Rename tests to end with .out.
19180 ($(objpfx)mtrace-tst-loading): Likewise.
19181 * intl/Makefile (generated): Likewise.
19182 (tests-special): Likewise.
19183 ($(objpfx)mtrace-tst-gettext): Likewise.
19184 * misc/Makefile (generated): Likewise.
19185 (tests-special): Likewise.
19186 ($(objpfx)tst-error1-mem): Likewise.
19187 * nptl/Makefile (tests-special): Likewise.
19188 ($(objpfx)tst-stack3-mem): Likewise.
19189 (generated): Likewise.
19190 * posix/Makefile (generated): Likewise.
19191 (tests-special): Likewise.
19192 (xtests-special): Likewise.
19193 ($(objpfx)tst-fnmatch-mem): Likewise.
19194 ($(objpfx)bug-regex2-mem): Likewise.
19195 ($(objpfx)bug-regex14-mem): Likewise.
19196 ($(objpfx)bug-regex21-mem): Likewise.
19197 ($(objpfx)bug-regex31-mem): Likewise.
19198 ($(objpfx)tst-vfork3-mem): Likewise.
19199 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19200 ($(objpfx)tst-pcre-mem): Likewise.
19201 ($(objpfx)tst-boost-mem): Likewise.
19202 ($(objpfx)bug-ga2-mem): Likewise.
19203 ($(objpfx)bug-glob2-mem): Likewise.
19204 * resolv/Makefile (generate): Likewise.
19205 (tests-special): Likewise.
19206 (xtests-special): Likewise.
19207 (generated): Likewise.
19208 ($(objpfx)mtrace-tst-leaks): Likewise.
19209 ($(objpfx)mtrace-tst-leaks2): Likewise.
19211 * scripts/merge-test-results.sh: New file.
19212 * Makefile (tests-special-notdir): New variable.
19213 (tests): Run merge-test-results.sh.
19214 (xtests): Likewise.
19215 * Rules (tests-special-notdir): New variable.
19216 (xtests-special-notdir): Likewise.
19217 (tests): Run merge-test-results.sh
19218 (xtests): Likewise.
19220 * Makeconfig (test-xfail-name): New variable.
19221 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19222 compute variable name for expected failures.
19223 * conform/Makefile (conformtest-headers-data): New variable.
19224 (conformtest-standards): Likewise.
19225 (conformtest-headers-ISO): Likewise.
19226 (conformtest-headers-ISO99): Likewise.
19227 (conformtest-headers-ISO11): Likewise.
19228 (conformtest-headers-POSIX): Likewise.
19229 (conformtest-headers-XPG3): Likewise.
19230 (conformtest-headers-XPG4): Likewise.
19231 (conformtest-headers-UNIX98): Likewise.
19232 (conformtest-headers-XOPEN2K): Likewise.
19233 (conformtest-headers-POSIX2008): Likewise.
19234 (conformtest-headers-XOPEN2K8): Likewise.
19235 (conformtest-header-list-base): Likewise.
19236 (conformtest-header-list-tests): Likewise.
19237 (conformtest-header-base): Likewise.
19238 (conformtest-header-tests): Likewise.
19239 (tests-special): Add $(conformtest-header-list-tests). If
19240 [$(fast-check) && !$(cross-compiling)], add
19241 $(conformtest-header-tests) instead of
19242 $(objpfx)run-conformtest.out.
19243 (generated): Add $(conformtest-header-list-base). If
19244 [$(fast-check) && !$(cross-compiling)], add
19245 $(conformtest-header-base). Remove previous setting.
19246 ($(conformtest-header-list-tests)): New target.
19247 (test-xfail-run-conformtest): Remove variable.
19248 ($(objpfx)run-conformtest.out): Remove target.
19249 (test-xfail-ISO11/complex.h/conform): New variable.
19250 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19251 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19252 (test-xfail-XPG3/varargs.h/conform): Likewise.
19253 (test-xfail-XPG4/varargs.h/conform): Likewise.
19254 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19255 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19256 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19257 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19258 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19259 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19260 (test-xfail-XPG3/ftw.h/conform): Likewise.
19261 (test-xfail-XPG3/grp.h/conform): Likewise.
19262 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19263 (test-xfail-XPG3/limits.h/conform): Likewise.
19264 (test-xfail-XPG3/pwd.h/conform): Likewise.
19265 (test-xfail-XPG3/search.h/conform): Likewise.
19266 (test-xfail-XPG3/signal.h/conform): Likewise.
19267 (test-xfail-XPG3/stdio.h/conform): Likewise.
19268 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19269 (test-xfail-XPG3/string.h/conform): Likewise.
19270 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19271 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19272 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19273 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19274 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19275 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19276 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19277 (test-xfail-XPG3/termios.h/conform): Likewise.
19278 (test-xfail-XPG3/time.h/conform): Likewise.
19279 (test-xfail-XPG3/unistd.h/conform): Likewise.
19280 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19281 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19282 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19283 (test-xfail-XPG4/netdb.h/conform): Likewise.
19284 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19285 (test-xfail-XPG4/signal.h/conform): Likewise.
19286 (test-xfail-XPG4/stdio.h/conform): Likewise.
19287 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19288 (test-xfail-XPG4/stropts.h/conform): Likewise.
19289 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19290 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19291 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19292 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19293 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19294 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19295 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19296 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19297 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19298 (test-xfail-XPG4/termios.h/conform): Likewise.
19299 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19300 (test-xfail-XPG4/unistd.h/conform): Likewise.
19301 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19302 (test-xfail-POSIX/sched.h/conform): Likewise.
19303 (test-xfail-POSIX/signal.h/conform): Likewise.
19304 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19305 (test-xfail-POSIX/tar.h/conform): Likewise.
19306 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19307 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19308 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19309 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19310 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19311 (test-xfail-UNIX98/sched.h/conform): Likewise.
19312 (test-xfail-UNIX98/signal.h/conform): Likewise.
19313 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19314 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19315 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19316 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19317 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19318 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19319 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19320 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19321 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19322 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19323 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19324 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19325 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19326 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19327 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19328 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19329 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19330 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19331 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19332 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19333 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19334 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19335 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19336 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19337 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19338 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19339 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19340 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19341 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19342 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19343 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19344 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19345 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19346 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19347 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19348 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19349 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19350 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19351 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19352 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19353 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19354 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19355 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19356 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19357 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19358 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19359 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19360 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19361 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19362 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19363 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19364 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19365 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19366 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19367 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19368 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19369 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19370 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19371 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19372 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19373 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19374 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19375 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19376 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19377 (conformtest-cc-flags): Likewise.
19378 ($(conformtest-header-tests): New target.
19379 * conform/check-header-lists.sh: New file.
19380 * conform/run-conformtest.sh: Remove.
19382 * conform/conformtest.pl: Allow ' and \ in values given for
19384 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19386 [POSIX] (sys/types.h): Likewise.
19387 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19389 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19391 * conform/data/signal.h-data (SIGIO): Remove expectation.
19392 [XPG3] (SIGBUS): Do not expect.
19393 [POSIX || XPG3] (SIGPOLL): Likewise.
19394 [POSIX || XPG3] (SIGPROF): Likewise.
19395 [POSIX || XPG3] (SIGSYS): Likewise.
19396 [XPG3] (SIGTRAP): Likewise.
19397 [POSIX || XPG3] (SIGURG): Likewise.
19398 [POSIX || XPG3] (SIGVTALRM): Likewise.
19399 [POSIX || XPG3] (SIGXCPU): Likewise.
19400 [POSIX || XPG3] (SIGXFSZ): Likewise.
19401 [POSIX] (SA_SIGINFO): Expect.
19402 [XPG3] (siginfo_t): Do not expect type or contents.
19403 [POSIX] (si_pid): Do not expect element.
19404 [POSIX] (si_uid): Likewise.
19405 [POSIX] (si_addr): Likewise.
19406 [POSIX] (si_status): Likewise.
19407 [POSIX] (si_band): Likewise.
19408 [XPG4] (si_value): Likewise.
19409 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19410 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19411 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19412 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19413 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19414 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19415 [POSIX || XPG3] (ILL_COPROC): Likewise.
19416 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19417 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19418 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19419 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19420 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19421 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19422 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19423 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19424 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19425 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19426 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19427 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19428 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19429 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19430 [POSIX || XPG3] (CLD_EXITED): Likewise.
19431 [POSIX || XPG3] (CLD_KILLED): Likewise.
19432 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19433 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19434 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19435 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19436 [POSIX || XPG3] (POLL_IN): Likewise.
19437 [POSIX || XPG3] (POLL_OUT): Likewise.
19438 [POSIX || XPG3] (POLL_MSG): Likewise.
19439 [POSIX || XPG3] (POLL_ERR): Likewise.
19440 [POSIX || XPG3] (POLL_PRI): Likewise.
19441 [POSIX || XPG3] (POLL_HUP): Likewise.
19442 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19443 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19444 (SIG*): Do not allow.
19445 [XPG3] (si_*): Likewise.
19446 [XPG3] (SI_*): Likewise.
19447 [XPG3 || XPG4] (sigev_*): Likewise.
19448 [XPG3 || XPG4] (SIGEV_*): Likewise.
19449 [XPG3 || XPG4] (sival_*): Likewise.
19450 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19451 [POSIX || XPG3] (BUS_*): Likewise.
19452 [POSIX || XPG3] (CLD_*): Likewise.
19453 [POSIX || XPG3] (FPE_*): Likewise.
19454 [POSIX || XPG3] (ILL_*): Likewise.
19455 [POSIX || XPG3] (POLL_*): Likewise.
19456 [POSIX || XPG3] (SEGV_*): Likewise.
19457 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19458 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19459 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19460 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19461 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19462 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19463 Specify type and value.
19464 (TVERSLEN): Likewise.
19465 (REGTYPE): Likewise.
19466 (AREGTYPE): Likewise.
19467 (LNKTYPE): Likewise.
19468 (SYMTYPE): Likewise.
19469 (CHRTYPE): Likewise.
19470 (BLKTYPE): Likewise.
19471 (DIRTYPE): Likewise.
19472 (FIFOTYPE): Likewise.
19473 (CONTTYPE): Likewise.
19477 (TUREAD): Likewise.
19478 (TUWRITE): Likewise.
19479 (TUEXEC): Likewise.
19480 (TGREAD): Likewise.
19481 (TGWRITE): Likewise.
19482 (TGEXEC): Likewise.
19483 (TOREAD): Likewise.
19484 (TOWRITE): Likewise.
19485 (TOEXEC): Likewise.
19486 [POSIX] (TSVTX): Expect constant.
19488 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19490 * Makefile (tests): Change dependencies to ....
19491 (tests-special): ... additions to this variable.
19492 (tests): Depend on $(tests-special).
19493 * Makerules (check-abi-list): New variable.
19494 (check-abi): Depend on $(check-abi-list).
19495 [$(subdir) = elf] (tests-special): Add
19496 $(objpfx)check-abi-libc.out.
19497 [$(build-shared) = yes && subdir] (tests-special): Add
19499 [$(build-shared) = yes && subdir] (tests): Do not depend on
19501 * Rules (tests): Depend on $(tests-special).
19502 (xtests): Depend on $(xtests-special).
19503 * catgets/Makefile (tests): Change dependencies to ....
19504 (tests-special): ... additions to this variable.
19505 * conform/Makefile (tests): Change dependencies to ....
19506 (tests-special): ... additions to this variable.
19507 * elf/Makefile (tests): Change dependencies to ....
19508 (tests-special): ... additions to this variable.
19509 * grp/Makefile (tests): Change dependencies to ....
19510 (tests-special): ... additions to this variable.
19511 * iconv/Makefile (xtests): Change dependencies to ....
19512 (xtests-special): ... additions to this variable.
19513 * iconvdata/Makefile (tests): Change dependencies to ....
19514 (tests-special): ... additions to this variable.
19515 * intl/Makefile (tests): Change dependencies to ....
19516 (tests-special): ... additions to this variable. Also add
19517 $(objpfx)tst-gettext.out.
19518 * io/Makefile (tests): Change dependencies to ....
19519 (tests-special): ... additions to this variable.
19520 * libio/Makefile (tests): Change dependencies to ....
19521 (tests-special): ... additions to this variable.
19522 * malloc/Makefile (tests): Change dependencies to ....
19523 (tests-special): ... additions to this variable.
19524 * misc/Makefile (tests): Change dependencies to ....
19525 (tests-special): ... additions to this variable.
19526 * nptl/Makefile (tests): Change dependencies to ....
19527 (tests-special): ... additions to this variable.
19528 * nptl_db/Makefile (tests): Change dependencies to ....
19529 (tests-special): ... additions to this variable.
19530 * posix/Makefile (tests): Change dependencies to ....
19531 (tests-special): ... additions to this variable.
19532 (xtests): Change dependencies to ....
19533 (xtests-special): ... additions to this variable.
19534 * resolv/Makefile (tests): Change dependencies to ....
19535 (tests-special): ... additions to this variable.
19536 (xtests): Change dependencies to ....
19537 (xtests-special): ... additions to this variable.
19538 * stdio-common/Makefile (tests): Change dependencies to ....
19539 (tests-special): ... additions to this variable.
19540 (do-tst-unbputc): Remove target.
19541 (do-tst-printf): Likewise.
19542 * stdlib/Makefile (tests): Change dependencies to ....
19543 (tests-special): ... additions to this variable.
19544 * string/Makefile (tests): Change dependencies to ....
19545 (tests-special): ... additions to this variable.
19546 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19547 (tests-special): ... additions to this variable.
19549 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19551 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19553 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19554 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19556 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19557 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19558 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19559 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19560 * conform/data/libgen.h-data [XPG3]: Likewise.
19561 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19562 * conform/data/ndbm.h-data [XPG3]: Likewise.
19563 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19564 * conform/data/netdb.h-data [XPG3]: Likewise.
19565 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19566 * conform/data/poll.h-data [XPG3]: Likewise.
19567 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19568 * conform/data/strings.h-data [XPG3]: Likewise.
19569 * conform/data/stropts.h-data [XPG3]: Likewise.
19570 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19571 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19572 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19574 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19575 * conform/data/sys/time.h-data [XPG3]: Likewise.
19576 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19577 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19578 * conform/data/sys/un.h-data [XPG3]: Likewise.
19579 * conform/data/syslog.h-data [XPG3]: Likewise.
19580 * conform/data/ucontext.h-data [XPG3]: Likewise.
19581 * conform/data/utmpx.h-data [XPG3]: Likewise.
19582 * conform/data/varargs.h-data [UNIX98]: Enable file.
19584 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19586 * math/libm-test.inc (struct test_f_f_data): Move expected results
19587 into structure for each rounding mode.
19588 (struct test_ff_f_data): Likewise.
19589 (struct test_ff_f_data_nexttoward): Likewise.
19590 (struct test_fi_f_data): Likewise.
19591 (struct test_fl_f_data): Likewise.
19592 (struct test_if_f_data): Likewise.
19593 (struct test_fff_f_data): Likewise.
19594 (struct test_c_f_data): Likewise.
19595 (struct test_f_f1_data): Likewise.
19596 (struct test_fF_f1_data): Likewise.
19597 (struct test_ffI_f1_data): Likewise.
19598 (struct test_c_c_data): Likewise.
19599 (struct test_cc_c_data): Likewise.
19600 (struct test_f_i_data): Likewise.
19601 (struct test_ff_i_data): Likewise.
19602 (struct test_f_l_data): Likewise.
19603 (struct test_f_L_data): Likewise.
19604 (struct test_fFF_11_data): Likewise.
19606 (RM_FE_DOWNWARD): Likewise.
19607 (RM_FE_TONEAREST): Likewise.
19608 (RM_FE_TOWARDZERO): Likewise.
19609 (RM_FE_UPWARD): Likewise.
19610 (RUN_TEST_LOOP_f_f): Update references to expected results.
19611 (RUN_TEST_LOOP_2_f): Likewise.
19612 (RUN_TEST_LOOP_fff_f): Likewise.
19613 (RUN_TEST_LOOP_c_f): Likewise.
19614 (RUN_TEST_LOOP_f_f1): Likewise.
19615 (RUN_TEST_LOOP_fF_f1): Likewise.
19616 (RUN_TEST_LOOP_fI_f1): Likewise.
19617 (RUN_TEST_LOOP_ffI_f1): Likewise.
19618 (RUN_TEST_LOOP_c_c): Likewise.
19619 (RUN_TEST_LOOP_cc_c): Likewise.
19620 (RUN_TEST_LOOP_f_i): Likewise.
19621 (RUN_TEST_LOOP_f_i_tg): Likewise.
19622 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19623 (RUN_TEST_LOOP_f_b): Likewise.
19624 (RUN_TEST_LOOP_f_b_tg): Likewise.
19625 (RUN_TEST_LOOP_f_l): Likewise.
19626 (RUN_TEST_LOOP_f_L): Likewise.
19627 (RUN_TEST_LOOP_fFF_11): Likewise.
19628 * math/gen-libm-test.pl (parse_args): Output four copies of
19629 expected results for each test.
19631 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19632 (__ASSUME_UTIMES): Remove.
19633 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19634 (__ASSUME_UTIMES): Likewise.
19636 * math/gen-auto-libm-tests.c: Update comment on output format.
19637 (output_for_one_input_case): Generate before-rounding and
19638 after-rounding information as conditions on output flags not
19639 floating-point format.
19640 * math/auto-libm-test-out: Regenerated.
19641 * math/gen-libm-test.pl (cond_value): New function.
19642 (or_cond_value): Use cond_value.
19643 (generate_testfile): Handle conditional exceptions.
19645 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19647 * math/libm-test.inc (max_valid_error): New variable.
19648 (init_max_error): Take new argument specifying whether function
19649 results are exactly determined. Set max_valid_error and bound
19650 other variables for errors based on this argument.
19651 (set_max_error): Do not record results above max_valid_error.
19652 (check_float_internal): Only accept errors of up to 0.5ulps if
19653 also at most max_valid_error.
19654 (START): Take new argument EXACT and pass it to init_max_error.
19655 (acos_test): Update call to START.
19656 (acos_test_tonearest): Likewise.
19657 (acos_test_towardzero): Likewise.
19658 (acos_test_downward): Likewise.
19659 (acos_test_upward): Likewise.
19660 (acosh_test): Likewise.
19661 (asin_test): Likewise.
19662 (asin_test_tonearest): Likewise.
19663 (asin_test_towardzero): Likewise.
19664 (asin_test_downward): Likewise.
19665 (asin_test_upward): Likewise.
19666 (asinh_test): Likewise.
19667 (atan_test): Likewise.
19668 (atanh_test): Likewise.
19669 (atan2_test): Likewise.
19670 (cabs_test): Likewise.
19671 (cacos_test): Likewise.
19672 (cacosh_test): Likewise.
19673 (carg_test): Likewise.
19674 (casin_test): Likewise.
19675 (casinh_test): Likewise.
19676 (catan_test): Likewise.
19677 (catanh_test): Likewise.
19678 (cbrt_test): Likewise.
19679 (ccos_test): Likewise.
19680 (ccosh_test): Likewise.
19681 (ceil_test): Likewise.
19682 (cexp_test): Likewise.
19683 (cimag_test): Likewise.
19684 (clog_test): Likewise.
19685 (clog10_test): Likewise.
19686 (conj_test): Likewise.
19687 (copysign_test): Likewise.
19688 (cos_test): Likewise.
19689 (cos_test_tonearest): Likewise.
19690 (cos_test_towardzero): Likewise.
19691 (cos_test_downward): Likewise.
19692 (cos_test_upward): Likewise.
19693 (cosh_test): Likewise.
19694 (cosh_test_tonearest): Likewise.
19695 (cosh_test_towardzero): Likewise.
19696 (cosh_test_downward): Likewise.
19697 (cosh_test_upward): Likewise.
19698 (cpow_test): Likewise.
19699 (cproj_test): Likewise.
19700 (creal_test): Likewise.
19701 (csin_test): Likewise.
19702 (csinh_test): Likewise.
19703 (csqrt_test): Likewise.
19704 (ctan_test): Likewise.
19705 (ctan_test_tonearest): Likewise.
19706 (ctan_test_towardzero): Likewise.
19707 (ctan_test_downward): Likewise.
19708 (ctan_test_upward): Likewise.
19709 (ctanh_test): Likewise.
19710 (ctanh_test_tonearest): Likewise.
19711 (ctanh_test_towardzero): Likewise.
19712 (ctanh_test_downward): Likewise.
19713 (ctanh_test_upward): Likewise.
19714 (erf_test): Likewise.
19715 (erfc_test): Likewise.
19716 (exp_test): Likewise.
19717 (exp_test_tonearest): Likewise.
19718 (exp_test_towardzero): Likewise.
19719 (exp_test_downward): Likewise.
19720 (exp_test_upward): Likewise.
19721 (exp10_test): Likewise.
19722 (exp10_test_tonearest): Likewise.
19723 (exp10_test_towardzero): Likewise.
19724 (exp10_test_downward): Likewise.
19725 (exp10_test_upward): Likewise.
19726 (pow10_test): Likewise.
19727 (exp2_test): Likewise.
19728 (expm1_test): Likewise.
19729 (expm1_test_tonearest): Likewise.
19730 (expm1_test_towardzero): Likewise.
19731 (expm1_test_downward): Likewise.
19732 (expm1_test_upward): Likewise.
19733 (fabs_test): Likewise.
19734 (fdim_test): Likewise.
19735 (floor_test): Likewise.
19736 (fma_test): Likewise.
19737 (fma_test_towardzero): Likewise.
19738 (fma_test_downward): Likewise.
19739 (fma_test_upward): Likewise.
19740 (fmax_test): Likewise.
19741 (fmin_test): Likewise.
19742 (fmod_test): Likewise.
19743 (fpclassify_test): Likewise.
19744 (frexp_test): Likewise.
19745 (hypot_test): Likewise.
19746 (ilogb_test): Likewise.
19747 (isfinite_test): Likewise.
19748 (finite_test): Likewise.
19749 (isgreater_test): Likewise.
19750 (isgreaterequal_test): Likewise.
19751 (isinf_test): Likewise.
19752 (isless_test): Likewise.
19753 (islessequal_test): Likewise.
19754 (islessgreater_test): Likewise.
19755 (isnan_test): Likewise.
19756 (isnormal_test): Likewise.
19757 (issignaling_test): Likewise.
19758 (isunordered_test): Likewise.
19759 (j0_test): Likewise.
19760 (j1_test): Likewise.
19761 (jn_test): Likewise.
19762 (ldexp_test): Likewise.
19763 (lgamma_test): Likewise.
19764 (gamma_test): Likewise.
19765 (lrint_test): Likewise.
19766 (lrint_test_tonearest): Likewise.
19767 (lrint_test_towardzero): Likewise.
19768 (lrint_test_downward): Likewise.
19769 (lrint_test_upward): Likewise.
19770 (llrint_test): Likewise.
19771 (llrint_test_tonearest): Likewise.
19772 (llrint_test_towardzero): Likewise.
19773 (llrint_test_downward): Likewise.
19774 (llrint_test_upward): Likewise.
19775 (log_test): Likewise.
19776 (log10_test): Likewise.
19777 (log1p_test): Likewise.
19778 (log2_test): Likewise.
19779 (logb_test): Likewise.
19780 (logb_test_downward): Likewise.
19781 (lround_test): Likewise.
19782 (llround_test): Likewise.
19783 (modf_test): Likewise.
19784 (nearbyint_test): Likewise.
19785 (nextafter_test): Likewise.
19786 (nexttoward_test): Likewise.
19787 (pow_test): Likewise.
19788 (pow_test_tonearest): Likewise.
19789 (pow_test_towardzero): Likewise.
19790 (pow_test_downward): Likewise.
19791 (pow_test_upward): Likewise.
19792 (remainder_test): Likewise.
19793 (drem_test): Likewise.
19794 (remainder_test_tonearest): Likewise.
19795 (drem_test_tonearest): Likewise.
19796 (remainder_test_towardzero): Likewise.
19797 (drem_test_towardzero): Likewise.
19798 (remainder_test_downward): Likewise.
19799 (drem_test_downward): Likewise.
19800 (remainder_test_upward): Likewise.
19801 (drem_test_upward): Likewise.
19802 (remquo_test): Likewise.
19803 (rint_test): Likewise.
19804 (rint_test_tonearest): Likewise.
19805 (rint_test_towardzero): Likewise.
19806 (rint_test_downward): Likewise.
19807 (rint_test_upward): Likewise.
19808 (round_test): Likewise.
19809 (scalb_test): Likewise.
19810 (scalbn_test): Likewise.
19811 (scalbln_test): Likewise.
19812 (signbit_test): Likewise.
19813 (sin_test): Likewise.
19814 (sin_test_tonearest): Likewise.
19815 (sin_test_towardzero): Likewise.
19816 (sin_test_downward): Likewise.
19817 (sin_test_upward): Likewise.
19818 (sincos_test): Likewise.
19819 (sinh_test): Likewise.
19820 (sinh_test_tonearest): Likewise.
19821 (sinh_test_towardzero): Likewise.
19822 (sinh_test_downward): Likewise.
19823 (sinh_test_upward): Likewise.
19824 (sqrt_test): Likewise.
19825 (sqrt_test_tonearest): Likewise.
19826 (sqrt_test_towardzero): Likewise.
19827 (sqrt_test_downward): Likewise.
19828 (sqrt_test_upward): Likewise.
19829 (tan_test): Likewise.
19830 (tan_test_tonearest): Likewise.
19831 (tan_test_towardzero): Likewise.
19832 (tan_test_downward): Likewise.
19833 (tan_test_upward): Likewise.
19834 (tanh_test): Likewise.
19835 (tgamma_test): Likewise.
19836 (trunc_test): Likewise.
19837 (y0_test): Likewise.
19838 (y1_test): Likewise.
19839 (yn_test): Likewise.
19840 (significand_test): Likewise.
19842 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19843 individual tests in comment.
19844 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19845 (prev_max_error): New variable.
19846 (prev_real_max_error): Likewise.
19847 (prev_imag_max_error): Likewise.
19848 (compare_ulp_data): Don't refer to test names in comment.
19849 (find_test_ulps): Remove function.
19850 (find_function_ulps): Likewise.
19851 (find_complex_function_ulps): Likewise.
19852 (init_max_error): Take function name as argument. Look up ulps
19854 (print_ulps): Remove function.
19855 (print_max_error): Use prev_max_error instead of calling
19856 find_function_ulps.
19857 (print_complex_max_error): Use prev_real_max_error and
19858 prev_imag_max_error instead of calling find_complex_function_ulps.
19859 (check_float_internal): Take max_ulp parameter instead of calling
19860 find_test_ulps. Don't call print_ulps.
19861 (check_float): Update call to check_float_internal.
19862 (check_complex): Update calls to check_float_internal.
19863 (START): Pass argument to init_max_error.
19864 * math/gen-libm-test.pl (%results): Don't include "kind"
19866 (parse_ulps): Don't handle ulps of individual tests.
19867 (print_ulps_file): Likewise.
19868 (output_ulps): Likewise.
19869 * math/README.libm-test: Update.
19870 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19872 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19873 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19874 * sysdeps/arm/libm-test-ulps: Likewise.
19875 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19876 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19877 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19878 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19879 * sysdeps/microblaze/libm-test-ulps: Likewise.
19880 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19881 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19882 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19883 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19884 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19885 * sysdeps/sh/libm-test-ulps: Likewise.
19886 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19887 * sysdeps/tile/libm-test-ulps: Likewise.
19888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19890 2014-03-04 Joseph Myers <joseph@codesourcery.com>
19892 * math/libm-test.inc (print_complex_max_error): Check separately
19893 whether real and imaginary errors are within allowed range and
19894 pass 0 to print_complex_function_ulps instead of value within
19897 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19899 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19901 (get_handles_fopen): Likewise.
19902 (do_write_test): Likewise.
19904 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19906 * libio/fileops.c (do_ftell): Use cached offset when
19908 * libio/iofwide.c (do_ftell_wide): Likewise.
19909 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19911 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19914 * libio/libioP.h (get_file_offset): New function.
19915 * libio/fileops.c (get_file_offset): Likewise.
19916 (do_ftell): Likewise.
19917 (_IO_new_file_seekoff): Split out ftell logic.
19918 * libio/wfileops.c (do_ftell_wide): Likewise.
19919 (_IO_wfile_seekoff): Split out ftell logic.
19920 * libio/tst-ftell-active-handler.c: New test case.
19921 * libio/Makefile (tests): Add it.
19923 2014-03-03 Roland McGrath <roland@hack.frob.com>
19925 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19926 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19928 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19931 * nscd/connections.c (nscd_init): Call do_exit.
19932 (start_threads): Call do_exit and notify_parent.
19933 (begin_drop_privileges): Call do_exit.
19934 (finish_drop_privileges): Likewise.
19935 * nscd/selinux.c (preserve_capabilities): Likewise.
19936 (install_real_capabilities): Likewise.
19937 (nscd_selinux_enabled): Likewise.
19938 (avc_create_thread): Likewise.
19939 (avc_alloc_lock): Likewise.
19940 (nscd_avc_init): Likewise.
19941 * nscd/nscd.c (parent_fd): New static variable.
19942 (main): Create a pipe between parent and child processes.
19943 Skip closing parent_fd.
19944 (monitor_child): New function.
19945 (do_exit): Likewise.
19946 (notify_parent): Likewise.
19947 * nscd/nscd.h (notify_parent): Likewise.
19948 (do_exit): Likewise.
19950 2014-03-03 Carlos O'Donell <carlos@redhat.com>
19952 * malloc/malloc.c (__libc_calloc): Revert last change.
19954 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19958 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19960 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19964 (__libc_ifunc_impl_list): Likewise.
19965 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19966 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19967 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19968 * string/strrchr.c: Define STRRCHR.
19970 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
19972 * benchtest/bench-strtok.c (simple_strtok): Delete.
19973 (strtok_string): Use as benchmark.
19974 * string/strtok (STRTOK): New macro.
19976 2014-02-28 Carlos O'Donell <carlos@redhat.com>
19978 * manual/threads.texi: Add header and standard comments to all
19981 * elf/dl-lookup.c (check_match): New function.
19982 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19983 (do_lookup_x): Remove nested function check_match. Use non-nested
19984 function check_match.
19986 2014-02-28 Roland McGrath <roland@hack.frob.com>
19988 * csu/Makefile (generated, before-compile): Use += rather than =.
19989 * catgets/Makefile (generated, generated-dirs): Likewise.
19990 * debug/Makefile (generated): Likewise.
19991 * dlfcn/Makefile (generated): Likewise.
19992 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19993 * iconvdata/Makefile (before-compile, generated): Likewise.
19994 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19995 * libio/Makefile (generated): Likewise.
19996 * malloc/Makefile (generated): Likewise.
19997 * manual/Makefile (generated, generated-dirs): Likewise.
19998 * misc/Makefile (generated): Likewise.
19999 * posix/Makefile (generated): Likewise.
20000 * resolv/Makefile (generated): Likewise.
20001 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20002 * timezone/Makefile (generated, generated-dirs): Likewise.
20004 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20006 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20009 power8 implementation.
20010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20011 file: POWER8 llround ifunc implementation.
20012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20013 (__lllround): Add POWER8 implementation.
20014 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20015 POWER8 llround implementation.
20017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20018 power8 implementation.
20019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20020 file: POWER8 llrint ifunc implementation.
20021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20022 Add POWER8 implementation.
20023 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20024 POWER8 llrint implementation.
20026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20027 power8 implementation.
20028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20029 file: POWER8 finite ifunc implementation.
20030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20031 Add POWER8 implementation.
20032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20034 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20035 POWER8 finite implementation.
20036 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20039 power8 implementation.
20040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20041 file: POWER8 isinf ifunc implementation.
20042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20043 POWER8 implementation.
20044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20046 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20047 isinf implementation.
20048 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20050 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20051 (INIT_ARCH): Add hwcap2 initialization.
20052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20053 power8 implementation.
20054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20055 file: POWER8 isnan ifunc implementation.
20056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20057 POWER8 implementation.
20058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20060 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20061 isnan implementation.
20062 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20064 2014-02-27 Joey Ye <joey.ye@arm.com>
20066 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20067 (_FP_NANFRAC_Q): Set to zero.
20069 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20072 * math/auto-libm-test-in: New test inputs.
20073 * math/auto-libm-test-out: Regenerate.
20074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20077 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20079 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20081 * scripts/evaluate-test.sh: Take new argument indicating whether
20082 failure is expected.
20083 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20084 indicating whether failure is expected.
20085 * conform/Makefile (test-xfail-run-conformtest): New variable.
20086 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20088 * posix/Makefile (test-xfail-annexc): New variable.
20089 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20091 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20093 * argp/Makefile: Include Makeconfig immediately after defining
20095 * assert/Makefile: Likewise.
20096 * benchtests/Makefile: Likewise.
20097 * catgets/Makefile: Likewise.
20098 * conform/Makefile: Likewise.
20099 * crypt/Makefile: Likewise.
20100 * csu/Makefile: Likewise.
20101 (all): Remove target.
20102 * ctype/Makefile: Include Makeconfig immediately after defining
20104 * debug/Makefile: Likewise.
20105 * dirent/Makefile: Likewise.
20106 * dlfcn/Makefile: Likewise.
20107 * gmon/Makefile: Likewise.
20108 * gnulib/Makefile: Likewise.
20109 * grp/Makefile: Likewise.
20110 * gshadow/Makefile: Likewise.
20111 * hesiod/Makefile: Likewise.
20112 * hurd/Makefile: Likewise.
20113 (all): Remove target.
20114 * iconvdata/Makefile: Include Makeconfig immediately after
20116 * inet/Makefile: Likewise.
20117 * intl/Makefile: Likewise.
20118 * io/Makefile: Likewise.
20119 * libio/Makefile: Likewise.
20120 (all): Remove target.
20121 * locale/Makefile: Include Makeconfig immediately after defining
20123 * login/Makefile: Likewise.
20124 * mach/Makefile: Likewise.
20125 (all): Remove target.
20126 * malloc/Makefile: Include Makeconfig immediately after defining
20128 (all): Remove target.
20129 * manual/Makefile: Include Makeconfig immediately after defining
20131 * math/Makefile: Likewise.
20132 * misc/Makefile: Likewise.
20133 * nis/Makefile: Likewise.
20134 * nss/Makefile: Likewise.
20135 * po/Makefile: Likewise.
20136 (all): Remove target.
20137 * posix/Makefile: Include Makeconfig immediately after defining
20139 * pwd/Makefile: Likewise.
20140 * resolv/Makefile: Likewise.
20141 * resource/Makefile: Likewise.
20142 * rt/Makefile: Likewise.
20143 * setjmp/Makefile: Likewise.
20144 * shadow/Makefile: Likewise.
20145 * signal/Makefile: Likewise.
20146 * socket/Makefile: Likewise.
20147 * soft-fp/Makefile: Likewise.
20148 * stdio-common/Makefile: Likewise.
20149 * stdlib/Makefile: Likewise.
20150 * streams/Makefile: Likewise.
20151 * string/Makefile: Likewise.
20152 * sunrpc/Makefile: Likewise.
20153 (all): Remove target.
20154 * sysvipc/Makefile: Include Makeconfig immediately after defining
20156 * termios/Makefile: Likewise.
20157 * time/Makefile: Likewise.
20158 * timezone/Makefile: Likewise.
20159 (all): Remove target.
20160 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20162 * wctype/Makefile: Likewise.
20164 2014-02-26 Steve Ellcey <sellcey@mips.com>
20166 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20167 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20168 (libc_feholdexcept_setround_mips): Ditto.
20169 (libc_feholdsetround): New.
20170 (libc_feholdsetroundf): New.
20171 (libc_feholdsetroundl): New.
20172 (libc_feupdateenv_test_mips): New.
20173 (libc_feupdateenv_test): New.
20174 (libc_feupdateenv_testf): New.
20175 (libc_feupdateenv_testl): New.
20176 (libc_feresetround): New.
20177 (libc_feresetroundf): New.
20178 (libc_feresetroundl): New.
20179 (libc_fetestexcept_mips): New.
20180 (libc_fetestexcept): New.
20181 (libc_fetestexceptf): New.
20182 (libc_fetestexceptl): New.
20183 (HAVE_RM_CTX): New.
20184 (libc_feholdexcept_setround_mips_ctx): New.
20185 (libc_feholdexcept_setround_ctx): New.
20186 (libc_feholdexcept_setroundf_ctx): New.
20187 (libc_feholdexcept_setroundl_ctx): New.
20188 (libc_fesetenv_mips_ctx): New.
20189 (libc_fesetenv_ctx): New.
20190 (libc_fesetenv_ctxf): New.
20191 (libc_fesetenv_ctxl): New.
20192 (libc_feupdateenv_mips_ctx): New.
20193 (libc_feupdateenv_ctx): New.
20194 (libc_feupdateenvf_ctx): New.
20195 (libc_feupdateenvl_ctx): New.
20196 (libc_feholdsetround_mips_ctx): New.
20197 (libc_feholdsetround_ctx): New.
20198 (libc_feholdsetroundf_ctx): New.
20199 (libc_feholdsetroundl_ctx): New.
20200 (libc_feresetround_mips_ctx): New.
20201 (libc_feresetround_ctx): New.
20202 (libc_feresetroundf_ctx): New.
20203 (libc_feresetroundl_ctx): New.
20205 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20207 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20209 * manual/ipc.texi: New file.
20210 * manual/Makefile (chapters): Add ipc.
20211 * manual/job.texi: Add "Inter-Process Communication" to next.
20212 * manual/process.texi: Add "Inter-Process Communication" to prev.
20214 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20218 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20220 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20222 * manual/arith.texi: Fix spaces after sentences.
20223 * manual/charset.texi: Likewise.
20224 * manual/errno.texi: Likewise.
20225 * manual/install.texi: Likewise.
20226 * manual/llio.texi: Likewise.
20227 * manual/locale.texi: Likewise.
20228 * manual/maint.texi: Likewise.
20229 * manual/math.texi: Likewise.
20230 * manual/memory.texi: Likewise.
20231 * manual/message.texi: Likewise.
20232 * manual/probes.texi: Likewise.
20233 * manual/resource.texi: Likewise.
20234 * manual/signal.texi: Likewise.
20235 * manual/socket.texi: Likewise.
20236 * manual/stdio.texi: Likewise.
20237 * manual/string.texi: Likewise.
20238 * manual/time.texi: Likewise.
20239 * manual/users.texi: Likewise.
20241 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20244 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20245 _DEFAULT_SOURCE is defined.
20247 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20248 Carlos O'Donell <carlos@redhat.com>
20251 * elf/dl-tls.c (_dl_count_modids): New function.
20252 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20253 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20254 audit library and increment generation counter.
20255 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20256 * elf/tst-audit9.c: New file.
20257 * elf/tst-auditmod9a.c: New file.
20258 * elf/tst-auditmod9b.c: New file.
20259 * elf/Makefile: Add rules to build and run tst-audit9.
20261 2014-02-25 Florian Weimer <fweimer@redhat.com>
20264 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20266 2014-02-25 Will Newton <will.newton@linaro.org>
20268 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20269 (__longjmp): Restore sp and lr before restoring callee
20270 saved registers. Add longjmp and longjmp_target
20271 SystemTap probe point.
20272 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20273 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20274 Define to zero to match jmpbuf layout.
20275 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20276 (__sigsetjmp): Save sp and lr before saving callee
20277 saved registers. Add setjmp SystemTap probe point.
20279 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20281 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20283 2014-02-24 Andreas Schwab <schwab@suse.de>
20286 * elf/pldd.c (wait_for_ptrace_stop): New function.
20287 (main): Call it after attaching.
20289 2014-02-22 Roland McGrath <roland@hack.frob.com>
20291 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20292 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20293 Versions files is now verboten.
20294 * hurd/Versions (libc: GLIBC_2.0):
20295 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20296 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20297 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20298 * mach/Versions: Likewise.
20300 * csu/Versions: Remove unused %include.
20301 * resolv/Versions: Likewise.
20303 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20305 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20306 ($(objpfx)check-local-headers.out): Likewise.
20307 ($(objpfx)begin-end-check.out): Likewise.
20308 * Makerules (check-abi-%.out): Likewise.
20309 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20310 ($(objpfx)test2.cat): Likewise.
20311 ($(objpfx)de/libc.cat): Likewise.
20312 ($(objpfx)test-gencat.out): Likewise.
20313 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20314 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20315 ($(objpfx)noload-mem): Likewise.
20316 ($(objpfx)tst-pathopt.out): Likewise.
20317 ($(objpfx)tst-rtld-load-self.out): Likewise.
20318 ($(objpfx)tst-array1-cmp.out): Likewise.
20319 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20320 ($(objpfx)tst-array2-cmp.out): Likewise.
20321 ($(objpfx)tst-array3-cmp.out): Likewise.
20322 ($(objpfx)tst-array4-cmp.out): Likewise.
20323 ($(objpfx)tst-array5-cmp.out): Likewise.
20324 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20325 ($(objpfx)check-textrel.out): Likewise.
20326 ($(objpfx)check-execstack.out): Likewise.
20327 ($(objpfx)check-localplt.out): Likewise.
20328 ($(objpfx)order2-cmp.out): Likewise.
20329 ($(objpfx)tst-leaks1-mem): Likewise.
20330 ($(objpfx)tst-leaks1-static-mem): Likewise.
20331 ($(objpfx)tst-initorder-cmp.out): Likewise.
20332 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20333 ($(objpfx)tst-unused-dep.out): Likewise.
20334 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20335 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20336 * iconv/Makefile (test-iconvconfig): Likewise.
20337 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20338 ($(objpfx)iconv-test.out): Likewise.
20339 ($(objpfx)tst-tables.out): Likewise.
20340 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20341 ($(objpfx)tst-gettext.out): Likewise.
20342 ($(objpfx)tst-translit.out): Likewise.
20343 ($(objpfx)tst-gettext2.out): Likewise.
20344 ($(objpfx)tst-gettext4.out): Likewise.
20345 ($(objpfx)tst-gettext6.out): Likewise.
20346 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20347 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20348 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20349 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20350 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20351 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20352 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20353 ($(objpfx)wordexp-tst.out): Likewise.
20354 ($(objpfx)annexc.out): Likewise.
20355 ($(objpfx)tst-fnmatch-mem): Likewise.
20356 ($(objpfx)bug-regex2-mem): Likewise.
20357 ($(objpfx)bug-regex14-mem): Likewise.
20358 ($(objpfx)bug-regex21-mem): Likewise.
20359 ($(objpfx)bug-regex31-mem): Likewise.
20360 ($(objpfx)tst-vfork3-mem): Likewise.
20361 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20362 ($(objpfx)tst-pcre-mem): Likewise.
20363 ($(objpfx)tst-boost-mem): Likewise.
20364 ($(objpfx)tst-getconf.out): Likewise.
20365 ($(objpfx)bug-ga2-mem): Likewise.
20366 ($(objpfx)bug-glob2-mem): Likewise.
20367 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20368 ($(objpfx)mtrace-tst-leaks2): Likewise.
20369 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20370 ($(objpfx)tst-printf.out): Likewise.
20371 ($(objpfx)tst-setvbuf1.out): Likewise.
20372 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20373 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20374 ($(objpfx)tst-fmtmsg.out): Likewise.
20375 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20376 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20378 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20379 * bits/sigaction.h [__USE_MISC]: Likewise.
20380 * bits/waitstatus.h: Update #endif comments.
20381 * ctype/ctype.h: Likewise.
20382 * dirent/dirent.h: Likewise.
20383 [__USE_MISC]: Remove redundant conditionals.
20384 * grp/grp.h: Update #endif comments.
20385 [__USE_GNU]: Remove redundant conditionals.
20386 [__USE_MISC]: Likewise.
20387 * inet/netinet/in.h [__USE_GNU]: Likewise.
20388 * io/sys/stat.h [__USE_MISC]: Likewise.
20389 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20390 * libio/bits/stdio.h: Update #endif comments.
20391 [__USE_MISC]: Remove redundant conditionals.
20392 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20393 * libio/stdio.h: Update #endif comments.
20394 [__USE_MISC]: Remove redundant conditionals.
20395 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20396 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20397 * math/math.h: Update #else and #endif comments.
20398 [__USE_MISC]: Remove redundant conditionals.
20399 * misc/sys/uio.h: Update #endif comments.
20400 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20401 * posix/glob.h [__USE_MISC]: Likewise.
20402 * posix/sys/types.h: Update #endif comments.
20403 [__USE_MISC]: Remove redundant conditionals.
20404 * posix/sys/wait.h: Update #endif comments.
20405 [__USE_MISC]: Remove redundant conditionals.
20406 * posix/unistd.h: Update #endif comments.
20407 [__USE_MISC]: Remove redundant conditionals.
20408 * pwd/pwd.h [__USE_GNU]: Likewise.
20409 [__USE_MISC]: Likewise.
20410 * resolv/netdb.h [__USE_GNU]: Likewise.
20411 * signal/signal.h: Update #endif comments.
20412 [__USE_MISC]: Remove redundant conditionals.
20413 * stdlib/stdlib.h: Update #else and #endif comments.
20414 [__USE_MISC]: Remove redundant conditionals.
20415 [__USE_GNU]: Likewise.
20416 * string/bits/string2.h [__USE_MISC]: Likewise.
20417 * string/string.h: Update #endif comments.
20418 [__USE_MISC]: Remove redundant conditionals.
20419 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20421 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20422 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20423 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20425 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20427 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20429 [__USE_MISC]: Remove redundant conditionals.
20430 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20431 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20432 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20433 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20434 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20436 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20437 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20439 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20440 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20442 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20444 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20445 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20447 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20449 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20450 * sysdeps/x86/bits/string.h: Update #endif comments.
20451 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20453 * time/sys/time.h: Update #endif comments.
20454 * time/time.h: Likewise.
20455 [__USE_MISC]: Remove redundant conditionals.
20457 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20460 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20462 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20464 * Versions.def (librt): Add GLIBC_2.17.
20466 2014-02-21 Adam Conrad <adconrad@0c3.net>
20468 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20469 synonym for _SYS_AUXV_H to allow direct inclusion.
20470 * sysdeps/sparc/bits/hwcap.h: Likewise.
20471 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20472 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20473 * sysdeps/sparc/sysdep.h: Likewise.
20475 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20477 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20479 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20481 * benchtests/bench-strrchr.c: Print length instead of position.
20483 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20486 * sysdeps/unix/sysv/linux/kernel-features.h
20487 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20488 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20489 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20490 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20492 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20493 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20494 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20495 (__ASSUME_SENDMMSG): Define instead of using previous
20496 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20497 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20498 (__ASSUME_SENDMMSG_SYSCALL): Define.
20499 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20500 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20503 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20505 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20506 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20508 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20509 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20510 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20511 [__ASSUME_SENDMMSG]: Change conditionals to
20512 [__ASSUME_SENDMMSG_SOCKETCALL].
20513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20514 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20516 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20517 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20519 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20520 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20521 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20522 [!__ASSUME_SENDMMSG]: Change conditional to
20523 [!__ASSUME_SENDMMSG_SOCKETCALL].
20524 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20525 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20529 * sysdeps/unix/sysv/linux/kernel-features.h
20530 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20531 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20532 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20533 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20534 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20535 [__i386__ || __sparc__]
20536 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20537 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20538 (__ASSUME_RECVMMSG): Define instead of using previous
20539 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20540 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20541 (__ASSUME_RECVMMSG_SYSCALL): Define.
20542 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20543 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20545 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20546 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20548 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20549 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20551 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20552 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20553 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20554 [__ASSUME_RECVMMSG]: Change condition to
20555 [__ASSUME_RECVMMSG_SOCKETCALL].
20556 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20557 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20559 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20560 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20561 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20563 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20564 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20565 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20566 [!__ASSUME_RECVMMSG]: Change condition to
20567 [!__ASSUME_RECVMMSG_SOCKETCALL].
20568 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20569 (__ASSUME_RECVMMSG_SYSCALL): Define.
20572 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20573 __powerpc__ || __s390__ || __sh__ || __sparc__]
20574 (__ASSUME_SOCKETCALL): Define.
20575 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20576 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20577 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20578 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20579 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20580 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20581 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20582 (__ASSUME_ACCEPT4): Define instead of using previous
20583 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20584 __powerpc__ || __sparc__ || __s390__)] condition.
20585 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20586 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20587 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20588 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20589 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20590 [!__ASSUME_ACCEPT4]: Change condition to
20591 [!__ASSUME_ACCEPT4_SOCKETCALL].
20592 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20593 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20594 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20595 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20596 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20597 __ASSUME_ACCEPT4_SYSCALL.
20598 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20599 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20600 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20601 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20602 __ASSUME_ACCEPT4_SYSCALL.
20603 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20604 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20605 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20606 [__ASSUME_ACCEPT4]: Change condition to
20607 [__ASSUME_ACCEPT4_SOCKETCALL].
20608 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20609 (__ASSUME_SOCKETCALL): Define.
20610 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20611 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20612 (__ASSUME_SOCKETCALL): Define.
20613 (__ASSUME_ACCEPT4): Remove.
20614 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20616 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20617 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20619 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20620 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20622 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20624 (HWCAP_ARM_LPAE): Likewise.
20625 (HWCAP_ARM_EVTSTRM): Likewise.
20626 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20627 Add vpfd32, lpae and evtstrm.
20628 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20631 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20633 * math/auto-libm-test-in: Add tests of clog10.
20634 * math/auto-libm-test-out: Regenerated.
20635 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20636 * sysdeps/i386/fpu/libm-test-ulps: Update.
20637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20639 2014-02-18 Andreas Schwab <schwab@suse.de>
20642 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20643 Store non-zero if the second buffer was newly allocated.
20644 (send_dg): Likewise.
20645 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20646 to send_vc and send_dg.
20647 (res_nsend): Pass NULL for ansp2_malloced.
20648 * resolv/res_query.c (__libc_res_nquery): Add parameter
20649 answerp2_malloced and pass it down to __libc_res_nsend.
20650 (res_nquery): Pass additional NULL to __libc_res_nquery.
20651 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20652 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20653 second answer buffer if answerp2_malloced was set.
20654 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20655 (__libc_res_nquerydomain): Add parameter
20656 answerp2_malloced and pass it down to __libc_res_nquery.
20657 (res_nquerydomain): Pass additional NULL to
20658 __libc_res_nquerydomain.
20659 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20660 additional NULL to __libc_res_nsend and __libc_res_nquery.
20661 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20662 additional NULL to __libc_res_nsearch.
20663 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20664 parameter of __libc_res_nsearch to check for separately allocated
20666 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20668 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20669 additional NULL to __libc_res_nquery.
20670 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20671 __libc_res_nsearch.
20672 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20673 * include/resolv.h: Update prototypes of __libc_res_nquery,
20674 __libc_res_nsearch, __libc_res_nsend.
20676 2014-02-18 Joseph Myers <joseph@codesourcery.com>
20678 * math/auto-libm-test-in: Add tests of fma.
20679 * math/auto-libm-test-out: Regenerated.
20680 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20681 (fma_towardzero_test_data): Likewise.
20682 (fma_downward_test_data): Likewise.
20683 (fma_upward_test_data): Likewise.
20684 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20686 (rounding_modes): Add values for new field.
20687 (func_calc_method): Add value mpfr_fff_f.
20688 (func_calc_desc): Add mpfr_fff_f union field.
20689 (test_function): Add field exact_args.
20690 (FUNC): Add macro argument EXACT_ARGS.
20691 (FUNC_mpfr_f_f): Update call to FUNC.
20692 (FUNC_mpfr_f_f): Likewise.
20693 (FUNC_mpfr_ff_f): Likewise.
20694 (FUNC_mpfr_if_f): Likewise.
20695 (FUNC_mpc_c_f): Likewise.
20696 (FUNC_mpc_c_c): Likewise.
20697 (test_functions): Add fma. Update calls to FUNC.
20698 (handle_input_arg): Add argument exact_args.
20699 (add_test): Update call to handle_input_arg.
20700 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20701 (output_for_one_input_case): Update call to calc_generic_results.
20702 Recalculate exact zero results in each rounding mode.
20704 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20705 non-negative before setting low bit.
20706 * math/auto-libm-test-in: Mark one asin test possibly having
20707 spurious underflow.
20708 * math/auto-libm-test-out: Regenerated.
20709 * sysdeps/i386/fpu/libm-test-ulps: Update.
20710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20712 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20714 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20715 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20716 ports/sysdeps/unix/sysv/linux/microblaze.
20717 * README: Add missing listing for microblaze*-*-linux-gnu.
20719 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
20721 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20724 2014-02-16 Mike Frysinger <vapier@gentoo.org>
20726 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20727 * sysdeps/unix/sysv/linux/ia64: Move directory from
20728 ports/sysdeps/unix/sysv/linux/ia64.
20729 * README: Update listing for ia64-*-linux-gnu.
20731 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20732 Joseph Myers <joseph@codesourcery.com>
20734 * Makeconfig (test-name): New variable.
20735 (evaluate-test): Likewise.
20736 * Makerules (do-test-clean): Remove .test-result files.
20737 (common-mostlyclean): Likewise.
20738 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20739 * scripts/evaluate-test.sh: New file.
20741 2014-02-14 Joseph Myers <joseph@codesourcery.com>
20743 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20744 separate $(objpfx)tst-fopenloc-cmp.out and
20745 $(objpfx)tst-fopenloc-mem.out targets.
20746 (tests): Update dependencies.
20747 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20748 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20749 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20750 (tst-rxspencer-no-utf8-ARGS): New variable.
20751 (tst-rxspencer-no-utf8-ENV): Likewise.
20752 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20753 instead of $(objpfx)tst-rxspencer-mem.
20754 ($(objpfx)tst-rxspencer-mem): Change target to
20755 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20756 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20757 * posix/tst-rxspencer-no-utf8.c: New file.
20759 * elf/Makefile ($(objpfx)order.out): Remove rule.
20760 [$(run-built-tests) = yes] (tests): Depend on
20761 $(objpfx)order-cmp.out.
20762 ($(objpfx)order-cmp.out): New rule.
20763 [$(run-built-tests) = yes] (tests): Depend on
20764 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20765 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20766 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20767 $(objpfx)tst-array5-static-cmp.out.
20768 ($(objpfx)tst-array1.out): Remove rule.
20769 ($(objpfx)tst-array1-cmp.out): New rule.
20770 ($(objpfx)tst-array1-static.out): Remove rule.
20771 ($(objpfx)tst-array1-static-cmp.out): New rule.
20772 ($(objpfx)tst-array2.out): Remove rule.
20773 ($(objpfx)tst-array2-cmp.out): New rule.
20774 ($(objpfx)tst-array3.out): Remove rule.
20775 ($(objpfx)tst-array3-cmp.out): New rule.
20776 ($(objpfx)tst-array4.out): Remove rule.
20777 ($(objpfx)tst-array4-cmp.out): New rule.
20778 ($(objpfx)tst-array5.out): Remove rule.
20779 ($(objpfx)tst-array5-cmp.out): New rule.
20780 ($(objpfx)tst-array5-static.out): Remove rule.
20781 ($(objpfx)tst-array5-static-cmp.out): New rule.
20782 [$(run-built-tests) = yes] (tests): Depend on
20783 $(objpfx)order2-cmp.out.
20784 ($(objpfx)order2.out): Remove rule.
20785 ($(objpfx)order2-cmp.out): New rule.
20786 ($(objpfx)tst-initorder.out): Remove rule.
20787 [$(run-built-tests) = yes] (tests): Depend on
20788 $(objpfx)tst-initorder-cmp.out.
20789 ($(objpfx)tst-initorder-cmp.out): New rule.
20790 ($(objpfx)tst-initorder2.out): Remove rule.
20791 [$(run-built-tests) = yes] (tests): Depend on
20792 $(objpfx)tst-initorder2-cmp.out.
20793 ($(objpfx)tst-initorder2-cmp.out): New rule.
20794 [$(run-built-tests) = yes] (tests): Depend on
20795 $(objpfx)tst-unused-dep-cmp.out.
20796 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20797 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20798 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20799 on $(objpfx)tst-setvbuf1-cmp.out.
20800 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20801 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20802 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20803 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20804 ($(objpfx)tst-svc.out): Remove rule.
20805 ($(objpfx)tst-svc-cmp.out): New rule.
20807 2014-02-13 Joseph Myers <joseph@codesourcery.com>
20809 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20810 * ctype/ctype.h [__USE_MISC]: Likewise.
20811 * dirent/dirent.h [__USE_MISC]: Likewise.
20812 * grp/grp.h [__USE_MISC]: Likewise.
20813 * io/fcntl.h [__USE_MISC]: Likewise.
20814 * io/sys/stat.h [__USE_MISC]: Likewise.
20815 * libio/stdio.h [__USE_MISC]: Likewise.
20816 * posix/unistd.h [__USE_MISC]: Likewise.
20817 * pwd/pwd.h [__USE_MISC]: Likewise.
20818 * stdlib.h [__USE_MISC]: Likewise.
20819 * string/bits/string2.h [__USE_MISC]: Likewise.
20820 * string/string.h [__USE_MISC]: Likewise.
20821 * time/time.h [__USE_MISC]: Likewise.
20823 2014-02-13 Andreas Schwab <schwab@suse.de>
20826 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20827 second answer buffer if it was separately allocated.
20829 2014-02-12 Joseph Myers <joseph@codesourcery.com>
20831 * sysdeps/mips/math-tests.h: Include <features.h>.
20832 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20833 (ROUNDING_TESTS_long_double): Do not define.
20834 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20835 (EXCEPTION_TESTS_long_double): Likewise.
20836 * sysdeps/mips/mips64/libm-test-ulps: Update.
20838 * include/features.h (__USE_BSD): Remove macro definitions.
20839 (__USE_SVID): Likewise.
20840 (_BSD_SOURCE): Likewise.
20841 (_SVID_SOURCE): Likewise.
20842 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20843 from definition of _DEFAULT_SOURCE.
20844 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20846 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20847 * bits/mman.h [__USE_BSD]: Likewise.
20848 * bits/termios.h [__USE_BSD]: Likewise.
20849 * bits/waitstatus.h [__USE_BSD]: Likewise.
20850 * ctype/ctype.h [__USE_SVID]: Likewise.
20851 * dirent/dirent.h [__USE_BSD]: Likewise.
20852 * grp/grp.h [__USE_SVID]: Likewise.
20853 [__USE_BSD]: Likewise.
20854 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20855 * io/fcntl.h [__USE_BSD]: Likewise.
20856 * io/ftw.h [__USE_BSD]: Likewise.
20857 * io/sys/stat.h [__USE_BSD]: Likewise.
20858 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20859 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20860 * libio/stdio.h [__USE_SVID]: Likewise.
20861 [__USE_BSD]: Likewise.
20862 * math/math.h [__USE_SVID]: Likewise.
20863 [__USE_BSD]: Likewise.
20864 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20865 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20866 * misc/search.h [__USE_SVID]: Likewise.
20867 * misc/sys/mman.h [__USE_BSD]: Likewise.
20868 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20869 * misc/sys/uio.h [__USE_BSD]: Likewise.
20870 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20871 * posix/glob.h [__USE_BSD]: Likewise.
20872 * posix/regex.h [__USE_BSD]: Likewise.
20873 * posix/sys/types.h [__USE_BSD]: Likewise.
20874 [__USE_SVID]: Likewise.
20875 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20876 * posix/sys/wait.h [__USE_BSD]: Likewise.
20877 [__USE_SVID]: Likewise.
20878 * posix/unistd.h [__USE_BSD]: Likewise.
20879 [__USE_SVID]: Likewise.
20880 * pwd/pwd.h [__USE_SVID]: Likewise.
20881 * resolv/netdb.h [__USE_BSD]: Likewise.
20882 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20883 * signal/signal.h [__USE_BSD]: Likewise.
20884 [__USE_SVID]: Likewise.
20885 * socket/sys/socket.h [__USE_BSD]: Likewise.
20886 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20887 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20888 [__USE_SVID]: Likewise.
20889 * string/bits/string2.h [__USE_BSD]: Likewise.
20890 [__USE_SVID]: Likewise.
20891 * string/bits/string3.h [__USE_BSD]: Likewise.
20892 * string/endian.h [__USE_BSD]: Likewise.
20893 * string/string.h [__USE_SVID]: Likewise.
20894 [__USE_BSD]: Likewise.
20895 * string/strings.h [__USE_BSD]: Likewise.
20896 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20897 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20898 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20899 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20900 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20901 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20903 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20905 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20906 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20908 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20909 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20911 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20913 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20914 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20915 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20917 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20919 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20920 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20921 * termios/termios.h [__USE_BSD]: Likewise.
20922 * time/sys/time.h [__USE_BSD]: Likewise.
20923 * time/time.h [__USE_BSD]: Likewise.
20924 [__USE_SVID]: Likewise.
20926 * Makefile (subdir_targets): Remove subdir_lint.out.
20928 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20929 (do-tst-printf): Likewise.
20930 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20931 $(objpfx)tst-printf.out.
20933 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20935 * Makerules (check-abi-%): Change target to
20936 $(objpfx)check-abi-%.out.
20937 (check-abi target): Update dependencies.
20938 (check-abi-pattern variable): Redirect output of diff to $@.
20939 (check-abi variable): Likewise.
20940 * elf/Makefile (check-abi): Update dependencies.
20942 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20944 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20945 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20947 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20948 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20949 value has largest subnormal exponent.
20950 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20951 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20952 * sysdeps/aarch64/soft-fp/sfp-machine.h
20953 (_FP_TININESS_AFTER_ROUNDING): New macro.
20954 * sysdeps/alpha/soft-fp/sfp-machine.h
20955 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20956 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20958 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20959 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20960 * sysdeps/mips/soft-fp/sfp-machine.h
20961 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20962 * sysdeps/powerpc/soft-fp/sfp-machine.h
20963 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20964 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20966 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20967 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20969 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20970 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20973 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
20976 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20979 2014-02-12 Richard Henderson <rth@redhat.com>
20981 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20982 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20983 * sysdeps/unix/sysv/linux/alpha: Move directory from
20984 ports/sysdeps/unix/sysv/linux/alpha.
20985 * README: Update listing for alpha-*-linux-gnu.
20987 2014-02-11 Joseph Myers <joseph@codesourcery.com>
20989 * include/features.h: Update comment documenting feature test
20991 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20993 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20994 (_SVID_SOURCE): Likewise.
20995 (_DEFAULT_SOURCE): Update description of default features.
20996 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20998 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20999 (S_ISVTX): Likewise.
21000 * manual/math.texi (Mathematical Constants): Likewise.
21001 * manual/signal.texi (Interrupted Primitives): Likewise.
21002 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21003 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21004 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21005 Don't refer to _SVID_SOURCE in warning text.
21007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21009 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21011 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21012 * sysdeps/mips/dl-lookup.c: Remove.
21013 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21015 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21018 * math/auto-libm-test-in: Add testcase for expl.
21019 * math/auto-libm-test-out: Regenerate.
21020 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21021 calculation of unsafe.
21022 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21024 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21026 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21027 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21028 ports/sysdeps/unix/sysv/linux/aarch64.
21029 * README: Update listing for aarch64*-*-linux-gnu.
21031 2014-02-11 Will Newton <will.newton@linaro.org>
21033 * manual/probes.texi (Mathematical Function Probes): Use
21034 "triggered" instead of "hit".
21036 * manual/probes.texi (Internal Probes): Add documentation
21037 of setjmp, longjmp and longjmp_target probes.
21039 * include/stap-probe.h: Add comment about probe argument
21042 * malloc/mtrace.c (attribute_hidden): Remove unused macro
21043 definition. (tr_where, tr_freehook, tr_mallochook,
21044 tr_reallochook, tr_memalignhook): Use ANSI protoype.
21046 2014-02-11 David S. Miller <davem@davemloft.net>
21048 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21049 processing int_tests.
21051 2014-02-10 Joseph Myers <joseph@codesourcery.com>
21053 * sysdeps/mips: Move directory from ports/sysdeps/mips.
21054 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21055 * sysdeps/unix/sysv/linux/mips: Move directory from
21056 ports/sysdeps/unix/sysv/linux/mips.
21057 * README: Update listing for mips-*-linux-gnu and
21058 mips64-*-linux-gnu.
21060 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21062 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21063 * sysdeps/unix/sysv/linux/m68k: Move directory from
21064 ports/sysdeps/unix/sysv/linux/m68k.
21065 * README: Update listing for m68k-*-linux-gnu.
21067 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21069 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21070 * sysdeps/unix/sysv/linux/generic: Move directory from
21071 ports/sysdeps/unix/sysv/linux/generic.
21072 * sysdeps/unix/sysv/linux/tile: Move directory from
21073 ports/sysdeps/unix/sysv/linux/tile.
21074 * README: Update listing for tile*-*-linux-gnu.
21076 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21078 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21080 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21081 * catgets/open_catalog.c (__open_catalog): Likewise.
21082 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21083 * debug/confstr_chk.c: Likewise.
21084 * debug/fread_chk.c (__fread_chk): Likewise.
21085 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21086 * debug/getgroups_chk.c: Likewise.
21087 * debug/mbsnrtowcs_chk.c: Likewise.
21088 * debug/mbsrtowcs_chk.c: Likewise.
21089 * debug/mbstowcs_chk.c: Likewise.
21090 * debug/memcpy_chk.c: Likewise.
21091 * debug/memmove_chk.c: Likewise.
21092 * debug/mempcpy_chk.c: Likewise.
21093 * debug/memset_chk.c: Likewise.
21094 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21095 * debug/strcat_chk.c (__strcat_chk): Likewise.
21096 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21097 * debug/strncat_chk.c (__strncat_chk): Likewise.
21098 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21099 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21100 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21101 * debug/wcpncpy_chk.c: Likewise.
21102 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21103 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21104 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21105 * debug/wcsncpy_chk.c: Likewise.
21106 * debug/wcsnrtombs_chk.c: Likewise.
21107 * debug/wcsrtombs_chk.c: Likewise.
21108 * debug/wcstombs_chk.c: Likewise.
21109 * debug/wmemcpy_chk.c: Likewise.
21110 * debug/wmemmove_chk.c: Likewise.
21111 * debug/wmempcpy_chk.c: Likewise.
21112 * debug/wmemset_chk.c: Likewise.
21113 * dirent/scandirat.c (SCANDIRAT): Likewise.
21114 * dlfcn/dladdr1.c (dladdr1): Likewise.
21115 * dlfcn/dladdr.c (dladdr): Likewise.
21116 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21117 * dlfcn/dlerror.c (__dlerror): Likewise.
21118 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21119 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21120 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21121 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21122 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21123 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21124 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21125 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21127 * elf/dl-conflict.c: Likewise.
21128 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21129 * elf/dl-dst.h: Likewise.
21130 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21131 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21132 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21133 * elf/dl-init.c (call_init, _dl_init): Likewise.
21134 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21135 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21136 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21138 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21140 * elf/dl-minimal.c (__libc_memalign): Likewise.
21141 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21142 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21143 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21144 * elf/dl-sym.c (do_sym): Likewise.
21145 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21146 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21147 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21148 * elf/dl-writev.h (_dl_writev): Likewise.
21149 * elf/ldconfig.c (search_dir): Likewise.
21150 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21151 (dl_main): Likewise.
21152 * elf/setup-vdso.h (setup_vdso): Likewise.
21153 * grp/compat-initgroups.c (compat_call): Likewise.
21154 * grp/fgetgrent.c (fgetgrent): Likewise.
21155 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21156 * grp/putgrent.c (putgrent): Likewise.
21157 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21159 * hurd/hurdinit.c: Likewise.
21160 * iconvdata/8bit-gap.c (struct): Likewise.
21161 * iconvdata/ansi_x3.110.c : Likewise.
21162 * iconvdata/big5.c : Likewise.
21163 * iconvdata/big5hkscs.c : Likewise.
21164 * iconvdata/cp1255.c: Likewise.
21165 * iconvdata/cp1258.c : Likewise.
21166 * iconvdata/cp932.c : Likewise.
21167 * iconvdata/euc-cn.c: Likewise.
21168 * iconvdata/euc-jisx0213.c : Likewise.
21169 * iconvdata/euc-jp.c: Likewise.
21170 * iconvdata/euc-jp-ms.c : Likewise.
21171 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21172 * iconvdata/gb18030.c : Likewise.
21173 * iconvdata/gbbig5.c (const): Likewise.
21174 * iconvdata/gbgbk.c: Likewise.
21175 * iconvdata/gbk.c : Likewise.
21176 * iconvdata/ibm1364.c : Likewise.
21177 * iconvdata/ibm930.c : Likewise.
21178 * iconvdata/ibm932.c: Likewise.
21179 * iconvdata/ibm933.c : Likewise.
21180 * iconvdata/ibm935.c : Likewise.
21181 * iconvdata/ibm937.c : Likewise.
21182 * iconvdata/ibm939.c : Likewise.
21183 * iconvdata/ibm943.c: Likewise.
21184 * iconvdata/iso_11548-1.c: Likewise.
21185 * iconvdata/iso-2022-cn.c : Likewise.
21186 * iconvdata/iso-2022-cn-ext.c : Likewise.
21187 * iconvdata/iso-2022-jp-3.c: Likewise.
21188 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21189 * iconvdata/iso-2022-kr.c : Likewise.
21190 * iconvdata/iso646.c (gconv_end): Likewise.
21191 * iconvdata/iso_6937-2.c : Likewise.
21192 * iconvdata/iso_6937.c : Likewise.
21193 * iconvdata/iso8859-1.c: Likewise.
21194 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21195 * iconvdata/shift_jisx0213.c : Likewise.
21196 * iconvdata/sjis.c : Likewise.
21197 * iconvdata/t.61.c : Likewise.
21198 * iconvdata/tcvn5712-1.c : Likewise.
21199 * iconvdata/tscii.c: Likewise.
21200 * iconvdata/uhc.c : Likewise.
21201 * iconvdata/unicode.c (gconv_end): Likewise.
21202 * iconvdata/utf-16.c (gconv_end): Likewise.
21203 * iconvdata/utf-32.c (gconv_end): Likewise.
21204 * iconvdata/utf-7.c (base64): Likewise.
21205 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21206 * iconv/gconv_close.c (__gconv_close): Likewise.
21207 * iconv/gconv_open.c (__gconv_open): Likewise.
21208 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21209 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21210 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21211 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21212 (ucs4le_internal_loop_single): Likewise.
21213 * iconv/iconv.c (iconv): Likewise.
21214 * iconv/iconv_close.c: Likewise.
21215 * iconv/loop.c (SINGLE): Likewise.
21216 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21217 * include/atomic.h: Likewise.
21218 * inet/inet6_option.c (option_alloc): Likewise.
21219 * intl/bindtextdom.c (set_binding_values): Likewise.
21220 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21221 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21222 * intl/localealias.c (read_alias_file): Likewise.
21223 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21224 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21225 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21226 * libio/fmemopen.c (fmemopen): Likewise.
21227 * libio/iofgets.c (_IO_fgets): Likewise.
21228 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21229 * libio/iofgetws.c (fgetws): Likewise.
21230 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21231 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21232 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21233 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21234 * locale/findlocale.c (_nl_find_locale): Likewise.
21235 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21236 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21238 * locale/setlocale.c (setlocale): Likewise.
21239 * login/programs/pt_chown.c (main): Likewise.
21240 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21241 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21242 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21243 (mmap, mmap64, mremap, munmap): Likewise.
21244 * math/e_exp2l.c: Likewise.
21245 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21246 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21247 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21248 * math/s_catan.c (__catan): Likewise.
21249 * math/s_catanf.c (__catanf): Likewise.
21250 * math/s_catanh.c (__catanh): Likewise.
21251 * math/s_catanhf.c (__catanhf): Likewise.
21252 * math/s_catanhl.c (__catanhl): Likewise.
21253 * math/s_catanl.c (__catanl): Likewise.
21254 * math/s_ccosh.c (__ccosh): Likewise.
21255 * math/s_ccoshf.c (__ccoshf): Likewise.
21256 * math/s_ccoshl.c (__ccoshl): Likewise.
21257 * math/s_cexp.c (__cexp): Likewise.
21258 * math/s_cexpf.c (__cexpf): Likewise.
21259 * math/s_cexpl.c (__cexpl): Likewise.
21260 * math/s_clog10.c (__clog10): Likewise.
21261 * math/s_clog10f.c (__clog10f): Likewise.
21262 * math/s_clog10l.c (__clog10l): Likewise.
21263 * math/s_clog.c (__clog): Likewise.
21264 * math/s_clogf.c (__clogf): Likewise.
21265 * math/s_clogl.c (__clogl): Likewise.
21266 * math/s_csin.c (__csin): Likewise.
21267 * math/s_csinf.c (__csinf): Likewise.
21268 * math/s_csinh.c (__csinh): Likewise.
21269 * math/s_csinhf.c (__csinhf): Likewise.
21270 * math/s_csinhl.c (__csinhl): Likewise.
21271 * math/s_csinl.c (__csinl): Likewise.
21272 * math/s_csqrt.c (__csqrt): Likewise.
21273 * math/s_csqrtf.c (__csqrtf): Likewise.
21274 * math/s_csqrtl.c (__csqrtl): Likewise.
21275 * math/s_ctan.c (__ctan): Likewise.
21276 * math/s_ctanf.c (__ctanf): Likewise.
21277 * math/s_ctanh.c (__ctanh): Likewise.
21278 * math/s_ctanhf.c (__ctanhf): Likewise.
21279 * math/s_ctanhl.c (__ctanhl): Likewise.
21280 * math/s_ctanl.c (__ctanl): Likewise.
21281 * math/w_pow.c: Likewise.
21282 * math/w_powf.c: Likewise.
21283 * math/w_powl.c: Likewise.
21284 * math/w_scalb.c (sysv_scalb): Likewise.
21285 * math/w_scalbf.c (sysv_scalbf): Likewise.
21286 * math/w_scalbl.c (sysv_scalbl): Likewise.
21287 * misc/error.c (error_tail): Likewise.
21288 * misc/pselect.c (__pselect): Likewise.
21289 * nis/nis_callback.c (__nis_create_callback): Likewise.
21290 * nis/nis_call.c (__nisfind_server): Likewise.
21291 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21292 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21293 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21294 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21295 * nis/nis_lookup.c (nis_lookup): Likewise.
21296 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21297 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21298 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21299 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21300 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21301 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21302 * nis/nss_compat/compat-initgroups.c (add_group)
21303 (internal_getgrent_r): Likewise.
21304 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21305 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21306 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21307 (internal_getspnam_r): Likewise.
21308 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21309 (_nss_nis_getaliasbyname_r): Likewise.
21310 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21311 (_nss_nis_getntohost_r): Likewise.
21312 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21313 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21314 (_nss_nis_getgrgid_r): Likewise.
21315 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21316 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21317 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21318 (_nss_nis_gethostbyname4_r): Likewise.
21319 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21320 (initgroups_netid): Likewise.
21321 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21322 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21323 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21324 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21325 (_nss_nis_getprotobynumber_r): Likewise.
21326 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21327 (_nss_nis_getsecretkey): Likewise.
21328 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21329 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21330 (_nss_nis_getpwuid_r): Likewise.
21331 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21332 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21333 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21334 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21335 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21336 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21337 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21339 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21340 (_nss_nisplus_getntohost_r): Likewise.
21341 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21342 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21343 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21344 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21346 * nis/nss_nisplus/nisplus-initgroups.c
21347 (_nss_nisplus_initgroups_dyn): Likewise.
21348 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21349 (_nss_nisplus_getnetbyaddr_r): Likewise.
21350 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21351 (_nss_nisplus_getprotobynumber_r): Likewise.
21352 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21353 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21354 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21356 * nis/nss_nisplus/nisplus-service.c
21357 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21358 (_nss_nisplus_getservbyport_r): Likewise.
21359 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21360 (_nss_nisplus_getspnam_r): Likewise.
21361 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21363 * nscd/aicache.c (addhstaiX): Likewise.
21364 * nscd/cache.c (cache_search, prune_cache): Likewise.
21365 * nscd/connections.c (register_traced_file, send_ro_fd)
21366 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21367 (main_loop_epoll): Likewise.
21368 * nscd/grpcache.c (addgrbyX): Likewise.
21369 * nscd/hstcache.c (addhstbyX): Likewise.
21370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21371 * nscd/mem.c (gc, mempool_alloc): Likewise.
21372 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21373 (addinnetgrX): Likewise.
21374 * nscd/nscd-client.h (__nscd_acquire_maplock)
21375 (__nscd_drop_map_ref): Likewise.
21376 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21377 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21378 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21380 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21381 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21382 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21383 (__nscd_get_map_ref): Likewise.
21384 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21385 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21387 * nscd/pwdcache.c (addpwbyX): Likewise.
21388 * nscd/selinux.c (preserve_capabilities): Likewise.
21389 * nscd/servicescache.c (addservbyX): Likewise.
21390 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21391 * posix/fnmatch.c (fnmatch): Likewise.
21392 * posix/getopt.c (_getopt_internal_r): Likewise.
21393 * posix/glob.c (glob, glob_in_dir): Likewise.
21394 * posix/wordexp.c (exec_comm_child): Likewise.
21395 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21396 (getanswer_r, gaih_getanswer_slice): Likewise.
21397 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21398 * resolv/res_init.c: Likewise.
21399 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21400 * resolv/res_query.c (__libc_res_nquery): Likewise.
21401 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21403 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21404 * stdio-common/perror.c (perror): Likewise.
21405 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21406 * stdio-common/tmpnam.c (tmpnam): Likewise.
21407 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21408 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21409 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21411 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21412 * stdlib/putenv.c (putenv): Likewise.
21413 * stdlib/setenv.c (__add_to_environ): Likewise.
21414 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21415 * stdlib/strtol_l.c (INTERNAL): Likewise.
21416 * string/memmem.c (memmem): Likewise.
21417 * string/strerror.c (strerror): Likewise.
21418 * string/strnlen.c (__strnlen): Likewise.
21419 * string/test-memmem.c (simple_memmem): Likewise.
21420 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21421 * sunrpc/pm_getport.c (__get_socket): Likewise.
21422 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21423 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21424 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21425 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21427 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21428 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21429 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21430 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21431 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21432 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21434 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21436 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21437 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21438 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21439 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21440 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21441 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21442 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21443 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21444 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21445 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21446 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21447 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21449 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21451 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21453 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21455 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21456 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21457 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21458 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21459 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21460 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21461 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21462 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21463 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21465 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21466 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21468 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21470 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21472 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21474 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21476 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21478 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21480 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21481 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21482 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21483 * sysdeps/posix/sleep.c: Likewise.
21484 * sysdeps/posix/tempname.c: Likewise.
21485 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21486 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21488 * sysdeps/powerpc/powerpc32/dl-machine.h
21489 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21490 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21491 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21492 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21493 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21495 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21496 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21497 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21498 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21499 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21500 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21501 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21502 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21503 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21504 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21506 (elf_machine_lazy_rel): Likewise.
21507 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21508 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21509 (elf_machine_lazy_rel): Likewise.
21510 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21511 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21512 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21513 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21514 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21515 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21516 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21519 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21520 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21521 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21522 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21523 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21524 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21525 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21526 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21527 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21528 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21529 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21531 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21532 (__posix_fallocate64_l64): Likewise.
21533 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21534 (posix_fallocate): Likewise.
21535 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21538 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21539 (getifaddrs_internal): Likewise.
21540 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21541 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21542 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21543 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21544 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21545 (__posix_fallocate64_l64): Likewise.
21546 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21548 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21549 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21550 (__get_clockfreq): Likewise.
21551 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21552 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21553 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21555 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21556 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21557 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21558 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21560 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21561 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21562 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21563 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21564 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21565 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21566 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21568 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21569 (posix_fallocate): Likewise.
21570 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21571 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21572 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21573 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21574 (elf_machine_rela, elf_machine_rela_relative)
21575 (elf_machine_lazy_rel): Likewise.
21576 * time/asctime.c (asctime_internal): Likewise.
21577 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21578 * time/tzset.c (__tzset_parse_tz): Likewise.
21579 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21580 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21581 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21582 * wcsmbs/wcsmbsload.h: Likewise.
21585 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21587 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21588 (arena_get2): Remove THREAD_STATS conditionals.
21589 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21590 (__malloc_stats, int): Likewise.
21592 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21594 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21595 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21597 * manual/setjmp.texi: Fix typos/grammar errors.
21599 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21600 Only return early when n is <= 0. Delete unused return statement.
21602 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21603 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21604 * debug/tst-longjmp_chk3.c: New file.
21606 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21607 (test_main): Replace code with set_fortify_handler call.
21608 * debug/test-strcpy_chk.c: Likewise.
21609 * debug/tst-chk1.c: Likewise.
21610 * debug/tst-longjmp_chk.c: Likewise.
21611 * test-skeleton.c: Include fcntl.h & paths.h
21612 (set_fortify_handler): Define.
21614 * debug/tst-longjmp_chk.c: Add header comment and include
21615 ../test-skeleton.c.
21616 (do_test): Mark static.
21617 (TEST_FUNCTION): Define.
21619 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21620 (IP_PMTUDISC_INTERFACE): Likewise.
21621 (IP_MULTICAST_IF): Likewise.
21622 (IP_MULTICAST_TTL): Likewise.
21623 (IP_MULTICAST_LOOP): Likewise.
21624 (IP_ADD_MEMBERSHIP): Likewise.
21625 (IP_DROP_MEMBERSHIP): Likewise.
21626 (IP_UNBLOCK_SOURCE): Likewise.
21627 (IP_BLOCK_SOURCE): Likewise.
21628 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21629 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21630 (IP_MSFILTER): Likewise.
21631 (MCAST_JOIN_GROUP): Likewise.
21632 (MCAST_BLOCK_SOURCE): Likewise.
21633 (MCAST_UNBLOCK_SOURCE): Likewise.
21634 (MCAST_LEAVE_GROUP): Likewise.
21635 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21636 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21637 (MCAST_MSFILTER): Likewise.
21638 (IP_MULTICAST_ALL): Likewise.
21639 (IP_UNICAST_IF): Likewise.
21641 * timezone/Makefile: Delete $(have-ksh) check.
21642 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21643 * timezone/tzselect.ksh: Add +x mode bits.
21645 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21646 (ANON_INODE_FS_MAGIC): Likewise.
21647 (BDEVFS_MAGIC): Likewise.
21648 (BINFMTFS_MAGIC): Likewise.
21649 (BTRFS_TEST_MAGIC): Likewise.
21650 (CRAMFS_MAGIC_WEND): Likewise.
21651 (DEBUGFS_MAGIC): Likewise.
21652 (ECRYPTFS_SUPER_MAGIC): Likewise.
21653 (EXT3_SUPER_MAGIC): Likewise.
21654 (EXT4_SUPER_MAGIC): Likewise.
21655 (FUTEXFS_SUPER_MAGIC): Likewise.
21656 (HOSTFS_SUPER_MAGIC): Likewise.
21657 (HUGETLBFS_MAGIC): Likewise.
21658 (MINIX3_SUPER_MAGIC): Likewise.
21659 (MTD_INODE_FS_MAGIC): Likewise.
21660 (NILFS_SUPER_MAGIC): Likewise.
21661 (OPENPROM_SUPER_MAGIC): Likewise.
21662 (PIPEFS_MAGIC): Likewise.
21663 (PSTOREFS_MAGIC): Likewise.
21664 (QNX6_SUPER_MAGIC): Likewise.
21665 (RAMFS_MAGIC): Likewise.
21666 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21667 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21668 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21669 (SECURITYFS_MAGIC): Likewise.
21670 (SELINUX_MAGIC): Likewise.
21671 (SMACK_MAGIC): Likewise.
21672 (SOCKFS_MAGIC): Likewise.
21673 (SQUASHFS_MAGIC): Likewise.
21674 (STACK_END_MAGIC): Likewise.
21675 (TMPFS_MAGIC): Likewise.
21676 (USBDEVICE_SUPER_MAGIC): Likewise.
21677 (V9FS_MAGIC): Likewise.
21678 (XENFS_SUPER_MAGIC): Likewise.
21679 (CRAMFS_MAGIC): Fix typo in comment.
21680 (EXT2_SUPER_MAGIC): Update comment.
21681 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21683 2014-02-08 Joseph Myers <joseph@codesourcery.com>
21685 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21686 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21687 * sysdeps/unix/sysv/linux/arm: Move directory from
21688 ports/sysdeps/unix/sysv/linux/arm.
21689 * README: Update listing for arm-*-linux-gnueabi.
21691 * README: Remove mention of am33.
21693 2014-02-07 Roland McGrath <roland@hack.frob.com>
21695 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21696 than the comma operator, to avoid "rhs of comma has no effect"
21698 (__sigfillset, __sigandset, __sigorset): Likewise.
21699 * include/signal.h (__sigemptyset): Likewise.
21700 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21702 2014-02-07 Allan McRae <allan@archlinux.org>
21704 * version.h (RELEASE): Set to "development".
21705 (VERSION): Set to "2.19.90"
21706 * NEWS: Add 2.20 section.
21708 2014-02-06 Carlos O'Donell <carlos@redhat.com>
21711 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21713 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21715 * manual/contrib.texi: Update entry for Carlos O'Donell,
21716 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21718 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
21720 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21722 * sysdeps/unix/sysv/linux/kernel-features.h
21723 [__LINUX_KERNEL_VERSION >= 0x020621]
21724 (__ASSUME_PROC_PID_TASK_COMM): Define.
21726 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21729 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21730 conversion when destination buffer does not have enough space.
21731 * libio/tst-ftell-partial-wide.c: New test case.
21732 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21734 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21735 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21736 Leonard and Allan McRae.
21738 2014-02-04 David S. Miller <davem@davemloft.net>
21740 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21743 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21772 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21774 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21775 * shlib-versions: Likewise.
21777 2014-02-04 Roland McGrath <roland@hack.frob.com>
21778 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21780 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21781 (abilist-pattern): New variable, set to %-le.abilist.
21783 * Makerules (abilist-pattern): New variable.
21784 (vpath): Use $(abilist-pattern) in place of %.abilist.
21785 (check-abi-% pattern rule): Likewise.
21786 (check-abi, update-abi): Likewise.
21788 2014-02-04 Eric Wong <normalperson@yhbt.net>
21790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21792 2014-02-03 Carlos O'Donell <carlos@redhat.com>
21794 * manual/startup.texi: Add next, previous, and top entries for
21795 the `Program Arguments' and `Environment Variables' nodes.
21797 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
21799 * manual/macros.texi: Add comments before MTASC-safety macros.
21801 * manual/users.texi: Document MTASC-safety properties.
21803 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21804 (pthread_getspecific, pthread_setspecific): Format with
21805 @deftypefun, and add @safety note.
21806 * manual/signal.texi: Move comments that analyze the above
21807 functions to their home place.
21809 2014-02-03 Allan McRae <allan@archlinux.org>
21811 * po/sl.po: Update Slovenian translation from translation project.
21813 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
21815 * manual/time.texi (timegm): Add missing blank after @c.
21816 Reported by Joseph Myers <joseph@codesourcery.com>.
21818 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
21820 * manual/check-safety.sh: New.
21821 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21823 * manual/terminal.texi: Document MTASC-safety properties.
21825 * manual/filesys.texi: Document MTASC-safety properties.
21827 * manual/errno.texi: Document MTASC-safety properties.
21829 * manual/intro.texi: Document safety identifiers and
21832 * manual/string.texi (wcstok): Fix prototype.
21833 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21835 * manual/time.texi: Document MTASC-safety properties.
21837 * manual/string.texi: Document MTASC-safety properties.
21839 * manual/threads.texi: Document MTASC-safety properties.
21841 * manual/stdio.texi: Document MTASC-safety properties.
21843 * manual/syslog.texi: Document MTASC-safety properties.
21845 * manual/sysinfo.texi: Document MTASC-safety properties.
21847 * manual/startup.texi: Document MTASC-safety properties.
21849 * manual/socket.texi: Document MTASC-safety properties.
21851 * manual/signal.texi: Document MTASC-safety properties.
21853 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
21855 * manual/setjmp.texi: Document MTASC-safety properties.
21857 * manual/search.texi: Document MTASC-safety properties.
21859 * manual/resource.texi: Document MTASC-safety properties.
21861 * manual/process.texi: Document MTASC-safety properties.
21863 * manual/platform.texi: Document MTASC-safety properties.
21865 * manual/pipe.texi: Document MTASC-safety properties.
21867 * manual/pattern.texi: Document MTASC-safety properties.
21869 * manual/message.texi: Document MTASC-safety properties.
21872 * manual/memory.texi: Document MTASC-safety properties.
21874 * manual/math.texi: Document MTASC-safety properties.
21876 * manual/locale.texi: Document MTASC-safety properties.
21878 * manual/llio.texi: Document MTASC-safety properties.
21880 * manual/libdl.texi: New.
21882 * manual/lang.texi: Document MTASC-safety properties.
21884 * manual/job.texi: Document MTASC-safety properties.
21886 * manual/getopt.texi: Document MTASC-safety properties.
21888 * manual/ctype.texi: Document MTASC-safety properties.
21890 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21893 * csu/libc-tls.c (static_map): Remove variable.
21894 (__libc_setup_tls): Use main executable's link map for TLS data.
21895 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21896 casing for LM_ID_BASE and GL(dl_nns).
21897 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21898 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21899 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21900 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21901 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21903 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21906 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
21908 * manual/debug.texi: Document MTASC-safety properties.
21910 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21913 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21914 of __x86_64__ when disabling x87 inline functions.
21916 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
21918 * manual/charset.texi: Document MTASC-safety properties.
21920 * manual/crypt.texi: Document MTASC-safety properties.
21922 * manual/conf.texi: Document MTASC-safety properties.
21924 * manual/arith.texi: Document MTASC-safety properties.
21926 * manual/argp.texi: Document MTASC-safety properties.
21928 * manual/macros.texi: Introduce macros to document multi
21929 thread, asynchronous signal and asynchronous cancellation
21931 * manual/intro.texi: Introduce the properties themselves.
21933 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21935 * sysdeps/sh/sh4/Makefile: New file.
21937 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21939 * math/gen-libm-test.pl ($srcdir): New variable.
21940 ($auto_input): Use it.
21942 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21945 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21946 access beyond array bounds when parsing netgroups file.
21948 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21949 the old buffer before realloc.
21951 2014-01-27 Allan McRae <allan@archlinux.org>
21953 * po/fr.po: Update French translation from translation project.
21955 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21957 * sysdeps/sh/libm-test-ulps: Regenerate.
21959 2014-01-24 David S. Miller <davem@davemloft.net>
21961 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21963 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21965 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21966 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21968 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21971 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21972 string pointers after reallocation.
21974 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21976 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21977 __SH4A__ instead of __SH_FPU_ANY__.
21979 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21981 * sysdeps/sh/fpu_control.h: New file.
21982 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21983 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21984 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21985 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21986 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21987 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21988 * sysdeps/sh/sys/ucontext.h: Remove.
21989 * sysdeps/sh/sys: Remove directory.
21991 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21993 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21994 s390/sys/ucontext.h.
21995 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21996 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21998 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22001 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22003 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22006 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22007 Adjust the vDSO correctly for internal calls.
22008 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22010 2014-01-20 Allan McRae <allan@archlinux.org>
22012 * po/ca.po: Update Catalan translation from translation project.
22014 2014-01-16 Mike Frysinger <vapier@gentoo.org>
22016 * sysdeps/s390/sotruss-lib.c: New file.
22018 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22021 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22022 (__GI___gettimeofday): Alias for a different internal symbol to avoid
22023 local calls issues by not having a PLT stub required for IFUNC calls.
22024 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22026 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22028 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22029 * math/test-fpucw-static.c: Likewise.
22031 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22034 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22036 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22038 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22039 implementation for powerpc.
22041 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
22044 * sysdeps/posix/system.c (__libc_system): Do not enable
22045 asynchronous cancellation.
22047 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22050 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22051 handling only for numbers special also in the IEEE case.
22053 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22055 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22057 2014-01-11 Allan McRae <allan@archlinux.org>
22059 * po/bg.po: Update Bulgarian translation from translation project.
22061 * po/de.po: Update German translation from translation project.
22063 2014-01-10 Roland McGrath <roland@hack.frob.com>
22065 * sysdeps/generic/gcc-compat.h: New file.
22067 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22069 * benchtests/asin-inputs: Correct slow inputs.
22070 * benchtests/acos-inputs: Likewise.
22072 2014-01-10 Allan McRae <allan@archlinux.org>
22074 * po:sv.po: Update Swedish translation from translation project.
22076 * po/vi.po: Update Vietnamese translation from translation project.
22078 * po/eo.po: Update Esperanto translation from translation project.
22080 * po/cs.po: Update Czech translation from translation project.
22082 * po/nl.po: Update Dutch translation from translation project.
22084 * po/pl.po: Update Polish translation from translation project.
22086 * po/ru.po: Update Russian translation from translation project.
22088 * po/uk.po: Update Ukrainian translation from translation project.
22090 2014-01-08 Brooks Moses <bmoses@google.com>
22092 * elf/dl-load.c: Fix comment typo.
22094 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22096 * po/header.pot: Rename to...
22097 * po/pot.header: ... this.
22098 * po/Makefile: Use pot.header.
22100 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22101 Maxim Kuvyrkov <maxim@kugelworks.com>
22104 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22105 SRC and DEST against LEN.
22107 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22110 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22112 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22114 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22118 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22121 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22122 for large positive arguments.
22124 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22126 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22128 * math/auto-libm-test-in: Mark various tests with
22129 xfail-rounding:ldbl-128ibm.
22130 * math/auto-libm-test-out: Regenerated.
22133 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22134 Increase overflow threshold.
22136 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22139 * stdio-common/vfprintf.c: Check for integer overflow.
22141 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22143 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22144 the first argument and return value of __tls_get_addr_internal.
22146 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22148 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22149 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22151 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22153 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22154 * sysdeps/s390/rtld-global-offsets.sym: New file.
22155 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22157 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22158 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22159 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22161 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22162 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22168 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22169 halfs of GPRs for high_gprs contexts.
22170 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22171 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22173 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22175 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22177 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22178 for high GPRs (uc_high_gprs) and for future extensions
22180 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22181 for future extensions (__reserved).
22182 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22184 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22185 SC_HIGHGPRS offset definition.
22186 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22187 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22189 * Versions.def: Add GLIBC_2.19 for libpthread.
22190 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22191 siglongjmp for libpthread with GLIBC_2.19 symver.
22192 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22193 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22194 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22195 * sysdeps/s390/__longjmp.c: New file.
22196 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22197 * sysdeps/s390/longjmp.c: New file.
22198 * sysdeps/s390/setjmp.S: New file.
22199 * sysdeps/s390/sigjmp.S: New file.
22200 * sysdeps/s390/v1-longjmp.c: New file.
22201 * sysdeps/s390/v1-setjmp.h: New file.
22202 * sysdeps/s390/v1-sigjmp.c: New file.
22203 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22204 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22205 GLIBC_2.19 version.
22206 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22207 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22208 versioned symbols for ____longjmp_chk.
22209 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22219 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22220 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22221 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22222 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22223 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22224 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22225 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22226 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22227 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22228 * sysdeps/s390/rtld-__longjmp.c: New file.
22229 * sysdeps/s390/rtld-setjmp.S: New file.
22231 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22234 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22235 Return -__logl (x) for small positive arguments without evaluating
22238 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22240 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22242 (__ptrace_peeksiginfo_args): ... this.
22243 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22244 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22245 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22247 2014-01-06 Allan McRae <allan@archlinux.org>
22249 * inet/netinet/in.h: Fix typo in comment.
22251 2014-01-05 Andreas Jaeger <aj@suse.de>
22253 * sysdeps/i386/fpu/libm-test-ulps: Update.
22255 2014-01-05 Allan McRae <allan@archlinux.org>
22257 * po/libc.pot: Regenerated.
22259 * malloc/memusagestat.c: Fix gettext call formatting.
22261 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22263 * nscd/nscd.c: Improve usage() output.
22265 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22267 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22268 * sysdeps/unix/sysv/linux/configure: Regenerated.
22269 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22270 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22272 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22275 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22276 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22278 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22280 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22281 extra tokens at end of #undef directive.
22282 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22283 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22284 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22286 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22288 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22290 * math/auto-libm-test-in: Mark various tests with
22291 xfail-rounding:ldbl-128ibm.
22292 * math/auto-libm-test-out: Regenerated.
22294 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22297 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22298 numbers with subnormal high part when calculating exponent.
22301 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22305 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22307 (__ieee754_acoshl): Use __log1pl not __log1p.
22309 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22311 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22312 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22313 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22314 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22315 (reused_arena, arena_get2): Convert to GNU style.
22316 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22317 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22318 (memalign_check, __malloc_set_state): Likewise.
22319 * malloc/mallocbug.c (main): Likewise.
22320 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22321 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22322 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22323 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22324 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22325 (__posix_memalign, malloc_info): Likewise.
22326 * malloc/malloc.h: Likewise.
22327 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22328 (mallochook, memalignhook, reallochook, mabort): Likewise.
22329 * malloc/mcheck.h: Likewise.
22330 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22331 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22332 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22333 * malloc/morecore.c (__default_morecore): Likewise.
22334 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22335 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22336 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22337 (print_and_abort): Likewise.
22338 * malloc/obstack.h: Likewise.
22339 * malloc/set-freeres.c (__libc_freeres): Likewise.
22340 * malloc/tst-mallocstate.c (main): Likewise.
22341 * malloc/tst-mtrace.c (main): Likewise.
22342 * malloc/tst-realloc.c (do_test): Likewise.
22344 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22347 * nscd/netgroupcache.c (do_notfound): New function.
22348 (addgetnetgrentX): Use it.
22351 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22352 NSS_STATUS_NOTFOUND.
22354 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22356 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22359 2014-01-01 Allan McRae <allan@archlinux.org>
22361 * scripts/update-copyrights: Update configure input file suffix.
22363 * NEWS: Update copyright year.
22364 * catgets/gencat.c: Likewise.
22365 * csu/version.c: Likewise.
22366 * debug/catchsegv.sh: Likewise.
22367 * debug/pcprofiledump.c: Likewise.
22368 * debug/xtrace.sh: Likewise.
22369 * elf/ldconfig.c: Likewise.
22370 * elf/ldd.bash.in: Likewise.
22371 * elf/pldd.c: Likewise.
22372 * elf/sotruss.ksh: Likewise.
22373 * elf/sprof.c: Likewise.
22374 * iconv/iconv_prog.c: Likewise.
22375 * iconv/iconvconfig.c: Likewise.
22376 * locale/programs/locale.c: Likewise.
22377 * locale/programs/localedef.c: Likewise.
22378 * login/programs/pt_chown.c: Likewise.
22379 * malloc/memusage.sh: Likewise.
22380 * malloc/memusagestat.c: Likewise.
22381 * malloc/mtrace.pl: Likewise.
22382 * manual/libc.texinfo: Likewise.
22383 * nscd/nscd.c: Likewise.
22384 * nss/getent.c: Likewise.
22385 * nss/makedb.c: Likewise.
22386 * posix/getconf.c: Likewise.
22387 * scripts/test-installation.pl: Likewise.
22389 * All files with FSF copyright notices: Update copyright dates
22390 using scripts/update-copyrights.
22391 * intl/plural.c: Regenerated.
22392 * locale/programs/charmap-kw.h: Likewise.
22393 * locale/programs/locfile-kw.h: Likewise.
22395 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22397 * sysdeps/unix/sysv/linux/configure: Regenerated.
22398 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22399 the linux/fanotify.h header.
22400 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22401 HAVE_LINUX_FANOTIFY_H is defined.
22403 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22405 * benchtests/cos-inputs: New inputs.
22406 * benchtests/sin-inputs: Likewise.
22408 * benchtests/atan-inputs: New inputs. Fix name of multiple
22409 precision fallback inputs.
22411 * benchtests/atanh-inputs: New inputs.
22412 * benchtests/tanh-inputs: Likewise.
22414 * benchtests/acosh-inputs: New inputs.
22415 * benchtests/asinh-inputs: Likewise.
22417 * benchtests/cosh-inputs: New inputs.
22418 * benchtests/sinh-inputs: Likewise.
22420 * benchtests/acos-inputs: Add more inputs.
22421 * benchtests/asin-inputs: Likewise.
22423 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22426 * manual/arith.texi: Fix spelling.
22427 * manual/charset.texi: Likewise.
22428 * manual/errno.texi: Likewise.
22429 * manual/filesys.texi: Likewise.
22430 * manual/lang.texi: Likewise.
22431 * manual/llio.texi: Likewise.
22432 * manual/locale.texi: Likewise.
22433 * manual/message.texi: Likewise.
22434 * manual/resource.texi: Likewise.
22435 * manual/search.texi: Likewise.
22436 * manual/setjmp.texi: Likewise.
22437 * manual/stdio.texi: Likewise.
22438 * manual/string.texi: Likewise.
22439 * manual/sysinfo.texi: Likewise.
22440 * manual/time.texi: Likewise.
22442 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22444 * po/sl.po: New file.
22446 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22448 * .gitignore: Add core/.gdbinit/.gdb_history.
22450 2013-12-27 Allan McRae <allan@archlinux.org>
22453 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22454 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22456 2013-12-24 Brooks Moses <bmoses@google.com>
22458 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22459 all compilers that claim C++98 compliance, not just GCC.
22460 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22463 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22465 * NEWS: Restore accidentally deleted bug-fix entries.
22467 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22468 Ondřej Bílka <neleai@seznam.cz>
22471 * malloc/malloc.c (_int_free): Perform sanity check only if we
22474 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22477 * manual/stdio.texi (String Input Conversions): Clarify that character
22478 classes are not supported.
22480 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22484 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22487 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22488 Calculate results for small negative arguments directly rather
22489 than using reflection formula with special underflow handling.
22491 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22492 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22493 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22494 (fchflags): Likewise.
22495 (revoke): Likewise.
22496 (setlogin): Likewise.
22497 (sigaltstack): Likewise.
22499 (sigblock): Remove.
22500 (sigsetmask): Likewise.
22502 (waitpid): Likewise.
22503 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22504 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22506 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22507 * sysdeps/unix/bsd/Makefile: ... here.
22508 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22509 * sysdeps/unix/bsd/Versions: ... here.
22510 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22511 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22512 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22513 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22514 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22515 * sysdeps/unix/bsd/sigblock.c: ... here.
22516 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22517 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22518 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22519 * sysdeps/unix/bsd/sigvec.c: ... here.
22520 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22521 * sysdeps/unix/bsd/tcdrain.c: ... here.
22522 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22523 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22524 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22525 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22526 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22527 * sysdeps/unix/bsd/wait.c: ... here.
22528 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22529 * sysdeps/unix/bsd/wait3.c: ... here.
22530 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22531 * sysdeps/unix/bsd/waitpid.c: ... here.
22533 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22536 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22537 round-to-nearest for [!USE_AS_EXPM1L].
22538 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22539 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22540 more tests of exp and exp10. Expect some exp10 tests to miss
22541 exceptions or fail in directed rounding modes.
22542 * math/auto-libm-test-out: Regenerated.
22543 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22544 (exp10_test_tonearest): New function.
22545 (exp10_towardzero_test_data): New array.
22546 (exp10_test_towardzero): New function.
22547 (exp10_downward_test_data): New array.
22548 (exp10_test_downward): New function.
22549 (exp10_upward_test_data): New array.
22550 (exp10_test_upward): New function.
22551 (main): Call the new functions.
22552 * sysdeps/i386/fpu/libm-test-ulps: Update.
22553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22555 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22557 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22558 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22559 * math/auto-libm-test-out: Regenerated.
22560 * math/libm-test.inc (acosh_test_data): Add more tests.
22561 (atanh_test_data): Likewise.
22562 (ceil_test_data): Likewise.
22563 (copysign_test_data): Likewise.
22564 * sysdeps/i386/fpu/libm-test-ulps: Update.
22565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22567 * timezone/checktab.awk: Update from tzcode 2013i.
22568 * timezone/private.h: Likewise.
22569 * timezone/scheck.c: Likewise.
22570 * timezone/tzfile.h: Likewise.
22571 * timezone/tzselect.ksh: Likewise.
22572 * timezone/zdump.c: Likewise.
22573 * timezone/zic.c: Likewise.
22575 * math/auto-libm-test-in: Add tests of cpow.
22576 * math/auto-libm-test-out: Regenerated.
22577 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22578 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22580 (func_calc_desc): Add mpc_cc_c union field.
22581 (test_functions): Add cpow.
22582 (special_fill_2pi): New function.
22583 (special_real_inputs): Add 2pi.
22584 (calc_generic_results): Handle mpc_cc_c.
22585 * sysdeps/i386/fpu/libm-test-ulps: Update.
22586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22588 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22589 csqrt, ctan and ctanh.
22590 * math/auto-libm-test-out: Regenerated.
22591 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22592 (TEST_COND_x86): Likewise.
22593 (ccos_test_data): Use AUTO_TESTS_c_c.
22594 (ccosh_test_data): Likewise.
22595 (cexp_test_data): Likewise.
22596 (clog_test_data): Likewise.
22597 (csqrt_test_data): Likewise.
22598 (ctan_test_data): Likewise.
22599 (ctan_tonearest_test_data): Likewise.
22600 (ctan_towardzero_test_data): Likewise.
22601 (ctan_downward_test_data): Likewise.
22602 (ctan_upward_test_data): Likewise.
22603 (ctanh_test_data): Likewise.
22604 (ctanh_tonearest_test_data): Likewise.
22605 (ctanh_towardzero_test_data): Likewise.
22606 (ctanh_downward_test_data): Likewise.
22607 (ctanh_upward_test_data): Likewise.
22608 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22610 (func_calc_desc): Add mpc_c_c union field.
22611 (FUNC_mpc_c_c): New macro.
22612 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22613 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22615 (special_fill_min_subnorm_p120): New function.
22616 (special_real_inputs): Add min_subnorm_p120.
22617 (calc_generic_results): Handle mpc_c_c.
22618 * sysdeps/i386/fpu/libm-test-ulps: Update.
22619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22621 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22623 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22624 (do_sin_slow): New functions.
22625 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22626 (cslow2, csloww1, csloww2): Use the new functions.
22628 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22629 Use M to change sign of result instead of X. Assume X is
22631 (csloww1): Likewise.
22635 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22636 arguments A and DA.
22640 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22642 (sloww1): Don't adjust sign of DX.
22643 (csloww1): Likewise.
22644 (sloww2): Use X directly and don't adjust sign of DX.
22645 (csloww2): Likewise.
22647 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22649 * math/auto-libm-test-in: Add tests of cabs and carg.
22650 * math/auto-libm-test-out: Regenerated.
22651 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22652 (carg_test_data): Likewise.
22653 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22655 (func_calc_desc): Add mpc_c_f union field.
22656 (test_functions): Add cabs and carg.
22657 (calc_generic_results): Handle mpc_c_f.
22659 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22660 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22661 as a macro and a compat symbol.
22662 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22663 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22664 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22665 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22666 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22667 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22669 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22671 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22673 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22675 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22677 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22679 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22680 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22683 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22687 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22689 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22690 trailing whitespace removed.
22691 * scripts/config.guess: Update to version 2013-11-29.
22692 * scripts/config.sub: Update to version 2013-10-01.
22694 * math/auto-libm-test-in: Add tests of sincos.
22695 * math/auto-libm-test-out: Regenerated.
22696 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22697 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22699 (func_calc_desc): Add mpfr_f_11 union field.
22700 (test_functions): Add sincos.
22701 (calc_generic_results): Handle mpfr_f_11.
22702 * sysdeps/i386/fpu/libm-test-ulps: Update.
22703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22705 2013-12-19 Andreas Schwab <schwab@suse.de>
22707 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22709 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22710 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22711 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22713 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22715 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22716 * sysdeps/i386/fpu/libm-test-ulps: Update.
22717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22721 round-to-nearest mode when using frndint.
22722 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22723 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22724 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22726 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22728 * math/auto-libm-test-out: Regenerated.
22729 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22730 (TEST_COND_x86): Likewise.
22731 (expm1_tonearest_test_data): New array.
22732 (expm1_test_tonearest): New function.
22733 (expm1_towardzero_test_data): New array.
22734 (expm1_test_towardzero): New function.
22735 (expm1_downward_test_data): New array.
22736 (expm1_test_downward): New function.
22737 (expm1_upward_test_data): New array.
22738 (expm1_test_upward): New function.
22739 (main): Run the new test functions.
22740 * sysdeps/i386/fpu/libm-test-ulps: Update.
22741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22743 * include/features.h: Update comment documenting feature test
22744 macros. Mention _DEFAULT_SOURCE in comment.
22745 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22746 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22747 _BSD_SOURCE and _SVID_SOURCE.
22748 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22749 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22750 !_SVID_SOURCE]: Likewise.
22751 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22752 (__USE_POSIX_IMPLICITLY): Define.
22753 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22754 (_POSIX_SOURCE): Undefine and redefine.
22755 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22756 (_POSIX_C_SOURCE): Likewise.
22757 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22758 (Feature Test Macros): Update documentation of default features.
22760 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22762 * benchtests/Makefile: Add bench-strtok.
22763 * benchtests/bench-strtok.c: New file: strtok benchtest.
22765 2013-12-19 Allan McRae <allan@archlinux.org>
22767 * manual/install.texi: Suppress menu for plain text output.
22768 * INSTALL: Regenerated.
22770 2013-12-18 Brooks Moses <bmoses@google.com>
22773 * misc/getauxval.c: Include errno.h.
22774 (__getauxval): Set errno to ENOENT if the requested type is not
22776 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22777 don't declare with __attribute_const__.
22778 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22779 * manual/startup.texi: Document that getauxval sets errno.
22781 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22783 * math/auto-libm-test-in: Add tests of jn and yn.
22784 * math/auto-libm-test-out: Regenerated.
22785 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22786 (yn_test_data): Likewise.
22787 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22789 (func_calc_desc): Add mpfr_if_f union field.
22790 (FUNC_mpfr_if_f): New macro.
22791 (test_functions): Add jn and yn.
22792 (calc_generic_results): Assert type of second input for
22793 mpfr_ff_f. Handle mpfr_if_f.
22794 (output_for_one_input_case): Disable all checking for arguments
22795 fitting floating-point types in case of an integer argument.
22796 * sysdeps/i386/fpu/libm-test-ulps: Update.
22797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22800 Don't expect fegetround reference in libm.so.
22802 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22804 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22805 $(config-cflags-nofma).
22807 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22809 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22810 * math/auto-libm-test-out: Regenerated.
22813 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22814 to determine exponent and adjust argument to have exponent of -1.
22815 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22817 * math/auto-libm-test-out: Regenerated.
22818 * sysdeps/i386/fpu/libm-test-ulps: Update.
22819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22821 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
22823 * manual/probes.texi: Remove cases when per-thread arenas are
22826 2013-12-18 Andreas Schwab <schwab@suse.de>
22828 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22829 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22830 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22831 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22832 * sysdeps/i386/i686/multiarch/Makefile: Update.
22833 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22835 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22837 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22838 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22840 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22843 Support TZ transition times < 00:00:00.
22844 This is needed for version-3 tz-format files; it supports time
22845 stamps past 2037 for America/Godthab (the only entry in the tz
22846 database for which this change is relevant).
22847 * manual/time.texi (TZ Variable): Document transition times
22848 from -167:59:59 through -00:00:01.
22849 * time/tzset.c (tz_rule): Time of day is now signed.
22850 (__tzset_parse_tz): Parse negative time of day.
22852 Document TZ transition times >= 25:00:00.
22853 * manual/time.texi (TZ Variable): Document transition times from
22854 25:00:00 through 167:59:59. These are already supported, and this
22855 support will help with version-3 tz-format files.
22857 * manual/time.texi (TZ Variable): Modernize North America example
22858 to reflect current (i.e., 2007-and-later) daylight saving rules.
22860 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22862 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22864 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22865 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22868 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22869 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22870 * sysdeps/unix/bsd/clock.c: Likewise.
22871 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22872 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22873 * sysdeps/unix/bsd/init-posix.c: Likewise.
22874 * sysdeps/unix/bsd/poll.c: Likewise.
22875 * sysdeps/unix/bsd/ptsname.c: Likewise.
22876 * sysdeps/unix/bsd/seekdir.c: Likewise.
22877 * sysdeps/unix/bsd/setegid.c: Likewise.
22878 * sysdeps/unix/bsd/seteuid.c: Likewise.
22879 * sysdeps/unix/bsd/setgid.c: Likewise.
22880 * sysdeps/unix/bsd/setrgid.c: Likewise.
22881 * sysdeps/unix/bsd/setruid.c: Likewise.
22882 * sysdeps/unix/bsd/setsid.c: Likewise.
22883 * sysdeps/unix/bsd/setuid.c: Likewise.
22884 * sysdeps/unix/bsd/sigaction.c: Likewise.
22885 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22886 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22887 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22888 * sysdeps/unix/bsd/telldir.c: Likewise.
22889 * sysdeps/unix/bsd/times.c: Likewise.
22890 * sysdeps/unix/bsd/usleep.c: Likewise.
22892 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22893 ($(objpfx)libbsd-compat.a): Remove rule.
22895 * include/features.h (__FAVOR_BSD): Do not define.
22896 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22897 features conflicting with POSIX.
22898 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22899 (_BSD_SOURCE): Remove description of not being a subset of other
22900 feature test macros.
22901 * manual/job.texi (getpgrp): Do not document BSD version.
22902 (getpgid): Do not document by reference to BSD getpgrp.
22903 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22904 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22905 * signal/signal.h [__FAVOR_BSD]: Likewise.
22906 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22907 instead of making contents conditional on [__FAVOR_BSD].
22908 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22910 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22914 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22917 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22918 values below 2**-450, not 2**-500.
22919 * math/auto-libm-test-in: Don't allow spurious underflow from
22921 * math/auto-libm-test-out: Regenerated.
22925 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22926 values of ha and hb and sort them after adjusting subnormal
22928 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22930 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22931 values of ea and eb and sort them after adjusting subnormal
22933 * math/auto-libm-test-in: Do not expect some hypot tests of
22934 subnormals to fail. Add more hypot tests.
22935 * math/auto-libm-test-out: Regenerated.
22937 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22940 * sysdeps/sh/s_fma.c: New file.
22941 * sysdeps/sh/s_fmaf.c: New file.
22942 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22944 * sysdeps/sh/Implies: Add sh/soft-fp.
22946 2013-12-16 Roland McGrath <roland@hack.frob.com>
22948 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22949 level of indirection to members `objname', `errstring', `malloced'.
22950 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22951 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22952 it as the __longjmp argument (just pass 1 instead).
22953 (_dl_catch_error): Initialize C with argument pointers and address of
22954 volatile local ERRCODE rather than copying values out of C at return.
22956 2013-12-16 Joseph Myers <joseph@codesourcery.com>
22958 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22959 * math/auto-libm-test-out: Regenerated.
22960 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22961 (hypot_test_data): Likewise.
22962 (pow_test_data): Likewise.
22963 (pow_tonearest_test_data): Likewise.
22964 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22966 (func_calc_desc): Add mpfr_ff_f union field.
22967 (FUNC_mpfr_ff_f): New macro.
22968 (test_functions): Add atan2, hypot and pow.
22969 (special_fill_min): New function.
22970 (special_fill_minus_min): Likewise.
22971 (special_fill_min_subnorm): Likewise.
22972 (special_fill_minus_min_subnorm): Likewise.
22973 (special_real_inputs): Add min, -min, min_subnorm and
22975 (calc_generic_results): Handle mpfr_ff_f.
22976 * sysdeps/i386/fpu/libm-test-ulps: Update.
22977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22979 2013-12-16 Will Newton <will.newton@linaro.org>
22981 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22982 (Aligned Memory Blocks): Add documentation for aligned_alloc
22983 and suggest it as an alternative to posix_memalign.
22984 (Hooks for Malloc): Document __memalign_hook is also called
22985 for aligned_alloc. (Summary of Malloc): Add summary for
22986 aligned alloc. Document __memalign_hook is also called
22989 2013-12-16 Will Newton <will.newton@linaro.org>
22991 * manual/memory.texi (Malloc Examples): Clarify default
22992 alignment documentation. Suggest posix_memalign rather
22993 than memalign or valloc.
22994 (Aligned Memory Blocks): Remove suggestion to use memalign
22995 or valloc. Remove obsolete comment about BSD.
22996 Document memalign errno values and mark the function obsolete.
22997 Document posix_memalign returned error codes. Mark valloc
22998 as obsolete. (Hooks for Malloc): __memalign_hook is also
22999 called for posix_memalign and valloc.
23000 (Summary of Malloc): Add posix_memalign to function summary.
23001 __memalign_hook is also called for posix_memalign and valloc.
23003 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23005 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23009 (sloww): Use mynumber union. Expand ternary operator into
23010 if-else statements.
23011 (cslow): use mynumber union.
23013 2013-12-16 Allan McRae <allan@archlinux.org>
23015 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23016 * configure: Regenerated.
23018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23021 * configure.ac: Added --enable-maintainer-mode. Check for
23022 autoconf when enabled.
23023 * configure: Regenerated.
23025 * nscd/nscd.service: New file.
23026 * nscd/nscd.tmpfiles: New file.
23028 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23031 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23032 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23033 * sysdeps/x86_64/multiarch/strstr.c: ... here.
23034 (strstr): Add __strstr_sse2_unaligned ifunc.
23035 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23036 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23037 (strcasestr): Remove __strcasestr_sse42 ifunc.
23038 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23042 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23044 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23045 * sysdeps/sh/bits/fenv.h: ... here.
23046 * sysdeps/sh/sh4/fpu/bits: Remove directory.
23048 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23050 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23053 hypotf multiarch implementations.
23054 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23055 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23056 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23057 multiarch hypot for PPC64.
23058 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23059 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23060 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23061 multiarch hypotf for PPC64.
23063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23064 modff multiarch implementations.
23065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23068 multiarch modf for PPC64.
23069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23072 multiarch modff for PPC64.
23074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23075 and logl multiarch implementations.
23076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23079 multiarch logb for PPC64.
23080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23083 multiarch logb for PPC64.
23084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23087 multiarch logb for PPC64.
23089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23090 isinff multiarch implementation.
23091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23095 multiarch isinf for PPC64.
23096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23099 multiarch isinff for PPC64.
23101 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23102 finitef multiarch implementation.
23103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23107 multiarch finite for PPC64.
23108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23111 multiarch finitef for PPC64.
23113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23114 lrint multiarch implementation.
23115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23119 multiarch llrint for PPC64.
23120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23121 multiarch lrint for PPC64.
23123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23124 copysignf multiarch implementation.
23125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23130 multiarch copysign for PPC64.
23131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23132 multiarch copysignf for PPC64.
23134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23135 multiarch implementation.
23136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23144 multiarch llround for PPC64.
23145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23146 multiarch trunc for PPC64.
23147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23148 multiarch truncf for PPC64.
23150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23151 multiarch implementation.
23152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23160 multiarch llround for PPC64.
23161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23162 multiarch round for PPC64.
23163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23164 multiarch roundf for PPC64.
23166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23167 multiarch implementation.
23168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23176 multiarch llround for PPC64.
23177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23178 multiarch floor for PPC64.
23179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23180 multiarch floorf for PPC64.
23182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23183 multiarch implementation.
23184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23192 multiarch llround for PPC64.
23193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23194 multiarch ceil for PPC64.
23195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23196 multiarch ceilf for PPC64.
23198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23199 multiarch implementation.
23200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23207 multiarch llround for PPC64.
23208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23209 multiarch lround for PPC64.
23211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23212 multiarch implementation.
23213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23220 multiarch isnan for PPC64.
23221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23222 multiarch isnanf for PPC64.
23224 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23225 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23226 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23227 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23228 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23231 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23232 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23237 multiarch implementations.
23238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23239 (__libc_ifunc_impl_list): Likewise.
23240 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23241 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23242 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23243 multiarch stpcpy for PPC64.
23245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23246 multiarch implementations.
23247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23248 (__libc_ifunc_impl_list): Likewise.
23249 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23250 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23251 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23252 multiarch strcpy for PPC64.
23254 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23255 redefine function name.
23256 (_wordcopy_fwd_dest_aligned): Likewise.
23257 (_wordcopy_bwd_aligned): Likewise.
23258 (_wordcopy_bwd_dest_aligned): Likewise.
23259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23260 multiarch implementations.
23261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23262 (__libc_ifunc_impl_list): Likewise.
23263 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23264 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23265 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23266 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23267 multiarch wcscpy for PPC64.
23269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23270 multiarch implementations.
23271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23272 (__libc_ifunc_impl_list): Likewise.
23273 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23274 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23275 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23276 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23277 multiarch wcscpy for PPC64.
23279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23280 multiarch implementations.
23281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23282 (__libc_ifunc_impl_list): Likewise.
23283 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23284 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23285 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23286 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23287 multiarch wcsrchr for PPC64.
23289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23290 multiarch implementations.
23291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23292 (__libc_ifunc_impl_list): Likewise.
23293 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23294 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23295 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23296 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23297 multiarch wcschr for PPC64.
23299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23300 multiarch implementations.
23301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23302 (__libc_ifunc_impl_list): Likewise.
23303 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23304 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23305 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23306 multiarch strchrnul for PPC64.
23308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23311 (__libc_ifunc_impl_list): Likewise.
23312 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23313 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23314 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23315 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23321 (__libc_ifunc_impl_list): Likewise.
23322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23323 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23324 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23325 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23329 multiarch implementations.
23330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23331 (__libc_ifunc_impl_list): Likewise.
23332 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23333 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23334 strncasecmp for PPC64.
23335 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23336 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23337 multiarch strncasecmp_l for PPC64.
23339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23340 multiarch implementations.
23341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23342 (__libc_ifunc_impl_list): Likewise.
23343 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23344 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23345 multiarch strcasecmp for PPC64.
23346 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23348 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23349 multiarch strcasecmp_l for PPC64.
23351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23354 (__libc_ifunc_impl_list): Likewise.
23355 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23356 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23357 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23363 (__libc_ifunc_impl_list): Likewise.
23364 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23365 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23366 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23372 (__libc_ifunc_impl_list): Likewise.
23373 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23374 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23375 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23376 rawmemrchr for PPC64.
23378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23381 (__libc_ifunc_impl_list): Likewise.
23382 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23383 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23384 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23390 (__libc_ifunc_impl_list): Likewise.
23391 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23392 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23393 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23399 (__libc_ifunc_impl_list): Likewise.
23400 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23401 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23402 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23405 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23406 avoid cretion of __bzero symbol.
23407 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23409 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23411 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23414 multiarch implementations.
23415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23416 (__libc_ifunc_impl_list): Likewise.
23417 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23418 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23419 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23420 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23422 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23423 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23424 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23425 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23426 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23428 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23430 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23434 (__libc_ifunc_impl_list): Likewise.
23435 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23436 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23437 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23438 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23442 multiarch for POWER/PPC64.
23443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23444 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23445 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23446 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23447 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23448 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23449 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23450 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23451 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23454 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23455 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23456 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23457 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23458 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23459 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23460 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23461 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23462 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23463 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23464 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23465 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23466 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23467 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23468 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23477 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23479 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23481 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23483 * benchtests/Makefile (bench): Add exp2 and log2.
23484 (LDLIBS-bench-exp2): Add -lm.
23485 (LDLIBS-bench-log2): Likewise.
23486 * benchtests/exp2-inputs: New inputs file.
23487 * benchtests/log2-inputs: New inputs file.
23488 * benchtests/log-inputs: Add new inputs.
23489 * benchtests/tan-inputs: Likewise.
23491 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23493 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23495 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23496 (csloww2): ... from here.
23498 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23499 instead of structures.
23500 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23501 (POLYNOMIAL): Likewise.
23502 (TAYLOR_SLOW): Likewise.
23508 (sloww1); Likewise.
23509 (sloww2): Likewise.
23510 (bsloww1): Likewise.
23511 (bsloww2): Likewise.
23512 (cslow2): Likewise.
23513 (csloww): Likewise.
23514 (csloww1): Likewise.
23515 (csloww2): Likewise.
23517 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23519 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23520 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23521 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23522 * malloc/hooks.c (realloc_check): Likewise.
23524 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23525 * malloc/arena.c: Remove PER_THREAD conditional.
23526 [!PER_THREAD]: Remove code.
23527 (ptmalloc_unlock_all2): Likewise.
23528 (ptmalloc_init): Likewise.
23529 (_int_new_arena): Likewise.
23530 (arena_get2): Likewise.
23531 * malloc/hooks.c (__malloc_get_state): Likewise.
23532 (__malloc_set_state): Likewise.
23533 * malloc/malloc.c: Likewise.
23534 (struct malloc_state): Likewise.
23535 (struct malloc_par): Likewise.
23536 (__libc_realloc): Likewise.
23537 (__libc_mallopt): Likewise.
23539 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23541 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23543 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23545 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23546 macro to a function. Check for zero perturb_byte.
23547 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23549 * malloc/malloc.c: (force_reg): Remove.
23550 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23551 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23552 force_reg by atomic_forced_read.
23553 * malloc/arena.c (ptmalloc_init): Likewise.
23554 * malloc/hooks.c (top_check): Likewise.
23556 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23560 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23564 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23566 * math/auto-libm-test-in: Add tests of lgamma.
23567 * math/auto-libm-test-out: Regenerated.
23568 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23569 (M_LOG_2_SQRT_PIl): Likewise.
23570 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23573 (func_calc_desc): Add mpfr_f_f1 union field.
23574 (ARGS1): New macro.
23582 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23583 (test_functions): Add lgamma.
23584 (calc_generic_results): Handle mpfr_f_f1.
23585 * sysdeps/i386/fpu/libm-test-ulps: Update.
23586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23588 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23590 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23591 __mpn_add_n for PowerPC64/POWER7.
23592 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23593 __mpn_sub_n for PowerPC64/POWER7.
23595 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23596 __mpn_addmul_1 for PowerPC64.
23597 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23598 __mpn_submul_1 for PowerPC64.
23599 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23601 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23604 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23607 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23609 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23611 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23613 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23614 add multiarch folders.
23615 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23616 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23617 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23618 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23619 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23620 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23621 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23622 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23623 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23624 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23625 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23634 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23640 multiarch __ieee754_hypot for PowerPC32.
23641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23646 multiarch __ieee754_hypotf for PowerPC32.
23648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23649 long_double_symbol only if __logbl is defined.
23650 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23651 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23652 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23653 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23655 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23656 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23657 path for implementation.
23658 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23659 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23661 logb, and logbl multiarch implementations for PowerPC32.
23662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23667 multiarch logb for PowerPC32.
23668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23673 multiarch logbf for PowerPC32.
23674 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23678 multiarch logbl implementation for PowerPC32.
23680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23681 and modff multiarch implementations.
23682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23687 multiarch modf for PowerPC32.
23688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23693 multiarch modff for PowerPC32.
23695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23696 and lrintf multiarch implementations.
23697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23702 multiarch lrint for PowerPC32.
23703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23704 file: multiarch lrintf for PowerPC32.
23706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23707 and lroundf multiarch implementations.
23708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23715 multiarch lround for PowerPC32.
23716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23717 file: multiarch lroundf for PowerPC32.
23719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23720 copysign and copysignf multiarch implementations.
23721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23726 file: multiarch copysign for PowerPC32.
23727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23728 file: multiarch copysignf for PowerPC32.
23730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23731 and truncf multiarch implementations.
23732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23737 multiarch trunc for PowerPC32.
23738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23743 multiarch truncf for PowerPC32.
23745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23746 and roundf multiarch implementations.
23747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23752 multiarch round for PowerPC32.
23753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23758 multiarch roundf for PowerPC32.
23760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23761 and floorf multiarch implementations.
23762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23767 multiarch floor for PowerPC32.
23768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23773 multiarch floorf for PowerPC32.
23775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23776 and ceilf multiarch implementations.
23777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23782 multiarch ceil for PowerPC32.
23783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23788 multiarch ceilf for PowerPC32.
23790 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23792 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23793 FINITEF is defined.
23794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23795 and finitef multiarch implementations.
23796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23801 multiarch finite for PowerPC32.
23802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23805 file: multiarch finitef for PowerPC32.
23807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23808 and isinff multiarch implementations.
23809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23814 multiarch isinf for PowerPC32.
23815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23818 multiarch isinff for PowerPC32.
23820 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23821 alias when __isnan is defined.
23822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23823 and isnanf multiarch implementations.
23824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23833 multiarch isnan for PowerPC32.
23834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23839 multiarch isnanf for PowerPC32.
23841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23842 and sqrtf multiarch implementations.
23843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23848 multiarch sqrt for PowerPC32.
23849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23854 multiarch sqrtf for PowerPC32.
23856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23857 and llroundf multiarch implementations.
23858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23865 file: multiarch llround for PowerPC32.
23866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23867 file: multiarch llroundf for PowerPC32.
23869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23870 multiarch PowerPC32 fpu implementations.
23871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23876 multiarch llrint for PowerPC32.
23877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23886 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23888 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23890 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23892 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23893 multiarch wordcopy for PPC32.
23894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23897 (__libc_ifunc_impl_list): Likewise.
23898 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23899 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23900 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23901 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23902 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23903 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23905 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23913 multiarch wcscpy for PPC32.
23914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23917 (__libc_ifunc_impl_list): Likewise.
23918 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23919 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23920 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23921 sysdeps/powerpc/power6/wcscpy.c.
23923 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23924 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23926 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23931 multiarch wcsrchr for PPC32.
23932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
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/wcsrchr.c: Adjust to use
23939 sysdeps/powerpc/power6/wcsrchr.c.
23941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23947 multiarch wcschr for PPc32.
23948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23951 (__libc_ifunc_impl_list): Likewise.
23952 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23953 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23954 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23955 sysdeps/powerpc/power6/wcschr.c.
23957 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23958 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23960 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23961 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23962 file: multiarch strchr for PPC32.
23963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23966 (__libc_ifunc_impl_list): Likewise.
23968 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23970 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23972 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23974 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23975 multiarch strchrnul for PPC32.
23976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23979 (__libc_ifunc_impl_list): Likewise.
23981 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23983 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23984 multiarch strncasecmp for PPC32.
23985 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23987 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23988 multiarch strncasecmp_l for PPC32.
23989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23990 strncasecmp multiarch objects.
23991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23992 (__libc_ifunc_impl_list): Likewise.
23994 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23996 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23997 multiarch strncasecmp for PPC32.
23998 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24000 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24001 multiarch strcasecmp_l for PPC32.
24002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24005 (__libc_ifunc_impl_list): Likewise.
24007 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24009 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24011 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24012 multiarch strncmp for PPC32.
24013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24016 (__libc_ifunc_impl_list): Likewise.
24018 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24019 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24021 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24022 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24026 (__libc_ifunc_impl_list): Likewise.
24028 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24030 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24032 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24036 (__libc_ifunc_impl_list): Likewise.
24038 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24040 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24042 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24043 multiarch rawmemchr for PPC32.
24044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24047 (__libc_ifunc_impl_list): Likewise.
24049 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24051 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24053 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24054 file: memrchr multiarch for PPC32.
24055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24058 (__libc_ifunc_impl_list): Likewise.
24060 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24061 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24063 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24064 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24065 multiarch memchr for PPC32.
24066 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24069 (__libc_ifunc_impl_list): Likewise.
24071 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24072 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24074 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24076 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24077 file: multiarch mempcpy for PPC32.
24078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24081 (__libc_ifunc_impl_list): Likewise.
24083 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24084 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24085 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24086 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24087 multiarch bzero for PPC32.
24088 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24090 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24092 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24093 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24094 file: multiarch memset for PPC32.
24095 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24097 memset multiarch objects.
24098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24099 (__libc_ifunc_impl_list): Likewise.
24101 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24103 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24104 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24106 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24107 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24109 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24110 (__libc_ifunc_impl_list): Likewise.
24112 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24114 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24116 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24118 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24120 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24121 multiarch memcpy for PPC32.
24122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24125 (__libc_ifunc_impl_list): Likewise.
24127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24128 support multiarch for POWER/PPC32.
24129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24131 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24133 Implies file to make multiarch folder appers before the fpu and
24134 default folder for power4 configuration.
24136 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24138 * scripts/bench.pl: Append volatile keyword to type.
24140 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24142 * sysdeps/sh/sotruss-lib.c: New file.
24143 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24145 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24149 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24152 * math/w_tgamma.c: Include <errno.h>.
24153 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24154 * math/w_tgammaf.c: Include <errno.h>.
24155 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24156 * math/w_tgammal.c: Include <errno.h>.
24157 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24158 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24159 underflow. Add more tgamma tests.
24160 * math/auto-libm-test-out: Regenerated.
24161 * sysdeps/i386/fpu/libm-test-ulps: Update.
24162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24164 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24165 sin, sinh, tan, tanh, tgamma, y0 and y1.
24166 * math/auto-libm-test-out: Regenerated.
24167 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24168 (TEST_COND_x86): Likewise.
24169 (M_E2l): Remove macro.
24171 (M_2_SQRT_PIl): Likewise.
24172 (M_SQRT_PIl): Likewise.
24173 (M_1_DIV_El): Likewise.
24174 (log_test_data): Use AUTO_TESTS_f_f.
24175 (log10_test_data): Likewise.
24176 (log1p_test_data): Likewise.
24177 (log2_test_data): Likewise.
24178 (sin_test_data): Likewise.
24179 (sin_tonearest_test_data): Likewise.
24180 (sin_towardzero_test_data): Likewise.
24181 (sin_downward_test_data): Likewise.
24182 (sin_upward_test_data): Likewise.
24183 (sinh_test_data): Likewise.
24184 (sinh_tonearest_test_data): Likewise.
24185 (sinh_towardzero_test_data): Likewise.
24186 (sinh_downward_test_data): Likewise.
24187 (sinh_upward_test_data): Likewise.
24188 (tan_test_data): Likewise.
24189 (tan_tonearest_test_data): Likewise.
24190 (tan_towardzero_test_data): Likewise.
24191 (tan_downward_test_data): Likewise.
24192 (tan_upward_test_data): Likewise.
24193 (tanh_test_data): Likewise.
24194 (tgamma_test_data): Likewise.
24195 (y0_test_data): Likewise.
24196 (y1_test_data): Likewise.
24197 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24198 (special_real_inputs): Add pi/4.
24199 * sysdeps/i386/fpu/libm-test-ulps: Update.
24200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24202 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24204 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24205 "longjmp_target" static probes.
24206 (__longjmp): Rename to __longjmp_symbol.
24207 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24208 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24209 on which longjmp to generate.
24210 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24211 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24213 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24214 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24215 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24216 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24217 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24218 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24220 __longjmp_symbol based on which __longjmp to generate.
24221 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24223 (setjmp): Rename to setjmp_symbol.
24224 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24225 (_setjmp): Rename to _setjmp_symbol.
24226 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24227 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24228 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24229 which setjmp to generate.
24230 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24231 "longjmp_target" static probes.
24233 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24235 * benchtests/README: Add note about output arguments.
24236 * benchtests/bench-sincos.c: Remove file.
24237 * benchtests/sincos-inputs: New file.
24238 * scripts/bench.pl: Identify output arguments and define
24239 static variables for them.
24241 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24244 * Makefile (INSTALL): Add install-plain.texi as the primary
24246 * manual/install-plain.texi: New file.
24247 * manual/install.texi: Include node directive only for
24248 non-plaintext output.
24250 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24252 * stdlib/longlong.h: Update from GCC.
24256 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24257 * math/w_j0f.c (y0f): Likewise.
24258 * math/w_j0l.c (__y0l): Likewise.
24259 * math/w_j1.c (y1): Likewise.
24260 * math/w_j1f.c (y1f): Likewise.
24261 * math/w_j1l.c (__y1l): Likewise
24262 * math/w_jn.c (yn): Likewise.
24263 * math/w_jnf.c (ynf): Likewise.
24264 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24265 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24266 value for Bessel function domain errors outside _SVID_ mode.
24267 Adjust sign of return value for yn (negative integer, 0).
24268 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24269 by zero in return for negative x and set sign appropriately for
24271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24272 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24273 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24274 expectations in error cases.
24275 (y1_test_data): Likewise.
24276 (yn_test_data): Likewise.
24277 * sysdeps/i386/fpu/libm-test-ulps: Update.
24278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24280 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24282 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24283 "64" to "64-v1". Add "64-v2".
24284 (abi-64-options): Rename to ...
24285 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24286 (abi-64-condition): Rename to ...
24287 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24288 (abi-64-ld-soname): Rename to ...
24289 (abi-64-v1-ld-soname): ... this.
24290 (abi-64-v2-options): Define.
24291 (abi-64-v2-condition): Likewise.
24292 (abi-64-v2-ld-soname): Likewise.
24293 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24294 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24299 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24300 Alan Modra <amodra@gmail.com>
24302 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24303 New versions for use with the ELFv2 ABI.
24304 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24305 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24307 (struct La_ppc64v2_retval): Likewise.
24308 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24309 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24310 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24311 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24312 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24313 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24314 Do not save or restore CR.
24315 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24316 (_dl_profile_resolve): Do no save or restore CR. Support extended
24317 return values for ELFv2 ABI. Fix location of FPR return registers.
24318 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24319 updated values for _CALL_ELF == 2.
24320 (La_regs, La_retval, int_retval): Likewise.
24322 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24324 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24325 (FRAME_MIN_SIZE_PARM): Likewise.
24326 (FRAME_BACKCHAIN): Likewise.
24327 (FRAME_CR_SAVE): Likewise.
24328 (FRAME_LR_SAVE): Likewise.
24329 (FRAME_TOC_SAVE): Likewise.
24330 (FRAME_PARM_SAVE): Likewise.
24331 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24332 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24333 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24334 (call_mcount_parm_offset): New macro.
24335 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24336 (PROF): Use symbolic stack frame offsets.
24337 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24338 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24339 Redefine in terms of FRAME_MIN_SIZE.
24340 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24341 (_dl_profile_resolve): Likewise. Update comment.
24342 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24343 symbols stack frame offsets.
24344 (__sigsetjmp): Likewise.
24345 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24346 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24347 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24348 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24351 (FRAME_BACKCHAIN): Remove.
24352 (FRAME_CR_SAVE): Likewise.
24353 (FRAME_LR_SAVE): Likewise.
24354 (FRAME_COMPILER_DW): Likewise.
24355 (FRAME_LINKER_DW): Likewise.
24356 (FRAME_TOC_SAVE): Likewise.
24357 (FRAME_PARM_SAVE): Likewise.
24358 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24359 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24360 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24362 (CHECK_SP): Use symbolic stack frame offsets.
24363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24364 zone" instead of caller's parameter save area for temp storage.
24365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24366 Likewise. Also, use symbolic stack frame offsets.
24367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24368 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24369 our own stack frame instead of the caller's.
24370 (__socket): Use symbolic stack frame offsets.
24372 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24373 Alan Modra <amodra@gmail.com>
24375 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24377 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24378 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24379 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24381 (elf_machine_fixup_plt): Call it.
24382 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24384 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24385 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24386 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24387 r2 before calling target.
24389 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24390 Alan Modra <amodra@gmail.com>
24392 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24393 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24394 versions of macros to support ELFv2 ABI.
24395 (LOCALENTRY): New macro.
24396 (ENTRY, EALIGN): Use it.
24397 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24398 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24399 fall through into ENTRY entry point.
24400 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24401 Only define if _CALL_ELF != 2.
24403 (elf_machine_matches_host): Verify ABI version matches.
24404 (RTLD_START): Use LOCALENTRY.
24405 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24406 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24407 (PLT_ENTRY_WORDS): New macro.
24408 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24409 (elf_machine_runtime_setup): Support ELFv2 ABI.
24410 (elf_machine_fixup_plt): Likewise.
24411 (elf_machine_plt_conflict): Likewise.
24412 (resolve_ifunc): Likewise.
24413 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24414 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24417 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24419 (makecontext): Support ELFv2 ABI.
24420 * elf/elf.h (EF_PPC64_ABI): Define.
24422 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24424 * sysdeps/powerpc/powerpc64/sysdep.h
24425 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24426 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24427 (ENTRY) [ASSEMBLER]: ... but instead here ...
24428 (EALIGN) [ASSEMBLER]: ... and here.
24429 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24430 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24431 (ENTRY_2) [!ASSEMBLER]: Use it.
24432 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24433 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24434 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24435 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24436 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24438 Use PPC64_LOAD_FUNCPTR.
24440 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24442 2013-12-04 Alan Modra <amodra@gmail.com>
24444 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24445 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24446 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24447 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24449 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24450 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24451 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24452 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24453 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24454 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24456 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24459 (__makecontext): Fix incorrect CFI when backtracing out of
24460 context created via makecontext.
24461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24462 (__setcontext): Fix incorrect CFI during switch to new context.
24463 (__novec_setcontext): Likewise.
24465 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24468 * time/strptime_l.c (__strptime_internal): Allow modifiers
24470 * time/tst-strptime.c (day_tests): Add testcase.
24472 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24474 * scripts/bench.pl: Skip over blank lines.
24476 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24479 * manual/time.texi (Calendar Time): Clarify what timezone functions
24482 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24486 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24488 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24490 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24491 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24492 * debug/memset_chk.c (__memset_chk): Likewise.
24493 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24494 * debug/strncpy_chk.c: Likewise.
24496 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24500 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24501 (__ieee754_exp): For possibly underflowing results, check size of
24502 result and force underflow exception if required.
24503 * math/auto-libm-test-in: Add more tests of exp.
24504 * math/auto-libm-test-out: Regenerated.
24505 * sysdeps/i386/fpu/libm-test-ulps: Update.
24506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24509 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24510 * math/w_exp2f.c (__exp2f): Likewise.
24511 * math/w_exp2l.c (__exp2l): Likewise.
24512 * math/auto-libm-test-in: Do not allow missing errno on exp2
24514 * math/auto-libm-test-out: Regenerated.
24516 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24519 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24520 handle filename validation.
24521 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24524 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24527 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24528 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24529 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24531 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24533 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24534 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24535 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24536 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24537 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24538 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24539 Add more erfc tests.
24540 * math/auto-libm-test-out: Regenerated.
24541 * sysdeps/i386/fpu/libm-test-ulps: Update.
24542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24544 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24545 exp2, expm1, j0 and j1.
24546 * math/auto-libm-test-out: Regenerated.
24547 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24548 (erfc_test_data): Likewise.
24549 (exp_test_data): Likewise.
24550 (exp_tonearest_test_data): Likewise.
24551 (exp_towardzero_test_data): Likewise.
24552 (exp_downward_test_data): Likewise.
24553 (exp_upward_test_data): Likewise.
24554 (exp10_test_data): Likewise.
24555 (exp2_test_data): Likewise.
24556 (expm1_test_data): Likewise.
24557 (j0_test_data): Likewise.
24558 (j1_test_data): Likewise.
24559 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24560 (input_flag_type): Add flag_xfail_rounding.
24561 (input_flags): Add xfail-rounding.
24562 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24563 (output_for_one_input_case): Handle flag_xfail_rounding.
24564 * sysdeps/i386/fpu/libm-test-ulps: Update.
24565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24567 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24570 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24573 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24576 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24577 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24578 (STAP_PROBE0): New macro.
24579 (STAP_PROBE1): Likewise.
24580 (STAP_PROBE2): Likewise.
24581 (STAP_PROBE3): Likewise.
24582 (STAP_PROBE4): Likewise.
24584 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24586 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24588 2013-12-02 Steve Ellcey <sellcey@mips.com>
24590 * benchtests/Makefile (bench): Add sqrt.
24591 (LDLIBS-bench-sqrt): New.
24592 * benchtests/sqrt-input: New.
24594 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24596 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24597 (GAIH_EAI): Likewise.
24598 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24599 (gaih_inet): Likewise.
24600 (getaddrinfo): Don't use GAIH_EAI.
24602 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24603 (struct gaih): Remove definition.
24605 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24607 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24608 Use HERRNOP directly.
24610 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24614 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24616 * math/gen-auto-libm-tests.c (test_functions): Add more
24617 single-argument functions.
24618 (special_fill_pi_2): New function.
24619 (special_fill_minus_pi_2): Likewise.
24620 (special_fill_pi_6): Likewise.
24621 (special_fill_minus_pi_6): Likewise.
24622 (special_fill_pi_3): Likewise.
24623 (special_fill_2pi_3): Likewise.
24624 (special_fill_e): Likewise.
24625 (special_fill_1_e): Likewise.
24626 (special_fill_e_minus_1): Likewise.
24627 (special_real_inputs): Add more special inputs.
24628 (output_for_one_input_case): Do not require ERANGE on underflow to
24629 zero if round-to-nearest result does not underflow to zero, unless
24630 exact results required.
24631 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24632 atan, atanh, cbrt, cos and cosh.
24633 * math/auto-libm-test-out: Regenerated.
24634 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24635 (acos_tonearest_test_data): Likewise.
24636 (acos_towardzero_test_data): Likewise.
24637 (acos_downward_test_data): Likewise.
24638 (acos_upward_test_data): Likewise.
24639 (acosh_test_data): Likewise.
24640 (asin_test_data): Likewise.
24641 (asin_tonearest_test_data): Likewise.
24642 (asin_towardzero_test_data): Likewise.
24643 (asin_upward_test_data): Likewise.
24644 (asinh_test_data): Likewise.
24645 (atan_test_data): Likewise.
24646 (atanh_test_data): Likewise.
24647 (cbrt_test_data): Likewise.
24648 (cos_test_data): Likewise.
24649 (cos_tonearest_test_data): Likewise.
24650 (cos_towardzero_test_data): Likewise.
24651 (cos_downward_test_data): Likewise.
24652 (cos_upward_test_data): Likewise.
24653 (cosh_test_data): Likewise.
24654 (cosh_tonearest_test_data): Likewise.
24655 (cosh_towardzero_test_data): Likewise.
24656 (cosh_downward_test_data): Likewise.
24657 (cosh_upward_test_data): Likewise.
24658 * sysdeps/i386/fpu/libm-test-ulps: Update.
24659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24661 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24664 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24665 * math/w_exp10f.c (__exp10f): Likewise.
24666 * math/w_exp10l.c (__exp10l): Likewise.
24667 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24668 errno settings in existing tests.
24671 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24672 precision control set to double precision.
24673 * sysdeps/i386/fpu/w_sqrt.c: New file.
24674 * math/auto-libm-test-in: Add more tests.
24675 * math/auto-libm-test-out: Update.
24677 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24678 (sqrt_test_tonearest): New function.
24679 (sqrt_towardzero_test_data): New variable.
24680 (sqrt_test_towardzero): New function.
24681 (sqrt_downward_test_data): New variable.
24682 (sqrt_test_downward): New function.
24683 (sqrt_upward_test_data): New variable.
24684 (sqrt_test_upward): New function.
24685 (main): Call the new functions.
24687 * math/gen-auto-libm-tests.c: New file.
24688 * math/auto-libm-test-in: Likewise.
24689 * math/auto-libm-test-out: New generated file.
24690 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24692 (%beautify): Add generated representations of zero.
24693 (top level): Set $auto_input and call parse_auto_input.
24694 (beautify): Remove trailing "f" from hex float constants.
24695 (parse_args): Handle XFAIL_TEST.
24696 (convert_condition): New function.
24697 (or_value): Likewise.
24698 (or_cond_value): Likewise.
24699 (generate_testfile): Handle AUTO_TESTS_* lines.
24700 (parse_auto_input): New function.
24701 * math/libm-test.inc (XFAIL_TEST): New macro.
24702 (ERRNO_UNCHANGED): Update value.
24703 (ERRNO_EDOM): Likewise.
24704 (ERRNO_ERANGE): Likewise.
24705 (IGNORE_RESULT): Likewise.
24706 (TEST_COND_flt_32): New macro.
24707 (TEST_COND_dbl_64): Likewise.
24708 (TEST_COND_ldbl_96_intel): Likewise.
24709 (TEST_COND_ldbl_96_m68k): Likewise.
24710 (TEST_COND_ldbl_128): Likewise.
24711 (TEST_COND_ldbl_128ibm): Likewise.
24712 (TEST_COND_long32): Likewise.
24713 (TEST_COND_long64): Likewise.
24714 (TEST_COND_before_rounding): Likewise.
24715 (TEST_COND_after_rounding): Likewise.
24716 (enable_test): Handle XFAIL_TEST flag.
24717 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24718 with finite results.
24719 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24720 auto-libm-test-out.
24722 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24723 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24726 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24727 __tls_get_addr_internal instead of __tls_get_offset in order to
24728 avoid GOT pointer dependency. Make rtld export
24729 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24730 __tls_get_addr since we are a __tls_get_offset platform.
24731 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24732 GOT pointer being set up before.
24733 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24735 2013-11-28 Joseph Myers <joseph@codesourcery.com>
24737 * manual/math.texi (Errors in Math Functions): Document accuracy
24741 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24742 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24743 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24744 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24745 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24747 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24748 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24749 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24750 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24753 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24754 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24755 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24756 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24758 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24759 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24760 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24761 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24762 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24764 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24766 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24768 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24769 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24770 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24771 atomic-feupdateenv and flt-rounds.
24772 * sysdeps/powerpc/nofpu/Versions (libc): Add
24773 __atomic_feholdexcept, __atomic_feclearexcept,
24774 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24775 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24776 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24777 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24778 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24783 * manual/arith.texi (FP Exceptions): Document that exceptions may
24784 not be raised when matherr is used.
24785 (Math Error Reporting): Document overflow in directed rounding
24786 modes. Document that errno may not be set when finite values are
24787 returned on overflow. Document intent to set errno on underflow
24788 only for underflow to zero.
24791 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24792 round-to-nearest then adjust result for other rounding modes.
24793 * include/fenv.h (fegetround): Use libm_hidden_proto.
24794 * math/fegetround.c (fegetround): Use libm_hidden_def.
24795 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24796 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24797 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24798 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24800 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24801 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24802 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24803 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24805 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24808 * nss/Versions (libnss_files): Add
24809 _nss_files_gethostbyname3_r.
24810 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24812 (HOST_DB_LOOKUP): Remove macro.
24813 (_nss_files_gethostbyname_r): Implement function without the
24814 HOST_DB_LOOKUP macro.
24815 (_nss_files_gethostbyname2_r): Likewise.
24817 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
24819 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24821 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
24823 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24824 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24827 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24829 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24830 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24831 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24832 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24833 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24834 __fe_nomask_env_priv and attribute_hidden.
24835 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24836 (libc_feupdateenv_test_ppc): Likewise.
24837 (libc_feresetround_ppc): Likewise.
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24839 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24840 compat_symbol macro.
24841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24842 (__fe_nomask_env): Likewise.
24843 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24845 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24847 * string/Makefile: Remove ifunc tests.
24848 * string/test-string.h: Define TEST_IFUNC.
24849 * string/test-bcopy-ifunc.c: Remove.
24850 * string/test-bzero-ifunc.c: Likewise.
24851 * string/test-memccpy-ifunc.c: Likewise.
24852 * string/test-memchr-ifunc.c: Likewise.
24853 * string/test-memcmp-ifunc.c: Likewise.
24854 * string/test-memcpy-ifunc.c: Likewise.
24855 * string/test-memmem-ifunc.c: Likewise.
24856 * string/test-memmove-ifunc.c: Likewise.
24857 * string/test-mempcpy-ifunc.c: Likewise.
24858 * string/test-memrchr-ifunc.c: Likewise.
24859 * string/test-memset-ifunc.c: Likewise.
24860 * string/test-rawmemchr-ifunc.c: Likewise.
24861 * string/test-stpcpy-ifunc.c: Likewise.
24862 * string/test-stpncpy-ifunc.c: Likewise.
24863 * string/test-strcasecmp-ifunc.c: Likewise.
24864 * string/test-strcasestr-ifunc.c: Likewise.
24865 * string/test-strcat-ifunc.c: Likewise.
24866 * string/test-strchr-ifunc.c: Likewise.
24867 * string/test-strchrnul-ifunc.c: Likewise.
24868 * string/test-strcmp-ifunc.c: Likewise.
24869 * string/test-strcpy-ifunc.c: Likewise.
24870 * string/test-strcspn-ifunc.c: Likewise.
24871 * string/test-strlen-ifunc.c: Likewise.
24872 * string/test-strncasecmp-ifunc.c: Likewise.
24873 * string/test-strncat-ifunc.c: Likewise.
24874 * string/test-strncmp-ifunc.c: Likewise.
24875 * string/test-strncpy-ifunc.c: Likewise.
24876 * string/test-strnlen-ifunc.c: Likewise.
24877 * string/test-strpbrk-ifunc.c: Likewise.
24878 * string/test-strrchr-ifunc.c: Likewise.
24879 * string/test-strspn-ifunc.c: Likewise.
24880 * string/test-strstr-ifunc.c: Likewise.
24882 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24884 * benchtests/Makefile: Remove ifunc tests.
24885 * benchtests/bench-string.h: Define TEST_IFUNC.
24886 * benchtests/bench-bcopy-ifunc.c: Remove.
24887 * benchtests/bench-bzero-ifunc.c: Likewise.
24888 * benchtests/bench-memccpy-ifunc.c: Likewise.
24889 * benchtests/bench-memchr-ifunc.c: Likewise.
24890 * benchtests/bench-memcmp-ifunc.c: Likewise.
24891 * benchtests/bench-memcpy-ifunc.c: Likewise.
24892 * benchtests/bench-memmem-ifunc.c: Likewise.
24893 * benchtests/bench-memmove-ifunc.c: Likewise.
24894 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24895 * benchtests/bench-memrchr-ifunc.c: Likewise.
24896 * benchtests/bench-memset-ifunc.c: Likewise.
24897 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24898 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24899 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24900 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24901 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24902 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24903 * benchtests/bench-strcat-ifunc.c: Likewise.
24904 * benchtests/bench-strchr-ifunc.c: Likewise.
24905 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24906 * benchtests/bench-strcmp-ifunc.c: Likewise.
24907 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24908 * benchtests/bench-strcpy-ifunc.c: Likewise.
24909 * benchtests/bench-strcspn-ifunc.c: Likewise.
24910 * benchtests/bench-strlen-ifunc.c: Likewise.
24911 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24912 * benchtests/bench-strncat-ifunc.c: Likewise.
24913 * benchtests/bench-strncmp-ifunc.c: Likewise.
24914 * benchtests/bench-strncpy-ifunc.c: Likewise.
24915 * benchtests/bench-strnlen-ifunc.c: Likewise.
24916 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24917 * benchtests/bench-strrchr-ifunc.c: Likewise.
24918 * benchtests/bench-strsep-ifunc.c: Likewise.
24919 * benchtests/bench-strspn-ifunc.c: Likewise.
24920 * benchtests/bench-strstr-ifunc.c: Likewise.
24922 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24924 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24926 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24928 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24929 * rt/aio.h: Likewise.
24930 * sysdeps/gnu/bits/utmp.h: Likewise.
24931 * sysdeps/gnu/bits/utmpx.h: Likewise.
24932 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24933 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24934 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24935 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24936 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24937 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24938 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24939 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24940 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24941 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24942 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24943 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24944 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24946 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24947 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24948 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24949 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24950 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24951 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24952 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24953 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24954 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24955 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24956 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24958 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24959 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24960 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24961 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24962 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24963 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24964 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24965 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24966 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24967 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24968 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24969 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24970 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24971 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24972 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24973 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24975 2013-11-25 Carlos O'Donell <carlos@redhat.com>
24978 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24979 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24981 2013-11-25 Joseph Myers <joseph@codesourcery.com>
24983 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24984 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24987 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24989 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24990 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24991 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24992 (__fesetround): Remove define.
24993 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24994 rounding and exceptions handling.
24995 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24996 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24997 (__fe_nomask_env): Likewise.
24998 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24999 __fegetround instead of fegetround.
25000 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25001 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25003 2013-11-21 Roland McGrath <roland@hack.frob.com>
25005 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25008 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25010 2013-11-21 Meador Inge <meadori@codesourcery.com>
25013 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25014 (encrypt_r): Likewise.
25015 * malloc/obstack.h (obstack_free): Likewise.
25016 * posix/unistd.h (encrypt): Likewise.
25018 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
25020 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25021 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25022 DL_CALL_DT_FINI() that call the functions directly.
25023 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25024 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25025 * elf/dl-fini.c: Likewise.
25027 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25029 * malloc/hooks.c (memalign_check): Add alignment rounding.
25030 * malloc/malloc.c (_mid_memalign): New function.
25031 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25032 Implement by calling _mid_memalign.
25033 * manual/probes.texi (Memory Allocation Probes): Remove
25034 memory_valloc_retry and memory_pvalloc_retry.
25036 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25038 * locale/programs/locarchive.c (open_archive): Add const
25039 qualifier to ARCHIVEFNAME and copy default fname to
25043 * libio/tst-widetext.input: Rename Oriya to Odia.
25044 * locale/iso-639.def: Likewise.
25046 * manual/probes.texi (Mathematical Function Probes): Add
25047 documentation for sin, cos, asin and acos probes.
25048 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25049 (__sin32): Add slowasin probe.
25050 (__cos32): Add slowacos probe.
25051 (__mpsin): Add slowsin probe.
25052 (__mpcos): Add slowcos probe.
25054 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25057 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25058 thread-local __sim_exceptions_thread and global
25059 __sim_exceptions_global.
25060 (__sim_disabled_exceptions): Change to thread-local
25061 __sim_disabled_exceptions_thread and global
25062 __sim_disabled_exceptions_global.
25063 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25064 and global __sim_round_mode_global.
25065 (__simulate_exceptions): Use thread-local floating-point state and
25066 set global state from it as needed.
25067 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25068 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25069 __sim_round_mode_thread.
25070 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25071 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25072 and global __sim_exceptions_global.
25073 (__sim_disabled_exceptions): Change to thread-local
25074 __sim_disabled_exceptions_thread and global
25075 __sim_disabled_exceptions_global.
25076 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25077 and global __sim_round_mode_global.
25078 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25079 (SIM_SET_GLOBAL): Likewise.
25080 * sysdeps/powerpc/soft-fp/sfp-machine.h
25081 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25082 __sim_round_mode_thread.
25083 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25084 __sim_disabled_exceptions_thread.
25085 (__sim_exceptions): Change to __sim_exceptions_thread.
25086 (__sim_disabled_exceptions): Change to
25087 __sim_disabled_exceptions_thread.
25088 (__sim_round_mode): Change to __sim_round_mode_thread.
25089 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25090 thread-local floating-point state and set global state from it as
25092 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25093 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25094 (__sim_disabled_exceptions): Remove extern declaration.
25095 (feenableexcept): Use thread-local floating-point state and set
25096 global state from it as needed.
25097 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25098 extern declaration.
25099 (__sim_disabled_exceptions): Likewise.
25100 (__sim_round_mode): Likewise.
25101 (__fegetenv): Use thread-local floating-point state.
25102 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25103 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25104 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25105 floating-point state and set global state from it as needed.
25106 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25107 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25108 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25110 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25111 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25113 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25114 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25115 Use __sim_round_mode_thread.
25116 * math/test-fenv-tls.c: New file.
25117 * math/Makefile (tests): Add test-fenv-tls.
25118 ($(objpfx)test-fenv-tls): Depend on
25119 $(common-objpfx)nptl/libpthread.so.
25121 2013-11-19 Andreas Schwab <schwab@suse.de>
25123 * locale/programs/locale.c (show_info): Decode wordarray elements.
25124 * locale/categories.def (LC_MONETARY): Add element for
25125 _NL_MONETARY_CRNCYSTR.
25126 * locale/C-monetary.c (conversion_rate): New variable.
25127 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25130 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25132 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25133 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25135 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25137 * elf/Makefile (tst-auxv): New test.
25138 * elf/tst-auxv.c: New
25139 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25141 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25143 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25144 (hidden_proto): Caller changed.
25145 (hidden_tls_proto): New macro.
25146 (libc_hidden_tls_proto): Likewise.
25147 (rtld_hidden_tls_proto): Likewise.
25148 (libm_hidden_tls_proto): Likewise.
25149 (libresolv_hidden_tls_proto): Likewise.
25150 (librt_hidden_tls_proto): Likewise.
25151 (libdl_hidden_tls_proto): Likewise.
25152 (libnss_files_hidden_tls_proto): Likewise.
25153 (libnsl_hidden_tls_proto): Likewise.
25154 (libnss_nisplus_hidden_tls_proto): Likewise.
25155 (libutil_hidden_tls_proto): Likewise.
25157 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25160 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25161 (decompose_rpath): Defer expansion to fillin_rpath.
25162 (_dl_init_paths): Pass linkmap to fillin_rpath.
25164 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25166 * benchtests/Makefile: Add strsep.
25167 * benchtests/bench-strsep.c: New file: strsep benchtest.
25168 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25170 2013-11-18 Andreas Schwab <schwab@suse.de>
25172 * locale/programs/locale.c (show_info) [case byte]: Check for
25173 '\377' instead of '\177'.
25174 * locale/C-monetary.c (not_available): Always use "\377".
25175 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25176 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25177 detect unavailable sign_posn locale elements.
25178 * locale/localeconv.c (__localeconv): For grouping and
25179 mon_grouping handle "\177" and "\377" like no grouping.
25180 (INT_ELEM): New macro. Use it to set all numeric members.
25181 * locale/programs/ld-monetary.c (monetary_read)
25182 <tok_mon_grouping>: Normalize single -1 to the empty string.
25183 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25186 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25189 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25190 when we match (nil).
25191 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25193 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25195 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25196 (NO_TEST_INLINE): Update value.
25197 (ERRNO_UNCHANGED): Likewise.
25198 (ERRNO_EDOM): Likewise.
25199 (ERRNO_ERANGE): Likewise.
25200 (IGNORE_RESULT): Likewise.
25201 (check_float_internal): Check signs of NaN results if
25202 TEST_NAN_SIGN used.
25203 (check_complex): Pass TEST_NAN_SIGN flag through to second
25204 check_float_internal call.
25205 (copysign_test_data): Add tests with quiet NaNs as second
25206 argument. Use TEST_NAN_SIGN.
25207 (fabs_test_data): Add test of negative quiet NaN argument. Use
25209 (signbit_test_data): Add tests of quiet NaN argument.
25210 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25212 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25214 (parse_args): Handle function results specified as IGNORE.
25215 * math/libm-test.inc (IGNORE_RESULT): New macro.
25216 (check_float_internal): Do not check numerical result if flag
25218 (check_complex): Pass through IGNORE_RESULT to second
25219 check_float_internal call.
25220 (check_int): Do not check numerical result if flag IGNORE_RESULT
25222 (check_long): Likewise.
25223 (check_bool): Likewise.
25224 (check_longlong): Likewise.
25225 (lrint_test_data): Add tests of infinite and NaN arguments.
25226 (lrint_tonearest_test_data): Likewise.
25227 (lrint_towardzero_test_data): Likewise.
25228 (lrint_downward_test_data): Likewise.
25229 (lrint_upward_test_data): Likewise.
25230 (llrint_test_data): Likewise.
25231 (llrint_tonearest_test_data): Likewise.
25232 (llrint_towardzero_test_data): Likewise.
25233 (llrint_downward_test_data): Likewise.
25234 (llrint_upward_test_data): Likewise.
25235 (lround_test_data): Likewise.
25236 (llround_test_data): Likewise.
25238 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25239 (ERRNO_UNCHANGED): Update value.
25240 (ERRNO_EDOM): Likewise.
25241 (ERRNO_ERANGE): Likewise.
25242 (NO_TEST_INLINE_FLOAT): New macro.
25243 (NO_TEST_INLINE_DOUBLE): Likewise.
25244 (enable_test): New function.
25245 (RUN_TEST_f_f): Check enable_test before running test.
25246 (RUN_TEST_2_f): Likewise.
25247 (RUN_TEST_fff_f): Likewise.
25248 (RUN_TEST_c_f): Likewise.
25249 (RUN_TEST_f_f1): Likewise.
25250 (RUN_TEST_fF_f1): Likewise.
25251 (RUN_TEST_fI_f1): Likewise.
25252 (RUN_TEST_ffI_f1): Likewise.
25253 (RUN_TEST_c_c): Likewise.
25254 (RUN_TEST_cc_c): Likewise.
25255 (RUN_TEST_f_i): Likewise.
25256 (RUN_TEST_f_i_tg): Likewise.
25257 (RUN_TEST_ff_i_tg): Likewise.
25258 (RUN_TEST_f_b): Likewise.
25259 (RUN_TEST_f_b_tg): Likewise.
25260 (RUN_TEST_f_l): Likewise.
25261 (RUN_TEST_f_L): Likewise.
25262 (RUN_TEST_fFF_11): Likewise.
25263 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25265 (cosh_test_data): Likewise.
25266 (exp_test_data): Likewise.
25267 (expm1_test_data): Likewise.
25268 (hypot_test_data): Likewise.
25269 (pow_test_data): Likewise.
25270 (sinh_test_data): Likewise.
25271 (tanh_test_data): Likewise.
25272 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25275 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25276 tests with quiet NaN input and output.
25277 (acosh_test_data): Likewise.
25278 (asin_test_data): Likewise.
25279 (asinh_test_data): Likewise.
25280 (atan_test_data): Likewise.
25281 (atanh_test_data): Likewise.
25282 (atan2_test_data): Likewise.
25283 (cbrt_test_data): Likewise.
25284 (cos_test_data): Likewise.
25285 (cosh_test_data): Likewise.
25286 (erf_test_data): Likewise.
25287 (erfc_test_data): Likewise.
25288 (exp_test_data): Likewise.
25289 (exp10_test_data): Likewise.
25290 (exp2_test_data): Likewise.
25291 (expm1_test_data): Likewise.
25292 (hypot_test_data): Likewise.
25293 (j0_test_data): Likewise.
25294 (j1_test_data): Likewise.
25295 (jn_test_data): Likewise.
25296 (lgamma_test_data): Likewise.
25297 (log_test_data): Likewise.
25298 (log10_test_data): Likewise.
25299 (log1p_test_data): Likewise.
25300 (log2_test_data): Likewise.
25301 (pow_test_data): Likewise.
25302 (scalb_test_data): Likewise.
25303 (sin_test_data): Likewise.
25304 (sincos_test_data): Likewise.
25305 (sinh_test_data): Likewise.
25306 (tan_test_data): Likewise.
25307 (tanh_test_data): Likewise.
25308 (tgamma_test_data): Likewise.
25309 (y0_test_data): Likewise.
25310 (y1_test_data): Likewise.
25311 (yn_test_data): Likewise.
25314 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25315 argument being NaN and avoid computations with second argument in
25317 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25318 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25319 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25321 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25323 * locale/iso-639.def: Add Chitwani Tharu (the).
25325 2013-11-14 Andreas Schwab <schwab@suse.de>
25327 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25328 word instead of empty string.
25330 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25333 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25335 (__fe_nomask_env): Likewise.
25337 2013-11-13 Steve Ellcey <sellcey@mips.com>
25339 * benchtests/bench-timing.h: Include time.h.
25341 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25344 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25346 * sysdeps/unix/sysv/linux/configure: Regenerated.
25348 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25351 * stdlib/strtod_l.c (round_and_return): Do not consider
25352 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25353 exponent one less than half the least subnormal exponent.
25354 * stdlib/test-strtod-round-data: Add more tests.
25355 * stdlib/tst-strtod-round.c (tests): Regenerated.
25357 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25360 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25361 (__fe_mask_env): Likewise.
25362 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25363 libm_hidden_proto and add function prototype.
25364 (__fe_mask_env): Add function prototype.
25365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25366 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25368 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25370 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25372 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25374 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25375 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25377 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25379 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25380 of htab_find_slot().
25382 2013-11-11 David S. Miller <davem@davemloft.net>
25385 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25386 symbol in the non-vis3 case in static builds.
25387 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25388 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25389 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25390 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25392 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25395 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25398 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25400 * benchtests/Makefile: Add bench-strtod.
25401 * benchtests/bench-strtod.c: New file: strtod benchtest
25403 2013-11-11 Andreas Schwab <schwab@suse.de>
25406 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25407 terminating NUL in key length.
25409 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25411 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25412 Add artificial ODP entry for vDSO symbol for PPC64.
25413 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25414 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25416 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25419 * nss/getent.c (services_keys): Recognize services starting with digit.
25421 2013-11-06 David S. Miller <davem@davemloft.net>
25424 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25425 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25427 2013-11-06 Will Newton <will.newton@linaro.org>
25429 * manual/memory.texi (Malloc Examples): Remove register
25430 keyword from examples.
25432 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25434 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25436 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25439 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25440 depending on [__GCC_IEC_559 > 0].
25441 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25442 depending on [__GCC_IEC_559_COMPLEX > 0].
25444 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25446 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25449 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25451 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25453 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25456 * malloc/malloc (malloc_info): Do not handle first bin as
25459 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25461 * locale/iso-639.def: Add Central Nahuatl (nhn).
25463 2013-11-01 Bruno Haible <bruno@clisp.org>
25466 * manual/math.texi (BSD Random): Specify range upper bound as
25469 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25471 * locale/iso-639.def: Add Meadow Mari (mhr).
25473 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25475 [BZ #14752], [BZ #15763]
25476 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25478 * rt/tst_shm.c: Add test for escaping directory.
25480 2013-10-31 Andreas Schwab <schwab@suse.de>
25483 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25484 followed by 'x' as part of digit sequence.
25485 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25487 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25490 * configure.ac: allow GNU Make 4.0 and greater.
25491 * configure: Regenerated.
25493 2013-10-30 Will Newton <will.newton@linaro.org>
25496 * malloc/hooks.c (memalign_check): Limit alignment to the
25497 maximum representable power of two.
25498 * malloc/malloc.c (__libc_memalign): Likewise.
25499 * malloc/tst-memalign.c (do_test): Add test for very
25500 large alignment values.
25501 * malloc/tst-posix_memalign.c (do_test): Likewise.
25503 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25506 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25507 (munmap_chunk): Likewise.
25508 (mremap_chunk): Likewise.
25510 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25513 * stdlib/div.c (div): Remove obsolete code.
25514 * stdlib/ldiv.c (ldiv): Likewise.
25515 * stdlib/lldiv.c (lldiv): Likewise.
25517 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25520 * nss/nss_files/files-XXX.c (get_contents_ret): New
25522 (get_contents): New function.
25523 (internal_getent): Use it. Expand size of LINEBUFLEN.
25525 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25527 * configure.in: Moved to ...
25528 * configure.ac: ... here. Change reference to configure.in
25530 * sysdeps/arm/preconfigure.ac: ... here.
25531 configure.in to configure.ac.
25532 * sysdeps/gnu/configure.in: Moved to ...
25533 * sysdeps/gnu/configure.ac: ... here.
25534 * sysdeps/i386/configure.in: Moved to ...
25535 * sysdeps/i386/configure.ac: ... here.
25536 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25537 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25538 * sysdeps/mach/configure.in: Moved to ...
25539 * sysdeps/mach/configure.ac: ... here.
25540 * sysdeps/mach/hurd/configure.in: Moved to ...
25541 * sysdeps/mach/hurd/configure.ac: ... here.
25542 * sysdeps/powerpc/configure.in: Moved to ...
25543 * sysdeps/powerpc/configure.ac: ... here.
25544 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25545 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25546 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25547 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25548 * sysdeps/s390/s390-32/configure.in: Moved to ...
25549 * sysdeps/s390/s390-32/configure.ac: ... here.
25550 * sysdeps/s390/s390-64/configure.in: Moved to ...
25551 * sysdeps/s390/s390-64/configure.ac: ... here.
25552 * sysdeps/sh/configure.in: Moved to ...
25553 * sysdeps/sh/configure.ac: ... here.
25554 * sysdeps/sparc/configure.in: Moved to ...
25555 * sysdeps/sparc/configure.ac: ... here.
25556 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25557 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25558 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25559 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25560 * sysdeps/x86_64/configure.in: Moved to ...
25561 * sysdeps/x86_64/configure.ac: ... here.
25562 * sysdeps/x86_64/preconfigure.in: Moved to ...
25563 * sysdeps/x86_64/preconfigure.ac: ... here.
25564 * aclocal.m4: Change reference to configure.in to configure.ac.
25565 * config.h.in: Likewise.
25566 * manual/install.texi: Likewise.
25567 * manual/maint.texi: Likewise.
25568 * Makefile: Likewise.
25569 * malloc/Makefile: Likewise.
25570 * nscd/Makefile: Likewise.
25571 * Makeconfig: Change reference to configure.in and
25572 preconfigure.in to configure.ac and preconfigure.ac
25574 * INSTALL: Regenerated.
25575 * configure: Likewise.
25576 * sysdeps/gnu/configure: Likewise.
25577 * sysdeps/i386/configure: Likewise.
25578 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25579 * sysdeps/mach/configure: Likewise.
25580 * sysdeps/mach/hurd/configure: Likewise.
25581 * sysdeps/powerpc/configure: Likewise.
25582 * sysdeps/powerpc/powerpc32/configure: Likewise.
25583 * sysdeps/powerpc/powerpc64/configure: Likewise.
25584 * sysdeps/s390/s390-32/configure: Likewise.
25585 * sysdeps/s390/s390-64/configure: Likewise.
25586 * sysdeps/sh/configure: Likewise.
25587 * sysdeps/sparc/configure: Likewise.
25588 * sysdeps/unix/sysv/linux/configure: Likewise.
25589 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25590 * sysdeps/x86_64/configure: Likewise.
25591 * sysdeps/x86_64/preconfigure: Likewise.
25593 2013-10-29 Andreas Schwab <schwab@suse.de>
25595 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25597 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25599 * benchtests/pow-inputs: Add new inputs.
25601 * benchtests/exp-inputs: Add new inputs.
25603 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25604 conditional check for return value.
25605 (__cos32): Likewise.
25607 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25609 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25610 to provide a boost for large inputs with word alignment.
25611 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25612 implementation based on optimized PPC64 strcpy.
25613 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25614 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25615 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25616 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25618 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25621 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25623 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25626 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25627 * time/tst-strptime.c (day_tests): Add testcase.
25629 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25632 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25634 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25637 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25638 MAP_FAILED on error.
25640 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25643 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25644 heap for large requests.
25646 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25649 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25650 result if the result has no associated interface.
25651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25652 interface for all 127.X.Y.Z addresses.
25654 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25656 * locale/iso-639.def: Add Ligurian (lij)
25658 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25661 * sunrpc/rpc_main.c: Document rpcgen -5.
25663 2013-10-19 Michael Stahl <mstahl@redhat.com>
25665 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25667 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25670 * posix/glob.c: Match only directories when trailing slash is present.
25671 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25672 (main): Add testcase.
25674 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25677 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25679 2013-10-18 Carlos O'Donell <carlos@redhat.com>
25681 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25682 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25683 AUTH_DES and cindex for FIPS 140-2.
25684 (DES Encryption): Add cindex FIPS 46-3.
25686 * locale/locarchive.h (struct locarhandle): Add fname.
25687 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25688 if an optional argument was specified to --list-archive,
25690 * locale/programs/locarchive.c (show_archive_content): Take new
25691 argument fname and pass it via ah.fname to open_archive.
25692 * locale/programs/localedef.h: Update decl.
25693 (open_archive): If AH->fname is non-null, open that file
25694 rather than the default file name, and don't ignore ENOENT.
25695 (create_archive): Set AH.fname to NULL.
25696 (delete_locales_from_archive): Likewise.
25697 (add_locales_to_archive): Likewise.
25698 * locale/programs/locfile.c (write_all_categories): Likewise.
25700 2013-10-18 Joseph Myers <joseph@codesourcery.com>
25701 Aldy Hernandez <aldyh@redhat.com>
25703 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25704 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25705 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25706 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25707 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25708 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25709 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25710 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25711 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25712 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25713 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25714 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25715 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25716 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25717 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25719 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25721 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25723 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25725 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25726 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25728 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25729 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25730 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25731 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25733 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25734 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25735 * sysdeps/powerpc/preconfigure: Likewise.
25736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25738 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25739 Replace contents of file by #include of <fenv_libc.h>.
25740 * sysdeps/powerpc/soft-fp/sfp-machine.h
25741 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25743 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25745 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25746 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25747 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25748 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25750 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25751 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25752 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25753 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25754 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25756 Allow copysignl PLT reference to be missing.
25758 2013-10-18 Richard Sandiford <richard@codesourcery.com>
25759 Joseph Myers <joseph@codesourcery.com
25762 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25764 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25766 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25768 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25769 * elf/tst-tls1.c: Likewise.
25770 * elf/tst-tls10.h: Likewise.
25771 * elf/tst-tls14.c: Likewise.
25772 * elf/tst-tls2.c: Likewise.
25773 * elf/tst-tls3.c: Likewise.
25774 * elf/tst-tls4.c: Likewise.
25775 * elf/tst-tls5.c: Likewise.
25776 * elf/tst-tls6.c: Likewise.
25777 * elf/tst-tls7.c: Likewise.
25778 * elf/tst-tls8.c: Likewise.
25779 * elf/tst-tls9.c: Likewise.
25780 * elf/tst-tlsmod1.c: Likewise.
25781 * elf/tst-tlsmod13.c: Likewise.
25782 * elf/tst-tlsmod13a.c: Likewise.
25783 * elf/tst-tlsmod14a.c: Likewise.
25784 * elf/tst-tlsmod16a.c: Likewise.
25785 * elf/tst-tlsmod16b.c: Likewise.
25786 * elf/tst-tlsmod2.c: Likewise.
25787 * elf/tst-tlsmod3.c: Likewise.
25788 * elf/tst-tlsmod4.c: Likewise.
25789 * elf/tst-tlsmod5.c: Likewise.
25790 * elf/tst-tlsmod6.c: Likewise.
25792 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
25795 * malloc/malloc.c: remove checks for statistics.
25797 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25800 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25801 * inet/tst-network.c: Add testcase.
25803 2013-10-17 Andreas Schwab <schwab@suse.de>
25806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25807 to determine canonical name.
25809 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25811 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25812 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25814 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25816 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25817 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25818 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25819 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25820 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25821 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25822 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25823 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25824 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25825 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25826 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25828 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25829 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25830 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25831 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25834 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25835 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25836 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25838 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25839 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25841 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25843 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25848 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25849 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25854 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25855 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25856 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25859 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25860 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25861 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25862 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25863 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25864 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25865 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25866 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25867 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25868 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25870 2013-10-17 Joseph Myers <joseph@codesourcery.com>
25873 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25874 make result into a quiet NaN.
25876 2013-10-16 Joseph Myers <joseph@codesourcery.com>
25878 * soft-fp/adddf3.c: Fix horizontal whitespace.
25879 * soft-fp/addsf3.c: Likewise.
25880 * soft-fp/addtf3.c: Likewise.
25881 * soft-fp/divdf3.c: Likewise.
25882 * soft-fp/divsf3.c: Likewise.
25883 * soft-fp/divtf3.c: Likewise.
25884 * soft-fp/double.h: Likewise.
25885 * soft-fp/eqdf2.c: Likewise.
25886 * soft-fp/eqsf2.c: Likewise.
25887 * soft-fp/eqtf2.c: Likewise.
25888 * soft-fp/extenddftf2.c: Likewise.
25889 * soft-fp/extended.h: Likewise.
25890 * soft-fp/extendsfdf2.c: Likewise.
25891 * soft-fp/extendsftf2.c: Likewise.
25892 * soft-fp/extendxftf2.c: Likewise.
25893 * soft-fp/fixdfdi.c: Likewise.
25894 * soft-fp/fixdfsi.c: Likewise.
25895 * soft-fp/fixdfti.c: Likewise.
25896 * soft-fp/fixsfdi.c: Likewise.
25897 * soft-fp/fixsfsi.c: Likewise.
25898 * soft-fp/fixsfti.c: Likewise.
25899 * soft-fp/fixtfdi.c: Likewise.
25900 * soft-fp/fixtfsi.c: Likewise.
25901 * soft-fp/fixtfti.c: Likewise.
25902 * soft-fp/fixunsdfdi.c: Likewise.
25903 * soft-fp/fixunsdfsi.c: Likewise.
25904 * soft-fp/fixunsdfti.c: Likewise.
25905 * soft-fp/fixunssfdi.c: Likewise.
25906 * soft-fp/fixunssfsi.c: Likewise.
25907 * soft-fp/fixunssfti.c: Likewise.
25908 * soft-fp/fixunstfdi.c: Likewise.
25909 * soft-fp/fixunstfsi.c: Likewise.
25910 * soft-fp/fixunstfti.c: Likewise.
25911 * soft-fp/floatdidf.c: Likewise.
25912 * soft-fp/floatdisf.c: Likewise.
25913 * soft-fp/floatditf.c: Likewise.
25914 * soft-fp/floatsidf.c: Likewise.
25915 * soft-fp/floatsisf.c: Likewise.
25916 * soft-fp/floatsitf.c: Likewise.
25917 * soft-fp/floattidf.c: Likewise.
25918 * soft-fp/floattisf.c: Likewise.
25919 * soft-fp/floattitf.c: Likewise.
25920 * soft-fp/floatundidf.c: Likewise.
25921 * soft-fp/floatundisf.c: Likewise.
25922 * soft-fp/floatunditf.c: Likewise.
25923 * soft-fp/floatunsidf.c: Likewise.
25924 * soft-fp/floatunsisf.c: Likewise.
25925 * soft-fp/floatunsitf.c: Likewise.
25926 * soft-fp/floatuntidf.c: Likewise.
25927 * soft-fp/floatuntisf.c: Likewise.
25928 * soft-fp/floatuntitf.c: Likewise.
25929 * soft-fp/fmadf4.c: Likewise.
25930 * soft-fp/fmasf4.c: Likewise.
25931 * soft-fp/fmatf4.c: Likewise.
25932 * soft-fp/gedf2.c: Likewise.
25933 * soft-fp/gesf2.c: Likewise.
25934 * soft-fp/getf2.c: Likewise.
25935 * soft-fp/ledf2.c: Likewise.
25936 * soft-fp/lesf2.c: Likewise.
25937 * soft-fp/letf2.c: Likewise.
25938 * soft-fp/muldf3.c: Likewise.
25939 * soft-fp/mulsf3.c: Likewise.
25940 * soft-fp/multf3.c: Likewise.
25941 * soft-fp/negdf2.c: Likewise.
25942 * soft-fp/negsf2.c: Likewise.
25943 * soft-fp/negtf2.c: Likewise.
25944 * soft-fp/op-1.h: Likewise.
25945 * soft-fp/op-2.h: Likewise.
25946 * soft-fp/op-4.h: Likewise.
25947 * soft-fp/op-8.h: Likewise.
25948 * soft-fp/op-common.h: Likewise.
25949 * soft-fp/quad.h: Likewise.
25950 * soft-fp/single.h: Likewise.
25951 * soft-fp/soft-fp.h: Likewise.
25952 * soft-fp/sqrtdf2.c: Likewise.
25953 * soft-fp/sqrtsf2.c: Likewise.
25954 * soft-fp/sqrttf2.c: Likewise.
25955 * soft-fp/subdf3.c: Likewise.
25956 * soft-fp/subsf3.c: Likewise.
25957 * soft-fp/subtf3.c: Likewise.
25958 * soft-fp/truncdfsf2.c: Likewise.
25959 * soft-fp/trunctfdf2.c: Likewise.
25960 * soft-fp/trunctfsf2.c: Likewise.
25961 * soft-fp/trunctfxf2.c: Likewise.
25962 * soft-fp/unorddf2.c: Likewise.
25963 * soft-fp/unordsf2.c: Likewise.
25964 * soft-fp/unordtf2.c: Likewise.
25966 2013-10-15 Joseph Myers <joseph@codesourcery.com>
25968 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25969 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25971 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
25973 * elf/dl-libc.c: Clear initfini list after freeing.
25975 2013-10-14 Joseph Myers <joseph@codesourcery.com>
25977 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25978 * soft-fp/addsf3.c: Likewise.
25979 * soft-fp/addtf3.c: Likewise.
25980 * soft-fp/divdf3.c: Likewise.
25981 * soft-fp/divsf3.c: Likewise.
25982 * soft-fp/divtf3.c: Likewise.
25983 * soft-fp/double.h: Likewise.
25984 * soft-fp/eqdf2.c: Likewise.
25985 * soft-fp/eqsf2.c: Likewise.
25986 * soft-fp/eqtf2.c: Likewise.
25987 * soft-fp/extenddftf2.c: Likewise.
25988 * soft-fp/extended.h: Likewise.
25989 * soft-fp/extendsfdf2.c: Likewise.
25990 * soft-fp/extendsftf2.c: Likewise.
25991 * soft-fp/extendxftf2.c: Likewise.
25992 * soft-fp/fixdfdi.c: Likewise.
25993 * soft-fp/fixdfsi.c: Likewise.
25994 * soft-fp/fixdfti.c: Likewise.
25995 * soft-fp/fixsfdi.c: Likewise.
25996 * soft-fp/fixsfsi.c: Likewise.
25997 * soft-fp/fixsfti.c: Likewise.
25998 * soft-fp/fixtfdi.c: Likewise.
25999 * soft-fp/fixtfsi.c: Likewise.
26000 * soft-fp/fixtfti.c: Likewise.
26001 * soft-fp/fixunsdfdi.c: Likewise.
26002 * soft-fp/fixunsdfsi.c: Likewise.
26003 * soft-fp/fixunsdfti.c: Likewise.
26004 * soft-fp/fixunssfdi.c: Likewise.
26005 * soft-fp/fixunssfsi.c: Likewise.
26006 * soft-fp/fixunssfti.c: Likewise.
26007 * soft-fp/fixunstfdi.c: Likewise.
26008 * soft-fp/fixunstfsi.c: Likewise.
26009 * soft-fp/fixunstfti.c: Likewise.
26010 * soft-fp/floatdidf.c: Likewise.
26011 * soft-fp/floatdisf.c: Likewise.
26012 * soft-fp/floatditf.c: Likewise.
26013 * soft-fp/floatsidf.c: Likewise.
26014 * soft-fp/floatsisf.c: Likewise.
26015 * soft-fp/floatsitf.c: Likewise.
26016 * soft-fp/floattidf.c: Likewise.
26017 * soft-fp/floattisf.c: Likewise.
26018 * soft-fp/floattitf.c: Likewise.
26019 * soft-fp/floatundidf.c: Likewise.
26020 * soft-fp/floatundisf.c: Likewise.
26021 * soft-fp/floatunsidf.c: Likewise.
26022 * soft-fp/floatunsisf.c: Likewise.
26023 * soft-fp/floatuntidf.c: Likewise.
26024 * soft-fp/floatuntisf.c: Likewise.
26025 * soft-fp/floatuntitf.c: Likewise.
26026 * soft-fp/fmadf4.c: Likewise.
26027 * soft-fp/fmasf4.c: Likewise.
26028 * soft-fp/fmatf4.c: Likewise.
26029 * soft-fp/gedf2.c: Likewise.
26030 * soft-fp/gesf2.c: Likewise.
26031 * soft-fp/getf2.c: Likewise.
26032 * soft-fp/ledf2.c: Likewise.
26033 * soft-fp/lesf2.c: Likewise.
26034 * soft-fp/letf2.c: Likewise.
26035 * soft-fp/muldf3.c: Likewise.
26036 * soft-fp/mulsf3.c: Likewise.
26037 * soft-fp/multf3.c: Likewise.
26038 * soft-fp/negdf2.c: Likewise.
26039 * soft-fp/negsf2.c: Likewise.
26040 * soft-fp/negtf2.c: Likewise.
26041 * soft-fp/op-1.h: Likewise.
26042 * soft-fp/op-2.h: Likewise.
26043 * soft-fp/op-4.h: Likewise.
26044 * soft-fp/op-8.h: Likewise.
26045 * soft-fp/op-common.h: Likewise.
26046 * soft-fp/quad.h: Likewise.
26047 * soft-fp/single.h: Likewise.
26048 * soft-fp/soft-fp.h: Likewise.
26049 * soft-fp/sqrtdf2.c: Likewise.
26050 * soft-fp/sqrtsf2.c: Likewise.
26051 * soft-fp/sqrttf2.c: Likewise.
26052 * soft-fp/subdf3.c: Likewise.
26053 * soft-fp/subsf3.c: Likewise.
26054 * soft-fp/subtf3.c: Likewise.
26055 * soft-fp/truncdfsf2.c: Likewise.
26056 * soft-fp/trunctfdf2.c: Likewise.
26057 * soft-fp/trunctfsf2.c: Likewise.
26058 * soft-fp/trunctfxf2.c: Likewise.
26059 * soft-fp/unorddf2.c: Likewise.
26060 * soft-fp/unordsf2.c: Likewise.
26061 * soft-fp/unordtf2.c: Likewise.
26063 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26066 * misc/error.c (error_tail): Fix possible buffer overflow.
26068 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26071 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26074 2013-10-14 P. J. McDermott <pj@pehjota.net>
26077 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26078 testing pipefail option.
26080 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26082 * soft-fp/double.h: Indent preprocessor directives inside #if.
26083 * soft-fp/extended.h: Likewise.
26084 * soft-fp/op-2.h: Likewise.
26085 * soft-fp/op-4.h: Likewise.
26086 * soft-fp/op-common.h: Likewise.
26087 * soft-fp/quad.h: Likewise.
26088 * soft-fp/single.h: Likewise.
26089 * soft-fp/soft-fp.h: Likewise.
26091 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26093 * iconv/iconv_prog.c: Fix typos.
26094 * stdio-common/psiginfo-data.h: Likewise.
26096 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26099 * locale/setlocale.c: Fix typo.
26101 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26104 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26105 signaling NaN arguments.
26106 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26107 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26110 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26111 unordered operands.
26112 * soft-fp/gesf2.c (__gesf2): Likewise.
26113 * soft-fp/getf2.c (__getf2): Likewise.
26114 * soft-fp/ledf2.c (__ledf2): Likewise.
26115 * soft-fp/lesf2.c (__lesf2): Likewise.
26116 * soft-fp/letf2.c (__letf2): Likewise.
26118 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26119 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26120 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26121 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26122 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26123 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26124 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26125 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26126 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26127 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26128 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26129 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26130 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26131 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26132 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26133 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26134 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26135 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26136 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26137 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26138 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26139 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26140 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26141 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26142 * soft-fp/floattidf.c (__floattidf): Likewise.
26143 * soft-fp/floattisf.c (__floattisf): Likewise.
26144 * soft-fp/floattitf.c (__floattitf): Likewise.
26145 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26146 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26147 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26148 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26149 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26150 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26151 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26152 * soft-fp/gesf2.c (__gesf2): Likewise.
26153 * soft-fp/getf2.c (__getf2): Likewise.
26154 * soft-fp/ledf2.c (__ledf2): Likewise.
26155 * soft-fp/lesf2.c (__lesf2): Likewise.
26156 * soft-fp/letf2.c (__letf2): Likewise.
26158 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26159 Undefine and redefine.
26160 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26161 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26162 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26163 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26164 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26165 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26166 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26167 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26168 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26169 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26170 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26171 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26172 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26173 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26174 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26177 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26178 without decrementing exponent if mantissa >= that for the
26179 denominator, not >.
26180 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26181 denominator, not >. Decrement exponent in < case instead of
26182 incrementing in >= case.
26183 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26184 without decrementing exponent if mantissa >= that for the
26185 denominator, not >.
26187 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26188 computing saturated result for unsigned overflow.
26190 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26191 Jeff Law <law@redhat.com>
26193 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26194 (atan2Mp): Add systemtap probe marker.
26195 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26196 (__ieee754_log): Add systemtap probe marker.
26197 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26198 (atanMp): Add systemtap probe marker.
26199 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26200 (tanMp): Add systemtap probe marker.
26201 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26202 (__slowexp): Add systemtap probe marker.
26203 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26204 (__slowpow): Add systemtap probe marker.
26205 * manual/probes.texi: Document probes.
26207 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26210 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26212 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26214 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26215 written to buffer but not flushed.
26216 * libio/iofwrite_u.c: Likewise.
26217 * libio/iopadn.c: Return bytes returned even if EOF was
26219 * libio/iowpadn.c: Likewise.
26220 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26221 if _IO_padn does not write the whole buffer.
26222 [!COMPILE_WPRINTF] (PAD): Likewise.
26224 2013-10-10 David S. Miller <davem@davemloft.net>
26226 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26229 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26231 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26232 instead of FSF address.
26233 * soft-fp/fixdfti.c: Likewise.
26234 * soft-fp/fixsfti.c: Likewise.
26235 * soft-fp/fixtfti.c: Likewise.
26236 * soft-fp/fixunsdfti.c: Likewise.
26237 * soft-fp/fixunssfti.c: Likewise.
26238 * soft-fp/fixunstfti.c: Likewise.
26239 * soft-fp/floattidf.c: Likewise.
26240 * soft-fp/floattisf.c: Likewise.
26241 * soft-fp/floattitf.c: Likewise.
26242 * soft-fp/floatuntidf.c: Likewise.
26243 * soft-fp/floatuntisf.c: Likewise.
26244 * soft-fp/floatuntitf.c: Likewise.
26245 * soft-fp/trunctfxf2.c: Likewise.
26247 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26248 * soft-fp/fixdfti.c: Likewise.
26249 * soft-fp/fixsfti.c: Likewise.
26250 * soft-fp/fixtfti.c: Likewise.
26251 * soft-fp/fixunsdfti.c: Likewise.
26252 * soft-fp/fixunssfti.c: Likewise.
26253 * soft-fp/fixunstfti.c: Likewise.
26254 * soft-fp/floattidf.c: Likewise.
26255 * soft-fp/floattisf.c: Likewise.
26256 * soft-fp/floattitf.c: Likewise.
26257 * soft-fp/floatuntidf.c: Likewise.
26258 * soft-fp/floatuntisf.c: Likewise.
26259 * soft-fp/floatuntitf.c: Likewise.
26260 * soft-fp/trunctfxf2.c: Likewise.
26262 2013-10-10 David S. Miller <davem@davemloft.net>
26264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26266 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26268 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26269 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26270 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26271 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26272 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26273 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26274 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26277 for NaNs before doing comparisons on argument.
26278 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26281 2013-10-10 Will Newton <will.newton@linaro.org>
26283 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26284 passed to _int_memalign does not overflow.
26286 2013-10-10 Torvald Riegel <triegel@redhat.com>
26288 * scripts/bench.pl: Add include-sources directive.
26289 * benchtests/README: Update documentation.
26291 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26293 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26294 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26295 instead of FP_INIT_ROUNDMODE.
26296 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26297 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26300 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26301 copy class of input value.
26302 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26303 not handle exceptions.
26304 * soft-fp/negsf2.c (__negsf2): Likewise.
26305 * soft-fp/negtf2.c (__negtf2): Likewise.
26306 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26308 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26310 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26311 semicolon. From Linux kernel.
26313 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26315 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26317 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26320 * manual/socket.texi: Added statement about buffer
26321 for gethostbyname2_r.
26323 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26325 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26326 Use .p2align directive instead, throughout.
26327 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26328 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26329 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26331 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26332 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26333 * sysdeps/x86_64/strchr.S: Likewise.
26334 * sysdeps/x86_64/strrchr.S: Likewise.
26336 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26338 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26340 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26342 * sysdeps/generic/math_private.h (__mpsin1): Remove
26344 (__mpcos1): Likewise.
26345 (__mpsin): New argument __range_reduce.
26346 (__mpcos): Likewise.
26347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26348 (slow): Use __mpsin and __mpcos.
26352 (sloww1): Likewise.
26353 (sloww2): Likewise.
26354 (bsloww): Likewise.
26355 (bsloww1): Likewise.
26356 (bsloww2): Likewise.
26357 (cslow2): Likewise.
26358 (csloww): Likewise.
26359 (csloww1): Likewise.
26360 (csloww2): Likewise.
26361 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26362 range_reduce. Merge in __mpsin1.
26363 (__mpcos): Likewise.
26364 (__mpsin1): Remove.
26365 (__mpcos1): Likewise.
26367 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26369 * locale/loadlocale.c (_nl_intern_locale_data): Use
26371 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26372 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26373 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26374 obstack data is appropriately aligned.
26375 (obstack_int32_grow_fast): Likewise.
26376 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26377 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26378 (add_locale_uint32_array): Likewise.
26380 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26382 * benchtests/Makefile: Remove ARGLIST and RET variables.
26383 ($(objpfx)bench-%.c): Pass only function name to the script.
26384 * benchtests/README: Update documentation.
26385 * benchtests/acos-inputs: Add new directives.
26386 * benchtests/acosh-inputs: Likewise.
26387 * benchtests/asin-inputs: Likewise.
26388 * benchtests/asinh-inputs: Likewise.
26389 * benchtests/atan-inputs: Likewise.
26390 * benchtests/atanh-inputs: Likewise.
26391 * benchtests/cos-inputs: Likewise.
26392 * benchtests/cosh-inputs: Likewise.
26393 * benchtests/exp-inputs: Likewise.
26394 * benchtests/log-inputs: Likewise.
26395 * benchtests/pow-inputs: Likewise.
26396 * benchtests/rint-inputs: Likewise.
26397 * benchtests/sin-inputs: Likewise.
26398 * benchtests/sinh-inputs: Likewise.
26399 * benchtests/tan-inputs: Likewise.
26400 * benchtests/tanh-inputs: Likewise.
26401 * scripts/bench.pl: Add support for new directives.
26403 2013-10-07 Alan Modra <amodra@gmail.com>
26405 * README: Fix careless merge.
26407 2013-10-05 Alan Modra <amodra@gmail.com>
26409 * NEWS: Mention powerpc64le support and bugs fixed.
26410 * README: Both big-endian and little-endian powerpc64 supported.
26412 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26414 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26415 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26416 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26417 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26419 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26421 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26424 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26426 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26427 Move -mhard-float appending from
26428 ports/sysdeps/powerpc/powerpc32/Makefile.
26429 [$(with-fp) = yes] (ASFLAGS): Likewise.
26430 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26431 * sysdeps/powerpc/nofpu: Move directory from
26432 ports/sysdeps/powerpc/nofpu.
26433 * sysdeps/powerpc/soft-fp: Move directory from
26434 ports/sysdeps/powerpc/soft-fp.
26435 * sysdeps/powerpc/powerpc32/405: Move directory from
26436 ports/sysdeps/powerpc/powerpc32/405.
26437 * sysdeps/powerpc/powerpc32/440: Move directory from
26438 ports/sysdeps/powerpc/powerpc32/440.
26439 * sysdeps/powerpc/powerpc32/464: Move directory from
26440 ports/sysdeps/powerpc/powerpc32/464.
26441 * sysdeps/powerpc/powerpc32/476: Move directory from
26442 ports/sysdeps/powerpc/powerpc32/476.
26443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26444 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26446 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26448 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26450 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26452 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26453 * README: Update for powerpc-*-linux-gnu software floating point
26456 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26457 case to powerpc/powerpc32*.
26458 * sysdeps/unix/sysv/linux/configure: Regenerated.
26460 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26461 (_FPU_MASK_OM): Define as 0x04.
26462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26467 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26470 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26473 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26476 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26477 and setcontext_e500.
26479 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26481 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26483 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26485 * manual/threads.texi (Default Thread Attributes): Fix typo.
26487 2013-10-04 Will Newton <will.newton@linaro.org>
26489 * malloc/Makefile: Add tst-memalign.
26490 * malloc/tst-memalign.c: New file.
26492 * malloc/tst-posix_memalign.c: Add comments.
26493 (do_test): Add comments and call free on all potentially
26494 allocated pointers. Add space after cast.
26496 * malloc/tst-pvalloc.c: Add comments.
26497 (do_test): Add comments and call free on all potentially
26498 allocated pointers. Remove duplicate check for NULL pointer.
26499 Add space after cast.
26501 * malloc/tst-valloc.c: Add comments.
26502 (do_test): Add comments and call free on all potentially
26503 allocated pointers. Remove duplicate check for NULL pointer.
26504 Add space after cast.
26506 2013-10-04 Alan Modra <amodra@gmail.com>
26508 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26509 Use stdint types in rather than __attribute__((mode())).
26510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26512 2013-10-04 Alan Modra <amodra@gmail.com>
26514 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26515 Correct handling of unaligned relocs for little-endian.
26516 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26518 2013-10-04 Alan Modra <amodra@gmail.com>
26520 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26521 * configure: Regenerate.
26522 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26523 * shlib-versions: Likewise.
26525 2013-10-04 Alan Modra <amodra@gmail.com>
26527 * string/tester.c (test_memrchr): Increment reported test cycle.
26529 2013-10-04 Alan Modra <amodra@gmail.com>
26531 * string/test-memcpy.c (do_one_test): When reporting errors, print
26532 string address and don't overrun end of string.
26534 2013-10-04 Alan Modra <amodra@gmail.com>
26536 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26537 insrdi. Make better use of reg selection to speed exit slightly.
26538 Schedule entry path a little better. Remove useless "are we done"
26539 checks on entry to main loop. Handle wrapping around zero address.
26540 Correct main loop count. Handle single left-over word from main
26541 loop inline rather than by using loop_small. Remove extra word
26542 case in loop_small caused by wrong loop count. Add little-endian
26544 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26545 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26547 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26548 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26549 support. Avoid rlwimi.
26550 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26552 2013-10-04 Alan Modra <amodra@gmail.com>
26554 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26555 insrdi. Formatting.
26556 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26557 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26558 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26559 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26560 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26561 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26563 2013-10-04 Alan Modra <amodra@gmail.com>
26565 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26566 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26567 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26568 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26569 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26570 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26571 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26572 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26573 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26574 use of regs. Use power7 mtocrf. Tidy function tails.
26576 2013-10-04 Alan Modra <amodra@gmail.com>
26578 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26579 Formatting. Consistently use rXXX register defines or rN defines.
26580 Use early exit labels that avoid restoring unused non-volatile regs.
26581 Make cr field use more consistent with rWORDn compares. Rename
26582 regs used as shift registers for unaligned loop, using rN defines
26583 for short lifetime/multiple use regs.
26584 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26585 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26586 addi 1,1,64 to pop stack frame. Simplify return value code.
26587 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26589 2013-10-04 Alan Modra <amodra@gmail.com>
26591 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26592 support. Correct typos, formatting. Optimize tail. Use insrdi
26593 rather than rlwimi.
26594 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26595 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26596 little-endian support. Correct typos.
26597 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26598 rather than rlwimi.
26599 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26600 in loop and entry code to keep "and." results.
26601 (strchr): Add little-endian support. Comment. Move cntlzd
26603 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26605 2013-10-04 Alan Modra <amodra@gmail.com>
26607 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26608 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26609 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26610 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26612 2013-10-04 Alan Modra <amodra@gmail.com>
26614 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26615 (rTMP): Define as r11.
26616 (strcmp): Add little-endian support. Optimise tail.
26617 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26618 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26619 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26620 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26621 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26622 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26623 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26625 2013-10-04 Alan Modra <amodra@gmail.com>
26627 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26628 little-endian support. Remove unnecessary "are we done" tests.
26629 Handle "s" wrapping around zero and extremely large "size".
26630 Correct main loop count. Handle single left-over word from main
26631 loop inline rather than by using small_loop. Correct comments.
26632 Delete "zero" tail, use "end_max" instead.
26633 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26635 2013-10-04 Alan Modra <amodra@gmail.com>
26637 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26638 support. Don't branch over align.
26639 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26640 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26641 support. Rearrange tmp reg use to suit. Comment.
26642 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26644 2013-10-04 Alan Modra <amodra@gmail.com>
26646 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26648 2013-10-04 Alan Modra <amodra@gmail.com>
26650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26651 conditional form of branch and link when obtaining pc.
26652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26654 2013-10-04 Alan Modra <amodra@gmail.com>
26656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26661 2013-10-04 Alan Modra <amodra@gmail.com>
26663 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26664 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26665 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26666 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26667 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26668 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26669 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26670 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26671 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26672 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26674 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26675 Alistair Popple <alistair@ozlabs.au.ibm.com>
26676 Alan Modra <amodra@gmail.com>
26679 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26680 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26681 _dl_hwcap access for little-endian.
26682 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26683 destroy vmx regs when saving unaligned.
26684 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26685 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26686 destroy vmx regs when saving unaligned.
26688 2013-10-04 Alan Modra <amodra@gmail.com>
26690 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26691 Don't use a union to pack hi/low value.
26693 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26695 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26697 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26698 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26699 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26700 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26701 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26703 2013-10-04 Alan Modra <amodra@gmail.com>
26705 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26706 constants to usual value for .cst8 section, and remove redundant
26708 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26709 constant for 0x1p52. Load little-endian words of double from
26710 correct stack offsets.
26712 2013-10-04 Alan Modra <amodra@gmail.com>
26714 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26715 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26716 words of double from correct stack offsets.
26717 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26718 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26719 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26720 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26721 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26722 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26723 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26724 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26725 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26726 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26727 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26728 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26729 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26730 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26731 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26732 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26733 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26735 2013-10-04 Alan Modra <amodra@gmail.com>
26737 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26738 64-bit int/double union.
26739 (_FPU_SETCW): Likewise.
26740 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26741 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26743 2013-10-04 Alan Modra <amodra@gmail.com>
26745 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26746 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26748 2013-10-04 Alan Modra <amodra@gmail.com>
26750 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26751 use vector int constants.
26752 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26754 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26756 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26757 array with long long.
26758 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26759 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26760 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26761 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26762 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26763 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26764 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26765 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26766 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26767 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26768 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26769 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26770 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26772 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26774 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26775 (__signbit): Likewise. Correct for little-endian.
26776 (__signbitl): Call __signbit.
26777 (lrint): Correct for little-endian.
26778 (lrintf): Call lrint.
26780 2013-10-04 Alan Modra <amodra@gmail.com>
26782 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26783 union 32-bit int array member with 64-bit int array.
26784 (t515, tm256): Double rather than long double.
26785 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26787 2013-10-04 Alan Modra <amodra@gmail.com>
26789 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26791 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26792 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26793 version of math_ldbl.h.
26795 2013-10-04 Alan Modra <amodra@gmail.com>
26797 [BZ #15734], [BZ #15735]
26798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26799 all uses of ieee875 long double macros and unions. Simplify test
26800 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26801 ldbl_extract_mantissa value for ix,iy exponents. Properly
26802 normalize after ldbl_extract_mantissa, and don't add hidden bit
26803 already handled. Don't treat low word of ieee854 mantissa like
26804 low word of IBM long double and mask off bit when testing for
26806 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26807 all uses of ieee875 long double macros and unions. Simplify tests
26808 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26809 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26810 two1022, instead use their values. Recognise that tests for large
26811 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26812 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26813 Rewrite all uses of ieee875 long double macros and unions. Simplify
26814 test for 0.0L and nan. Correct negation.
26815 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26816 ieee875 long double macros and unions. Correct output for large
26817 magnitude x. Correct absolute value calculation.
26818 (__erfcl): Likewise.
26819 * math/libm-test.inc: Add tests for errors discovered in IBM long
26820 double versions of fmodl, remainderl, erfl and erfcl.
26822 2013-10-04 Alan Modra <amodra@gmail.com>
26824 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26825 all uses of ieee854 long double macros and unions. Simplify tests
26826 for long doubles that are fully specified by the high double.
26827 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26829 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26830 Remove dead code too.
26831 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26832 (__ieee754_ynl): Likewise.
26833 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26834 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26835 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26836 Remove dead code too.
26837 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26838 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26839 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26840 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26842 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26844 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26845 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26846 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26847 Comment on variable precision.
26848 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26849 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26851 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26852 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26853 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26854 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26855 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26857 2013-10-04 Alan Modra <amodra@gmail.com>
26859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26860 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26861 all uses of ieee854 long double macros and unions.
26862 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26864 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26865 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26866 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26867 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26869 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26870 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26871 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26872 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26873 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26874 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26875 Simplify sign and nan test too.
26876 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26877 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26878 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26879 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26881 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26882 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26885 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26886 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26887 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26888 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26889 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26891 2013-10-04 Alan Modra <amodra@gmail.com>
26893 * stdio-common/printf_size.c (__printf_size): Don't use
26894 union ieee854_long_double in fpnum union.
26895 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26896 signbit macro to retrieve sign from long double.
26897 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26898 retrieve sign from long double.
26899 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26900 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26901 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26902 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26903 * math/test-misc.c (main): Don't use union ieee854_long_double.
26905 2013-10-04 Alan Modra <amodra@gmail.com>
26908 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26909 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26910 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26911 calculation. Remove unnecessary test for denormal exponent.
26912 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26913 Correct handling of denormals. Avoid undefined shift behaviour.
26914 Correct normalisation of low mantissa when low double is denormal.
26915 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26916 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26917 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26918 Correct normalisation of low mantissa. Test for overflow of high
26919 mantissa and normalise.
26920 (ldbl_nearbyint): Use more readable constant for two52.
26921 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26922 (__mpn_construct_long_double): Fix test for overflow of high
26923 mantissa and correct normalisation. Avoid undefined shift.
26925 2013-10-04 Alan Modra <amodra@gmail.com>
26927 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26928 (union ibm_extended_long_double): Define as an array of ieee754_double.
26929 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26930 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26931 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26932 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26933 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26934 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26936 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26938 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26939 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26941 2013-10-03 Joseph Myers <joseph@codesourcery.com>
26943 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26944 page size instead of calling getpagesize.
26946 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26947 (LOCFILE_ALIGN_MASK): Likewise.
26948 (LOCFILE_ALIGN_UP): Likewise.
26949 (LOCFILE_ALIGNED_P): Likewise.
26950 * locale/programs/ld-collate.c (collate_output): Use the new
26951 macros instead of __alignof__ (int32_t).
26952 * locale/weight.h (findidx): Likewise.
26954 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
26957 * manual/string.texi: Fix strncat and wcsncat.
26959 2013-10-03 Brooks Moses <bmoses@google.com>
26962 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26963 * Makerules: ...here, and adjust associated comments.
26965 2013-10-02 Will Newton <will.newton@linaro.org>
26967 * malloc/Makefile: Add tst-pvalloc.
26968 * malloc/tst-pvalloc.c: New file.
26970 2013-10-02 Will Newton <will.newton@linaro.org>
26972 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26973 improve test coverage.
26975 2013-10-02 Will Newton <will.newton@linaro.org>
26977 * malloc/Makefile: Add tst-posix_memalign.
26978 * malloc/tst-posix_memalign.c: New file.
26980 2013-10-01 Eric Blake <eblake@redhat.com>
26982 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26983 Use __THROWNL rather than __THROW on static functions.
26985 2013-09-30 Petr Machata <pmachata@redhat.com>
26987 * elf/elf.h (R_AARCH64_ABS16): New macro.
26988 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26989 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26990 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26991 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26992 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26993 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26994 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26995 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26996 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26997 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26998 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26999 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27000 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27001 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27002 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27003 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27004 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27005 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27006 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27007 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27008 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27009 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27010 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27011 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27012 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27013 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27014 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27015 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27016 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27017 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27018 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27019 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27020 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27021 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27022 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27023 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27024 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27025 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27026 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27027 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27028 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27029 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27030 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27031 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27032 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27033 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27034 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27035 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27036 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27037 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27038 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27039 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27040 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27041 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27042 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27043 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27044 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27045 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27046 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27047 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27048 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27049 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27050 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27051 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27052 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27053 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27054 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27055 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27056 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27057 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27058 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27059 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27060 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27061 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27062 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27063 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27064 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27065 (R_AARCH64_TLSDESC_LDR): Likewise.
27066 (R_AARCH64_TLSDESC_ADD): Likewise.
27067 (R_AARCH64_TLSDESC_CALL): Likewise.
27069 2013-09-30 Andreas Schwab <schwab@suse.de>
27072 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27073 the nss database lookup.
27074 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27077 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27079 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27081 2013-09-28 P. J. McDermott <pj@pehjota.net>
27083 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27084 ${Bash-specific parameter/pattern/string} parameter expansion.
27085 * sysdeps/unix/make-syscalls.sh: Likewise.
27087 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27089 * sysdeps/sh/stackguard-macros.h: New file.
27091 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27095 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27096 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27097 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27098 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27100 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27102 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27103 Fix thread ID register.
27105 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27107 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27108 [POSIX || UNIX98]: Require rather than permitting all symbols from
27110 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27111 element of struct sched_param.
27112 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27113 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27114 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27115 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27118 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27120 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27121 argument calculation.
27123 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27125 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27127 [POSIX] (pthread_attr_t): Do not require type.
27128 [POSIX] (pthread_cond_t): Likewise.
27129 [POSIX] (pthread_condattr_t): Likewise.
27130 [POSIX] (pthread_key_t): Likewise.
27131 [POSIX] (pthread_mutex_t): Likewise.
27132 [POSIX] (pthread_mutexattr_t): Likewise.
27133 [POSIX] (pthread_once_t): Likewise.
27134 [POSIX] (pthread_t): Likewise.
27135 [POSIX-based standards] (pthread_atfork): Expect function.
27137 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27138 Richard Sandiford <richard@codesourcery.com>
27140 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27141 (swap_endianness_p): New extern variable.
27142 (set_big_endian): New inline function.
27143 (maybe_swap_uint32): Likewise.
27144 (maybe_swap_uint32_array): Likewise.
27145 (maybe_swap_uint32_obstack): Likewise.
27146 * locale/programs/locfile.c: Include <stdbool.h>.
27147 (swap_endianness_p): New variable.
27148 (add_locale_uint32): Call maybe_swap_uint32.
27149 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27150 (write_locale_data): Call maybe_swap_uint32_array.
27151 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27153 (obstack_int32_grow_fast): Likewise.
27154 (output_weightwc): Call maybe_swap_uint32_obstack.
27155 (collate_output): Likewise.
27156 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27157 (OPT_LITTLE_ENDIAN): Likewise.
27158 (options): Add --little-endian and --big-endian options.
27159 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27160 * locale/programs/locarchive.c: Include "locfile.h".
27164 (create_archive): Use the new macros to access fields of
27165 structures directly mapped from or written to locale archives.
27166 (oldlocrecentcmp): Likewise.
27167 (enlarge_archive): Likewise.
27168 (insert_name): Likewise.
27169 (add_alias): Likewise.
27170 (add_locale): Likewise.
27171 (delete_locales_from_archive): Likewise.
27172 (show_archive_content): Likewise.
27173 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27176 2013-09-24 Roland McGrath <roland@hack.frob.com>
27178 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27179 http://www.gnu.org/doc/freemanuals.texi.
27180 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27182 2013-09-24 Will Newton <will.newton@linaro.org>
27184 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27187 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27189 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27192 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27194 * manual/threads.texi (POSIX Threads): Fix a typo.
27196 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27199 * string/tst-strcoll-overflow.c: New test case.
27200 * string/Makefile (xtests): Add tst-strcoll-overflow.
27201 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27202 cache if string sizes may cause integer overflow.
27205 * string/strcoll_l.c (coll_seq): New members rule, idx,
27206 save_idx and back_us.
27207 (get_next_seq_nocache): New function.
27208 (do_compare_nocache): New function.
27209 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27212 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27215 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27216 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27217 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27220 * elf/Makefile (tests): Add tst-ptrguard1.
27221 (tests-static): Add tst-ptrguard1-static.
27222 (tst-ptrguard1-ARGS): Define.
27223 (tst-ptrguard1-static-ARGS): Define.
27224 * elf/tst-ptrguard1.c: New file.
27225 * elf/tst-ptrguard1-static.c: New file.
27226 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27227 * sysdeps/i386/stackguard-macros.h: Likewise.
27228 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27229 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27230 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27231 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27232 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27233 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27235 2013-09-23 Hector Marco <hecmargi@upv.es>
27236 Ismael Ripoll <iripoll@disca.upv.es>
27237 Carlos O'Donell <carlos@redhat.com>
27240 * sysdeps/generic/stackguard-macros.h: Define
27241 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27242 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27243 Define __pointer_chk_guard_local.
27244 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27245 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27247 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27250 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27252 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27254 * include/string.h (__ffs): Declare as hidden.
27255 * string/ffs.c (__ffs): Define as hidden.
27256 * sysdeps/i386/ffs.c (__ffs): Likewise.
27257 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27258 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27259 * sysdeps/s390/ffs.c (__ffs): Likewise.
27260 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27262 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27264 * NEWS: Mention malloc probes.
27266 * malloc/arena.c (new_heap): New memory_heap_new probe.
27267 (grow_heap): New memory_heap_more probe.
27268 (shrink_heap): New memory_heap_less probe.
27269 (heap_trim): New memory_heap_free probe.
27270 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27271 (systrim): New memory_sbrk_less probe.
27272 * manual/probes.texi: Document them.
27274 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27275 * manual/probes.texi: Document it.
27277 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27278 (__libc_realloc): Add memory_realloc_retry probe.
27279 (__libc_memalign): Add memory_memalign_retry probe.
27280 (__libc_valloc): Add memory_valloc_retry probe.
27281 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27282 (__libc_calloc): Add memory_calloc_retry probe.
27283 * manual/probes.texi: Document them.
27285 * malloc/arena.c (get_free_list): Add probe
27286 memory_arena_reuse_free_list.
27287 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27288 and memory_arena_reuse.
27289 (arena_get2) [!PER_THREAD]: Likewise.
27290 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27291 memory_arena_reuse_realloc.
27292 * manual/probes.texi: Document them.
27294 * malloc/malloc.c (__libc_free): Add
27295 memory_mallopt_free_dyn_thresholds probe.
27296 (__libc_mallopt): Add multiple memory_mallopt probes.
27297 * manual/probes.texi: Document them.
27299 * malloc/malloc.c: Include stap-probe.h.
27300 (__libc_mallopt): Add memory_mallopt probe.
27301 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27302 * manual/probes.texi: New.
27303 * manual/Makefile (chapters): Add probes.
27304 * manual/threads.texi: Set next node.
27306 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27308 [BZ #15963, #13985]
27309 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27310 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27311 Add `Chinese' to `nan' entry name.
27313 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27315 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27316 (POLYNOMIAL): Likewise.
27317 (TAYLOR_SINCOS): Likewise.
27318 (TAYLOR_SLOW): Likewise.
27319 (__sin): Use TAYLOR_SINCOS.
27321 (slow): Use TAYLOR_SLOW.
27323 (bsloww): Likewise.
27324 (csloww): Likewise.
27326 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27328 * stdlib/strtod_l.c: Fix buffer overrun.
27330 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27332 * benchtests/Makefile (bench): Add sincos.
27333 * benchtests/bench-sincos.c: New file.
27335 * math/libm-test.inc (cos_test_data): New test inputs.
27336 (sin_test_data): Likewise.
27338 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27344 (sloww1): Likewise.
27345 (sloww2): Likewise.
27346 (bsloww1): Likewise.
27347 (bsloww2): Likewise.
27348 (cslow2): Likewise.
27349 (csloww1): Likewise.
27350 (csloww2): Likewise.
27352 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27357 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27361 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27363 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27364 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27365 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27366 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27367 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27368 * elf/cache.c (print_entry): Handle the new cache flags.
27370 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27371 Aldy Hernandez <aldyh@redhat.com>
27373 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27374 Change condition to [_SOFT_FLOAT].
27375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27382 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27387 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27390 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27393 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27395 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27396 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27397 (__longjmp): Use LOAD_GP to load saved GPRs.
27398 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27399 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27400 (__sigsetjmp): Use SAVE_GP to save GPRs.
27402 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27403 Do not append -msoft-float.
27404 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27406 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27408 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27410 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27413 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27414 (_FPU_GETCW): Use initial "__" on variable and field names but not
27415 on macro parameter name.
27416 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27417 parentheses around reference to macro parameter.
27419 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27421 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27423 (ctype_startup): Use uint32_t in cast and sizeof for
27426 2013-09-11 Jia Liu <proljc@gmail.com>
27428 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27430 [__FreeBSD__]: Likewise.
27432 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27435 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27436 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27437 (strchr): Remove __strchr_sse42 ifunc selection.
27438 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27439 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27441 2013-09-11 Will Newton <will.newton@linaro.org>
27443 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27444 parameter to RES. Remove hardcoded 1000 value.
27445 * benchtests/bench-skeleton.c (main): Pass RES parameter
27446 to TIMING_INIT and multiply result by 1000.
27448 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27452 2013-09-11 Andreas Schwab <schwab@suse.de>
27454 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27456 (O_TMPFILE) [__USE_GNU]: Define.
27457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27460 2013-09-11 Will Newton <will.newton@linaro.org>
27463 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27466 2013-09-11 Will Newton <will.newton@linaro.org>
27469 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27472 2013-09-11 Will Newton <will.newton@linaro.org>
27475 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27478 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27480 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27481 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27482 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27483 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27484 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27486 2013-09-10 Allan McRae <allan@archlinux.org>
27489 * manual/arith.texi (Parsing of Floats): Clarify
27493 * manual/install.texi (Running make install): Mention
27495 * INSTALL: Regenerated.
27497 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27499 * csu/init-first.c (_init): Remove the !SHARED condition around
27500 FPU control word initialization.
27501 * elf/dl-support.c (_dl_fpu_control): New variable.
27502 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27503 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27504 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27505 * math/test-fpucw-static.c: New file.
27506 * math/test-fpucw-ieee.c: New file.
27507 * math/test-fpucw-ieee-static.c: New file.
27508 * math/Makefile (tests): Add `test-fpucw-ieee' and
27510 (tests-static): New variable.
27511 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27513 [($(build-shared),yes)]
27514 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27516 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27519 2013-09-09 Allan McRae <allan@archlinux.org>
27522 * manual/string.texi (Collation Functions): Fix typo in
27524 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27527 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27530 * libio/memstream.c (open_memstream): Fix memory leak.
27531 * libio/wmemstream.c (open_wmemstream): Likewise.
27534 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27536 2013-09-09 Will Newton <will.newton@linaro.org>
27538 * malloc/Makefile: Add tst-realloc to tests.
27539 * malloc/tst-realloc.c: New file.
27541 2013-09-09 Allan McRae <allan@archlinux.org>
27544 * COPYING: Update from GNU website to fix FSF address.
27545 * COPYING.LIB: Likewise.
27547 2013-09-06 David S. Miller <davem@davemloft.net>
27549 * po/zh_TW.po: Update Chinese (traditional) translation from
27550 translation project.
27552 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27553 Joseph Myers <joseph@codesourcery.com>
27555 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27557 (obstack_chunk_alloc): New macro.
27558 (obstack_chunk_free): Likewise.
27559 (record_offset): New function.
27560 (init_locale_data): Likewise.
27561 (align_locale_data): Likewise.
27562 (add_locale_empty): Likewise.
27563 (add_locale_raw_data): Likewise.
27564 (add_locale_raw_obstack): Likewise.
27565 (add_locale_string): Likewise.
27566 (add_locale_wstring): Likewise.
27567 (add_locale_uint32): Likewise.
27568 (add_locale_uint32_array): Likewise.
27569 (add_locale_char): Likewise.
27570 (start_locale_structure): Likewise.
27571 (end_locale_structure): Likewise.
27572 (start_locale_prelude): Likewise.
27573 (end_locale_prelude): Likewise.
27574 (write_locale_data): Take locale_file structure rather than an
27576 * locale/programs/locfile.h: Include "obstack.h".
27577 (struct locale_file): Change to store locale file contents instead
27579 (init_locale_data): New prototype.
27580 (align_locale_data): Likewise.
27581 (add_locale_empty): Likewise.
27582 (add_locale_raw_data): Likewise.
27583 (add_locale_raw_obstack): Likewise.
27584 (add_locale_string): Likewise.
27585 (add_locale_wstring): Likewise.
27586 (add_locale_uint32): Likewise.
27587 (add_locale_uint32_array): Likewise.
27588 (add_locale_char): Likewise.
27589 (start_locale_structure): Likewise.
27590 (end_locale_structure): Likewise.
27591 (start_locale_prelude): Likewise.
27592 (end_locale_prelude): Likewise.
27593 (write_locale_data): Update prototype.
27594 * locale/programs/3level.h (struct TABLE): Remove result field.
27595 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27596 Use new locale_file interface.
27597 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27598 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27599 * locale/programs/ld-address.c (address_output): Use new
27600 locale_file interface.
27601 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27603 (collate_finish): Don't call collseq_table_finalize.
27604 (collate_output): Use new locale_file interface.
27605 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27607 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27608 (TABLE): Move defines earlier in file.
27609 (ELEMENT): Likewise.
27610 (DEFAULT): Likewise.
27611 (wctrans_table_add): Move macro and inline function earlier in
27613 (struct wctype_table): Move type earlier in file.
27614 (add_locale_wctype_table): New static prototype.
27615 (struct locale_ctype_t): Use logical types instead of struct iovec
27616 pointers for members.
27617 (ctype_output): Use new locale_file interface.
27618 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27619 new locale_file interface.
27620 (allocate_arrays): Update for use of new locale_file interface.
27621 * locale/programs/ld-identification.c (identification_output): Use
27622 new locale_file interface.
27623 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27624 * locale/programs/ld-messages.c (messages_output): Likewise.
27625 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27626 * locale/programs/ld-name.c (name_output): Likewise.
27627 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27628 * locale/programs/ld-paper.c (paper_output): Likewise.
27629 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27630 * locale/programs/ld-time.c (time_output): Likewise.
27632 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27634 * benchtests/Makefile: Add memrchr benchmark.
27635 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27636 benchmark as memrchr.
27637 * benchtests/bench-memrchr-ifunc.c: New file.
27638 * benchtests/bench-memrchr.c: New file.
27640 2013-09-06 Will Newton <will.newton@linaro.org>
27642 * benchtests/Makefile (string-bench): Add memcpy.
27644 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27645 Cong Wang <amwang@redhat.com>
27648 * sysdeps/unix/sysv/linux/bits/in.h
27649 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27650 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27651 before __USE_KERNEL_IPV6_DEFS uses.
27652 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27654 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27655 sockaddr_in6, or ipv6_mreq.
27657 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27659 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27660 memory access for final bytes in some large inputs.
27661 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27663 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27665 * string/test-memrchr.c: New file.
27666 * string/test-memrchr-ifunc.c: New file.
27667 * string/Makefile: Add new memrchr testcase.
27669 2013-09-05 Mike Frysinger <vapier@gentoo.org>
27671 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27672 fanotify_init returns EPERM.
27674 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27676 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27678 (top level): Treat second token from macro or constant entries for
27679 allowed headers as allowed.
27680 * include/complex.h: Condition internal declarations on
27682 * include/fenv.h: Condition include of <stdbool.h> and internal
27683 declarations on [!_ISOMAC].
27685 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27688 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27690 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27692 * configure.in (--enable-versioning): Remove configure option.
27693 (libc_cv_asm_symver_directive): Remove configure test.
27694 (libc_cv_ld_version_script_option): Likewise.
27695 (VERSIONING): Remove variable and AC_SUBST.
27696 (DO_VERSIONING): Remove AC_DEFINE.
27697 * configure: Regenerated.
27698 * config.h.in (DO_VERSIONING): Remove macro.
27699 * Makerules [$(versioning) = yes]: Change conditionals to
27700 [$(build-shared) = yes].
27701 * config.make.in (versioning): Remove variable.
27702 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27703 [$(build-shared) = yes].
27704 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27705 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27706 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27707 [$(build-shared) = yes].
27708 * extra-lib.mk [$(versioning) = yes]: Likewise.
27709 * hurd/Makefile [$(versioning) = yes]: Likewise.
27710 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27712 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27714 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27715 [SHARED && !NO_HIDDEN].
27716 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27718 [SHARED && DO_VERSIONING]: Likewise..
27719 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27720 [$(build-shared) = yes].
27721 * manual/install.texi (--disable-versioning): Remove
27723 * INSTALL: Regenerated.
27724 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27726 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27727 [$(build-shared) = yes].
27728 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27729 * sysdeps/i386/i686/multiarch/strstr-c.c
27730 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27731 [SHARED && !NO_HIDDEN].
27732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27733 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27734 * sysdeps/powerpc/powerpc32/dl-machine.c
27735 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27736 * sysdeps/powerpc/powerpc32/sysdep.h
27737 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27738 to [SHARED && PIC && !NO_HIDDEN].
27739 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27740 conditional to [SHARED].
27742 2013-09-04 Will Newton <will.newton@linaro.org>
27744 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27745 * benchtests/bench-string.h: Include bench-timing.h instead
27746 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27747 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27748 call to HP_TIMING_DIFF_INIT.
27749 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27750 instead of hp-timing.h macros.
27751 * benchtests/bench-memchr.c: Likewise.
27752 * benchtests/bench-memcmp.c: Likewise.
27753 * benchtests/bench-memcpy.c: Likewise.
27754 * benchtests/bench-memmem.c: Likewise.
27755 * benchtests/bench-memmove.c: Likewise.
27756 * benchtests/bench-memset.c: Likewise.
27757 * benchtests/bench-rawmemchr.c: Likewise.
27758 * benchtests/bench-strcasecmp.c: Likewise.
27759 * benchtests/bench-strcasestr.c: Likewise.
27760 * benchtests/bench-strcat.c: Likewise.
27761 * benchtests/bench-strchr.c: Likewise.
27762 * benchtests/bench-strcmp.c: Likewise.
27763 * benchtests/bench-strcpy.c: Likewise.
27764 * benchtests/bench-strcpy_chk.c: Likewise.
27765 * benchtests/bench-strlen.c: Likewise.
27766 * benchtests/bench-strncasecmp.c: Likewise.
27767 * benchtests/bench-strncat.c: Likewise.
27768 * benchtests/bench-strncmp.c: Likewise.
27769 * benchtests/bench-strncpy.c: Likewise.
27770 * benchtests/bench-strnlen.c: Likewise.
27771 * benchtests/bench-strpbrk.c: Likewise.
27772 * benchtests/bench-strrchr.c: Likewise.
27773 * benchtests/bench-strspn.c: Likewise.
27774 * benchtests/bench-strstr.c: Likewise.
27776 2013-09-04 Will Newton <will.newton@linaro.org>
27778 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27780 2013-09-03 Joseph Myers <joseph@codesourcery.com>
27783 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27784 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27785 * math/libm-test.inc (lgamma_test_data): Add more tests.
27786 * sysdeps/i386/fpu/libm-test-ulps: Update.
27787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27789 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
27791 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27795 Add strcmp-sse2-unaligned
27796 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27798 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27800 * Versions.def (libc): Add GLIBC_2.19.
27802 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27804 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27805 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27807 2013-09-02 Joseph Myers <joseph@codesourcery.com>
27810 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27811 intermediate calculations in recurrence.
27812 (__ieee754_ynf): Likewise.
27813 * math/libm-test.inc (jn_test_data): Do not allow spurious
27814 underflow exception. Add more tests.
27815 (yn_test_data): Add more tests.
27816 * sysdeps/i386/fpu/libm-test-ulps: Update.
27817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27819 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
27821 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27823 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27825 * csu/init-first.c: Fix then/than typos.
27826 * locale/programs/ld-collate.c: Likewise.
27827 * locale/programs/linereader.h: Likewise.
27828 * manual/charset.texi: Likewise.
27829 * manual/filesys.texi: Likewise.
27830 * manual/stdio.texi: Likewise.
27831 * manual/string.texi: Likewise.
27832 * stdlib/fmtmsg.c: Likewise.
27833 * sysdeps/i386/stpncpy.S: Likewise.
27834 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27835 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27836 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27837 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27839 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27841 * elf/dl-open.c: Fix typos.
27842 * iconvdata/gbbig5.c: Likewise.
27843 * iconvdata/iso-2022-jp.c: Likewise.
27844 * iconv/gconv_int.h: Likewise.
27845 * iconv/loop.c: Likewise.
27846 * nis/rpcsvc/nis.h: Likewise.
27847 * resolv/ns_name.c: Likewise.
27848 * stdio-common/vfscanf.c: Likewise.
27849 * streams/stropts.h: Likewise.
27850 * sunrpc/rpc_thread.c: Likewise.
27851 * sysdeps/i386/strpbrk.S: Likewise.
27852 * sysdeps/ieee754/k_standard.c: Likewise.
27853 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27854 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27855 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27856 * sysdeps/mach/hurd/profil.c: Likewise.
27857 * sysdeps/s390/dl-procinfo.h: Likewise.
27858 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27859 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27860 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27861 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27862 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27864 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27866 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27869 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27871 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27872 aix specific files.
27873 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27874 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27875 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27876 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27877 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27878 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27879 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27880 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27882 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27883 Roland McGrath <roland@hack.frob.com>
27885 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27886 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27888 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27890 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27891 __executable_start symbol instead of _start.
27893 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27895 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27896 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27898 * sysdeps/gnu/ldsodefs.h: ... this new file.
27900 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27901 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27902 instead of ELFOSABI_LINUX.
27904 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27905 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27906 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27907 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27909 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27910 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27911 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27913 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27914 (ibm_extended_long_double): Add ieee_nan member.
27915 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27916 (do_test): New function.
27918 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27920 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27921 functions, renamed from truncdfsf_test, trunctfsf_test,
27923 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27925 (do_test): Run all these.
27927 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27929 * argp/argp-help.c: Fix typos.
27930 * argp/argp-parse.c: Likewise.
27931 * debug/backtracesyms.c: Likewise.
27932 * elf/elf.h: Likewise.
27933 * malloc/malloc.c: Likewise.
27934 * nis/nis_print.c: Likewise.
27935 * resolv/res_comp.c: Likewise.
27936 * stdlib/stdlib.h: Likewise.
27937 * sunrpc/clnt_tcp.c: Likewise.
27938 * sunrpc/clnt_udp.c: Likewise.
27939 * sunrpc/clnt_unix.c: Likewise.
27940 * sysdeps/unix/bsd/ptsname.c: Likewise.
27941 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27942 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27949 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27951 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27953 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27956 2013-08-27 Mike Frysinger <vapier@gentoo.org>
27959 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27960 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27961 ($(objpfx)bug-dl-leaf): New rule.
27962 ($(objpfx)bug-dl-leaf.so): Likewise.
27963 ($(objpfx)bug-dl-leaf.out): Likewise.
27964 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27965 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27966 * dlfcn/bug-dl-leaf.c: New test.
27967 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27968 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27969 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27970 (dlclose): Likewise.
27971 (dlmopen): Likewise.
27973 2013-08-27 Roland McGrath <roland@hack.frob.com>
27975 * include/netdb.h [!_ISOMAC]:
27976 Don't include <tls.h>.
27977 (h_errno, __libc_h_errno): Move declaration and macros out of
27980 * include/resolv.h [_RESOLV_H_]:
27981 Don't include <tls.h>.
27982 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27983 * resolv/res_libc.c: Don't include <tls.h>.
27984 (_res): Use __attribute__ ((nocommon)) in place of
27985 __attribute__ ((section (".bss"))).
27987 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27988 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27990 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27992 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27993 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27995 * resolv/res_mkquery.c: Include <sys/time.h>.
27997 * inet/ifreq.c: Moved to ...
27998 * sysdeps/unix/ifreq.c: ... here.
27999 * inet/ifreq.c: New file, true stub version.
28001 * socket/sa_len.c: New file.
28002 * socket/Makefile (aux): Add it.
28003 * sysdeps/unix/sysv/linux/Makefile
28004 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28005 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28006 and #include <socket/sa_len.c>.
28007 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28008 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28010 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28011 * bits/socket.h: ... here.
28013 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28014 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28015 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28017 2013-08-27 Andreas Schwab <schwab@suse.de>
28020 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28021 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28022 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28023 * string/test-strcasecmp.c (test_main): Run tests in several
28025 * string/test-strncasecmp.c (test_main): Likewise.
28027 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28028 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28029 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28031 (__strncasecmp_ssse3) [PIC]: Likewise.
28033 2013-08-26 Roland McGrath <roland@hack.frob.com>
28035 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28037 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28038 instead of explicitly declaring xdecrypt.
28039 * nis/nss_nis/nis-publickey.c: Likewise.
28041 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28044 * nscd/aicache.c: Include res_hconf.h.
28045 (addhstaiX): Initialize res_hconf.
28047 2013-08-26 Andreas Schwab <schwab@suse.de>
28049 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28050 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28052 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28054 * nscd/aicache.c (addhstaiX): Fix indentation.
28056 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28058 * configure.ac: Quote $build_pt_chown test.
28059 * configure: Regenerated.
28061 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28064 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28065 * math/s_cexpf.c (__cexpf): Likewise.
28066 * math/s_cexpl.c (__cexpl): Likewise.
28067 * math/libm-test.inc (cexp_test_data): Correct expected return
28068 value for NaN + i0. Add another test.
28070 2013-08-22 David S. Miller <davem@davemloft.net>
28072 * po/ca.po: Update Catalan translation from translation project.
28073 * po/uk.po: Add Ukrainian translations from translation project.
28075 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28078 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28079 is infinite, not alongside NaN test.
28080 * math/s_fdimf.c (__fdimf): Likewise.
28081 * math/s_fdiml.c (__fdiml): Likewise.
28082 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28083 errno is unchanged.
28085 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28087 * argp/argp-help.c: Fix typos.
28088 * crypt/speeds.c: Likewise.
28089 * csu/check_fds.c: Likewise.
28090 * elf/dl-load.c: Likewise.
28091 * elf/dl-open.c: Likewise.
28092 * elf/reldep3.c: Likewise.
28093 * elf/reldep.c: Likewise.
28094 * elf/sprof.c: Likewise.
28095 * iconv/iconv_charmap.c: Likewise.
28096 * iconv/skeleton.c: Likewise.
28097 * iconv/strtab.c: Likewise.
28098 * io/lockf64.c: Likewise.
28099 * libio/libioP.h: Likewise.
28100 * resolv/gai_notify.c: Likewise.
28101 * resolv/ns_name.c: Likewise.
28102 * resolv/ns_samedomain.c: Likewise.
28103 * resolv/res_send.c: Likewise.
28104 * stdlib/random.c: Likewise.
28105 * sunrpc/rpc/xdr.h: Likewise.
28106 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28107 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28108 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28109 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28110 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28111 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28113 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28114 * sysdeps/mach/hurd/check_fds.c: Likewise.
28115 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28116 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28117 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28118 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28119 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28120 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28121 * sysdeps/pthread/aio_notify.c: Likewise.
28122 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28123 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28124 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28125 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28126 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28128 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28130 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28131 version if bit_Slow_SSE4_2 is set.
28132 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28133 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28135 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28138 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28139 trampoline stack frame information.
28140 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28141 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28142 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28143 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28144 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28145 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28146 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28147 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28149 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28150 interrupting a syscall and set with option SA_SIGINFO.
28152 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28155 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28156 argument is infinite.
28157 * math/s_cprojf.c (__cprojf): Likewise.
28158 * math/s_cprojl.c (__cprojl): Likewise.
28159 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28160 * math/libm-test.inc (cproj_test_data): Add more tests.
28162 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28164 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28165 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28166 size. Use __ffs to determine corresponding shift.
28168 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28169 Roland McGrath <roland@hack.frob.com>
28171 * Makefile (INSTALL): Remove trailing blank lines from output of
28174 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28176 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28177 Align 32 bit compat elf_greg to 8 bytes.
28179 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28181 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28183 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28185 * string/strcoll_l.c (coll_seq): New structure.
28186 (get_next_seq_cached): New function.
28187 (get_next_seq): New function.
28188 (do_compare): New function.
28189 (STRCOLL): Use GNU style definition. Simplify implementation
28190 by using get_next_seq, get_next_seq_cached and do_compare.
28192 2013-08-16 Florian Weimer <fweimer@redhat.com>
28196 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28198 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28200 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28201 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28202 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28204 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28205 GETDENTS_64BIT_ALIGNED.
28206 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28207 * manual/filesys.texi (Reading/Closing Directory): Document
28208 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28210 * manual/conf.texi (Limits for Files): Add portability note to
28211 NAME_MAX, PATH_MAX.
28212 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28214 2013-08-13 Andreas Schwab <schwab@suse.de>
28217 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28219 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28220 LDBL_MAX_EXP >= 16384]: Add tests for it.
28222 2013-08-12 David S. Miller <davem@davemloft.net>
28224 * version.h (RELEASE): Set to "development".
28225 (VERSION): Set to "2.18.90".
28226 * NEWS: Add 2.19 section.
28228 2013-08-03 David S. Miller <davem@davemloft.net>
28230 * po/ko.po: Update Korean translation from translation project.
28232 2013-08-01 David S. Miller <davem@davemloft.net>
28234 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28235 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28238 2013-07-30 David S. Miller <davem@davemloft.net>
28240 * po/fr.po: Update French translation from translation project.
28242 2013-07-28 David S. Miller <davem@davemloft.net>
28244 * po/cs.po: Update Czech translation from translation project.
28246 * po/sv.po: Update Swedish translation from translation project.
28248 2013-07-27 David S. Miller <davem@davemloft.net>
28250 * po/eo.po: Update Esperanto translation from translation project.
28252 * po/vi.po: Update Vietnamese translation from translation project.
28254 * po/de.po: Update German translation from translation project.
28256 2013-07-26 David S. Miller <davem@davemloft.net>
28258 * po/bg.po: Update Bulgarian translation from translation project.
28260 * po/nl.po: Update Dutch translation from translation project.
28261 * po/pl.po: Update Polish translation from translation project.
28262 * po/ru.po: Update Russian translation from translation project.
28264 2013-07-24 David S. Miller <davem@davemloft.net>
28266 * po/libc.pot: Update.
28268 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28270 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28271 variable page size.
28272 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28273 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28274 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28276 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28278 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28280 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28281 Andreas Schwab <schwab@suse.de>
28282 Roland McGrath <roland@hack.frob.com>
28283 Joseph Myers <joseph@codesourcery.com>
28284 Carlos O'Donell <carlos@redhat.com>
28287 * config.h.in: Define HAVE_PT_CHOWN.
28288 * config.make.in (build-pt-chown): New variable.
28289 * configure.in (--enable-pt_chown): New configure option.
28290 * configure: Regenerate.
28291 * login/Makefile: Include Makeconfig. Build pt_chown only if
28292 build-pt-chown is enabled.
28293 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28294 pt_chown to fix pty ownership.
28295 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28297 * manual/install.texi (Configuring and compiling): Mention
28298 --enable-pt_chown. Add @findex for grantpt.
28299 * INSTALL: Regenerate.
28301 2013-07-20 David S. Miller <davem@davemloft.net>
28303 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28304 difference between 32-bit and 64-bit.
28306 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28309 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28310 Avoid system header dependency with -ffreestanding.
28311 ($(objpfx)bits/syscall%d): Likewise.
28313 2013-07-13 David S. Miller <davem@davemloft.net>
28315 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28316 underflows from atanl/atan2l due to bug 15319.
28317 (casinh_test_data): Likewise.
28319 2013-07-07 David S. Miller <davem@davemloft.net>
28321 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28323 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28325 * sysdeps/i386/fpu/libm-test-ulps: Update.
28326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28328 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28330 * configure.in (--enable-lock-elision): Fix message text.
28331 * INSTALL: Regenerate.
28332 * configure: Regenerate.
28334 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28338 2013-07-03 Andreas Jaeger <aj@suse.de>
28340 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28342 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28343 (ptrace_peeksiginfo_args): Add.
28344 (__ptrace_peeksiginfo_flags): Add.
28345 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28346 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28347 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28349 2013-07-03 Allan McRae <allan@archlinux.org>
28351 * sysdeps/i386/fpu/libm-test-ulps: Update.
28353 2013-07-02 David S. Miller <davem@davemloft.net>
28355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28357 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28361 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28363 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28366 2013-07-02 Andi Kleen <ak@linux.intel.com>
28368 * config.h.in (ENABLE_LOCK_ELISION): Add.
28369 * configure.in (--enable-lock-elision): Add option.
28370 * manual/install.texi: Document --enable lock elision.
28371 * configure: Regenerate
28372 * INSTALL: Regenerate.
28374 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28376 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28377 SSE4.2 strcasecmp for libc.a.
28378 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28380 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28383 * soft-fp/op-common.h (_FP_FMA): New macro.
28384 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28385 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28386 (_FP_MUL_MEAT_1_imm): ... here.
28387 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28388 (_FP_MUL_MEAT_1_wide): ... here.
28389 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28390 (_FP_MUL_MEAT_1_hard): ... here.
28391 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28392 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28393 (_FP_MUL_MEAT_2_wide): ... here.
28394 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28395 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28396 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28397 (_FP_MUL_MEAT_2_gmp): ... here.
28398 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28399 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28400 (_FP_MUL_MEAT_4_wide): ... here.
28401 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28402 (_FP_MUL_MEAT_4_gmp): ... here.
28403 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28404 (_FP_WFRACBITS_DW_S): Likewise.
28405 (_FP_WFRACXBITS_DW_S): Likewise.
28406 (_FP_HIGHBIT_DW_S): Likewise.
28407 (FP_FMA_S): Likewise.
28408 (_FP_FRAC_HIGH_DW_S): Likewise.
28409 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28410 (_FP_WFRACBITS_DW_D): Likewise.
28411 (_FP_WFRACXBITS_DW_D): Likewise.
28412 (_FP_HIGHBIT_DW_D): Likewise.
28413 (FP_FMA_D): Likewise.
28414 (_FP_FRAC_HIGH_DW_D): Likewise.
28415 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28416 (_FP_WFRACBITS_DW_E): Likewise.
28417 (_FP_WFRACXBITS_DW_E): Likewise.
28418 (_FP_HIGHBIT_DW_E): Likewise.
28419 (FP_FMA_E): Likewise.
28420 (_FP_FRAC_HIGH_DW_E): Likewise.
28421 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28422 (_FP_WFRACBITS_DW_Q): Likewise.
28423 (_FP_WFRACXBITS_DW_Q): Likewise.
28424 (_FP_HIGHBIT_DW_Q): Likewise.
28425 (FP_FMA_Q): Likewise.
28426 (_FP_FRAC_HIGH_DW_Q): Likewise.
28427 * soft-fp/fmasf4.c: New file.
28428 * soft-fp/fmadf4.c: Likewise.
28429 * soft-fp/fmatf4.c: Likewise.
28431 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28434 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28436 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28438 (index_Slow_SSE4_2): Likewise.
28439 (index_Prefer_PMINUB_for_stringop): Likewise.
28440 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28441 bit_Slow_SSE4_2 is set.
28442 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28443 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28445 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28447 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28448 rtld_global._dl_hwcap2.
28449 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28451 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28452 POWER8 feature descriptions defined in _dl_hwcap2.
28453 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28454 string handling for POWER8 feature bits.
28455 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28456 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28457 _dl_powerpc_cap_flags.
28458 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28459 * sysdeps/powerpc/rtld-global-offsets.sym
28460 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28461 _dl_hwcap2 in the rtld_global_ro structure.
28463 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28465 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28466 hardware capabilities in support of AT_HWCAP2.
28467 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28468 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28470 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28471 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28472 explicitly the unknown a_type display mechanism is used.
28473 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28474 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28476 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28477 to macro prototype for AT_HWCAP2 support.
28478 * sysdeps/i386/dl-procinfo.h: Likewise.
28479 * sysdeps/s390/dl-procinfo.h: Likewise.
28480 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28481 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28482 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28483 return -1 for unknown a_type display fallback.
28484 * sysdeps/sparc/dl-procinfo.h: Likewise.
28485 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28486 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28488 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28490 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28491 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28493 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28496 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28497 mprotect making __stack_prot writable.
28499 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28500 Joseph Myers <joseph@codesourcery.com>
28502 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28503 as being properly aligned.
28505 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28507 * dlfcn/modstatic5.c: New file.
28508 * dlfcn/tststatic5.c: New file.
28509 * dlfcn/Makefile (tests): Add tststatic5.
28510 (tests-static): Likewise.
28511 (modules-names): Add modstatic5.
28512 (tststatic5-ENV): New variable.
28513 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28516 * elf/dl-support.c (_dl_main_map): New variable.
28517 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28518 (_dl_nns, _dl_load_adds): Set to 1.
28519 (_dl_initial_searchlist): Refer to _dl_main_map.
28520 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28521 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28522 call to _dl_get_origin.
28523 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28525 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28526 * dlfcn/modstatic3.c: New file.
28527 * dlfcn/tststatic3.c: New file.
28528 * dlfcn/tststatic4.c: New file.
28529 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28530 (tests-static): Likewise.
28531 (modules-names): Add modstatic3.
28532 (tststatic3-ENV, tststatic4-ENV): New variables.
28533 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28534 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28536 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28538 * configure.in (CC): Require GCC version 4.4 or later.
28539 * configure: Regenerated.
28540 * manual/install.texi (Tools for Compilation): Update GCC version
28542 * INSTALL: Regenerated.
28544 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28547 * string/test-memcmp.c (check2): New.
28548 (main): Call check2.
28550 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28552 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28555 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28557 (dl_open_worker) [!SHARED]: ... here.
28559 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28561 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28563 2013-06-25 Richard Henderson <rth@redhat.com>
28565 * locale/programs/locarchive.c: Include <libc-internal.h>
28567 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28569 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28570 trailing whitespace removed.
28572 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28575 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28576 * locale/programs/locarchive.c: Include libc-mmap.h.
28577 (prepare_address_space): Take two new outputs (the mmap base and len).
28578 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28580 (create_archive): Declare new mmap base and len values for
28581 prepare_address_space, and store the result in ah.
28582 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28583 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28584 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28585 Declare new mmap base and len values for
28586 prepare_address_space, and store the result in new_ah.
28587 (open_archive): Declare new mmap base and len values for
28588 prepare_address_space, and store the result in ah.
28589 (close_archive): If ah->mmap_base is not NULL, use that and
28590 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28591 * sysdeps/generic/libc-mmap.h: New file.
28593 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28595 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28596 (ALIGN_UP): Likewise.
28597 (PTR_ALIGN_DOWN): Likewise.
28598 (PTR_ALIGN_UP): Likewise.
28600 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28602 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28603 entry mapped to PPC_PLATFORM_POWER8.
28604 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28606 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28607 (_dl_string_platform): Add case for exporting platform position for
28609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28610 search path to sysdeps/powerpc/powerpc32/power8 directory.
28611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28612 search path to sysdeps/powerpc/powerpc64/power8 directory.
28613 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28614 power7 directories.
28615 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28616 power7 directories.
28618 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28620 * INSTALL: Regenerate.
28622 * nscd/connections.c (nscd_init): Fix comment.
28624 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28626 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28629 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28630 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28632 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28634 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28636 (DL_DST_REQ_STATIC): Remove macro.
28638 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28641 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28642 with a shift of 0 bits.
28644 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28646 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28649 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28652 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28654 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28656 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28657 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28658 accepts -fno-tree-loop-distribute-patterns.
28659 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28660 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28662 * string/memset.c (memset): Likewise.
28663 * string/test-memmove.c (simple_memmove): Disable loop transformation
28665 * string/test-memset.c (simple_memset): Likewise.
28666 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28667 * benchtests/bench-memset.c (simple_memset): Likewise.
28668 * configure: Regenerated.
28670 2013-06-20 Joseph Myers <joseph@codesourcery.com>
28672 * math/test-misc.c (main): Ignore fesetround failure when failures
28673 of subsequent rounding tests would be ignored.
28676 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28677 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28678 * math/fegetenv.c (__fegetenv): Return 0.
28679 * math/fegetexcept.c (fegetexcept): Return 0.
28680 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28682 * math/feholdexcpt.c (feholdexcept): Return 0.
28683 * math/fesetenv.c (__fesetenv): Return 0.
28684 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28685 argument FE_TONEAREST.
28686 * math/feupdateenv.c (__feupdateenv): Return 0.
28687 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28689 2013-06-18 Roland McGrath <roland@hack.frob.com>
28691 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28692 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28693 ($(objpfx)rtld-%.os rules): Use them.
28695 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28697 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28700 2013-06-17 Roland McGrath <roland@hack.frob.com>
28702 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28703 length of target pattern, then descending length of dependency pattern.
28704 * configure.in (AWK): Require gawk 3.1.2 or newer.
28705 * manual/install.texi (Tools for Compilation): Say that we do.
28706 * configure: Regenerated.
28708 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28709 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28710 * scripts/sysd-rules.awk: ... this new script.
28711 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28712 than a glob-style pattern.
28714 2013-06-17 Joseph Myers <joseph@codesourcery.com>
28716 * math/test-misc.c (main): Do not treat incorrectly rounded
28717 conversions as failure unless ROUNDING_TESTS passes.
28719 2013-06-15 Joseph Myers <joseph@codesourcery.com>
28722 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28723 restore exception state around main square root computation, then
28724 check for inexactness explicitly.
28726 * math/libm-test.inc (fma_test_data): Add another test.
28728 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28730 * manual/threads.texi (Non-POSIX Extensions): New document
28731 node. Document pthread_getattr_default_np and
28732 pthread_setattr_default_np.
28734 * Versions.def (libpthread): Add GLIBC_2.18.
28735 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28744 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28755 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28758 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28760 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28761 H.J. Lu <hjl.tools@gmail.com>
28764 * sysdeps/x86_64/rtld-memset.c: Remove file.
28765 * sysdeps/x86_64/rtld-memset.S: New file.
28767 2013-06-14 Joseph Myers <joseph@codesourcery.com>
28769 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28770 (test_in_one_mode): Take arguments for whether the rounding mode
28771 is supported for each floating-point type.
28772 (do_test): Pass new arguments to test_in_one_mode using
28775 2013-06-13 Roland McGrath <roland@hack.frob.com>
28777 * posix/tst-waitid.c (do_test): Distinguish different instances of
28778 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28779 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28780 before entering the kernel for waitpid.
28782 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28784 * NEWS: Fix note on clock function precision. Text by Roland
28787 2013-06-13 Roland McGrath <roland@hack.frob.com>
28789 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28790 it into place only when and if the sanity check passes.
28792 2013-06-13 Joseph Myers <joseph@codesourcery.com>
28794 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28795 output for whether conversion result is exact. Take argument
28796 indicating whether type is IBM long double.
28797 (round_for_all): Change need_exact field to ibm_ld.
28798 * stdlib/tst-strtod-round.c (struct exactness): New type.
28799 (struct test): Change bool ld_ok field to struct exactness exact.
28800 (TEST): Update all definitions for change to field.
28801 (tests): Regenerate array contents.
28802 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28803 field value. Check for IBM long double here.
28804 (do_test): Update calls to test_in_one_mode.
28806 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28809 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28810 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28812 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28815 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28816 generated by the compiler on loop optimizations.
28817 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28818 general definitions.
28820 2013-06-12 Joseph Myers <joseph@codesourcery.com>
28822 * math/bug-nextafter.c: Include <math-tests.h>.
28823 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28825 * math/bug-nexttoward.c: Include <math-tests.h>.
28826 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28828 * math/test-misc.c: Include <math-tests.h>.
28829 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28832 2013-06-12 Andreas Jaeger <aj@suse.de>
28834 * po/ia.po: Update Interlingua translation from translation
28837 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28839 * include/fenv.h: Include stdbool.h.
28840 (struct rm_ctx): New structure.
28841 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28843 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28844 (SET_RESTORE_ROUNDF): Likewise.
28845 (SET_RESTORE_ROUNDL): Likewise.
28846 (SET_RESTORE_ROUND_NOEX): Likewise.
28847 (SET_RESTORE_ROUND_NOEXF): Likewise.
28848 (SET_RESTORE_ROUND_NOEXL): Likewise.
28849 (SET_RESTORE_ROUND_53BIT): Likewise.
28850 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28851 (libc_feresetround_noexf_ctx): Likewise.
28852 (libc_feresetround_noexl_ctx): Likewise.
28853 (libc_feholdsetround_53bit_ctx): Likewise.
28854 (libc_feresetround_53bit_ctx): Likewise.
28855 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28856 (libc_feholdexcept_setround_sse_ctx): New function.
28857 (libc_fesetenv_sse_ctx): Likewise.
28858 (libc_feupdateenv_sse_ctx): Likewise.
28859 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28860 (libc_feholdexcept_setround_387_ctx): Likewise.
28861 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28862 (libc_feholdsetround_387_prec_ctx): Likewise.
28863 (libc_feholdsetround_387_ctx): Likewise.
28864 (libc_feholdsetround_387_53bit_ctx): Likewise.
28865 (libc_feholdsetround_sse_ctx): Likewise.
28866 (libc_feresetround_sse_ctx): Likewise.
28867 (libc_feresetround_387_ctx): Likewise.
28868 (libc_feupdateenv_387_ctx): Likewise.
28869 (libc_feholdexcept_setroundf_ctx): Define macro.
28870 (libc_fesetenvf_ctx): Likewise.
28871 (libc_feupdateenvf_ctx): Likewise.
28872 (libc_feholdsetroundf_ctx): Likewise.
28873 (libc_feresetroundf_ctx): Likewise.
28874 (libc_feholdexcept_setround_ctx): Likewise.
28875 (libc_fesetenv_ctx): Likewise.
28876 (libc_feupdateenv_ctx): Likewise.
28877 (libc_feholdsetround_ctx): Likewise.
28878 (libc_feresetround_ctx): Likewise.
28879 (libc_feholdexcept_setroundl_ctx): Likewise.
28880 (libc_feupdateenvl_ctx): Likewise.
28881 (libc_feholdsetroundl_ctx): Likewise.
28882 (libc_feresetroundl_ctx): Likewise.
28883 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28884 (libc_feresetround_53bit_ctx): Likewise.
28886 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28888 * locale/iso-639.def: Convert to UTF-8.
28890 2013-06-11 Joseph Myers <joseph@codesourcery.com>
28892 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28893 (EXCEPTION_TESTS_double): Likewise.
28894 (EXCEPTION_TESTS_long_double): Likewise.
28895 (EXCEPTION_TESTS): Likewise.
28896 * math/libm-test.inc (test_exceptions): Only test exceptions if
28897 EXCEPTION_TESTS (FLOAT).
28899 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28901 * benchtests/Makefile (string-bench): Add strcpy_chk and
28903 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28904 * benchtests/bench-stpcpy_chk.c: New file.
28905 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28906 * benchtests/bench-strcpy_chk.c: New file.
28907 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28909 (do_test): Likewise.
28911 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28913 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28914 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28915 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28916 with tabs where appropriate.
28917 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28919 [PPC_PLATFORM_PPC440]: Likewise.
28920 [PPC_PLATFORM_PPC464]: Likewise.
28921 [PPC_PLATFORM_PPC476]: Likewise.
28922 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28923 ppc464, and ppc476 platform strings merging from ports/
28926 2013-06-11 Andreas Schwab <schwab@suse.de>
28929 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28930 (from_ucs4_idx): Regenerate.
28931 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28932 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28933 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28934 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28935 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28936 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28937 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28938 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28939 from FROM_LOOP and TO_LOOP specific macros.
28940 (BODY): Handle combining characters.
28941 * iconvdata/BIG5HKSCS.irreversible: Update.
28942 * iconvdata/BIG5HKSCS.precomposed: New file.
28943 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28945 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28947 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28949 * include/sys/time.h: Fix indentation and add copyright header.
28951 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28952 (do_test): Likewise.
28953 * string/test-memchr.c (do_one_test): Likewise.
28954 (do_test): Likewise.
28955 * string/test-memcmp.c (do_one_test): Likewise.
28956 (do_test): Likewise.
28957 * string/test-memcpy.c (do_one_test): Likewise.
28958 (do_test): Likewise.
28959 * string/test-memmem.c (do_one_test): Likewise.
28960 (do_test): Likewise.
28961 (do_random_tests): Likewise.
28962 * string/test-memmove.c (do_one_test): Likewise.
28963 (do_test): Likewise.
28964 * string/test-memset.c (do_one_test): Likewise.
28965 (do_test): Likewise.
28966 * string/test-rawmemchr.c (do_one_test): Likewise.
28967 (do_test): Likewise.
28968 * string/test-strcasecmp.c (do_one_test): Likewise.
28969 (do_test): Likewise.
28970 * string/test-strcasestr.c (do_one_test): Likewise.
28971 (do_test): Likewise.
28972 * string/test-strcat.c (do_one_test): Likewise.
28973 (do_test): Likewise.
28974 * string/test-strchr.c (do_one_test): Likewise.
28975 (do_test): Likewise.
28976 * string/test-strcmp.c (do_one_test): Likewise.
28977 (do_test): Likewise.
28978 * string/test-strcpy.c (do_one_test): Likewise.
28979 (do_test): Likewise.
28980 * string/test-string.h: Likewise.
28981 (test_init): Likewise.
28982 * string/test-strlen.c (do_one_test): Likewise.
28983 (do_test): Likewise.
28984 * string/test-strncasecmp.c (do_one_test): Likewise.
28985 (do_test): Likewise.
28986 * string/test-strncat.c (do_one_test): Likewise.
28987 (do_test): Likewise.
28988 * string/test-strncmp.c (do_one_test): Likewise.
28989 (do_test_limit): Likewise.
28990 (do_test): Likewise.
28991 * string/test-strncpy.c (do_one_test): Likewise.
28992 (do_test): Likewise.
28993 * string/test-strnlen.c (do_one_test): Likewise.
28994 (do_test): Likewise.
28995 * string/test-strpbrk.c (do_one_test): Likewise.
28996 (do_test): Likewise.
28997 * string/test-strrchr.c (do_one_test): Likewise.
28998 (do_test): Likewise.
28999 * string/test-strspn.c (do_one_test): Likewise.
29000 (do_test): Likewise.
29001 * string/test-strstr.c (do_one_test): Likewise.
29002 (do_test): Likewise.
29004 * benchtests/Makefile (string-bench): Add string benchmarks.
29005 * benchtests/bench-bcopy-ifunc.c: New file.
29006 * benchtests/bench-bcopy.c: New file.
29007 * benchtests/bench-bzero-ifunc.c: New file.
29008 * benchtests/bench-bzero.c: New file.
29009 * benchtests/bench-memccpy-ifunc.c: New file.
29010 * benchtests/bench-memccpy.c: New file.
29011 * benchtests/bench-memchr-ifunc.c: New file.
29012 * benchtests/bench-memchr.c: New file.
29013 * benchtests/bench-memcmp-ifunc.c: New file.
29014 * benchtests/bench-memcmp.c: New file.
29015 * benchtests/bench-memmem-ifunc.c: New file.
29016 * benchtests/bench-memmem.c: New file.
29017 * benchtests/bench-memmove-ifunc.c: New file.
29018 * benchtests/bench-memmove.c: New file.
29019 * benchtests/bench-mempcpy-ifunc.c: New file.
29020 * benchtests/bench-mempcpy.c: New file.
29021 * benchtests/bench-memset-ifunc.c: New file.
29022 * benchtests/bench-memset.c: New file.
29023 * benchtests/bench-rawmemchr-ifunc.c: New file.
29024 * benchtests/bench-rawmemchr.c: New file.
29025 * benchtests/bench-stpcpy-ifunc.c: New file.
29026 * benchtests/bench-stpcpy.c: New file.
29027 * benchtests/bench-stpncpy-ifunc.c: New file.
29028 * benchtests/bench-stpncpy.c: New file.
29029 * benchtests/bench-strcasecmp-ifunc.c: New file.
29030 * benchtests/bench-strcasecmp.c: New file.
29031 * benchtests/bench-strcasestr-ifunc.c: New file.
29032 * benchtests/bench-strcasestr.c: New file.
29033 * benchtests/bench-strcat-ifunc.c: New file.
29034 * benchtests/bench-strcat.c: New file.
29035 * benchtests/bench-strchr-ifunc.c: New file.
29036 * benchtests/bench-strchr.c: New file.
29037 * benchtests/bench-strchrnul-ifunc.c: New file.
29038 * benchtests/bench-strchrnul.c: New file.
29039 * benchtests/bench-strcmp-ifunc.c: New file.
29040 * benchtests/bench-strcmp.c: New file.
29041 * benchtests/bench-strcpy-ifunc.c: New file.
29042 * benchtests/bench-strcpy.c: New file.
29043 * benchtests/bench-strcspn-ifunc.c: New file.
29044 * benchtests/bench-strcspn.c: New file.
29045 * benchtests/bench-strlen-ifunc.c: New file.
29046 * benchtests/bench-strlen.c: New file.
29047 * benchtests/bench-strncasecmp-ifunc.c: New file.
29048 * benchtests/bench-strncasecmp.c: New file.
29049 * benchtests/bench-strncat-ifunc.c: New file.
29050 * benchtests/bench-strncat.c: New file.
29051 * benchtests/bench-strncmp-ifunc.c: New file.
29052 * benchtests/bench-strncmp.c: New file.
29053 * benchtests/bench-strncpy-ifunc.c: New file.
29054 * benchtests/bench-strncpy.c: New file.
29055 * benchtests/bench-strnlen-ifunc.c: New file.
29056 * benchtests/bench-strnlen.c: New file.
29057 * benchtests/bench-strpbrk-ifunc.c: New file.
29058 * benchtests/bench-strpbrk.c: New file.
29059 * benchtests/bench-strrchr-ifunc.c: New file.
29060 * benchtests/bench-strrchr.c: New file.
29061 * benchtests/bench-strspn-ifunc.c: New file.
29062 * benchtests/bench-strspn.c: New file.
29063 * benchtests/bench-strstr-ifunc.c: New file.
29064 * benchtests/bench-strstr.c: New file.
29066 * benchtests/Makefile: Disable parallel execution of targets.
29067 (string-bench): Add memcpy.
29068 (benchset): New variable to store a list of benchmark sets.
29069 (bench-func): Renamed from bench.
29070 (bench-set): New target.
29071 (bench): Depend on bench-func and bench-set.
29072 * benchtests/README: Add section on benchmark sets.
29073 * benchtests/bench-memcpy-ifunc.c: New file.
29074 * benchtests/bench-memcpy.c: New file.
29075 * benchtests/bench-string.h: New file.
29077 2013-06-11 Andreas Schwab <schwab@suse.de>
29080 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29081 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29082 values in the triple.
29083 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29084 terminator in the group key.
29086 2013-06-11 Andreas Jaeger <aj@suse.de>
29088 * po/zh_TW.po: Update Chinese (traditional) translation from
29089 translation project.
29091 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29093 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29094 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29095 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29096 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29097 (clock_getcpuclockid): Likewise.
29098 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29099 Add weak_alias and libc_hidden_def.
29100 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29101 * rt/clock_gettime.c (clock_gettime): Rename to
29102 __clock_gettime. Add weak_alias and libc_hidden_def.
29103 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29104 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29105 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29106 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29107 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29109 * rt/clock_settime.c (clock_settime): Rename to
29110 __clock_settime. Add weak_alias and libc_hidden_def.
29111 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29113 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29115 * mach/err_boot.sub: Remove trailing whitespace.
29116 * mach/err_ipc.sub: Likewise.
29117 * mach/err_mach.sub: Likewise.
29119 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29120 (ROUNDING_TESTS_double): Likewise.
29121 (ROUNDING_TESTS_long_double): Likewise.
29122 (ROUNDING_TESTS): Likewise.
29123 * math/libm-test.inc: Include <math-tests.h>.
29124 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29125 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29126 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29127 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29129 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29131 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29134 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29136 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29137 otherwise empty TRANS lines.
29138 * sysdeps/gnu/errlist.c: Regenerated.
29140 * catgets/gencat.c (error_print): Use (void) in function
29142 * crypt/crypt_util.c (__init_des): Likewise.
29143 * crypt/speeds.c (Stop): Likewise.
29145 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29146 * inet/ruserpass.c (token): Likewise.
29147 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29148 * intl/localealias.c (extend_alias_table): Likewise.
29149 * intl/plural-exp.c (init_germanic_plural): Likewise.
29150 * libio/fcloseall.c (__fcloseall): Likewise.
29151 * libio/genops.c (_IO_flush_all): Likewise.
29152 (_IO_flush_all_linebuffered): Likewise.
29153 (_IO_cleanup): Likewise.
29154 (_IO_iter_begin): Likewise.
29155 (_IO_iter_end): Likewise.
29156 (_IO_list_lock): Likewise.
29157 (_IO_list_unlock): Likewise.
29158 (_IO_list_resetlock): Likewise.
29159 * libio/getchar.c (getchar): Likewise.
29160 * libio/getchar_u.c (getchar_unlocked): Likewise.
29161 * libio/getwchar.c (getwchar): Likewise.
29162 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29163 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29164 * login/getpt.c (__getpt): Likewise.
29165 * login/tst-utmp.c (main): Likewise.
29166 * malloc/hooks.c (__malloc_check_init): Likewise.
29167 * malloc/malloc.c (__malloc_stats): Likewise.
29168 * malloc/mtrace.c (tr_break): Likewise.
29169 (mtrace): Likewise.
29170 (muntrace): Likewise.
29171 * misc/fstab.c (endfsent): Likewise.
29172 * misc/getclktck.c (__getclktck): Likewise.
29173 * misc/getdtsz.c (__getdtablesize): Likewise.
29174 * misc/gethostid.c (gethostid): Likewise.
29175 * misc/getpagesize.c (__getpagesize): Likewise.
29176 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29177 (__get_nprocs): Likewise.
29178 (__get_phys_pages): Likewise.
29179 (__get_avphys_pages): Likewise.
29180 * misc/getttyent.c (getttyent): Likewise.
29181 (setttyent): Likewise.
29182 (endttyent): Likewise.
29183 * misc/getusershell.c (getusershell): Likewise.
29184 (endusershell): Likewise.
29185 (setusershell): Likewise.
29186 (initshells): Likewise.
29187 * misc/hsearch.c (__hdestroy): Likewise.
29188 * misc/sync.c (sync): Likewise.
29189 * misc/syslog.c (closelog_internal): Likewise.
29190 (closelog): Likewise.
29191 * misc/ttyslot.c (ttyslot): Likewise.
29192 * misc/vhangup.c (vhangup): Likewise.
29193 * posix/fork.c (__fork): Likewise.
29194 * posix/getegid.c (__getegid): Likewise.
29195 * posix/geteuid.c (__geteuid): Likewise.
29196 * posix/getgid.c (__getgid): Likewise.
29197 * posix/getpid.c (__getpid): Likewise.
29198 * posix/getppid.c (__getppid): Likewise.
29199 * posix/getuid.c (__getuid): Likewise.
29200 * posix/pause.c (pause): Likewise.
29201 * posix/setpgrp.c (setpgrp): Likewise.
29202 * posix/setsid.c (__setsid): Likewise.
29203 * posix/test-vfork.c (noop): Likewise.
29204 * resolv/gethnamaddr.c (_endhtent): Likewise.
29205 (_gethtent): Likewise.
29206 (ht_endhostent): Likewise.
29207 (gethostent): Likewise.
29208 (dns_service): Likewise.
29209 * stdlib/drand48.c (drand48): Likewise.
29210 * stdlib/lrand48.c (lrand48): Likewise.
29211 * stdlib/mrand48.c (mrand48): Likewise.
29212 * stdlib/rand.c (rand): Likewise.
29213 * stdlib/random.c (__random): Likewise.
29214 * stdlib/setenv.c (clearenv): Likewise.
29215 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29216 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29217 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29218 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29219 (__get_nprocs): Likewise.
29220 (__get_phys_pages): Likewise.
29221 (__get_avphys_pages): Likewise.
29222 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29223 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29224 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29225 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29226 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29227 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29228 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29229 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29230 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29231 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29232 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29233 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29234 * sysdeps/posix/clock.c (clock): Likewise.
29235 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29236 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29237 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29238 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29239 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29241 (__get_nprocs_conf): Likewise.
29242 (__get_phys_pages): Likewise.
29243 (__get_avphys_pages): Likewise.
29244 * time/clock.c (clock): Likewise.
29245 * time/tzset.c (__tzname_max): Likewise.
29247 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29249 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29250 (__bswap_32): Do not use "register".
29251 * crypt/crypt.c (_ufc_doit_r): Likewise.
29252 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29253 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29254 * gmon/gmon.c (__monstartup): Likewise.
29255 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29256 * hurd/hurdmalloc.c (more_memory): Likewise.
29257 (malloc): Likewise.
29259 (realloc): Likewise.
29260 (malloc_fork_prepare): Likewise.
29261 (malloc_fork_parent): Likewise.
29262 (malloc_fork_child): Likewise.
29263 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29264 (_svcauth_des): Likewise.
29265 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29266 * inet/inet_net.c (inet_network): Likewise.
29267 * inet/inet_netof.c (inet_netof): Likewise.
29268 * inet/rcmd.c (__validuser2_sa): Likewise.
29269 * io/fts.c (fts_open): Likewise.
29270 (fts_load): Likewise.
29271 (fts_close): Likewise.
29272 (fts_read): Likewise.
29273 (fts_children): Likewise.
29274 (fts_build): Likewise.
29275 (fts_stat): Likewise.
29276 (fts_sort): Likewise.
29277 (fts_alloc): Likewise.
29278 (fts_lfree): Likewise.
29279 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29280 (_IO_file_xsgetn): Likewise.
29281 (_IO_file_xsgetn_mmap): Likewise.
29282 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29283 (_IO_cookie_write): Likewise.
29284 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29285 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29286 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29287 * malloc/obstack.c (_obstack_begin): Likewise.
29288 (_obstack_begin_1): Likewise.
29289 (_obstack_newchunk): Likewise.
29290 (_obstack_allocated_p): Likewise.
29291 (obstack_free): Likewise.
29292 (_obstack_memory_used): Likewise.
29293 * misc/getttyent.c (getttynam): Likewise.
29294 (getttyent): Likewise.
29297 * misc/getusershell.c (initshells): Likewise.
29298 * misc/syslog.c (__vsyslog_chk): Likewise.
29299 * misc/ttyslot.c (ttyslot): Likewise.
29300 * nis/nis_hash.c (__nis_hash): Likewise.
29301 * posix/fnmatch_loop.c (FCT): Likewise.
29302 * posix/getconf.c (print_all): Likewise.
29304 * posix/getopt.c (exchange): Likewise.
29305 * posix/glob.c (globfree): Likewise.
29306 (prefix_array): Likewise.
29307 (__glob_pattern_type): Likewise.
29308 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29309 (NS_GET32): Likewise.
29310 (NS_PUT16): Likewise.
29311 (NS_PUT32): Likewise.
29312 * resolv/gethnamaddr.c (getanswer): Likewise.
29313 (gethostbyname2): Likewise.
29314 (gethostbyaddr): Likewise.
29315 (_gethtent): Likewise.
29316 (_gethtbyname2): Likewise.
29317 (_gethtbyaddr): Likewise.
29318 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29319 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29320 * resolv/res_init.c (__res_vinit): Likewise.
29321 (net_mask): Likewise.
29322 * resolv/res_mkquery.c (outchar): Likewise.
29324 * stdio-common/printf_fp.c (outchar): Likewise.
29326 * stdio-common/printf_fphex.c (outchar): Likewise.
29328 * stdio-common/printf_size.c (outchar): Likewise.
29330 * stdio-common/test_rdwr.c (main): Likewise.
29331 * stdio-common/tfformat.c (matches): Likewise.
29332 * stdio-common/vfprintf.c (outchar): Likewise.
29333 (printf_unknown): Likewise.
29334 (buffered_vfprintf): Likewise.
29335 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29336 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29337 (ReadFile): Likewise.
29338 * stdlib/qsort.c (SWAP): Likewise.
29339 (_quicksort): Likewise.
29340 * stdlib/setenv.c (__add_to_environ): Likewise.
29341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29342 * stdlib/strtol_l.c (__strtol_l): Likewise.
29343 * stdlib/tst-strtod.c (main): Likewise.
29344 * stdlib/tst-strtol.c (main): Likewise.
29345 * stdlib/tst-strtoll.c (main): Likewise.
29346 * string/bits/string2.h (__strcmp_cc): Likewise.
29347 (__strcmp_cg): Likewise.
29348 (__strcspn_c1): Likewise.
29349 (__strcspn_c2): Likewise.
29350 (__strcspn_c3): Likewise.
29351 (__strspn_c1): Likewise.
29352 (__strspn_c2): Likewise.
29353 (__strspn_c3): Likewise.
29354 (__strsep_1c): Likewise.
29355 (__strsep_2c): Likewise.
29356 (__strsep_3c): Likewise.
29357 * string/memccpy.c (__memccpy): Likewise.
29358 * string/stpcpy.c (__stpcpy): Likewise.
29359 * string/strcmp.c (strcmp): Likewise.
29360 * string/strrchr.c (strrchr): Likewise.
29361 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29363 * sysdeps/mach/hurd/getcwd.c
29364 (_hurd_canonicalize_directory_name_internal): Likewise.
29365 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29366 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29367 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29368 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29369 Likewise, in both definitions.
29370 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29372 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29373 64] (__bswap_64): Likewise.
29374 * time/test_time.c (main): Likewise.
29375 * time/tzfile.c (__tzfile_read): Likewise.
29376 (__tzfile_compute): Likewise.
29377 * time/tzset.c (__tzset_parse_tz): Likewise.
29378 (tzset_internal): Likewise.
29379 (compute_change): Likewise.
29380 * wcsmbs/wcscat.c (__wcscat): Likewise.
29381 * wcsmbs/wcschr.c (wcschr): Likewise.
29382 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29383 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29384 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29385 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29386 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29387 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29388 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29389 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29390 * wcsmbs/wmemset.c (wmemset): Likewise.
29392 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29394 * scripts/config.guess: Update to version 2013-05-16.
29395 * scripts/config.sub: Update to version 2013-04-24.
29396 * scripts/install-sh: Update to version 2011-11-20.07.
29397 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29398 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29400 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29402 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29403 * elf/sln.c: Likewise.
29404 * hurd/hurd/ioctl.h: Likewise.
29405 * hurd/hurdmalloc.c: Likewise.
29406 * hurd/xattr.c: Likewise.
29407 * include/shlib-compat.h: Likewise.
29408 * inet/ruserpass.c: Likewise.
29409 * libio/iofgets_u.c: Likewise.
29410 * libio/iofgetws_u.c: Likewise.
29411 * locale/programs/ld-identification.c: Likewise.
29412 * locale/programs/ld-time.c: Likewise.
29413 * mach/msg-destroy.c: Likewise.
29414 * nss/nss_files/files-netgrp.c: Likewise.
29415 * resolv/res_data.c: Likewise.
29416 * soft-fp/op-1.h: Likewise.
29417 * soft-fp/op-2.h: Likewise.
29418 * soft-fp/op-4.h: Likewise.
29419 * soft-fp/op-common.h: Likewise.
29420 * stdio-common/printf_fphex.c: Likewise.
29421 * stdlib/strtod_l.c: Likewise.
29422 * sunrpc/rpc/clnt.h: Likewise.
29423 * sysdeps/generic/framestate.c: Likewise.
29424 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29425 * sysdeps/i386/bsd-setjmp.S: Likewise.
29426 * sysdeps/i386/__longjmp.S: Likewise.
29427 * sysdeps/i386/setjmp.S: Likewise.
29428 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29429 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29430 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29431 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29433 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29437 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29438 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29445 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29446 * sysdeps/ieee754/support.c: Likewise.
29447 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29448 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29449 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29450 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29451 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29452 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29453 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29454 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29455 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29456 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29457 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29458 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29459 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29460 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29461 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29462 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29463 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29466 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29468 * posix/transbug.c: Remove executable mode.
29470 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29472 * crypt/speeds.c: Remove trailing whitespace.
29473 * dlfcn/default.c: Likewise.
29474 * elf/ifuncdep2.c: Likewise.
29475 * elf/ifuncmain1.c: Likewise.
29476 * elf/ifuncmain1vis.c: Likewise.
29477 * elf/testobj.h: Likewise.
29478 * elf/tst-stackguard1.c: Likewise.
29479 * gmon/sys/gmon.h: Likewise.
29480 * hurd/hurdmsg.c: Likewise.
29481 * hurd/new-fd.c: Likewise.
29482 * hurd/ports-get.c: Likewise.
29483 * iconvdata/ibm1008_420.c: Likewise.
29484 * inet/tst-getni1.c: Likewise.
29485 * inet/tst-getni2.c: Likewise.
29486 * libio/ioungetc.c: Likewise.
29487 * libio/wfiledoalloc.c: Likewise.
29488 * manual/libm-err-tab.pl: Likewise.
29489 * math/w_dremf.c: Likewise.
29490 * misc/ftruncate.c: Likewise.
29491 * posix/bug-glob2.c: Likewise.
29492 * posix/tst-pcre.c: Likewise.
29493 * posix/wait4.c: Likewise.
29494 * resolv/README: Likewise.
29495 * resolv/res_debug.h: Likewise.
29496 * resolv/tst-inet_ntop.c: Likewise.
29497 * setjmp/bug269-setjmp.c: Likewise.
29498 * soft-fp/extended.h: Likewise.
29499 * soft-fp/op-1.h: Likewise.
29500 * soft-fp/op-2.h: Likewise.
29501 * soft-fp/op-4.h: Likewise.
29502 * soft-fp/op-8.h: Likewise.
29503 * soft-fp/testit.c: Likewise.
29504 * stdio-common/bug16.c: Likewise.
29505 * stdlib/random.c: Likewise.
29506 * sunrpc/rpcsvc/rquota.x: Likewise.
29507 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29508 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29509 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29510 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29511 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29512 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29513 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29514 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29515 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29516 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29517 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29518 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29519 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29520 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29521 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29522 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29523 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29524 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29525 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29526 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29527 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29528 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29529 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29530 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29531 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29532 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29533 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29534 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29535 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29536 * sysdeps/ieee754/s_lib_version.c: Likewise.
29537 * sysdeps/mach/hurd/check_fds.c: Likewise.
29538 * sysdeps/mach/hurd/getsockname.c: Likewise.
29539 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29540 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29541 * sysdeps/powerpc/bits/link.h: Likewise.
29542 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29543 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29544 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29545 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29546 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29547 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29548 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29549 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29550 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29551 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29552 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29553 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29554 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29555 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29556 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29557 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29558 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29559 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29560 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29561 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29562 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29563 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29564 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29565 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29566 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29567 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29568 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29569 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29570 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29571 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29572 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29573 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29574 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29575 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29576 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29577 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29578 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29579 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29580 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29581 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29582 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29583 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29584 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29585 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29586 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29587 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29588 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29589 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29590 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29591 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29592 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29593 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29594 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29595 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29596 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29597 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29598 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29599 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29600 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29601 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29602 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29603 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29604 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29605 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29606 * sysdeps/powerpc/sysdep.h: Likewise.
29607 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29608 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29609 * sysdeps/sh/dl-trampoline.S: Likewise.
29610 * sysdeps/sh/memset.S: Likewise.
29611 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29612 * sysdeps/sh/strlen.S: Likewise.
29613 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29614 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29615 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29616 * sysdeps/sparc/sparc32/rem.S: Likewise.
29617 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29618 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29619 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29620 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29621 * sysdeps/sparc/sparc32/urem.S: Likewise.
29622 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29623 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29624 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29625 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29626 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29627 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29628 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29629 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29630 * sysdeps/unix/bsd/times.c: Likewise.
29631 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29632 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29636 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29637 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29638 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29639 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29640 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29641 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29642 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29643 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29644 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29645 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29646 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29647 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29648 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29649 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29650 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29651 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29652 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29653 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29654 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29655 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29656 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29657 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29658 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29659 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29660 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29661 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29662 * sysdeps/x86_64/strcspn.S: Likewise.
29664 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29666 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29667 generated file. Regenerate properly from gen-translit.pl.
29668 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29669 locale/C-translit.h.
29671 2013-06-05 Andreas Schwab <schwab@suse.de>
29674 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29675 week as 6 instead of -1.
29676 * time/tst-strptime.c (day_tests): Add test case.
29678 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29680 * sysdeps/generic/math_private.h
29681 (libc_feholdexcept_setround_53bit): Replace with
29682 libc_feholdsetround_53bit.
29683 (libc_feupdateenv_53bit): Replace with
29684 libc_feresetround_53bit.
29685 (SET_RESTORE_ROUND_53BIT): Adjust.
29687 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29689 * string/test-strchrnul.c: Add copyright header.
29691 * posix/tst-getaddrinfo4.c: Increase test timeout.
29693 2013-06-03 Carlos O'Donell <carlos@redhat.com>
29696 * math/libm-test.inc (MAX_EXP): Remove
29698 (ulp): Use MIN_EXP - MANT_DIG.
29699 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29701 2013-05-31 Carlos O'Donell <carlos@redhat.com>
29703 * po/be.po: Revert last change.
29704 * po/zh_CN.po: Likewise.
29705 * po/header.pot: Likewise.
29707 2013-05-31 Joseph Myers <joseph@codesourcery.com>
29709 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29710 link-libc-deps to empty as target-specific variable.
29711 * Makerules (link-libc-args): New variable.
29712 (libc-for-link): Likewise.
29713 (link-libc-deps): Likewise.
29714 (lib%.so): Depend on $(link-libc-deps). Link with
29716 (build-module): Link with $(link-libc-args).
29717 (build-module-asneeded): Likewise.
29718 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29720 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29721 target-specific variable.
29722 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29723 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29724 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29726 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29728 ($(objpfx)libpcprofile.so): Likewise.
29729 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29731 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29732 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29733 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29735 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29736 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29737 * login/Makefile ($(objpfx)libutil.so): Likewise.
29738 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29739 * math/Makefile ($(objpfx)libm.so): Likewise.
29740 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29741 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29742 variable instead of depending directly on libc.
29743 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29744 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29746 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29748 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29749 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29750 ($(objpfx)libanl.so): Likewise.
29751 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29753 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29755 * sysdeps/i386/fpu/Makefile: Remove file.
29756 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29757 ($(objpfx)libm.so): Remove dependency on ld.so.
29759 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
29762 * nis/yp_xdr.c (XDRMAXNAME): Define.
29763 (XDRMAXRECORD): Define.
29764 (xdr_domainname): Use XDRMAXNAME.
29765 (xdr_mapname): Likewise.
29766 (xdr_peername): Likewise.
29767 (xdr_keydat): Use XDRMAXRECORD.
29768 (xdr_valdat): Likewise.
29770 2013-05-30 Jeff Law <law@redhat.com>
29773 * manual/errno.texi (ESTALE): Update to account for more than
29774 just NFS file systems.
29775 * sysdeps/gnu/errlist.c: Regenerated.
29777 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29780 * elf/Makefile (tests): Add tst-null-argv.
29781 (modules-names): Add tst-null-argv-lib.
29782 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29783 (tst-null-argv-ENV): Set environment for tst-null-argv.
29784 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29785 (RTLD_PROGNAME): New macro.
29786 * elf/tst-null-argv.c: New test case.
29787 * elf/tst-null-argv-lib.c: Library for test case.
29788 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29789 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29790 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29791 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29792 * elf/dl-init.c (call_init): Likewise.
29793 (_dl_init): Likewise.
29794 * elf/dl-load.c (print_search_path): Likewise.
29795 (_dl_map_object): Likewise.
29796 * elf/dl-lookup.c (do_lookup_x): Likewise.
29797 (add_dependency): Likewise.
29798 (_dl_lookup_symbol_x): Likewise.
29799 (_dl_debug_bindings): Likewise.
29800 * elf/dl-open.c (_dl_show_scope): Likewise.
29801 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29802 * elf/dl-version.c (match_symbol): Likewise.
29803 (_dl_check_map_versions): Likewise.
29804 * elf/rtld.c (dl_main): Likewise.
29805 (print_unresolved): Use RTLD_PROGNAME.
29806 (print_missing_version): Likewise.
29807 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29808 (elf_machine_rela): Likewise.
29809 * sysdeps/powerpc/powerpc32/dl-machine.c
29810 (__process_machine_rela): Likewise.
29811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29813 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29815 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29817 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29824 2013-05-28 Carlos O'Donell <carlos@redhat.com>
29826 * po/be.po: Add descriptive title.
29827 * po/zh_CN.po: Likewise.
29828 * po/header.pot: Likewise.
29830 2013-05-28 Mike Frysinger <vapier@gentoo.org>
29832 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29834 (enlarge_archive): Likewise.
29836 2013-05-28 Ben North <ben@redfrontdoor.org>
29838 * manual/arith.texi (frexp): It is the magnitude of the return
29839 value which lies in [0.5, 1), not the return value itself.
29841 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29845 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29847 * stdio-common/bug26.c (main): Correct fscanf template.
29849 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29850 declare _dl_skip_args.
29852 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29855 * manual/platform.texi: Add missing @end deftypefun.
29857 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29860 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29861 bit of mantissa of 2^16382.
29862 * math/libm-test.inc (hypot_test_data): Add more tests.
29864 * math/libm-test.inc: Add drem and pow10 to list of tested
29866 (pow10_test): New function.
29867 (drem_test): Likewise.
29868 (drem_test_tonearest): Likewise.
29869 (drem_test_towardzero): Likewise.
29870 (drem_test_downward): Likewise.
29871 (drem_test_upward): Likewise.
29872 (main): Call the new functions.
29874 * math/libm-test.inc (finite_test_data): Remove.
29875 (finite_test): Run tests from isfinite_test_data.
29876 (gamma_test_data): Remove.
29877 (gamma_test): Run tests from lgamma_test_data.
29878 * sysdeps/i386/fpu/libm-test-ulps: Update.
29879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29881 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29883 * manual/platform.texi: Add PowerPC PPR function set documentation.
29884 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29887 2013-05-24 Carlos O'Donell <carlos@redhat.com>
29889 * math/libm-test.inc (MAX_EXP): Define.
29891 (ulp): New function.
29892 (check_float_internal): Use ULPDIFF.
29893 (cpow_test): Disable failing test.
29894 (check_ulp): Test ulp() implemetnation.
29895 (main): Call check_ulp before starting tests.
29897 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29899 * math/gen-libm-test.pl (generate_testfile): Do not handle
29900 START_DATA and END_DATA.
29901 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29903 (acos_tonearest_test_data): Likewise.
29904 (acos_towardzero_test_data): Likewise.
29905 (acos_downward_test_data): Likewise.
29906 (acos_upward_test_data): Likewise.
29907 (acosh_test_data): Likewise.
29908 (asin_test_data): Likewise.
29909 (asin_tonearest_test_data): Likewise.
29910 (asin_towardzero_test_data): Likewise.
29911 (asin_downward_test_data): Likewise.
29912 (asin_upward_test_data): Likewise.
29913 (asinh_test_data): Likewise.
29914 (atan_test_data): Likewise.
29915 (atanh_test_data): Likewise.
29916 (atan2_test_data): Likewise.
29917 (cabs_test_data): Likewise.
29918 (cacos_test_data): Likewise.
29919 (cacosh_test_data): Likewise.
29920 (carg_test_data): Likewise.
29921 (casin_test_data): Likewise.
29922 (casinh_test_data): Likewise.
29923 (catan_test_data): Likewise.
29924 (catanh_test_data): Likewise.
29925 (cbrt_test_data): Likewise.
29926 (ccos_test_data): Likewise.
29927 (ccosh_test_data): Likewise.
29928 (ceil_test_data): Likewise.
29929 (cexp_test_data): Likewise.
29930 (cimag_test_data): Likewise.
29931 (clog_test_data): Likewise.
29932 (clog10_test_data): Likewise.
29933 (conj_test_data): Likewise.
29934 (copysign_test_data): Likewise.
29935 (cos_test_data): Likewise.
29936 (cos_tonearest_test_data): Likewise.
29937 (cos_towardzero_test_data): Likewise.
29938 (cos_downward_test_data): Likewise.
29939 (cos_upward_test_data): Likewise.
29940 (cosh_test_data): Likewise.
29941 (cosh_tonearest_test_data): Likewise.
29942 (cosh_towardzero_test_data): Likewise.
29943 (cosh_downward_test_data): Likewise.
29944 (cosh_upward_test_data): Likewise.
29945 (cpow_test_data): Likewise.
29946 (cproj_test_data): Likewise.
29947 (creal_test_data): Likewise.
29948 (csin_test_data): Likewise.
29949 (csinh_test_data): Likewise.
29950 (csqrt_test_data): Likewise.
29951 (ctan_test_data): Likewise.
29952 (ctan_tonearest_test_data): Likewise.
29953 (ctan_towardzero_test_data): Likewise.
29954 (ctan_downward_test_data): Likewise.
29955 (ctan_upward_test_data): Likewise.
29956 (ctanh_test_data): Likewise.
29957 (ctanh_tonearest_test_data): Likewise.
29958 (ctanh_towardzero_test_data): Likewise.
29959 (ctanh_downward_test_data): Likewise.
29960 (ctanh_upward_test_data): Likewise.
29961 (erf_test_data): Likewise.
29962 (erfc_test_data): Likewise.
29963 (exp_test_data): Likewise.
29964 (exp_tonearest_test_data): Likewise.
29965 (exp_towardzero_test_data): Likewise.
29966 (exp_downward_test_data): Likewise.
29967 (exp_upward_test_data): Likewise.
29968 (exp10_test_data): Likewise.
29969 (exp2_test_data): Likewise.
29970 (expm1_test_data): Likewise.
29971 (fabs_test_data): Likewise.
29972 (fdim_test_data): Likewise.
29973 (finite_test_data): Likewise.
29974 (floor_test_data): Likewise.
29975 (fma_test_data): Likewise.
29976 (fma_towardzero_test_data): Likewise.
29977 (fma_downward_test_data): Likewise.
29978 (fma_upward_test_data): Likewise.
29979 (fmax_test_data): Likewise.
29980 (fmin_test_data): Likewise.
29981 (fmod_test_data): Likewise.
29982 (fpclassify_test_data): Likewise.
29983 (frexp_test_data): Likewise.
29984 (gamma_test_data): Likewise.
29985 (hypot_test_data): Likewise.
29986 (ilogb_test_data): Likewise.
29987 (isfinite_test_data): Likewise.
29988 (isgreater_test_data): Likewise.
29989 (isgreaterequal_test_data): Likewise.
29990 (isinf_test_data): Likewise.
29991 (isless_test_data): Likewise.
29992 (islessequal_test_data): Likewise.
29993 (islessgreater_test_data): Likewise.
29994 (isnan_test_data): Likewise.
29995 (isnormal_test_data): Likewise.
29996 (issignaling_test_data): Likewise.
29997 (isunordered_test_data): Likewise.
29998 (j0_test_data): Likewise.
29999 (j1_test_data): Likewise.
30000 (jn_test_data): Likewise.
30001 (ldexp_test_data): Likewise.
30002 (lgamma_test_data): Likewise.
30003 (lrint_test_data): Likewise.
30004 (lrint_tonearest_test_data): Likewise.
30005 (lrint_towardzero_test_data): Likewise.
30006 (lrint_downward_test_data): Likewise.
30007 (lrint_upward_test_data): Likewise.
30008 (llrint_test_data): Likewise.
30009 (llrint_tonearest_test_data): Likewise.
30010 (llrint_towardzero_test_data): Likewise.
30011 (llrint_downward_test_data): Likewise.
30012 (llrint_upward_test_data): Likewise.
30013 (log_test_data): Likewise.
30014 (log10_test_data): Likewise.
30015 (log1p_test_data): Likewise.
30016 (log2_test_data): Likewise.
30017 (logb_test_data): Likewise.
30018 (logb_downward_test_data): Likewise.
30019 (lround_test_data): Likewise.
30020 (llround_test_data): Likewise.
30021 (modf_test_data): Likewise.
30022 (nearbyint_test_data): Likewise.
30023 (nextafter_test_data): Likewise.
30024 (nexttoward_test_data): Likewise.
30025 (pow_test_data): Likewise.
30026 (pow_tonearest_test_data): Likewise.
30027 (pow_towardzero_test_data): Likewise.
30028 (pow_downward_test_data): Likewise.
30029 (pow_upward_test_data): Likewise.
30030 (remainder_test_data): Likewise.
30031 (remainder_tonearest_test_data): Likewise.
30032 (remainder_towardzero_test_data): Likewise.
30033 (remainder_downward_test_data): Likewise.
30034 (remainder_upward_test_data): Likewise.
30035 (remquo_test_data): Likewise.
30036 (rint_test_data): Likewise.
30037 (rint_tonearest_test_data): Likewise.
30038 (rint_towardzero_test_data): Likewise.
30039 (rint_downward_test_data): Likewise.
30040 (rint_upward_test_data): Likewise.
30041 (round_test_data): Likewise.
30042 (scalb_test_data): Likewise.
30043 (scalbn_test_data): Likewise.
30044 (scalbln_test_data): Likewise.
30045 (signbit_test_data): Likewise.
30046 (sin_test_data): Likewise.
30047 (sin_tonearest_test_data): Likewise.
30048 (sin_towardzero_test_data): Likewise.
30049 (sin_downward_test_data): Likewise.
30050 (sin_upward_test_data): Likewise.
30051 (sincos_test_data): Likewise.
30052 (sinh_test_data): Likewise.
30053 (sinh_tonearest_test_data): Likewise.
30054 (sinh_towardzero_test_data): Likewise.
30055 (sinh_downward_test_data): Likewise.
30056 (sinh_upward_test_data): Likewise.
30057 (sqrt_test_data): Likewise.
30058 (tan_test_data): Likewise.
30059 (tan_tonearest_test_data): Likewise.
30060 (tan_towardzero_test_data): Likewise.
30061 (tan_downward_test_data): Likewise.
30062 (tan_upward_test_data): Likewise.
30063 (tanh_test_data): Likewise.
30064 (tgamma_test_data): Likewise.
30065 (trunc_test_data): Likewise.
30066 (y0_test_data): Likewise.
30067 (y1_test_data): Likewise.
30068 (yn_test_data): Likewise.
30069 (significand_test_data): Likewise.
30071 * math/gen-libm-test.pl (@functions): Remove variable.
30072 (generate_testfile): Don't handle START and END lines.
30073 * math/libm-test.inc (START): New macro.
30075 (END_COMPLEX): Likewise.
30076 (acos_test): Use END macro without arguments.
30077 (acos_test_tonearest): Likewise.
30078 (acos_test_towardzero): Likewise.
30079 (acos_test_downward): Likewise.
30080 (acos_test_upward): Likewise.
30081 (acosh_test): Likewise.
30082 (asin_test): Likewise.
30083 (asin_test_tonearest): Likewise.
30084 (asin_test_towardzero): Likewise.
30085 (asin_test_downward): Likewise.
30086 (asin_test_upward): Likewise.
30087 (asinh_test): Likewise.
30088 (atan_test): Likewise.
30089 (atanh_test): Likewise.
30090 (atan2_test): Likewise.
30091 (cabs_test): Likewise.
30092 (cacos_test): Use END_COMPLEX macro without arguments.
30093 (cacosh_test): Likewise.
30094 (carg_test): Use END macro without arguments.
30095 (casin_test): Use END_COMPLEX macro without arguments.
30096 (casinh_test): Likewise.
30097 (catan_test): Likewise.
30098 (catanh_test): Likewise.
30099 (cbrt_test): Use END macro without arguments.
30100 (ccos_test): Use END_COMPLEX macro without arguments.
30101 (ccosh_test): Likewise.
30102 (ceil_test): Use END macro without arguments.
30103 (cexp_test): Use END_COMPLEX macro without arguments.
30104 (cimag_test): Use END macro without arguments.
30105 (clog_test): Use END_COMPLEX macro without arguments.
30106 (clog10_test): Likewise.
30107 (conj_test): Likewise.
30108 (copysign_test): Use END macro without arguments.
30109 (cos_test): Likewise.
30110 (cos_test_tonearest): Likewise.
30111 (cos_test_towardzero): Likewise.
30112 (cos_test_downward): Likewise.
30113 (cos_test_upward): Likewise.
30114 (cosh_test): Likewise.
30115 (cosh_test_tonearest): Likewise.
30116 (cosh_test_towardzero): Likewise.
30117 (cosh_test_downward): Likewise.
30118 (cosh_test_upward): Likewise.
30119 (cpow_test): Use END_COMPLEX macro without arguments.
30120 (cproj_test): Likewise.
30121 (creal_test): Use END macro without arguments.
30122 (csin_test): Use END_COMPLEX macro without arguments.
30123 (csinh_test): Likewise.
30124 (csqrt_test): Likewise.
30125 (ctan_test): Likewise.
30126 (ctan_test_tonearest): Likewise.
30127 (ctan_test_towardzero): Likewise.
30128 (ctan_test_downward): Likewise.
30129 (ctan_test_upward): Likewise.
30130 (ctanh_test): Likewise.
30131 (ctanh_test_tonearest): Likewise.
30132 (ctanh_test_towardzero): Likewise.
30133 (ctanh_test_downward): Likewise.
30134 (ctanh_test_upward): Likewise.
30135 (erf_test): Use END macro without arguments.
30136 (erfc_test): Likewise.
30137 (exp_test): Likewise.
30138 (exp_test_tonearest): Likewise.
30139 (exp_test_towardzero): Likewise.
30140 (exp_test_downward): Likewise.
30141 (exp_test_upward): Likewise.
30142 (exp10_test): Likewise.
30143 (exp2_test): Likewise.
30144 (expm1_test): Likewise.
30145 (fabs_test): Likewise.
30146 (fdim_test): Likewise.
30147 (finite_test): Likewise.
30148 (floor_test): Likewise.
30149 (fma_test): Likewise.
30150 (fma_test_towardzero): Likewise.
30151 (fma_test_downward): Likewise.
30152 (fma_test_upward): Likewise.
30153 (fmax_test): Likewise.
30154 (fmin_test): Likewise.
30155 (fmod_test): Likewise.
30156 (fpclassify_test): Likewise.
30157 (frexp_test): Likewise.
30158 (gamma_test): Likewise.
30159 (hypot_test): Likewise.
30160 (ilogb_test): Likewise.
30161 (isfinite_test): Likewise.
30162 (isgreater_test): Likewise.
30163 (isgreaterequal_test): Likewise.
30164 (isinf_test): Likewise.
30165 (isless_test): Likewise.
30166 (islessequal_test): Likewise.
30167 (islessgreater_test): Likewise.
30168 (isnan_test): Likewise.
30169 (isnormal_test): Likewise.
30170 (issignaling_test): Likewise.
30171 (isunordered_test): Likewise.
30172 (j0_test): Likewise.
30173 (j1_test): Likewise.
30174 (jn_test): Likewise.
30175 (ldexp_test): Likewise.
30176 (lgamma_test): Likewise.
30177 (lrint_test): Likewise.
30178 (lrint_test_tonearest): Likewise.
30179 (lrint_test_towardzero): Likewise.
30180 (lrint_test_downward): Likewise.
30181 (lrint_test_upward): Likewise.
30182 (llrint_test): Likewise.
30183 (llrint_test_tonearest): Likewise.
30184 (llrint_test_towardzero): Likewise.
30185 (llrint_test_downward): Likewise.
30186 (llrint_test_upward): Likewise.
30187 (log_test): Likewise.
30188 (log10_test): Likewise.
30189 (log1p_test): Likewise.
30190 (log2_test): Likewise.
30191 (logb_test): Likewise.
30192 (logb_test_downward): Likewise.
30193 (lround_test): Likewise.
30194 (llround_test): Likewise.
30195 (modf_test): Likewise.
30196 (nearbyint_test): Likewise.
30197 (nextafter_test): Likewise.
30198 (nexttoward_test): Likewise.
30199 (pow_test): Likewise.
30200 (pow_test_tonearest): Likewise.
30201 (pow_test_towardzero): Likewise.
30202 (pow_test_downward): Likewise.
30203 (pow_test_upward): Likewise.
30204 (remainder_test): Likewise.
30205 (remainder_test_tonearest): Likewise.
30206 (remainder_test_towardzero): Likewise.
30207 (remainder_test_downward): Likewise.
30208 (remainder_test_upward): Likewise.
30209 (remquo_test): Likewise.
30210 (rint_test): Likewise.
30211 (rint_test_tonearest): Likewise.
30212 (rint_test_towardzero): Likewise.
30213 (rint_test_downward): Likewise.
30214 (rint_test_upward): Likewise.
30215 (round_test): Likewise.
30216 (scalb_test): Likewise.
30217 (scalbn_test): Likewise.
30218 (scalbln_test): Likewise.
30219 (signbit_test): Likewise.
30220 (sin_test): Likewise.
30221 (sin_test_tonearest): Likewise.
30222 (sin_test_towardzero): Likewise.
30223 (sin_test_downward): Likewise.
30224 (sin_test_upward): Likewise.
30225 (sincos_test): Likewise.
30226 (sinh_test): Likewise.
30227 (sinh_test_tonearest): Likewise.
30228 (sinh_test_towardzero): Likewise.
30229 (sinh_test_downward): Likewise.
30230 (sinh_test_upward): Likewise.
30231 (sqrt_test): Likewise.
30232 (tan_test): Likewise.
30233 (tan_test_tonearest): Likewise.
30234 (tan_test_towardzero): Likewise.
30235 (tan_test_downward): Likewise.
30236 (tan_test_upward): Likewise.
30237 (tanh_test): Likewise.
30238 (tgamma_test): Likewise.
30239 (trunc_test): Likewise.
30240 (y0_test): Likewise.
30241 (y1_test): Likewise.
30242 (yn_test): Likewise.
30243 (significand_test): Likewise.
30245 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30248 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30250 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30253 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30254 __ppc_mdoio and __ppc_mdoom.
30255 * manual/platform.texi: Document new functions __ppc_yield,
30256 __ppc_mdoio and __ppc_mdoom.
30258 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30260 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30261 (main): Mention "tls" pseudo-hwcap is legacy.
30262 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30264 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30266 * math/gen-libm-test.pl (parse_args): Output only string of
30267 arguments as text for test name, not full call or descriptions of
30268 tests for extra outputs.
30269 (generate_testfile): Do not pass function name to parse_args.
30270 Generate this_func variable from START.
30271 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30273 (struct test_ff_f_data): Likewise.
30274 (test_ff_f_data_nexttoward): Likewise.
30275 (struct test_fi_f_data): Likewise.
30276 (struct test_fl_f_data): Likewise.
30277 (struct test_if_f_data): Likewise.
30278 (struct test_fff_f_data): Likewise.
30279 (struct test_c_f_data): Likewise.
30280 (struct test_f_f1_data): Likewise. Remove field extra_name.
30281 (struct test_fF_f1_data): Likewise.
30282 (struct test_ffI_f1_data): Likewise.
30283 (struct test_c_c_data): Rename test_name field to arg_str.
30284 (struct test_cc_c_data): Likewise.
30285 (struct test_f_i_data): Likewise.
30286 (struct test_ff_i_data): Likewise.
30287 (struct test_f_l_data): Likewise.
30288 (struct test_f_L_data): Likewise.
30289 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30291 (COMMON_TEST_SETUP): New macro.
30292 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30293 (COMMON_TEST_CLEANUP): Likewise.
30294 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30295 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30297 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30298 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30300 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30301 (RUN_TEST_fff_f): Take argument string. Call new setup and
30303 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30304 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30306 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30307 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30309 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30310 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30312 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30313 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30315 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30316 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30318 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30319 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30321 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30322 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30324 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30325 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30327 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30328 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30330 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30331 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30333 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30334 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30336 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30337 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30339 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30340 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30342 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30343 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30345 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30346 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30348 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30350 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30352 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30353 to _sifields.sigfault.
30354 (si_addr_lsb): Define new macro.
30355 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30356 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30357 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30359 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30362 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30364 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30366 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30367 loading the domain.
30369 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30371 * math/gen-libm-test.pl (parse_args): Do not include expected
30372 result in test name.
30373 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30374 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30375 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30376 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30377 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30380 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30382 * benchtests/Makefile: Sort function entries.
30384 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30385 tanh, asinh, acosh, atanh.
30386 * benchtests/acos-inputs: New file.
30387 * benchtests/acosh-inputs: New file.
30388 * benchtests/asin-inputs: New file.
30389 * benchtests/asinh-inputs: New file.
30390 * benchtests/atanh-inputs: New file.
30391 * benchtests/cosh-inputs: New file.
30392 * benchtests/log-inputs: New file.
30393 * benchtests/sinh-inputs: New file.
30394 * benchtests/tanh-inputs: New file.
30396 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30399 * posix/tst-getaddrinfo4.c: New test.
30400 * posix/Makefile (tests): Add it.
30402 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30405 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30406 when no services were used.
30407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30408 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30410 2013-05-21 Andreas Schwab <schwab@suse.de>
30413 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30414 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30416 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30417 redundant variable declarations and reallocation of buffer when
30418 parsing as IPv6 address. Always set NSS status when called from
30419 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30420 buffer too small. Correct computation of needed size.
30421 * nss/Makefile (tests): Add test-digits-dots.
30422 * nss/test-digits-dots.c: New test.
30424 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30426 * benchtests/Makefile: Remove instructions for adding
30428 * benchtests/README: New file to explain how to execute and
30429 enhance the benchmark tests.
30431 2013-05-21 Andreas Schwab <schwab@suse.de>
30434 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30435 * setjmp/tst-sigsetjmp.c: New test.
30437 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30439 * sysdeps/x86_64/memset.S (memset): New implementation.
30440 (__bzero): Likewise.
30441 (__memset_tail): New function.
30443 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30445 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30446 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30447 __memcpy_sse2_unaligned ifunc selection.
30448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30449 Add memcpy-sse2-unaligned.S.
30450 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30451 Add: __memcpy_sse2_unaligned.
30453 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30456 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30457 math_force_eval before restoring floating-point envrionment.
30458 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30459 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30461 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30463 (__nearbyintl): Use math_force_eval before restoring
30464 floating-point environment.
30465 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30467 * math/gen-libm-test.pl (special_functions): Remove.
30468 (parse_args): Don't handle TEST_extra. Handle functions with no
30470 * math/libm-test.inc (struct test_sincos_data): Replace with
30471 struct test_fFF_11_data.
30472 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30473 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30474 (sincos_test_data): Change element type to struct
30475 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30476 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30477 RUN_TEST_LOOP_sincos.
30478 * math/README.libm-test: Don't mention special handling of
30479 individual functions.
30480 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30481 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30482 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30483 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30484 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30487 * math/gen-libm-test.pl (get_variable): Remove function.
30488 (parse_args): Don't show pointer parameters to call in test
30489 names. Use "extra output N" in test names for extra outputs
30490 rather than naming variables.
30492 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30495 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30496 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30497 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30499 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30501 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30504 * math/gen-libm-test.pl (@tests): Remove variable.
30505 ($count): Likewise.
30506 (new_test): Remove function.
30507 (show_exceptions): New function.
30508 (special_functions): Use show_exceptions instead of new_test.
30509 (parse_args): Likewise.
30510 (generate_testfile): Pass only function name in generated call to
30511 print_max_error or print_complex_max_error.
30512 (get_ulps): Do not handle complex tests specially.
30513 (output_test): Rename to ...
30514 (get_all_ulps_for_test): ... this. Return a string rather than
30515 printing to a file. Require ulps to be present.
30516 (output_ulps): Generate arrays rather than #defines.
30517 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30518 (struct ulp_data): New type.
30519 (BUILD_COMPLEX_ULP): Remove macro.
30520 (compare_ulp_data): New function.
30521 (find_ulps): Likewise.
30522 (find_test_ulps): Likewise.
30523 (find_function_ulps): Likewise.
30524 (find_complex_function_ulps): Likewise.
30525 (print_max_error): Determine allowed ulps using
30526 find_function_ulps.
30527 (print_complex_max_error): Determine allowed ulps using
30528 find_complex_function_ulps.
30529 (check_float_internal): Determine max ulps using find_test_ulps.
30530 (check_float): Do not take max_ulp parameter. Update call to
30531 check_float_internal.
30532 (check_complex): Likewise.
30533 (check_int): Do not take max_ulp parameter.
30534 (check_long): Likewise.
30535 (check_bool): Likewise.
30536 (check_longlong): Likewise.
30537 (struct test_f_f_data): Remove max_ulp field.
30538 (struct test_ff_f_data): Likewise.
30539 (struct test_ff_f_data_nexttoward): Likewise.
30540 (struct test_fi_f_data): Likewise.
30541 (struct test_fl_f_data): Likewise.
30542 (struct test_if_f_data): Likewise.
30543 (struct test_fff_f_data): Likewise.
30544 (struct test_c_f_data): Likewise.
30545 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30546 (struct test_fF_f1_data): Likewise.
30547 (struct test_ffI_f1_data): Likewise.
30548 (struct test_c_c_data): Remove max_ulp field.
30549 (struct test_cc_c_data): Likewise.
30550 (struct test_f_i_data): Likewise.
30551 (struct test_ff_i_data): Likewise.
30552 (struct test_f_l_data): Likewise.
30553 (struct test_f_L_data): Likewise.
30554 (struct test_sincos_data): Likewise.
30555 (RUN_TEST_f_f): Do not handle ulps.
30556 (RUN_TEST_LOOP_f_f): Likewise.
30557 (RUN_TEST_2_f): Likewise.
30558 (RUN_TEST_LOOP_2_f): Likewise.
30559 (RUN_TEST_fff_f): Likewise.
30560 (RUN_TEST_LOOP_fff_f): Likewise.
30561 (RUN_TEST_c_f): Likewise.
30562 (RUN_TEST_LOOP_c_f): Likewise.
30563 (RUN_TEST_f_f1): Likewise.
30564 (RUN_TEST_LOOP_f_f1): Likewise.
30565 (RUN_TEST_fF_f1): Likewise.
30566 (RUN_TEST_LOOP_fF_f1): Likewise.
30567 (RUN_TEST_fI_f1): Likewise.
30568 (RUN_TEST_LOOP_fI_f1): Likewise.
30569 (RUN_TEST_ffI_f1): Likewise.
30570 (RUN_TEST_LOOP_ffI_f1): Likewise.
30571 (RUN_TEST_c_c): Likewise.
30572 (RUN_TEST_LOOP_c_c): Likewise.
30573 (RUN_TEST_cc_c): Likewise.
30574 (RUN_TEST_LOOP_cc_c): Likewise.
30575 (RUN_TEST_f_i): Likewise.
30576 (RUN_TEST_LOOP_f_i): Likewise.
30577 (RUN_TEST_f_i_tg): Likewise.
30578 (RUN_TEST_LOOP_f_i_tg): Likewise.
30579 (RUN_TEST_ff_i_tg): Likewise.
30580 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30581 (RUN_TEST_f_b): Likewise.
30582 (RUN_TEST_LOOP_f_b): Likewise.
30583 (RUN_TEST_f_b_tg): Likewise.
30584 (RUN_TEST_LOOP_f_b_tg): Likewise.
30585 (RUN_TEST_f_l): Likewise.
30586 (RUN_TEST_LOOP_f_l): Likewise.
30587 (RUN_TEST_f_L): Likewise.
30588 (RUN_TEST_LOOP_f_L): Likewise.
30589 (RUN_TEST_sincos): Likewise.
30590 (RUN_TEST_LOOP_sincos): Likewise.
30592 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30596 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30597 main case of finite arguments, set rounding mode to FE_TONEAREST
30598 and discard exceptions.
30599 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30601 (remainder_tonearest_test_data): New variable.
30602 (remainder_test_tonearest): New function.
30603 (remainder_towardzero_test_data): New variable.
30604 (remainder_test_towardzero): New function.
30605 (remainder_downward_test_data): New variable.
30606 (remainder_test_downward): New function.
30607 (remainder_upward_test_data): New variable.
30608 (remainder_test_upward): New function.
30609 (main): Call the new test functions.
30611 * math/libm-test.inc (struct test_f_f1_data): Remove field
30613 (struct test_fF_f1_data): Likewise.
30614 (struct test_ffI_f1_data): Likewise.
30615 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30616 based on value of EXTRA_EXPECTED.
30617 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30618 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30619 EXTRA_VAR based on value of EXTRA_EXPECTED.
30620 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30621 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30622 EXTRA_VAR based on value of EXTRA_EXPECTED.
30623 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30624 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30625 EXTRA_VAR based on value of EXTRA_EXPECTED.
30626 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30627 * math/gen-libm-test.pl (parse_args): Don't output initializers
30628 for extra output values.
30630 * math/libm-test.inc (check_int): Expect result to be exactly
30631 equal to expected value and do not handle ulps.
30632 (check_long): Likewise.
30633 (check_longlong): Likewise.
30635 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30637 (cimag_test_data): Likewise.
30638 (conj_test_data): Likewise.
30639 (copysign_test_data): Likewise.
30640 (cproj_test_data): Likewise.
30641 (creal_test_data): Likewise.
30642 (fabs_test_data): Likewise.
30643 (fdim_test_data): Likewise.
30644 (finite_test_data): Likewise.
30645 (floor_test_data): Likewise.
30646 (fmax_test_data): Likewise.
30647 (fmin_test_data): Likewise.
30648 (fmod_test_data): Likewise.
30649 (fpclassify_test_data): Likewise.
30650 (frexp_test_data): Likewise.
30651 (ilogb_test_data): Likewise.
30652 (isfinite_test_data): Likewise.
30653 (isgreater_test_data): Likewise.
30654 (isgreaterequal_test_data): Likewise.
30655 (isinf_test_data): Likewise.
30656 (isless_test_data): Likewise.
30657 (islessequal_test_data): Likewise.
30658 (islessgreater_test_data): Likewise.
30659 (isnan_test_data): Likewise.
30660 (isnormal_test_data): Likewise.
30661 (issignaling_test_data): Likewise.
30662 (isunordered_test_data): Likewise.
30663 (ldexp_test_data): Likewise.
30664 (lrint_test_data): Likewise.
30665 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30666 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30667 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30668 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30669 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30670 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30672 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30673 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30674 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30675 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30677 (lrint_downward_test_data): Test for "inexact" exceptions.
30678 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30679 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30680 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30682 (lrint_upward_test_data): Test for "inexact" exceptions.
30683 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30685 (llrint_test_data): Test for "inexact" exceptions.
30686 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30687 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30688 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30689 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30690 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30691 (llrint_downward_test_data): Test for "inexact" exceptions.
30692 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30693 (llrint_upward_test_data): Test for "inexact" exceptions.
30694 (logb_test_data): Likewise.
30695 (logb_downward_test_data): Likewise.
30696 (nextafter_test_data): Likewise.
30697 (nexttoward_test_data): Likewise.
30698 (remainder_test_data): Likewise.
30699 (remquo_test_data): Likewise.
30700 (scalbn_test_data): Likewise.
30701 (scalbln_test_data): Likewise.
30702 (signbit_test_data): Likewise.
30703 (sqrt_test_data): Likewise.
30704 (significand_test_data): Likewise.
30706 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30709 * benchtests/bench-modf.c (struct args): Mark arg0 as
30711 * scripts/bench.pl: Mark members of struct args as volatile.
30713 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30716 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30717 negative infinity on POWER6 or lower.
30718 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30720 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30723 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30724 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30725 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30726 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30727 (_FP_SETQNAN): New macro.
30728 (_FP_SETQNAN_SEMIRAW): Likewise.
30729 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30730 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30731 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30732 (FP_EXTEND): Use _FP_FRAC_SNANP.
30733 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30734 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30736 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30738 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30741 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30743 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30744 with DIVIDE_BY_ZERO_EXCEPTION.
30745 (gamma_test_data): Likewise.
30746 (lgamma_test_data): Likewise.
30747 (log_test_data): Likewise.
30748 (log10_test_data): Likewise.
30749 (log2_test_data): Likewise.
30750 (tgamma_test_data): Likewise.
30752 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30753 (acos_test_tonearest): Likewise.
30754 (acos_test_towardzero): Likewise.
30755 (acos_test_downward): Likewise.
30756 (acos_test_upward): Likewise.
30757 (acosh_test): Likewise.
30758 (asin_test): Likewise.
30759 (asin_test_tonearest): Likewise.
30760 (asin_test_towardzero): Likewise.
30761 (asin_test_downward): Likewise.
30762 (asin_test_upward): Likewise.
30763 (asinh_test): Likewise.
30764 (atan_test): Likewise.
30765 (atanh_test): Likewise.
30766 (atan2_test): Likewise.
30767 (cabs_test): Likewise.
30768 (cacos_test): Likewise.
30769 (cacosh_test): Likewise.
30770 (casin_test): Likewise.
30771 (casinh_test): Likewise.
30772 (catan_test): Likewise.
30773 (catanh_test): Likewise.
30774 (cbrt_test): Likewise.
30775 (ccos_test): Likewise.
30776 (ccosh_test): Likewise.
30777 (cexp_test): Likewise.
30778 (clog_test): Likewise.
30779 (clog10_test): Likewise.
30780 (cos_test): Likewise.
30781 (cos_test_tonearest): Likewise.
30782 (cos_test_towardzero): Likewise.
30783 (cos_test_downward): Likewise.
30784 (cos_test_upward): Likewise.
30785 (cosh_test): Likewise.
30786 (cosh_test_tonearest): Likewise.
30787 (cosh_test_towardzero): Likewise.
30788 (cosh_test_downward): Likewise.
30789 (cosh_test_upward): Likewise.
30790 (cpow_test): Likewise.
30791 (csin_test): Likewise.
30792 (csinh_test): Likewise.
30793 (csqrt_test): Likewise.
30794 (ctan_test): Likewise.
30795 (ctan_test_tonearest): Likewise.
30796 (ctan_test_towardzero): Likewise.
30797 (ctan_test_downward): Likewise.
30798 (ctan_test_upward): Likewise.
30799 (ctanh_test): Likewise.
30800 (ctanh_test_tonearest): Likewise.
30801 (ctanh_test_towardzero): Likewise.
30802 (ctanh_test_downward): Likewise.
30803 (ctanh_test_upward): Likewise.
30804 (erf_test): Likewise.
30805 (erfc_test): Likewise.
30806 (exp_test): Likewise.
30807 (exp_test_tonearest): Likewise.
30808 (exp_test_towardzero): Likewise.
30809 (exp_test_downward): Likewise.
30810 (exp_test_upward): Likewise.
30811 (exp10_test): Likewise.
30812 (exp2_test): Likewise.
30813 (expm1_test): Likewise.
30814 (fmod_test): Likewise.
30815 (gamma_test): Likewise.
30816 (hypot_test): Likewise.
30817 (j0_test): Likewise.
30818 (j1_test): Likewise.
30819 (jn_test): Likewise.
30820 (lgamma_test): Likewise.
30821 (log_test): Likewise.
30822 (log10_test): Likewise.
30823 (log1p_test): Likewise.
30824 (log2_test): Likewise.
30825 (logb_test_downward): Likewise.
30826 (pow_test): Likewise.
30827 (pow_test_tonearest): Likewise.
30828 (pow_test_towardzero): Likewise.
30829 (pow_test_downward): Likewise.
30830 (pow_test_upward): Likewise.
30831 (remainder_test): Likewise.
30832 (remquo_test): Likewise.
30833 (sin_test): Likewise.
30834 (sin_test_tonearest): Likewise.
30835 (sin_test_towardzero): Likewise.
30836 (sin_test_downward): Likewise.
30837 (sin_test_upward): Likewise.
30838 (sincos_test): Likewise.
30839 (sinh_test): Likewise.
30840 (sinh_test_tonearest): Likewise.
30841 (sinh_test_towardzero): Likewise.
30842 (sinh_test_downward): Likewise.
30843 (sinh_test_upward): Likewise.
30844 (sqrt_test): Likewise.
30845 (tan_test): Likewise.
30846 (tan_test_tonearest): Likewise.
30847 (tan_test_towardzero): Likewise.
30848 (tan_test_downward): Likewise.
30849 (tan_test_upward): Likewise.
30850 (tanh_test): Likewise.
30851 (tgamma_test): Likewise.
30852 (y0_test): Likewise.
30853 (y1_test): Likewise.
30854 (yn_test): Likewise.
30856 * math/gen-libm-test.pl (adjust_arg): Remove function.
30857 (special_function): Remove argument $in_func. Only handle
30858 generating output for tables of tests, not inside functions.
30859 (parse_args): Likewise.
30860 (generate_testfile): Remove variable $in_func. Update call to
30862 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30863 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30864 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30865 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30866 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30867 (MAX_VALUE_INIT): Rename macro to max_value.
30868 (MIN_VALUE_INIT): Rename macro to min_value.
30869 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30870 (plus_zero): Remove variable.
30871 (minus_zero): Likewise.
30872 (plus_infty): Likewise.
30873 (minus_infty): Likewise.
30874 (qnan_value): Likewise.
30875 (max_value): Likewise.
30876 (min_value): Likewise.
30877 (min_subnorm_value): Likewise.
30879 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30881 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30882 uint64_t or uint32_t usage.
30883 * crypt/sha256-block.c: Likewise.
30884 * crypt/sha256-crypt.c: Likewise.
30885 * crypt/sha256.c: Likewise.
30886 * crypt/sha512-block.c: Likewise.
30887 * crypt/sha512-crypt.c: Likewise.
30888 * crypt/sha512.c: Likewise.
30889 * debug/backtrace-tst.c: Likewise.
30890 * debug/pcprofiledump.c: Likewise.
30891 * elf/cache.c: Likewise.
30892 * elf/dl-cache.c: Likewise.
30893 * elf/dl-misc.c: Likewise.
30894 * elf/dl-profile.c: Likewise.
30895 * elf/dl-support.c: Likewise.
30896 * elf/ldconfig.c: Likewise.
30897 * elf/sprof.c: Likewise.
30898 * iconv/dummy-repertoire.c: Likewise.
30899 * iconv/iconv_charmap.c: Likewise.
30900 * iconv/skeleton.c: Likewise.
30901 * iconvdata/8bit-generic.c: Likewise.
30902 * iconvdata/cp737.h: Likewise.
30903 * iconvdata/cp775.h: Likewise.
30904 * iconvdata/ibm1008.h: Likewise.
30905 * iconvdata/ibm1025.h: Likewise.
30906 * iconvdata/ibm1046.h: Likewise.
30907 * iconvdata/ibm1097.h: Likewise.
30908 * iconvdata/ibm1112.h: Likewise.
30909 * iconvdata/ibm1122.h: Likewise.
30910 * iconvdata/ibm1123.h: Likewise.
30911 * iconvdata/ibm1124.h: Likewise.
30912 * iconvdata/ibm1129.h: Likewise.
30913 * iconvdata/ibm1130.h: Likewise.
30914 * iconvdata/ibm1132.h: Likewise.
30915 * iconvdata/ibm1133.h: Likewise.
30916 * iconvdata/ibm1137.h: Likewise.
30917 * iconvdata/ibm1140.h: Likewise.
30918 * iconvdata/ibm1141.h: Likewise.
30919 * iconvdata/ibm1142.h: Likewise.
30920 * iconvdata/ibm1143.h: Likewise.
30921 * iconvdata/ibm1144.h: Likewise.
30922 * iconvdata/ibm1145.h: Likewise.
30923 * iconvdata/ibm1146.h: Likewise.
30924 * iconvdata/ibm1147.h: Likewise.
30925 * iconvdata/ibm1148.h: Likewise.
30926 * iconvdata/ibm1149.h: Likewise.
30927 * iconvdata/ibm1153.h: Likewise.
30928 * iconvdata/ibm1154.h: Likewise.
30929 * iconvdata/ibm1155.h: Likewise.
30930 * iconvdata/ibm1156.h: Likewise.
30931 * iconvdata/ibm1157.h: Likewise.
30932 * iconvdata/ibm1158.h: Likewise.
30933 * iconvdata/ibm1160.h: Likewise.
30934 * iconvdata/ibm1161.h: Likewise.
30935 * iconvdata/ibm1162.h: Likewise.
30936 * iconvdata/ibm1163.h: Likewise.
30937 * iconvdata/ibm1164.h: Likewise.
30938 * iconvdata/ibm1166.h: Likewise.
30939 * iconvdata/ibm1167.h: Likewise.
30940 * iconvdata/ibm12712.h: Likewise.
30941 * iconvdata/ibm1390.h: Likewise.
30942 * iconvdata/ibm1399.h: Likewise.
30943 * iconvdata/ibm16804.h: Likewise.
30944 * iconvdata/ibm4517.h: Likewise.
30945 * iconvdata/ibm4899.h: Likewise.
30946 * iconvdata/ibm4909.h: Likewise.
30947 * iconvdata/ibm4971.h: Likewise.
30948 * iconvdata/ibm5347.h: Likewise.
30949 * iconvdata/ibm803.h: Likewise.
30950 * iconvdata/ibm856.h: Likewise.
30951 * iconvdata/ibm901.h: Likewise.
30952 * iconvdata/ibm902.h: Likewise.
30953 * iconvdata/ibm9030.h: Likewise.
30954 * iconvdata/ibm9066.h: Likewise.
30955 * iconvdata/ibm921.h: Likewise.
30956 * iconvdata/ibm922.h: Likewise.
30957 * iconvdata/ibm9448.h: Likewise.
30958 * iconvdata/isiri-3342.h: Likewise.
30959 * iconvdata/jis0201.h: Likewise.
30960 * include/link.h: Likewise.
30961 * include/netdb.h: Likewise.
30962 * inet/check_native.c: Likewise.
30963 * inet/check_pf.c: Likewise.
30964 * inet/getipv4sourcefilter.c: Likewise.
30965 * inet/getnameinfo.c: Likewise.
30966 * inet/getsourcefilter.c: Likewise.
30967 * inet/htonl.c: Likewise.
30968 * inet/setipv4sourcefilter.c: Likewise.
30969 * inet/setsourcefilter.c: Likewise.
30970 * inet/test-inet6_opt.c: Likewise.
30971 * inet/tst-network.c: Likewise.
30972 * locale/C-collate.c: Likewise.
30973 * locale/C-ctype.c: Likewise.
30974 * locale/C-time.c: Likewise.
30975 * locale/C-translit.h: Likewise.
30976 * locale/loadarchive.c: Likewise.
30977 * locale/programs/3level.h: Likewise.
30978 * locale/programs/charmap.c: Likewise.
30979 * locale/programs/charmap.h: Likewise.
30980 * locale/programs/ld-address.c: Likewise.
30981 * locale/programs/ld-collate.c: Likewise.
30982 * locale/programs/ld-ctype.c: Likewise.
30983 * locale/programs/ld-identification.c: Likewise.
30984 * locale/programs/ld-measurement.c: Likewise.
30985 * locale/programs/ld-messages.c: Likewise.
30986 * locale/programs/ld-monetary.c: Likewise.
30987 * locale/programs/ld-name.c: Likewise.
30988 * locale/programs/ld-numeric.c: Likewise.
30989 * locale/programs/ld-paper.c: Likewise.
30990 * locale/programs/ld-telephone.c: Likewise.
30991 * locale/programs/ld-time.c: Likewise.
30992 * locale/programs/linereader.c: Likewise.
30993 * locale/programs/locale.c: Likewise.
30994 * locale/programs/locarchive.c: Likewise.
30995 * locale/programs/locfile.h: Likewise.
30996 * locale/programs/repertoire.c: Likewise.
30997 * locale/programs/simple-hash.c: Likewise.
30998 * locale/programs/simple-hash.h: Likewise.
30999 * malloc/memusage.c: Likewise.
31000 * malloc/memusagestat.c: Likewise.
31001 * nis/nis_defaults.c: Likewise.
31002 * nis/nis_hash.c: Likewise.
31003 * nis/nis_print.c: Likewise.
31004 * nis/nis_xdr.c: Likewise.
31005 * nscd/connections.c: Likewise.
31006 * nscd/hstcache.c: Likewise.
31007 * nscd/nscd_gethst_r.c: Likewise.
31008 * nscd/nscd_getserv_r.c: Likewise.
31009 * nscd/nscd_helper.c: Likewise.
31010 * nscd/servicescache.c: Likewise.
31011 * nss/makedb.c: Likewise.
31012 * nss/nss_db/db-XXX.c: Likewise.
31013 * nss/nss_db/db-initgroups.c: Likewise.
31014 * nss/nss_db/db-netgrp.c: Likewise.
31015 * nss/nss_files/files-network.c: Likewise.
31016 * nss/nss_files/files-parse.c: Likewise.
31017 * posix/bug-regex5.c: Likewise.
31018 * posix/fnmatch_loop.c: Likewise.
31019 * posix/regcomp.c: Likewise.
31020 * posix/regexec.c: Likewise.
31021 * posix/tst-rfc3484-2.c: Likewise.
31022 * posix/tst-rfc3484-3.c: Likewise.
31023 * posix/tst-rfc3484.c: Likewise.
31024 * resolv/nss_dns/dns-canon.c: Likewise.
31025 * resolv/nss_dns/dns-network.c: Likewise.
31026 * resolv/res_init.c: Likewise.
31027 * resolv/res_mkquery.c: Likewise.
31028 * resolv/tst-aton.c: Likewise.
31029 * stdlib/cxa_atexit.c: Likewise.
31030 * stdlib/cxa_finalize.c: Likewise.
31031 * stdlib/gen-fpioconst.c: Likewise.
31032 * stdlib/strtol_l.c: Likewise.
31033 * string/tst-endian.c: Likewise.
31034 * sunrpc/auth_des.c: Likewise.
31035 * sunrpc/clnt_udp.c: Likewise.
31036 * sunrpc/rtime.c: Likewise.
31037 * sunrpc/svcauth_des.c: Likewise.
31038 * sunrpc/xdr.c: Likewise.
31039 * sunrpc/xdr_intXX_t.c: Likewise.
31040 * sunrpc/xdr_rec.c: Likewise.
31041 * sysdeps/generic/ldconfig.h: Likewise.
31042 * sysdeps/generic/ldsodefs.h: Likewise.
31043 * sysdeps/generic/memusage.h: Likewise.
31044 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31045 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31046 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31047 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31050 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31051 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31052 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31054 * sysdeps/posix/getaddrinfo.c: Likewise.
31055 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31056 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31057 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31058 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31059 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31060 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31061 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31062 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31063 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31064 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31065 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31066 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31067 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31068 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31069 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31070 * sysdeps/x86_64/dl-tls.h: Likewise.
31071 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31072 * time/alt_digit.c: Likewise.
31073 * time/era.c: Likewise.
31074 * wcsmbs/tst-c16c32-1.c: Likewise.
31076 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31078 * math/libm-test.inc (struct test_sincos_data): New type.
31079 (RUN_TEST_LOOP_sincos): New macro.
31080 (sincos_test_data): New variable.
31081 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31083 2013-05-16 Richard Henderson <rth@redhat.com>
31085 * math/atest-exp2.c (LIMB64): New macro.
31086 (CONSTSZ): New macro.
31087 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31089 (print_mpn_fp): ... to function scope.
31090 (read_mpn_hex): Remove.
31091 (get_log2): Remove.
31092 (exp2_mpn): Use mp_log2.
31093 (main): Use mp_exp1.
31095 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31097 * math/libm-test.inc: Remove comment about not testing "inexact"
31099 (INEXACT_EXCEPTION): New macro.
31100 (NO_INEXACT_EXCEPTION): Likewise.
31101 (INVALID_EXCEPTION_OK): Update value.
31102 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31103 (OVERFLOW_EXCEPTION_OK): Likewise.
31104 (UNDERFLOW_EXCEPTION_OK): Likewise.
31105 (IGNORE_ZERO_INF_SIGN): Likewise.
31106 (ERRNO_UNCHANGED): Likewise.
31107 (ERRNO_EDOM): Likewise.
31108 (ERRNO_ERANGE): Likewise.
31109 (test_exceptions): Handle testing "inexact" exceptions.
31110 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31111 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31112 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31113 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31115 (rint_towardzero_test_data): Likewise.
31116 (rint_downward_test_data): Likewise.
31117 (rint_upward_test_data): Likewise.
31119 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31120 with OVERFLOW_EXCEPTION.
31121 (exp10_test_data): Likewise.
31122 (exp2_test_data): Likewise.
31123 (expm1_test_data): Likewise.
31124 (lgamma_test_data): Likewise.
31125 (pow_test_data): Likewise.
31126 (tgamma_test_data): Likewise.
31127 (yn_test_data): Remove duplicate test of overflow.
31129 * math/libm-test.inc (struct test_cc_c_data): New type.
31130 (RUN_TEST_LOOP_cc_c): New macro.
31131 (cpow_test_data): New variable.
31132 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31134 * math/libm-test.inc (struct test_f_L_data): New type.
31135 (RUN_TEST_LOOP_f_L): New macro.
31136 (llrint_test_data): New variable.
31137 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31138 (llrint_tonearest_test_data): New variable.
31139 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31140 (llrint_towardzero_test_data): New variable.
31141 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31142 (llrint_downward_test_data): New variable.
31143 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31144 (llrint_upward_test_data): New variable.
31145 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31146 (llround_test_data): New variable.
31147 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31149 2013-05-13 Peter Collingbourne <pcc@google.com>
31151 * math/atest-exp2.c (get_log2): Remove const attribute.
31153 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31155 * math/libm-test.inc (struct test_f_l_data): New type.
31156 (RUN_TEST_LOOP_f_l): New macro.
31157 (lrint_test_data): New variable.
31158 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31159 (lrint_tonearest_test_data): New variable.
31160 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31161 (lrint_towardzero_test_data): New variable.
31162 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31163 (lrint_downward_test_data): New variable.
31164 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31165 (lrint_upward_test_data): New variable.
31166 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31167 (lround_test_data): New variable.
31168 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31170 2013-05-15 Peter Collingbourne <pcc@google.com>
31172 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31173 (EXTRACT_WORDS64) Use where appropriate.
31174 (INSERT_WORDS64) Likewise.
31176 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31177 constraints with x constraints.
31178 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31180 * malloc/obstack.c (_obstack_compat): Add initializer.
31182 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31184 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31185 si_trapno and add si_addr_lsb to _sifields.sigfault.
31186 (si_trapno): Remove macro.
31187 (si_addr_lsb): Define new macro.
31188 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31190 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31192 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31193 instead of TEST_f_l.
31194 (llrint_test_tonearest): Likewise.
31195 (llrint_test_towardzero): Likewise.
31196 (llrint_test_downward): Likewise.
31197 (llrint_test_upward): Likewise.
31198 (llround_test): Likewise.
31200 * math/libm-test.inc (struct test_f_i_data): Add comment.
31201 (RUN_TEST_LOOP_f_b): New macro.
31202 (RUN_TEST_LOOP_f_b_tg): Likewise.
31203 (finite_test_data): New variable.
31204 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31205 (isfinite_test_data): New variable.
31206 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31207 (isinf_test_data): New variable.
31208 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31209 (isnan_test_data): New variable.
31210 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31211 (isnormal_test_data): New variable.
31212 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31213 (issignaling_test_data): New variable.
31214 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31215 (signbit_test_data): New variable.
31216 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31218 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31219 with INVALID_EXCEPTION.
31220 (acosh_test_data): Likewise.
31221 (asin_test_data): Likewise.
31222 (atanh_test_data): Likewise.
31223 (fmod_test_data): Likewise.
31224 (log_test_data): Likewise.
31225 (log10_test_data): Likewise.
31226 (log2_test_data): Likewise.
31227 (pow_test_data): Likewise.
31228 (sqrt_test_data): Likewise.
31229 (y0_test_data): Likewise.
31230 (y1_test_data): Likewise.
31231 (yn_test_data): Likewise.
31233 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31236 * math/libm-test.inc (struct test_ff_i_data): New type.
31237 (RUN_TEST_LOOP_ff_i_tg): New macro.
31238 (isgreater_test_data): New variable.
31239 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31240 (isgreaterequal_test_data): New variable.
31241 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31242 (isless_test_data): New variable.
31243 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31244 (islessequal_test_data): New variable.
31245 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31246 (islessgreater_test_data): New variable.
31247 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31248 (isunordered_test_data): New variable.
31249 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31251 2013-05-14 David S. Miller <davem@davemloft.net>
31253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31255 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31257 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31259 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31261 (struct test_f_i_data): Change type of max_ulp to int.
31263 * math/libm-test.inc (test_ffI_f1_data): New type.
31264 (RUN_TEST_LOOP_ffI_f1): New macro.
31265 (remquo_test_data): New variable.
31266 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31268 * setjmp/tst-setjmp-fp.c: New file.
31269 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31270 (link-libm): New variable.
31271 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31273 * math/libm-test.inc (struct test_f_i_data): New type.
31274 (RUN_TEST_LOOP_f_i): New macro.
31275 (RUN_TEST_LOOP_f_i_tg): Likewise.
31276 (fpclassify_test_data): New variable.
31277 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31278 (ilogb_test_data): New variable.
31279 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31281 * math/libm-test.inc (scalbln_test): Correct function name in END
31284 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31285 (RUN_TEST_LOOP_fI_f1): New macro.
31286 (frexp_test_data): New variable.
31287 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31289 * math/libm-test.inc (struct test_fF_f1_data): New type.
31290 (RUN_TEST_LOOP_fF_f1): New macro.
31291 (modf_test_data): New variable.
31292 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31294 * math/libm-test.inc (struct test_f_f1_data): New type.
31295 (RUN_TEST_LOOP_f_f1): New macro.
31296 (gamma_test_data): New variable.
31297 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31298 (lgamma_test_data): New variable.
31299 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31301 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31303 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31304 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31305 (main): Comment "tls" pseudo-hwcap.
31307 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31309 * math/libm-test.inc (struct test_fl_f_data): New type.
31310 (RUN_TEST_LOOP_fl_f): New variable.
31311 (scalbln_test_data): New variable.
31312 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31314 * math/libm-test.inc (struct test_fi_f_data): New type.
31315 (RUN_TEST_LOOP_fi_f): New macro.
31316 (ldexp_test_data): New variable.
31317 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31318 (scalbn_test_data): New variable.
31319 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31321 * math/libm-test.inc (struct test_c_f_data): New type.
31322 (RUN_TEST_LOOP_c_f): New macro.
31323 (cabs_test_data): New variable.
31324 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31325 (carg_test_data): New variable.
31326 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31327 (cimag_test_data): New variable.
31328 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31329 (creal_test_data): New variable.
31330 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31332 * math/libm-test.inc (struct test_if_f_data): New type.
31333 (RUN_TEST_LOOP_if_f): New macro.
31334 (jn_test_data): New variable.
31335 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31336 (yn_test_data): New variable.
31337 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31339 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31341 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31343 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31344 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31346 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31348 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31349 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31350 (bench-deps): Add bench-timing.h.
31351 * benchtests-bench-skeleton.c: Include bench-timing.h.
31352 (main): Use TIMING_* macros instead of clock_gettime.
31353 * benchtests/bench-timing.h: New file.
31356 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31357 Renamed from _LIB_VERSION.
31358 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31360 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31362 * math/libm-test.inc (struct test_fff_f_data): New type.
31363 (RUN_TEST_LOOP_fff_f): New macro.
31364 (fma_test_data): New variable.
31365 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31366 (fma_towardzero_test_data): New variable.
31367 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31368 (fma_downward_test_data): New variable.
31369 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31370 (fma_upward_test_data): New variable.
31371 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31373 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31374 (struct test_c_c_data): New type.
31375 (RUN_TEST_LOOP_c_c): New macro.
31376 (cacos_test_data): New variable.
31377 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31378 (cacosh_test_data): New variable.
31379 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31380 (casin_test_data): New variable.
31381 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31382 (casinh_test_data): New variable.
31383 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31384 (catan_test_data): New variable.
31385 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31386 (catanh_test_data): New variable.
31387 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31388 (ccos_test_data): New variable.
31389 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31390 (ccosh_test_data): New variable.
31391 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31392 (cexp_test_data): New variable.
31393 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31394 (clog_test_data): New variable.
31395 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31396 (clog10_test_data): New variable.
31397 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31398 (conj_test_data): New variable.
31399 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31400 (cproj_test_data): New variable.
31401 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31402 (csin_test_data): New variable.
31403 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31404 (csinh_test_data): New variable.
31405 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31406 (csqrt_test_data): New variable.
31407 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31408 (ctan_test_data): New variable.
31409 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31410 (ctan_tonearest_test_data): New variable.
31411 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31412 (ctan_towardzero_test_data): New variable.
31413 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31414 (ctan_downward_test_data): New variable.
31415 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31416 (ctan_upward_test_data): New variable.
31417 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31418 (ctanh_test_data): New variable.
31419 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31420 (ctanh_tonearest_test_data): New variable.
31421 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31422 (ctanh_towardzero_test_data): New variable.
31423 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31424 (ctanh_downward_test_data): New variable.
31425 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31426 (ctanh_upward_test_data): New variable.
31427 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31428 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31431 * math/libm-test.inc (struct test_ff_f_data): New type.
31432 (struct test_ff_f_data_nexttoward): Likewise.
31433 (RUN_TEST_LOOP_2_f): New macro.
31434 (RUN_TEST_LOOP_ff_f): Likewise.
31435 (atan2_test_data): New variable.
31436 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31437 (copysign_test_data): New variable.
31438 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31439 (fdim_test_data): New variable.
31440 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31441 (fmax_test_data): New variable.
31442 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31443 (fmin_test_data): New variable.
31444 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31445 (fmod_test_data): New variable.
31446 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31447 (hypot_test_data): New variable.
31448 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31449 (nextafter_test_data): New variable.
31450 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31451 (nexttoward_test_data): New variable.
31452 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31453 (pow_test_data): New variable.
31454 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31455 (pow_tonearest_test_data): New variable.
31456 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31457 (pow_towardzero_test_data): New variable.
31458 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31459 (pow_downward_test_data): New variable.
31460 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31461 (pow_upward_test_data): New variable.
31462 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31463 (remainder_test_data): New variable.
31464 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31465 (scalb_test_data): New variable.
31466 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31467 * sysdeps/i386/fpu/libm-test-ulps: Update.
31469 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31471 * math/libm-test.inc (fma_test): Use max_value instead of local
31473 (nextafter_test): Likewise.
31475 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31476 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31477 (acos_downward_test_data): New variable.
31478 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31479 (acos_upward_test_data): New variable.
31480 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31481 (acosh_test_data): New variable.
31482 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31483 (asin_test_data): New variable.
31484 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31485 (asin_tonearest_test_data): New variable.
31486 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31487 (asin_towardzero_test_data): New variable.
31488 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31489 (asin_downward_test_data): New variable.
31490 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31491 (asin_upward_test_data): New variable.
31492 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31493 (asinh_test_data): New variable.
31494 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31495 (atan_test_data): New variable.
31496 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31497 (atanh_test_data): New variable.
31498 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31499 (cbrt_test_data): New variable.
31500 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31501 (ceil_test_data): New variable.
31502 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31503 (cos_test_data): New variable.
31504 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31505 (cos_tonearest_test_data): New variable.
31506 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31507 (cos_towardzero_test_data): New variable.
31508 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31509 (cos_downward_test_data): New variable.
31510 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31511 (cos_upward_test_data): New variable.
31512 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31513 (cosh_test_data): New variable.
31514 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31515 (cosh_tonearest_test_data): New variable.
31516 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31517 (cosh_towardzero_test_data): New variable.
31518 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31519 (cosh_downward_test_data): New variable.
31520 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31521 (cosh_upward_test_data): New variable.
31522 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31523 (erf_test_data): New variable.
31524 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31525 (erfc_test_data): New variable.
31526 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31527 (exp_test_data): New variable.
31528 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31529 (exp_tonearest_test_data): New variable.
31530 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31531 (exp_towardzero_test_data): New variable.
31532 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31533 (exp_downward_test_data): New variable.
31534 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31535 (exp_upward_test_data): New variable.
31536 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31537 (exp10_test_data): New variable.
31538 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31539 (exp2_test_data): New variable.
31540 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31541 (expm1_test_data): New variable.
31542 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31543 (fabs_test_data): New variable.
31544 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31545 (floor_test_data): New variable.
31546 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31547 (j0_test_data): New variable.
31548 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31549 (j1_test_data): New variable.
31550 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31551 (log_test_data): New variable.
31552 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31553 (log10_test_data): New variable.
31554 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31555 (log1p_test_data): New variable.
31556 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31557 (log2_test_data): New variable.
31558 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31559 (logb_test_data): New variable.
31560 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31561 (logb_downward_test_data): New variable.
31562 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31563 (nearbyint_test_data): New variable.
31564 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31565 (rint_test_data): New variable.
31566 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31567 (rint_tonearest_test_data): New variable.
31568 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31569 (rint_towardzero_test_data): New variable.
31570 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31571 (rint_downward_test_data): New variable.
31572 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31573 (rint_upward_test_data): New variable.
31574 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31575 (round_test_data): New variable.
31576 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31577 (sin_test_data): New variable.
31578 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31579 (sin_tonearest_test_data): New variable.
31580 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31581 (sin_towardzero_test_data): New variable.
31582 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31583 (sin_downward_test_data): New variable.
31584 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31585 (sin_upward_test_data): New variable.
31586 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31587 (sinh_test_data): New variable.
31588 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31589 (sinh_tonearest_test_data): New variable.
31590 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31591 (sinh_towardzero_test_data): New variable.
31592 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31593 (sinh_downward_test_data): New variable.
31594 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31595 (sinh_upward_test_data): New variable.
31596 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31597 (sqrt_test_data): New variable.
31598 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31599 (tan_test_data): New variable.
31600 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31601 (tan_tonearest_test_data): New variable.
31602 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31603 (tan_towardzero_test_data): New variable.
31604 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31605 (tan_downward_test_data): New variable.
31606 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31607 (tan_upward_test_data): New variable.
31608 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31609 (tanh_test_data): New variable.
31610 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31611 (tgamma_test_data): New variable.
31612 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31613 (trunc_test_data): New variable.
31614 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31615 (y0_test_data): New variable.
31616 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31617 (y1_test_data): New variable.
31618 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31619 (significand_test_data): New variable.
31620 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31622 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31625 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31627 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31629 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31631 2013-05-10 Andreas Jaeger <aj@suse.de>
31634 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31635 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31637 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31639 * math/gen-libm-test.pl (adjust_arg): New function.
31640 (special_functions): Handle generating output in both functions
31642 (parse_args): Likewise.
31643 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31644 $in_func argument to parse_args.
31645 * math/libm-test.inc (struct test_f_f_data): New type.
31646 (IF_ROUND_INIT_): New macro.
31647 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31648 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31649 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31650 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31651 (ROUND_RESTORE_): Likewise.
31652 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31653 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31654 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31655 (ROUND_RESTORE_FE_UPWARD): Likewise.
31656 (RUN_TEST_LOOP_f_f): New macro.
31657 (acos_test_data): New variable.
31658 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31659 (acos_tonearest_test_data): New variable.
31660 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31662 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31664 * benchtests/bench-skeleton.c (startup): Fix coding style.
31666 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31669 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31670 negative infinity argument.
31671 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31672 negative infinity argument.
31673 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31674 negative infinity argument.
31675 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31678 2013-05-10 Florian Weimer <fweimer@redhat.com>
31680 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31681 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31682 * iconv/iconv_prog.c (main): Likewise.
31683 * locale/programs/charmap-dir.c (charmap_readdir)
31684 (fopen_uncompressed): Likewise.
31685 * locale/programs/locfile.c (siblings_uncached)
31686 (write_locale_data): Use lstat64 instead of lstat.
31687 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31690 2013-05-10 Andreas Jaeger <aj@suse.de>
31693 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31695 Include <locale.h>.
31697 2013-05-09 Carlos O'Donell <carlos@redhat.com>
31699 * elf/dl-close.c (_dl_close_worker): Add comments.
31701 2013-05-09 Joseph Myers <joseph@codesourcery.com>
31704 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31706 (__ieee754_rem_pio2l): Update comments.
31709 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31711 (__ieee754_rem_pio2l): Update comments.
31713 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31714 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31716 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31719 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31720 (M_PI_34_LOG10El): Likewise.
31721 (M_PI2_LOG10El): Likewise.
31722 (M_PI4_LOG10El): Likewise.
31723 (M_PI_LOG10El): Likewise.
31725 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31729 2013-05-08 Joseph Myers <joseph@codesourcery.com>
31731 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31732 (MINUS_ZERO_INIT): Likewise.
31733 (PLUS_INFTY_INIT): Likewise.
31734 (MINUS_INFTY_INIT): Likewise.
31735 (QNAN_VALUE_INIT): Likewise.
31736 (MAX_VALUE_INIT): Likewise.
31737 (MIN_VALUE_INIT): Likewise.
31738 (MIN_SUBNORM_VALUE_INIT): Likewise.
31739 (plus_zero): Initialize with PLUS_ZERO_INIT.
31740 (minus_zero): Initialize with MINUS_ZERO_INIT.
31741 (plus_infty): Initialize with PLUS_INFTY_INIT.
31742 (minus_infty): Initialize with MINUS_INFTY_INIT.
31743 (qnan_value): Initialize with QNAN_VALUE_INIT.
31744 (max_value): Initialize with MAX_VALUE_INIT.
31745 (min_value): Initialize with MIN_VALUE_INIT.
31746 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31748 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31749 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31750 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31751 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31753 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31754 (RUN_TEST_2_f): Likewise.
31755 (RUN_TEST_ff_f): Likewise.
31756 (RUN_TEST_fi_f): Likewise.
31757 (RUN_TEST_fl_f): Likewise.
31758 (RUN_TEST_fff_f): Likewise.
31759 (RUN_TEST_c_f): Likewise.
31760 (RUN_TEST_f_f1): Likewise.
31761 (RUN_TEST_fF_f1): Likewise.
31762 (RUN_TEST_fI_f1): Likewise.
31763 (RUN_TEST_ffI_f1): Likewise.
31764 (RUN_TEST_c_c): Likewise.
31765 (RUN_TEST_cc_c): Likewise.
31766 (RUN_TEST_f_i): Likewise.
31767 (RUN_TEST_f_i_tg): Likewise.
31768 (RUN_TEST_ff_i_tg): Likewise.
31769 (RUN_TEST_f_b): Likewise.
31770 (RUN_TEST_f_b_tg): Likewise.
31771 (RUN_TEST_f_l): Likewise.
31772 (RUN_TEST_f_L): Likewise.
31773 (RUN_TEST_sincos): Likewise.
31774 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31775 whether to show exceptions. Do not include ");\n" in return
31777 (special_functions): Output call to RUN_TEST_sincos instead of
31778 check_float calls. Update calls to new_test.
31779 (parse_args): Output call to single RUN_TEST_* macro instead of
31780 check_* calls and other assignments. Update calls to new_test.
31786 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31787 input to result for tgamma overflow.
31788 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31789 (gamma_coeff): New variable.
31790 (NCOEFF): New macro.
31791 (gamma_positive): New function.
31792 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31793 underflow here. Use gamma_positive instead of exp (lgamma) for
31795 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31796 (gamma_coeff): New variable.
31797 (NCOEFF): New macro.
31798 (gammaf_positive): New function.
31799 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31800 underflow here. Use gamma_positive instead of exp (lgamma) for
31802 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31803 (gamma_coeff): New variable.
31804 (NCOEFF): New macro.
31805 (gammal_positive): New function.
31806 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31807 underflow here. Use gamma_positive instead of exp (lgamma) for
31809 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31810 (gamma_coeff): New variable.
31811 (NCOEFF): New macro.
31812 (gammal_positive): New function.
31813 (__ieee754_gammal_r): Handle positive infinity, overflow and
31814 underflow here. Handle NaN the same as positive infinity. Remove
31815 check x < 0xffffffff for negative integers. Use gamma_positive
31816 instead of exp (lgamma) for other arguments.
31817 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31818 (gamma_coeff): New variable.
31819 (NCOEFF): New macro.
31820 (gammal_positive): New function.
31821 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31822 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31823 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31824 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31825 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31826 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31827 * sysdeps/generic/math_private.h (__gamma_productf): New
31829 (__gamma_product): Likewise.
31830 (__gamma_productl): Likewise.
31831 * math/Makefile (libm-calls): Add gamma_product.
31832 * math/libm-test.inc (tgamma_test): Add more tests.
31833 * sysdeps/i386/fpu/libm-test-ulps: Update.
31834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31836 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
31838 * benchtests/bench-skeleton.c (main): Preheat CPU.
31840 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31842 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31844 2013-05-07 Roland McGrath <roland@hack.frob.com>
31846 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31847 and _dl_skip_args_internal.
31849 2013-05-07 Carlos O'Donell <carlos@redhat.com>
31851 * manual/message.texi (Message Translation): Talk about users.
31852 Message to key mapping impacts design.
31854 2013-05-06 Roland McGrath <roland@hack.frob.com>
31856 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31858 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31860 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31861 * sysdeps/wordsize-64/glob64.c: ... here.
31863 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31864 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31867 * debug/getlogin_r_chk.c: Moved to ...
31868 * login/getlogin_r_chk.c: ... here.
31869 * debug/Makefile (routines): Move getlogin_r_chk to ...
31870 * login/Makefile (routines): ... here.
31871 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31872 * login/Versions (libc: GLIBC_2.4): ... here.
31874 * io/poll.c (__poll): Renamed from poll.
31875 Add libc_hidden_def.
31876 (poll): Define as weak alias.
31878 * debug/ptsname_r_chk.c: Moved to ...
31879 * login/ptsname_r_chk.c: ... here.
31880 * debug/Makefile (routines): Move ptsname_r_chk to ...
31881 * login/Makefile (routines): ... here.
31882 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31883 * login/Versions (libc: GLIBC_2.4): ... here.
31885 * posix/getlogin.c: Moved to ...
31886 * login/getlogin.c: ... here.
31887 * posix/getlogin_r.c: Moved to ...
31888 * login/getlogin_r.c: ... here.
31889 * posix/getlogin_r.c: Moved to ...
31890 * login/getlogin_r.c: ... here.
31891 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31892 * login/Makefile (routines): ... here.
31893 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31894 * login/Versions (libc: GLIBC_2.0): ... here.
31896 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31897 (setrlimit): Define as weak alias.
31899 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31900 Call __ names for open, ftruncate, and close.
31901 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31902 (truncate): Define as weak alias.
31904 2013-05-06 Joseph Myers <joseph@codesourcery.com>
31906 * math/gen-libm-test.pl (parse_args): Initialize x before each
31907 test of frexp, modf and remquo.
31909 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31910 test signgam value.
31912 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31916 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31918 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31920 2013-05-06 Roland McGrath <roland@hack.frob.com>
31922 * elf/dl-writev.h: New file.
31923 * elf/dl-misc.c: Include it.
31924 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31925 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31927 2013-05-04 Joseph Myers <joseph@codesourcery.com>
31929 * math/libm-test.inc (noXFails): Remove variable.
31930 (noXPasses): Likewise.
31931 (BUILD_COMPLEX_INT): Remove macro.
31932 (print_screen): Remove xfail argument.
31933 (print_screen_max_error): Likewise.
31934 (update_stats): Likewise.
31935 (print_max_error): Likewise. Update calls to other affected
31937 (print_complex_max_error): Likewise.
31938 (test_single_exception): Update calls to print_screen.
31939 (test_single_errno): Likewise.
31940 (check_float_internal): Remove xfail argument. Update calls to
31941 other affected functions.
31942 (check_float): Likewise.
31943 (check_complex): Likewise.
31944 (check_int): Likewise.
31945 (check_long): Likewise.
31946 (check_bool): Likewise.
31947 (check_longlong): Likewise.
31948 (main): Don't print noXFails and noXPasses.
31949 * math/gen-libm-test.pl (top level): Don't mention expected
31950 failure handling in comment.
31951 (new_test): Don't handle expected failures.
31952 (parse_args): Don't mention expected failure handling in comment.
31953 (generate_testfile): Don't handle expected failures.
31954 (parse_ulps): Likewise.
31955 (print_ulps_file): Likewise.
31956 (get_failure): Remove function.
31957 (output_test): Don't handle expected failures.
31958 * make/README.libm-test: Don't mention expected failure handling.
31960 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31961 (minus_zero): Likewise.
31962 (plus_infty): Likewise.
31963 (minus_infty): Likewise.
31964 (qnan_value): Likewise.
31965 (max_value): Likewise.
31966 (min_value): Likewise.
31967 (min_subnorm_value): Likewise.
31968 (initialize): Do not initialize those variables dynamically.
31970 2013-05-03 Roland McGrath <roland@hack.frob.com>
31972 * io/open.c (__open_2): Moved to ...
31973 * io/open_2.c: ... this new file.
31974 * io/open64.c (__open64_2): Moved to ...
31975 * io/open64_2.c: ... this new file.
31976 * io/openat.c (__openat_2): Moved to ...
31977 * io/openat_2.c: ... this new file.
31978 * io/openat64.c (__openat64_2): Moved to ...
31979 * io/openat64_2.c: ... this new file.
31980 * io/Makefile (routines): Add them.
31981 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31982 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31983 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31984 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31985 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31986 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31987 (__openat64): Add hidden_ver.
31988 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31989 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31991 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31992 Separately conditionalize setting of GLRO(dl_sysinfo) so
31993 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31994 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31996 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31998 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31999 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32001 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32002 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32003 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32004 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32005 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32007 2013-05-03 Joseph Myers <joseph@codesourcery.com>
32009 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32010 test signgam value.
32012 * math/libm-test.inc (hypot_test): Do not use
32013 IGNORE_ZERO_INF_SIGN.
32015 2013-05-03 Andreas Jaeger <aj@suse.de>
32017 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32019 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32020 (PF_MAX): Adjust for VSOCK change.
32022 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32026 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32029 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32030 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32031 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32033 2013-05-02 David S. Miller <davem@davemloft.net>
32035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32037 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
32039 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32041 2013-05-01 Roland McGrath <roland@hack.frob.com>
32043 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32045 2013-05-01 Richard Smith <richard@metafoo.co.uk>
32048 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32049 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32050 Use __attribute__ ((__gnu_inline__)).
32051 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32052 Don't use __attribute__ ((__gnu_inline__)).
32054 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32057 * math/s_catan.c (__catan): Handle small real or imaginary part of
32058 input specially to avoid spurious underflow.
32059 * math/s_catanf.c (__catanf): Likewise.
32060 * math/s_catanh.c (__catanh): Likewise.
32061 * math/s_catanhf.c (__catanhf): Likewise.
32062 * math/s_catanhl.c (__catanhl): Likewise.
32063 * math/s_catanl.c (__catanl): Likewise.
32064 * math/libm-test.inc (catan_test): Add more tests.
32065 (catanh_test): Likewise.
32066 * sysdeps/i386/fpu/libm-test-ulps: Update.
32067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32069 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32073 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32076 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32077 accurately for denominator in atan2.
32078 * math/s_catanf.c (__catanf): Likewise.
32079 * math/s_catanh.c (__catanh): Likewise.
32080 * math/s_catanhf.c (__catanhf): Likewise.
32081 * math/s_catanhl.c (__catanhl): Likewise.
32082 * math/s_catanl.c (__catanl): Likewise.
32083 * math/libm-test.inc (catan_test): Add more tests.
32084 (catanh_test): Likewise.
32085 * sysdeps/i386/fpu/libm-test-ulps: Update.
32086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32088 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32090 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32092 * benchtests/Makefile (bench): Remove slow benchmarks.
32093 * benchtests/atan-inputs: Add slow benchmark inputs.
32094 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32095 (BENCH_FUNC): Accept variant offset.
32097 * benchtests/bench-skeleton.c (main): Run benchmark for each
32099 * benchtests/cos-inputs: Add slow benchmark inputs.
32100 * benchtests/exp-inputs: Likewise.
32101 * benchtests/pow-inputs: Likewise.
32102 * benchtests/sin-inputs: Likewise.
32103 * benchtests/slowatan-inputs: Remove.
32104 * benchtests/slowatan.c: Remove.
32105 * benchtests/slowcos-inputs: Remove.
32106 * benchtests/slowcos.c: Remove.
32107 * benchtests/slowexp-inputs: Remove.
32108 * benchtests/slowexp.c: Remove.
32109 * benchtests/slowpow-inputs: Remove.
32110 * benchtests/slowpow.c: Remove.
32111 * benchtests/slowsin-inputs: Remove.
32112 * benchtests/slowsin.c: Remove.
32113 * benchtests/slowtan-inputs: Remove.
32114 * benchtests/slowtan.c: Remove.
32115 * benchtests/tan-inputs: Add slow benchmark inputs.
32116 * scripts/bench.pl: Parse comments and directives.
32118 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32120 ($(objpfx)bench-%.c): Remove *-ITER.
32121 * benchtests/bench-modf.c: Remove definition of ITER.
32122 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32123 (main): Loop for DURATION seconds instead of fixed number of
32125 * scripts/bench.pl: Don't expect iterations in parameters.
32127 2013-04-29 Roland McGrath <roland@hack.frob.com>
32129 * io/fchdir.c (__fchdir): Renamed from fchdir.
32130 (fchdir): Define as weak alias.
32132 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32134 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32135 (ERRNO_EDOM): Likewise.
32136 (ERRNO_ERANGE): Likewise.
32137 (noErrnoTests): New variable.
32138 (init_max_error): Set errno to 0.
32139 (test_single_errno): New function.
32140 (test_errno): Likewise.
32141 (check_float_internal): Call test_errno. Set errno to 0.
32142 (check_complex): Refer to errno tests in comment.
32143 (check_int): Call test_errno. Set errno to 0.
32144 (check_long): Likewise.
32145 (check_bool): Likewise.
32146 (check_longlong): Likewise.
32147 (cos_test): Use ERRNO_* flags for errno tests instead of
32149 (expm1_test): Likewise.
32150 (fmod_test): Likewise.
32151 (ilogb_test): Likewise.
32152 (lgamma_test): Likewise.
32153 (pow_test): Likewise.
32154 (remainder_test): Likewise.
32155 (sin_test): Likewise.
32156 (tan_test): Likewise.
32157 (yn_test): Likewise.
32158 (initialize): Set errno to 0.
32159 (main): Print number of errno tests.
32160 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32162 2013-04-29 Andreas Jaeger <aj@suse.de>
32165 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32169 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32170 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32174 * stdlib/random.c (__initstate): Return NULL if
32178 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32179 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32182 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32186 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32188 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32189 of individual tests.
32190 (casin_test): Likewise.
32191 (casinh_test): Likewise.
32193 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32196 * math/s_catan.c (__catan): Handle arguments with large real or
32197 imaginary part separately without squaring.
32198 * math/s_catanf.c (__catanf): Likewise.
32199 * math/s_catanh.c (__catanh): Likewise.
32200 * math/s_catanhf.c (__catanhf): Likewise.
32201 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32203 (__catanhl): Handle arguments with large real or imaginary part
32204 separately without squaring.
32205 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32207 (__catanl): Handle arguments with large real or imaginary part
32208 separately without squaring.
32209 * math/libm-test.inc (catan_test): Add more tests.
32210 (catanh_test): Likewise.
32211 * sysdeps/i386/fpu/libm-test-ulps: Update.
32212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32214 2013-04-27 Andreas Jaeger <aj@suse.de>
32217 * stdlib/stdlib.h: Update guards for qecvt.
32218 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32221 2013-04-27 Allan McRae <allan@archlinux.org>
32223 * sysdeps/i386/fpu/libm-test-ulps: Update.
32225 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32228 * math/s_catan.c: Include <float.h>.
32229 (__catan): Ensure underflow exception occurs for underflowed
32231 * math/s_catanf.c: Include <float.h>.
32232 (__catanf): Ensure underflow exception occurs for underflowed
32234 * math/s_catanh.c: Include <float.h>.
32235 (__catanh): Ensure underflow exception occurs for underflowed
32237 * math/s_catanhf.c: Include <float.h>.
32238 (__catanhf): Ensure underflow exception occurs for underflowed
32240 * math/s_catanhl.c: Include <float.h>.
32241 (__catanhl): Ensure underflow exception occurs for underflowed
32243 * math/s_catanl.c: Include <float.h>.
32244 (__catanl): Ensure underflow exception occurs for underflowed
32246 * math/libm-test.inc (catan_test): Add more tests.
32247 (catanh_test): Likewise.
32250 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32251 underflowed result.
32252 * math/s_ccoshf.c (__ccoshf): Likewise.
32253 * math/s_ccoshl.c (__ccoshl): Likewise.
32254 * math/s_csin.c (__csin): Likewise.
32255 * math/s_csinf.c (__csinf): Likewise.
32256 * math/s_csinh.c (__csinh): Likewise.
32257 * math/s_csinhf.c (__csinhf): Likewise.
32258 * math/s_csinhl.c (__csinhl): Likewise.
32259 * math/s_csinl.c (__csinl): Likewise.
32260 * math/libm-test.inc (ccos_test): Add more tests.
32261 (ccosh_test): Likewise.
32262 (csin_test): Likewise.
32263 (csinh_test): Likewise.
32265 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32267 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32268 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32269 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32270 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32271 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32272 powerpc/power5+/fpu folders.
32273 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32276 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32280 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32282 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32283 additions to variable.
32284 [$(config-machine) = x86_64] (modules-names): Likewise.
32285 ($(objpfx)tst-audit3): Remove dependency.
32286 ($(objpfx)tst-audit3.out): Likewise.
32287 ($(objpfx)tst-audit4): Likewise.
32288 ($(objpfx)tst-audit4.out): Likewise.
32289 ($(objpfx)tst-audit5): Likewise.
32290 ($(objpfx)tst-audit5.out): Likewise.
32291 ($(objpfx)tst-audit6): Likewise.
32292 ($(objpfx)tst-audit6.out): Likewise.
32293 ($(objpfx)tst-audit7): Likewise.
32294 ($(objpfx)tst-audit7.out): Likewise.
32295 (tst-audit3-ENV): Remove variable.
32296 (tst-audit4-ENV): Likewise.
32297 (tst-audit5-ENV): Likewise.
32298 (tst-audit6-ENV): Likewise.
32299 (tst-audit7-ENV): Likewise.
32300 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32301 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32302 addition to variable.
32303 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32304 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32305 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32306 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32307 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32308 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32309 tst-audit3, tst-audit4 and tst-audit5.
32310 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32311 tst-audit6 and tst-audit7.
32312 [$(subdir) = elf] (modules-names): Add audit modules for those
32314 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32315 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32316 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32317 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32318 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32319 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32320 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32321 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32322 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32323 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32324 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32325 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32326 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32327 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32328 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32329 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32331 [$(subdir) = elf && $(config-cflags-avx) = yes]
32332 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32333 [$(subdir) = elf && $(config-cflags-avx) = yes]
32334 (CFLAGS-tst-auditmod4a.c): Likewise.
32335 [$(subdir) = elf && $(config-cflags-avx) = yes]
32336 (CFLAGS-tst-auditmod4b.c): Likewise.
32337 [$(subdir) = elf && $(config-cflags-avx) = yes]
32338 (CFLAGS-tst-auditmod6b.c): Likewise.
32339 [$(subdir) = elf && $(config-cflags-avx) = yes]
32340 (CFLAGS-tst-auditmod6c.c): Likewise.
32341 [$(subdir) = elf && $(config-cflags-avx) = yes]
32342 (CFLAGS-tst-auditmod7b.c): Likewise.
32343 * elf/tst-audit3.c: Move to ...
32344 * sysdeps/x86_64/tst-audit3.c: ... here.
32345 * elf/tst-audit4.c: Move to ...
32346 * sysdeps/x86_64/tst-audit4.c: ... here.
32347 * elf/tst-audit5.c: Move to ...
32348 * sysdeps/x86_64/tst-audit5.c: ... here.
32349 * elf/tst-audit6.c: Move to ...
32350 * sysdeps/x86_64/tst-audit6.c: ... here.
32351 * elf/tst-audit7.c: Move to ...
32352 * sysdeps/x86_64/tst-audit7.c: ... here.
32353 * elf/tst-auditmod3a.c: Move to ...
32354 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32355 * elf/tst-auditmod3b.c: Move to ...
32356 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32357 * elf/tst-auditmod4a.c: Move to ...
32358 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32359 * elf/tst-auditmod4b.c: Move to ...
32360 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32361 * elf/tst-auditmod5a.c: Move to ...
32362 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32363 * elf/tst-auditmod5b.c: Move to ...
32364 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32365 * elf/tst-auditmod6a.c: Move to ...
32366 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32367 * elf/tst-auditmod6b.c: Move to ...
32368 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32369 * elf/tst-auditmod6c.c: Move to ...
32370 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32371 * elf/tst-auditmod7a.c: Move to ...
32372 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32373 * elf/tst-auditmod7b.c: Move to ...
32374 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32376 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32379 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32380 define unconditionally.
32381 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32382 define unconditionally.
32383 (INT8_C, INT16_C, etc.): Likewise.
32385 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32387 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32388 __ehdr_start with hidden visibility.
32390 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32392 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32394 * math/libm-test.inc (cos_test): Use accurate hex constants.
32395 (sincost_test): Likewise.
32397 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32399 * math/libm-test.inc (catan_test): Add more tests.
32400 (catanh_test): Likewise.
32402 * math/s_catanf.c (__catanf): Use suffixed floating-point
32404 * math/s_catanhf.c (__catanhf): Likewise.
32405 * math/s_catanhl.c (__catanhl): Likewise.
32406 * math/s_catanl.c (__catanl): Likewise.
32409 * math/s_catan.c (__catan): Calculate imaginary part of result
32410 with log1p not log unless computing log of number close to 0.
32411 * math/s_catanf.c (__catanf): Likewise.
32412 * math/s_catanl.c (__catanl): Likewise.
32413 * math/s_catanh.c (__catanh): Calculate real part of result with
32414 log1p not log unless computing log of number close to 0.
32415 * math/s_catanhf.c (__catanhf): Likewise.
32416 * math/s_catanhl.c (__catanhl): Likewise.
32417 * math/libm-test.inc (catan_test): Add more tests.
32418 (catanh_test): Likewise.
32419 * sysdeps/i386/fpu/libm-test-ulps: Update.
32420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32422 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32424 * benchtests/Makefile: Mention files in which fast and slow
32425 paths of math functions are implemented.
32427 2013-04-23 Roland McGrath <roland@hack.frob.com>
32429 * sysdeps/posix/timespec_get.c: New file.
32431 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32433 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32435 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32437 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32438 powerpc/power5/fpu folders.
32439 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32440 * benchtests/Makefile: Add modf testcase.
32441 * benchtests/bench-modf.c: New file: Benchmark test for mo
32443 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32446 * time/Makefile (tests): Add tst-strptime-whitespace.
32447 * time/strptime_l.c (get_number): Use ISSPACE.
32448 (__strptime_internal): Likewise.
32449 * time/tst-strptime-whitespace.c: New test case.
32451 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32453 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32455 (_nss_files_init): Set it here.
32457 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32459 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32460 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32463 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32465 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32467 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32469 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32472 2013-04-21 David S. Miller <davem@davemloft.net>
32474 * po/ru.po: Update Russion translation from translation project.
32476 2013-04-17 Adam Conrad <adconrad@0c3.net>
32478 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32481 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32483 * configure.in: Remove i386 configure warning. Remove i386 case.
32484 * configure: Regenerate.
32485 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32486 Add example to error message.
32487 * sysdeps/i386/configure: Regenerate.
32489 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32491 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32493 * benchtests/cos-inputs: New file.
32494 * benchtests/slowcos-inputs: New file.
32495 * benchtests/slowcos.c: New file.
32496 * benchtests/slowtan-inputs: New file.
32497 * benchtests/slowtan.c: New file.
32498 * benchtests/tan-inputs: New file.
32500 2013-04-16 Roland McGrath <roland@hack.frob.com>
32502 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32505 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32507 * benchtests/Makefile: Include cppflags-iterator.mk to add
32508 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32510 * Makefile.in (bench-clean): New target.
32511 * benchtests/Makefile (bench-clean): Likewise.
32513 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32515 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32517 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32519 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32521 2013-04-15 Andreas Schwab <schwab@suse.de>
32523 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32525 * nscd/pwdcache.c (cache_addpw): Likewise.
32526 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32529 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32531 * benchtests/Makefile (bench): Write all output to
32532 bench-out.tmp together.
32534 2013-04-15 Andreas Schwab <schwab@suse.de>
32536 * nscd/nscd.c (main): Don't fork again after closing files.
32538 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32540 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32542 * benchtests/Rules (bench-deps): Collect dependencies into a
32543 single variable. Add Makefile to dependencies.
32544 ($(objpfx)bench-%.c): Depend on bench-deps.
32546 2013-04-12 Roland McGrath <roland@hack.frob.com>
32547 Xavier Roche <roche+kml2@exalead.com>
32550 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32551 just that it's a file descriptor.
32552 * manual/llio.texi (Synchronizing AIO Operations): Update description
32553 for EBADF error from aio_fsync.
32555 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32557 * Rules (bench): Move target definition...
32558 * benchtests/Makefile: ... here.
32560 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32562 * math/libm-test.inc (cos_test): Fix PI/2 test.
32563 (sincos_test): Likewise.
32564 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32565 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32567 2013-04-11 Andreas Schwab <schwab@suse.de>
32570 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32571 accept exponent character only when digits were seen.
32572 * stdio-common/Makefile (tests): Add bug26.
32573 * stdio-common/bug26.c: New file.
32576 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32579 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32581 * Makeconfig (rtld-prefix): Define built linker prefix.
32582 * Rules (run-bench): Use it.
32583 * math/Makefile (run-regen-ulps): Likewise.
32585 * Rules (bench): Remove eval.
32587 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32588 Roland McGrath <roland@hack.frob.com>
32589 Ondrej Bilka <neleai@seznam.cz>
32592 * time/getdate.c: Include ctype.h and alloca.h.
32593 (__getdate_r): Trim leading and trailing spaces of input.
32594 * time/tst-getdate.c (tests): Add tests with leading and
32597 2013-04-08 Roland McGrath <roland@hack.frob.com>
32600 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32601 when computing value.
32603 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32605 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32606 Use testrun.sh to run libm tests.
32609 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32611 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32614 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32616 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32618 * Makefile.in (regen-ulps): New target.
32619 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32620 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32621 [ifneq (no,$(PERL)] (regen-ulps): New target.
32622 [ifeq (no,$(PERL)] (regen-ulps): New target.
32623 * math/libm-test.inc (ulps_file_name): Define.
32624 (output_dir): New variable.
32625 (options): Add "output-dir" option.
32626 (parse_opt): Handle 'o' case.
32627 (main): If output_dir is non-NULL use it as a prefix
32629 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32631 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32633 [BZ #10060, #10062]
32634 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32635 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32636 fail configure if __sync_val_compare_and_swap is not inlined.
32637 * sysdeps/i386/configure: Regenerate.
32638 * configure.in: Build for i686 when configured for i386.
32639 * configure: Regenerate.
32640 * README: Remove i386 reference.
32642 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32644 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32645 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32647 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32649 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32650 (lmsnanval): New variables.
32651 (F): Add conversion tests.
32652 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32653 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32655 * stdio-common/tstdiomisc.c (F): Properly collect individual
32658 [BZ #14686, #15336]
32659 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32660 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32661 Instead, use input NaN values or generate a qNaN by arithmetic
32662 operation. Also fix bugs to comply with the standard.
32663 * math/libm-test.inc (remainder_test): Add more tests.
32665 [BZ #15335, #15342]
32666 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32668 input NaN values or generate a qNaN by arithmetic operation.
32670 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32673 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32676 2013-04-03 Joseph Myers <joseph@codesourcery.com>
32679 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32680 underflowed result.
32681 * math/s_cexpf.c (__cexpf): Likewise.
32682 * math/s_cexpl.c (__cexpl): Likewise.
32683 * math/libm-test.inc (cexp_test): Add more tests.
32685 2013-04-03 Andreas Schwab <schwab@suse.de>
32688 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32689 order arrays from heap if bigger than alloca cutoff.
32691 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32693 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32694 (SNAN_TESTS_double): Refer to GCC PR56831.
32695 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32698 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32700 * Rules (bench): Move bench.out after the run is complete.
32702 * Rules (bench): Echo currently running benchmark.
32704 * benchtests/Makefile (bench): Add atan and slowatan.
32705 * benchtests/atan-inputs: New file.
32706 * benchtests/slowatan-inputs: New file.
32707 * benchtests/slowatan.c: New file.
32709 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32710 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32714 * sysdeps/unix/sysv/linux/kernel-features.h
32715 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32716 __ASSUME_XFS_RESTRICTED_CHOWN.
32717 * sysdeps/unix/sysv/linux/pathconf.c
32718 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32719 Save and restore errno.
32721 2013-04-02 Joseph Myers <joseph@codesourcery.com>
32724 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32725 arguments using __kernel_casinh.
32726 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32727 arguments using __kernel_casinhf.
32728 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32729 arguments using __kernel_casinhl.
32730 * math/libm-test.inc (cacosh_test): Add more tests.
32731 * sysdeps/i386/fpu/libm-test-ulps: Update.
32732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32734 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32736 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32737 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32739 * bench/Makefile (bench): Add sin and slowsin.
32740 * benchtests/sin-inputs: New file.
32741 * benchtests/slowsin-inputs: New file.
32742 * benchtests/slowsin.c: New file.
32744 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32745 (bench): Add slowexp and slowpow.
32746 (exp-ITER): Increase iterations.
32747 (pow-ITER): Likewise.
32748 * benchtests/exp-inputs: Change input.
32749 * benchtests/pow-inputs: Likewise.
32750 * benchtests/slowexp-inputs: New file.
32751 * benchtests/slowexp.c: New file.
32752 * benchtests/slowpow-inputs: New file.
32753 * benchtests/slowpow.c: New file.
32755 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32757 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32759 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32760 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32761 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32762 * benchtests/Makefile: Add rint benchtest.
32763 * benchtests/rint-inputs: Input for rint benchtest.
32765 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32767 * Versions.def (libm): Add GLIBC_2.18.
32768 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32769 hidden libm prototypes.
32770 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32771 * math/Makefile (libm-calls): Add s_issignaling.
32772 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32773 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32774 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32776 * math/math.h [__USE_GNU] (issignaling): New macro.
32777 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32778 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32779 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32780 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32781 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32782 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32783 * manual/arith.texi (issignaling): New section.
32784 * manual/libm-err-tab.pl (@all_functions): Update comment.
32785 * math/gen-libm-test.pl (parse_args): Apply special handling for
32787 * math/libm-test.inc (print_float, issignaling_test): New
32789 (check_float_internal): Add issignaling checks.
32790 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32791 default definition.
32792 * sysdeps/powerpc/math-tests.h: New file.
32793 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32795 * math/test-snan.c (TEST_FUNC): Likewise.
32797 2013-03-30 David S. Miller <davem@davemloft.net>
32799 * po/de.po: Update from translation team.
32801 2013-03-30 Joseph Myers <joseph@codesourcery.com>
32804 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32805 imaginary part less than 1.0 and real part less than 0.5
32807 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32808 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32809 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32810 (cacos_test): Add more tests.
32811 (casin_test): Likewise.
32812 (casinh_test): Likewise.
32813 * sysdeps/i386/fpu/libm-test-ulps: Update.
32814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32816 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32818 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32819 ONE with its value.
32821 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32822 (__pow_mp): Replace ONE and MONE with their values.
32823 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32824 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32825 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32826 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32827 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32828 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32830 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32832 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32833 (__pow_mp): Replace ZERO and MZERO with their values.
32834 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32835 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32836 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32837 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32838 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32839 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32842 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32844 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32846 2013-03-28 Roland McGrath <roland@hack.frob.com>
32848 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32849 Declare with __attribute__ ((weak)).
32850 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32851 Call __call_tls_dtors only if it's not NULL.
32853 2013-03-28 Roland McGrath <roland@hack.frob.com>
32855 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32856 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32857 magic __ehdr_start linker symbol if it's defined.
32858 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32859 them up here if it was already done.
32861 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32862 (_dl_aux_init): Use const in cast when setting it.
32863 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32864 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32865 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32867 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32869 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32870 * csu/libc-tls.c: Nor here.
32871 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32873 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32874 (__libc_message): Never call vsyslog.
32876 2013-03-28 Alan Modra <amodra@gmail.com>
32878 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32880 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32883 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32886 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32890 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32893 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32894 Don't add gid passed as argument.
32896 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32898 2013-03-27 Joseph Myers <joseph@codesourcery.com>
32901 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32902 imaginary part between 1.0 and 1.5 and real part less than 0.5
32904 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32905 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32906 * math/libm-test.inc (cacos_test): Add more tests.
32907 (casin_test): Likewise.
32908 (casinh_test): Likewise.
32909 * sysdeps/i386/fpu/libm-test-ulps: Update.
32910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32912 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32914 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32917 (denorm): Likewise.
32918 (__dbl_mp): Likewise.
32919 (add_magnitudes): Likewise.
32920 (sub_magnitudes): Likewise.
32928 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32930 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32931 (__dubcos): Likewise.
32932 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32933 (__ieee754_acos): Likewise.
32934 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32935 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32936 (__exp1): Likewise.
32937 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32938 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32940 (my_log2): Likewise.
32941 (checkint): Likewise.
32942 * sysdeps/ieee754/dbl-64/e_remainder.c
32943 (__ieee754_remainder): Likewise.
32944 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32946 (bsloww): Likewise.
32947 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32949 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32950 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32951 MANTISSA_STORE_T to store computations on mantissa. Use
32952 macros for rounding and division.
32953 (denorm): Likewise.
32954 (__dbl_mp): Likewise.
32955 (add_magnitudes): Likewise.
32956 (sub_magnitudes): Likewise.
32959 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32960 powers of two in terms of TWOPOW macro.
32961 (mp_no): Make type of mantissa as MANTISSA_T.
32962 [!RADIXI]: Define RADIXI.
32963 [!TWO52]: Define TWO52.
32964 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32966 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32968 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32969 llroundl symbol when building for PPC32.
32971 2013-03-24 Mark H Weaver <mhw@netris.org>
32973 * manual/arith.texi (Normalization Functions): Fix prototypes for
32974 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32976 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32979 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32980 high value to check if expl overflow.
32981 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32982 to check for underflow and overflow.
32983 * math/libm-test.inc: Add exp test.
32985 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32988 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32991 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32993 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32996 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32998 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32999 wrap blocks consisting of several statements.
33001 * sysdeps/generic/math-tests.h: New file.
33002 * sysdeps/i386/fpu/math-tests.h: Likewise.
33003 * math/test-snan.c: Include it.
33004 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33006 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33009 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33010 (__ieee754_j0l): Do not improve calculations using cos of twice
33011 input for inputs above LDBL_MAX / 2.0L.
33012 (__ieee754_y0l): Likewise.
33013 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33014 (__ieee754_j1l): Do not improve calculations using cos of twice
33015 input for inputs above LDBL_MAX / 2.0L.
33016 (__ieee754_y1l): Likewise.
33017 * math/libm-test.inc (j0_test): Add another test.
33018 (j1_test): Likewise.
33019 (y0_test): Likewise.
33020 (y1_test): Likewise.
33021 * sysdeps/i386/fpu/libm-test-ulps: Update.
33023 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33025 * Rules ($(objpfx)bench-%.c): Include code from a C source
33028 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33031 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33032 imaginary part 1.0 and real part less than 0.5 specially.
33033 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33034 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33035 * math/libm-test.inc (cacos_test): Add more tests.
33036 (casin_test): Likewise.
33037 (casinh_test): Likewise.
33038 * sysdeps/i386/fpu/libm-test-ulps: Update.
33039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33041 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33043 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33044 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33046 2013-03-20 Joseph Myers <joseph@codesourcery.com>
33048 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33049 * config.make.in (config-cflags-sse4): Remove variable.
33050 (config-cflags-avx): Likewise.
33051 (config-cflags-sse2avx): Likewise.
33052 (config-cflags-novzeroupper): Likewise.
33053 (config-asflags-i686): Likewise.
33054 (have-mfma4): Likewise.
33055 (have-as-vis3): Likewise.
33057 * configure.in (MIG): Do not AC_SUBST.
33058 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33059 (libc_cv_cc_sse4): Do not AC_SUBST.
33060 (libc_cv_cc_avx): Likewise.
33061 (libc_cv_cc_sse2avx): Likewise.
33062 (libc_cv_cc_novzeroupper): Likewise.
33063 (libc_cv_cc_fma4): Likewise.
33064 (libc_cv_as_i686): Likewise.
33065 (libc_cv_sparc_as_vis3): Likewise.
33066 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33068 (config-asflags-i686): Likewise.
33069 (config-cflags-avx): Likewise.
33070 (config-cflags-sse2avx): Likewise.
33071 (have-mfma4): Likewise.
33072 (config-cflags-novzeroupper): Likewise.
33073 * sysdeps/mach/configure.in (MIG): Likewise.
33074 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33075 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33077 (config-cflags-avx): Likewise.
33078 (config-cflags-sse2avx): Likewise.
33079 (have-mfma4): Likewise.
33080 (config-cflags-novzeroupper): Likewise.
33081 * configure: Regenerated.
33082 * sysdeps/i386/configure: Likewise.
33083 * sysdeps/mach/configure: Likewise.
33084 * sysdeps/sparc/configure: Likewise.
33085 * sysdeps/x86_64/configure: Likewise.
33087 2013-03-20 Roland McGrath <roland@hack.frob.com>
33090 * locale/programs/localedef.c (options): Put N_ translation marker
33091 on argument names, not just descriptions.
33093 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33095 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33097 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33100 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33102 2013-03-19 Roland McGrath <roland@hack.frob.com>
33104 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33105 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33106 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33107 [!BEFORE_ABORT] (before_abort): New function.
33108 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33109 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33110 (writev_for_fatal): New function.
33111 (WRITEV_FOR_FATAL): New macro; call that.
33112 (backtrace_and_maps): New function.
33113 (BEFORE_ABORT): New macro; call that.
33114 (struct str_list): Type removed.
33115 (__libc_message, __libc_fatal): Functions removed.
33116 Include <sysdeps/posix/libc_fatal.c> instead.
33118 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33120 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33122 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33125 2013-03-19 Andreas Schwab <schwab@suse.de>
33127 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33128 * sysdeps/gnu/configure: Regenerate.
33130 * configure.in: Substitute libc_cv_rtlddir.
33131 * configure: Regenerate.
33132 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33133 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33134 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33135 * elf/Makefile (install-others, CFLAGS-interp.c)
33136 (ldso_install, common-ldd-rewrite): Likewise.
33137 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33138 $(inst_slibdir)/$(rtld-installed-name).
33139 * scripts/rellns-sh: Add -p option.
33140 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33143 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33145 * manual/nptl.texi: Renamed to ...
33146 * manual/threads.texi: ... this.
33147 * manual/Makefile (chapters): Update.
33149 2013-03-18 Roland McGrath <roland@hack.frob.com>
33152 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33153 on argument names, not just descriptions.
33154 * malloc/memusagestat.c (options): Likewise.
33155 * nss/getent.c (options): Likewise.
33157 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33160 * iconv/iconv_prog.c (options): Put N_ translation marker
33161 on argument names, not just descriptions.
33162 * iconv/iconvconfig.c (options): Likewise.
33164 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33166 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33167 implementation which is faster on all x86_64 architectures.
33168 Tested on AMD, Intel Nehalem, SNB, IVB.
33169 * sysdeps/x86_64/strnlen.S: Likewise.
33171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33172 Remove all multiarch strlen and strnlen versions.
33173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33174 Remove strlen and strnlen related parts.
33176 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33177 Inline strlen part.
33178 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33180 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33181 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33182 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33183 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33184 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33185 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33187 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33189 * manual/memory.texi (Malloc Tunable Parameters):
33190 Sort parameters alphabetically. Add comments for missing entries.
33192 2013-03-17 David S. Miller <davem@davemloft.net>
33194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33196 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33199 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33200 for arguments at most half maximum finite value.
33201 * math/libm-test.inc (j0_test): Add more tests.
33202 (j1_test): Likewise.
33203 (y0_test): Likewise.
33204 (y1_test): Likewise.
33205 * sysdeps/i386/fpu/libm-test-ulps: Update.
33206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33209 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33210 1 / x and functions P and Q for arguments above 0x1p256L.
33211 (__ieee754_y0l): Likewise.
33212 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33213 (__ieee754_y1l): Likewise.
33214 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33215 (j1_test): Likewise.
33216 (y0_test): Likewise.
33217 (y1_test): Likewise.
33219 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33221 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33224 2013-03-15 Roland McGrath <roland@hack.frob.com>
33226 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33227 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33228 zero since it's initialized to EXEC_PAGESIZE.
33230 * sysdeps/unix/sysv/linux/ldsodefs.h
33231 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33232 * sysdeps/generic/ldsodefs.h: ... here.
33234 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33236 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33238 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33240 * math/test-snan.c: Renamed from
33241 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33242 * math/Makefile (tests): Add test-snan.
33243 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33246 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33247 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33249 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33250 __builtin_nan family of functions.
33251 * math/libm-test.inc (initialize): Initialize qnan_value with
33252 __builtin_nan family of functions.
33253 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33255 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33257 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33258 storage class. Initialize qNaN_var and sNaN_var with
33259 __builtin_nan and __builtin_nans families of functions,
33262 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33263 (sqrt_test): Remove duplicate test with qNaN input.
33264 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33265 (round_test, signbit_test, significand_test): Note missing +/-Inf
33266 as well as qNaN tests.
33268 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33269 qNaN_var. Fix a few strings, too.
33270 * math/libm-test.inc (nan_value): Rename to qnan_value.
33271 * math/gen-libm-test.pl (%beautify): Adjust to that.
33272 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33273 * math/test-misc.c (main): Likewise.
33274 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33275 to __qnan_bytes, and __qnan_union, respectively.
33276 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33278 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33279 and lqnanval, respectively.
33280 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33281 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33282 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33283 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33285 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33286 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33289 * math/test-misc.c (main): Fix copy'n'pastos.
33290 * misc/tst-efgcvt.c (special): Likewise.
33292 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33293 Remove declarations.
33295 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33297 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33298 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33299 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33300 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33302 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33304 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33305 macro to return vdso values correctly in IFUNC implementations.
33306 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33307 Optimization by using IFUNC.
33309 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33310 Richard Henderson <rth@redhat.com>
33311 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33313 * Makefile.in (bench): New target.
33314 * NEWS: Mention the benchmark framework.
33315 * Rules (bench): Likewise.
33316 (binaries-bench): Generate binaries for functions to
33318 * benchtests/Makefile: New makefile for benchmark tests.
33319 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33321 * benchtests/exp-inputs: New input file for EXP function.
33322 * benchtests/pow-inputs: New input file for POW function.
33323 * scripts/bench.pl: New script to generate source files for
33324 benchmark programs.
33326 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33328 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33329 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33330 computations on mantissa. Use macros for rounding and
33332 (denorm): Likewise.
33333 (__dbl_mp): Likewise.
33334 (add_magnitudes): Likewise.
33335 (sub_magnitudes): Likewise.
33338 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33339 powers of two in terms of TWOPOW macro.
33340 (mp_no): Make type of mantissa as MANTISSA_T.
33341 [!RADIXI]: Define RADIXI.
33342 [!TWO52]: Define TWO52.
33343 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33345 * manual/nptl.texi (cindex): Modify threads to pthreads.
33347 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33349 * sysdeps/x86_64/preconfigure: Regenerated.
33351 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33354 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33356 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33357 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33359 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33360 * math/libm-test.inc (j0_test): Do not allow one spurious
33361 underflow exception.
33362 (y1_test): Likewise.
33364 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33366 * manual/Makefile (chapters): Add nptl.
33367 * manual/debug.texi (Debugging Support): Add link to Threads
33369 * manual/nptl.texi: New file.
33371 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33373 2013-03-14 Petr Baudis <pasky@ucw.cz>
33375 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33376 for non-NULL pointer before the memory validity test. Pointed
33377 out by Holger Brunck <holger.brunck@keymile.com>.
33379 2013-03-13 Andreas Schwab <schwab@suse.de>
33381 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33384 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33386 * timezone/zic.c: Update from tzcode 2013b.
33388 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33390 * manual/install.texi (Configuring and compiling):
33391 Mention i686 and i586.
33392 * INSTALL: Regenerate.
33394 2013-03-12 Roland McGrath <roland@hack.frob.com>
33396 * sysdeps/init_array/elf-init.c: New file.
33398 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33399 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33401 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33402 __gmon_start__ as global, but as static with a .preinit_array pointer.
33403 * sysdeps/init_array/gmon-start.c: New file. Use that.
33404 * sysdeps/init_array/crti.S: New file, empty except for comments.
33405 * sysdeps/init_array/crtn.S: Likewise.
33407 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33409 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33412 Remove Prefer_SSE_for_memop.
33413 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33414 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33415 HAS_PREFER_SSE_FOR_MEMOP.
33416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33418 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33419 Remove bzero, memset ifunc support.
33420 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33421 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33422 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33423 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33425 2013-03-11 Andreas Schwab <schwab@suse.de>
33428 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33431 (GLIBC_2.16): Remove pthread_atfork.
33433 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33435 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33436 (ptestcases.h): Likewise.
33438 2013-03-08 Roland McGrath <roland@hack.frob.com>
33440 * Makeconfig ($(common-objpfx)config.status): Depend on
33441 sysdeps/*/preconfigure{,.in} too.
33443 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33445 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33446 (__free_hook): Use void * instead of __malloc_ptr_t.
33447 (__malloc_hook): Likewise.
33448 (__realloc_hook): Likewise.
33449 (__memalign_hook): Likewise.
33450 (__after_morecore_hook): Likewise.
33451 * malloc/arena.c (save_malloc_hook): Likewise.
33452 (save_free_hook): Likewise.
33453 * malloc/hooks.c (malloc_hook_ini): Likewise.
33454 (realloc_hook_ini): Likewise.
33455 (memalign_hook_ini): Likewise.
33456 * malloc/malloc.c (malloc_hook_ini): Likewise.
33457 (realloc_hook_ini): Likewise.
33458 (memalign_hook_ini): Likewise.
33459 (__free_hook): Likewise.
33460 (__malloc_hook): Likewise.
33461 (__realloc_hook): Likewise.
33462 (__memalign_hook): Likewise.
33463 (__libc_malloc): Likewise.
33464 (__libc_free): Likewise.
33465 (__libc_realloc): Likewise.
33466 (__libc_memalign): Likewise.
33467 (__libc_valloc): Likewise.
33468 (__libc_pvalloc): Likewise.
33469 (__libc_calloc): Likewise.
33470 (__posix_memalign): Likewise.
33471 * malloc/morecore.c (__sbrk): Likewise.
33472 (__default_morecore): Likewise.
33474 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33476 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33477 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33478 __malloc_ptrdiff_t.
33480 * malloc/malloc.h (__malloc_size_t): Remove macro.
33481 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33483 (old_memalign_hook): Likewise.
33484 (old_realloc_hook): Likewise.
33485 (struct hdr): Likewise.
33487 (mallochook): Likewise.
33488 (memalignhook): Likewise.
33489 (reallochook): Likewise.
33490 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33491 (tr_old_realloc_hook): Likewise.
33492 (tr_old_memalign_hook): Likewise.
33493 (tr_mallochook): Likewise.
33494 (tr_reallochook): Likewise.
33495 (tr_memalignhook): Likewise.
33497 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33499 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33500 default_ldbl_pack and using as default implementation.
33501 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33503 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33504 redundant definition.
33505 (ldbl_insert_mantissa): Likewise.
33506 (ldbl_canonicalize): Likewise.
33507 (ldbl_nearbyint): Likewise.
33508 (ldbl_pack): Rename to ldbl_pack_ppc.
33509 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33510 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33511 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33513 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33516 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33517 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33518 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33520 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33521 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33522 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33524 2013-03-07 Andreas Jaeger <aj@suse.de>
33526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33529 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33531 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33532 Include mpa.h and declare __MPEXP.
33533 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33534 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33535 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33536 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33537 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33538 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33539 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33541 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33542 (__slowpow): Use long double EXPL and LOGL functions to
33544 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33545 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33546 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33547 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33548 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33549 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33552 intermediate variable to calculate exponent.
33554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33558 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33559 [!NO__SQR]: Define __sqr.
33560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33561 and NO__SQR. Remove all code except __mul and __sqr. Include
33562 sysdeps/ieee754/dbl-64/mpa.c.
33563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33566 * posix/Makefile (tests): Add tst-pathconf.
33567 * posix/tst-pathconf.c: New test case.
33568 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33570 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33572 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33574 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33576 2013-03-06 Andreas Jaeger <aj@suse.de>
33578 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33579 definition via __MAP_ANONYMOUS.
33581 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33582 it's not part of Linux headers.
33584 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33585 (MAP_HUGE_MASK): Define.
33587 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33589 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33592 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33593 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33595 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33596 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33598 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33600 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33601 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33602 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33603 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33604 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33605 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33607 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33610 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33611 Handle f2fs and efivarfs.
33613 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33616 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33617 (EFIVARFS_MAGIC): Add.
33618 (F2FS_LINK_MAX): Add.
33620 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33622 * stdio-common/vfprintf.c: Replace __builtin_expect with
33625 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33628 * sysdeps/generic/bp-sym.h: Remove file.
33629 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33630 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33631 <bp-sym.h> and <bp-asm.h>.
33632 (__longjmp): Don't use BP_SYM.
33633 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33635 (memcpy): Don't use BP_SYM.
33636 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33637 <bp-sym.h> and <bp-asm.h>.
33638 (memcpy): Don't use BP_SYM.
33639 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33641 (memcpy): Don't use BP_SYM.
33642 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33644 (memset): Don't use BP_SYM.
33645 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33646 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33647 (__bzero): Don't use BP_SYM.
33648 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33649 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33650 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33651 <bp-sym.h> and <bp-asm.h>.
33652 (memcmp): Don't use BP_SYM. Remove comment about bounded
33654 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33655 <bp-sym.h> and <bp-asm.h>.
33656 (memcpy): Don't use BP_SYM.
33657 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33658 <bp-sym.h> and <bp-asm.h>.
33659 (memset): Don't use BP_SYM.
33660 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33661 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33662 (__bzero): Don't use BP_SYM.
33663 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33664 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33665 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33666 <bp-sym.h> and <bp-asm.h>.
33667 (strncmp): Don't use BP_SYM. Remove comment about bounded
33669 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33670 <bp-sym.h> and <bp-asm.h>.
33671 (memcpy): Don't use BP_SYM.
33672 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33673 <bp-sym.h> and <bp-asm.h>.
33674 (memset): Don't use BP_SYM.
33675 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33676 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33677 (__bzero): Don't use BP_SYM.
33678 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33679 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33680 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33681 <bp-sym.h> and <bp-asm.h>.
33682 (__memchr): Don't use BP_SYM.
33683 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33684 <bp-sym.h> and <bp-asm.h>.
33685 (memcmp): Don't use BP_SYM. Remove comment about bounded
33687 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33688 <bp-sym.h> and <bp-asm.h>.
33689 (memcpy): Don't use BP_SYM.
33690 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33691 <bp-sym.h> and <bp-asm.h>.
33692 (__mempcpy): Don't use BP_SYM.
33693 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33694 <bp-sym.h> and <bp-asm.h>.
33695 (__memrchr): Don't use BP_SYM.
33696 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33697 <bp-sym.h> and <bp-asm.h>.
33698 (memset): Don't use BP_SYM.
33699 (__bzero): Likewise.
33700 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33701 <bp-sym.h> and <bp-asm.h>.
33702 (__rawmemchr): Don't use BP_SYM.
33703 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33704 <bp-sym.h> and <bp-asm.h>.
33705 (__STRCMP): Don't use BP_SYM.
33706 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33707 <bp-sym.h> and <bp-asm.h>.
33708 (strchr): Don't use BP_SYM.
33709 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33710 <bp-sym.h> and <bp-asm.h>.
33711 (__strchrnul): Don't use BP_SYM.
33712 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33713 <bp-sym.h> and <bp-asm.h>.
33714 (strlen): Don't use BP_SYM.
33715 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33716 <bp-sym.h> and <bp-asm.h>.
33717 (strncmp): Don't use BP_SYM. Remove comment about bounded
33719 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33720 <bp-sym.h> and <bp-asm.h>.
33721 (__strnlen): Don't use BP_SYM.
33722 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33723 <bp-sym.h> and <bp-asm.h>.
33724 (__GI__setjmp): Don't use BP_SYM.
33725 (_setjmp): Likewise.
33726 (__sigsetjmp): Likewise.
33727 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33728 (L(start_addresses)): Don't use BP_SYM.
33729 (_start): Likewise.
33730 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33732 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33733 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33734 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33735 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33736 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33738 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33739 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33740 about bounded pointers.
33741 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33742 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33743 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33745 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33746 about bounded pointers. Remove GKM FIXME comments.
33747 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33748 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33750 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33751 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33752 Remove GKM FIXME comments.
33753 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33754 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33755 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33757 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33758 about bounded pointers. Remove GKM FIXME comment.
33759 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33761 (strncmp): Don't use BP_SYM. Remove comment about bounded
33763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33764 <bp-sym.h> and <bp-asm.h>.
33765 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33767 <bp-sym.h> and <bp-asm.h>.
33768 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33771 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33773 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33776 2013-03-05 David S. Miller <davem@davemloft.net>
33778 * po/es.po: Update from translation team.
33780 2013-03-05 Andreas Jaeger <aj@suse.de>
33782 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33783 <bits/mman-linux.h>.
33784 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33786 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33787 <bits/mman-linux.h> to end of file.
33788 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33790 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33791 <bits/mman-linux.h> to end of file.
33792 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33795 <bits/mman-linux.h> to end of file.
33797 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33798 (MCL_CURRENT, MCL_FUTURE): Define here.
33800 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33803 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33805 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33807 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33809 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33810 fourth parameter needed for rt_sigprocmask syscall.
33811 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33812 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33813 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33814 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33815 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33816 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33818 2013-03-04 Joseph Myers <joseph@codesourcery.com>
33821 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33822 comment about bounded pointers.
33823 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33824 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33826 2013-03-04 Andreas Jaeger <aj@suse.de>
33828 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33829 common definitions.
33831 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33832 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33833 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33834 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33835 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33838 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33841 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33842 __ieee754_sqrl instead of __sqrl.
33844 2013-03-01 Joseph Myers <joseph@codesourcery.com>
33846 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33847 * sysdeps/powerpc/fpu_control.h: ... here.
33848 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33849 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33850 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33851 * sysdeps/powerpc/bits/mathinline.h: ... here.
33853 2013-03-01 Roland McGrath <roland@hack.frob.com>
33855 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33856 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33857 to just [NEED_DL_SYSINFO_DSO].
33858 * elf/dl-support.c: Likewise.
33859 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33860 * elf/rtld.c (dl_main): Likewise.
33861 * elf/setup-vdso.h (setup_vdso): Likewise.
33862 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33863 * sysdeps/unix/sysv/linux/dl-sysdep.c
33864 (_dl_discover_osversion): Likewise.
33866 2013-03-01 Carlos O'Donell <carlos@redhat.com>
33868 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33869 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33871 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33873 * NEWS: Mention libm performance improvements and non-x86 PI
33876 * csu/libc-start.c (__pthread_initialize_minimal): Change
33877 function arguments.
33878 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33880 2013-02-28 Joseph Myers <joseph@codesourcery.com>
33883 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33884 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33885 <bp-sym.h> and <bp-asm.h>.
33886 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33887 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33889 (memcpy): Don't use BP_SYM.
33890 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33892 (__mpn_add_n): Don't use BP_SYM.
33893 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33894 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33896 (__mpn_addmul_1): Don't use BP_SYM.
33897 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33898 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33900 (_setjmp): Don't use BP_SYM.
33901 (__novmx_setjmp): Likewise.
33902 (__GI__setjmp): Likewise.
33903 (__vmx_setjmp): Likewise.
33904 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33906 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33907 (__bzero): Don't use BP_SYM.
33908 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33909 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33910 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33911 <bp-sym.h> and <bp-asm.h>.
33912 (memcpy): Don't use BP_SYM.
33913 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33914 <bp-sym.h> and <bp-asm.h>.
33915 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33916 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33917 <bp-sym.h> and <bp-asm.h>.
33918 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33919 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33921 (__mpn_lshift): Don't use BP_SYM.
33922 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33923 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33925 (memset): Don't use BP_SYM.
33926 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33927 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33928 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33930 (__mpn_mul_1): Don't use BP_SYM.
33931 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33932 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33933 <bp-sym.h> and <bp-asm.h>.
33934 (memcmp): Don't use BP_SYM.
33935 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33936 <bp-sym.h> and <bp-asm.h>.
33937 (memcpy): Don't use BP_SYM.
33938 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33939 <bp-sym.h> and <bp-asm.h>.
33940 (memset): Don't use BP_SYM.
33941 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33942 <bp-sym.h> and <bp-asm.h>.
33943 (strncmp): Don't use BP_SYM.
33944 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33945 <bp-sym.h> and <bp-asm.h>.
33946 (memcpy): Don't use BP_SYM.
33947 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33948 <bp-sym.h> and <bp-asm.h>.
33949 (memset): Don't use BP_SYM.
33950 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33951 <bp-sym.h> and <bp-asm.h>.
33952 (__memchr): Don't use BP_SYM.
33953 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33954 <bp-sym.h> and <bp-asm.h>.
33955 (memcmp): Don't use BP_SYM.
33956 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33957 <bp-sym.h> and <bp-asm.h>.
33958 (memcpy): Don't use BP_SYM.
33959 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33960 <bp-sym.h> and <bp-asm.h>.
33961 (__mempcpy): Don't use BP_SYM.
33962 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33963 <bp-sym.h> and <bp-asm.h>.
33964 (__memrchr): Don't use BP_SYM.
33965 * sysdeps/powerpc/powerpc32/power7/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/rawmemchr.S: Don't include
33969 <bp-sym.h> and <bp-asm.h>.
33970 (__rawmemchr): Don't use BP_SYM.
33971 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33972 <bp-sym.h> and <bp-asm.h>.
33973 (__STRCMP): Don't use BP_SYM.
33974 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33975 <bp-sym.h> and <bp-asm.h>.
33976 (strchr): Don't use BP_SYM.
33977 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33978 <bp-sym.h> and <bp-asm.h>.
33979 (__strchrnul): Don't use BP_SYM.
33980 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33981 <bp-sym.h> and <bp-asm.h>.
33982 (strlen): Don't use BP_SYM.
33983 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33984 <bp-sym.h> and <bp-asm.h>.
33985 (strncmp): Don't use BP_SYM.
33986 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33987 <bp-sym.h> and <bp-asm.h>.
33988 (__strnlen): Don't use BP_SYM.
33989 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33991 (__mpn_rshift): Don't use BP_SYM.
33992 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33993 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33994 <bp-sym.h> and <bp-asm.h>.
33995 (__sigsetjmp): Don't use BP_SYM.
33996 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33997 (L(start_addresses)): Don't use BP_SYM.
33998 (_start): Likewise.
33999 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34001 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34002 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34003 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34004 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34006 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34007 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34008 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34009 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34011 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34013 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34014 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34016 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
34018 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34019 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34020 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34022 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34024 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34026 (strncmp): Don't use BP_SYM,
34027 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34029 (__mpn_sub_n): Don't use BP_SYM.
34030 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34031 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34033 (__mpn_submul_1): Don't use BP_SYM.
34034 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34036 <bp-sym.h> and <bp-asm.h>.
34037 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34039 <bp-sym.h> and <bp-asm.h>.
34040 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34043 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34046 Use ZK to minimize writes to Z.
34047 (sub_magnitudes): Simplify code a bit.
34048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34049 Use ZK to minimize writes to Z.
34050 (sub_magnitudes): Simplify code a bit.
34052 2013-02-27 Roland McGrath <roland@hack.frob.com>
34054 * csu/gmon-start.c: Add special exception to license text.
34056 2013-02-27 Richard Henderson <rth@redhat.com>
34058 * scripts/config.guess: Update from config.git.
34059 * scripts/config.sub: Likewise.
34061 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34063 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34065 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34067 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34069 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34071 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34073 2013-02-26 Roland McGrath <roland@hack.frob.com>
34075 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34076 [$(build-shared = yes].
34078 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34080 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34081 (__mul): Reduce iterations for calculating mantissa.
34083 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34085 (__mpranred): Likewise.
34088 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34089 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34091 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34093 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34094 Define __attribute__.
34096 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34098 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34100 * posix/regex_internal.h (__attribute): Remove.
34101 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34102 (re_string_context_at): Likewise.
34103 (bitset_not): Use __attribute__ and mark function as possibly
34105 (bitset_merge): Likewise.
34106 (bitset_mask): Likewise.
34107 (re_string_char_size_at): Likewise.
34108 (re_string_wchar_at): Likewise.
34109 (re_string_elem_size_at): Likewise.
34111 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34113 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34117 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34121 (denorm): Likewise.
34122 (__dbl_mp): Likewise.
34123 (add_magnitudes): Likewise.
34124 (sub_magnitudes): Likewise.
34128 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34131 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34134 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34138 up changes with default code.
34139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34142 2013-02-24 Allan McRae <allan@archlinux.org>
34144 * manual/socket.texi (The Internet Namespace): Order menu items
34145 to match that in the file.
34147 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34148 node listing of the info page menu.
34150 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34153 * sysdeps/i386/bp-asm.h: Remove file.
34154 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34155 (PARMS): Do not use macros from bp-asm.h.
34159 (__mpn_add_n): Do not use BP_SYM
34160 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34162 (PARMS): Do not use macros from bp-asm.h.
34165 (__mpn_addmul_1): Do not use BP_SYM
34166 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34168 (PARMS): Do not use macros from bp-asm.h.
34169 (SIGMSK): Likewise.
34170 (_setjmp): Likewise. Do not use BP_SYM.
34171 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34173 (PARMS): Do not use macros from bp-asm.h.
34174 (SIGMSK): Likewise.
34175 (setjmp): Likewise. Do not use BP_SYM.
34176 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34178 (PARMS): Do not use macros from bp-asm.h.
34179 (__frexp): Do not use BP_SYM.
34181 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34183 (PARMS): Do not use macros from bp-asm.h.
34184 (__frexpf): Do not use BP_SYM.
34185 (frexpf): Likewise.
34186 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34188 (PARMS): Do not use macros from bp-asm.h.
34189 (__frexpl): Do not use BP_SYM.
34190 (frexpl): Likewise.
34191 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34193 (PARMS): Do not use macros from bp-asm.h.
34194 (__remquo): Do not use BP_SYM.
34195 (remquo): Likewise.
34196 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34198 (PARMS): Do not use macros from bp-asm.h.
34199 (__remquof): Do not use BP_SYM.
34200 (remquof): Likewise.
34201 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34203 (PARMS): Do not use macros from bp-asm.h.
34204 (__remquol): Do not use BP_SYM.
34205 (remquol): Likewise.
34206 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34208 (PARMS): Do not use macros from bp-asm.h.
34211 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34212 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34214 (PARMS): Do not use macros from bp-asm.h.
34215 (strlen): Do not use BP_SYM.
34216 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34218 (PARMS): Do not use macros from bp-asm.h.
34222 (__mpn_add_n): Do not use BP_SYM.
34223 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34225 (PARMS): Do not use macros from bp-asm.h.
34228 (__mpn_addmul_1): Do not use BP_SYM.
34229 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34232 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34234 (PARMS): Do not use macros from bp-asm.h.
34237 (__mpn_lshift): Do not use BP_SYM.
34238 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34240 (PARMS): Do not use macros from bp-asm.h.
34244 (memcpy): Likewise. Do not use BP_SYM.
34245 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34246 libc_hidden_def and weak_alias.
34247 (mempcpy): Do not use BP_SYM in weak_alias.
34248 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34250 (PARMS): Do not use macros from bp-asm.h.
34253 [!BZERO_P] (CHR): Likewise.
34254 (memset): Likewise. Do not use BP_SYM.
34255 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34257 (PARMS): Do not use macros from bp-asm.h.
34260 (__mpn_mul_1): Do not use BP_SYM.
34261 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34263 (PARMS): Do not use macros from bp-asm.h.
34266 (__mpn_rshift): Do not use BP_SYM.
34267 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34269 (PARMS): Do not use macros from bp-asm.h.
34272 (strchr): Likewise. Do not use BP_SYM.
34273 (index): Do not use BP_SYM in weak_alias.
34274 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34276 (PARMS): Do not use macros from bp-asm.h.
34279 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34280 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34282 (PARMS): Do not use macros from bp-asm.h.
34283 (strlen): Do not use BP_SYM.
34284 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34286 (PARMS): Do not use macros from bp-asm.h.
34290 (__mpn_sub_n): Do not use BP_SYM.
34291 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34293 (PARMS): Do not use macros from bp-asm.h.
34296 (__mpn_submul_1): Do not use BP_SYM.
34297 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34299 (PARMS): Do not use macros from bp-asm.h.
34303 (__mpn_add_n): Do not use BP_SYM.
34304 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34307 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34309 (PARMS): Do not use macros from bp-asm.h.
34312 (memcmp): Do not use BP_SYM.
34313 (bcmp): Do not use BP_SYM in weak_alias.
34314 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34316 (PARMS): Do not use macros from bp-asm.h.
34320 (memcpy): Likewise. Do not use BP_SYM.
34321 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34323 (PARMS): Do not use macros from bp-asm.h.
34327 (memmove): Likewise. Do not use BP_SYM.
34328 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34330 (PARMS): Do not use macros from bp-asm.h.
34334 (__mempcpy): Likewise. Do not use BP_SYM.
34335 (mempcpy): Do not use BP_SYM in weak_alias.
34336 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34338 (PARMS): Do not use macros from bp-asm.h.
34341 [!BZERO_P] (CHR): Likewise.
34342 (memset): Likewise. Do not use BP_SYM.
34343 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34345 (PARMS): Do not use macros from bp-asm.h.
34347 (strcmp): Do not use BP_SYM.
34348 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34350 (PARMS): Do not use macros from bp-asm.h.
34353 [USE_AS_STRTOK_R] (SAVE): Likewise.
34354 (FUNCTION): Likewise. Do not use BP_SYM.
34355 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34357 (strtok_r): Likewise.
34358 (__GI___strtok_r): Likewise.
34359 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34360 (PARMS): Do not use macros from bp-asm.h.
34363 (__mpn_lshift): Do not use BP_SYM.
34364 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34365 (PARMS): Do not use macros from bp-asm.h.
34368 (__memchr): Do not use BP_SYM.
34369 (memchr): Do not use BP_SYM in weak_alias.
34370 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34371 (PARMS): Do not use macros from bp-asm.h.
34374 (memcmp): Do not use BP_SYM.
34375 (bcmp): Do not use BP_SYM in weak_alias.
34376 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34377 (PARMS): Do not use macros from bp-asm.h.
34380 (__mpn_mul_1): Do not use BP_SYM.
34381 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34383 (PARMS): Do not use macros from bp-asm.h.
34386 (__rawmemchr): Do not use BP_SYM.
34387 (rawmemchr): Do not use BP_SYM in weak_alias.
34388 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34389 (PARMS): Do not use macros from bp-asm.h.
34392 (__mpn_rshift): Do not use BP_SYM.
34393 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34394 (PARMS): Do not use macros from bp-asm.h.
34395 (SIGMSK): Likewise.
34396 (__sigsetjmp): Likewise. Do not use BP_SYM.
34397 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34398 (_start): Do not use BP_SYM.
34399 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34400 (PARMS): Do not use macros from bp-asm.h.
34403 (__stpcpy): Likewise. Do not use BP_SYM.
34404 (stpcpy): Do not use BP_SYM in weak_alias.
34405 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34407 (PARMS): Do not use macros from bp-asm.h.
34411 (__stpncpy): Likewise. Do not use BP_SYM.
34412 (stpncpy): Do not use BP_SYM in weak_alias.
34413 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34414 (PARMS): Do not use macros from bp-asm.h.
34417 (strchr): Likewise. Do not use BP_SYM.
34418 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34420 (PARMS): Do not use macros from bp-asm.h.
34423 (__strchrnul): Likewise. Do not use BP_SYM.
34424 (strchrnul): Do not use BP_SYM in weak_alias.
34425 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34427 (PARMS): Do not use macros from bp-asm.h.
34429 (strcspn): Do not use BP_SYM.
34430 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34432 (PARMS): Do not use macros from bp-asm.h.
34435 (strpbrk): Likewise. Do not use BP_SYM.
34436 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34438 (PARMS): Do not use macros from bp-asm.h.
34441 (strrchr): Likewise. Do not use BP_SYM.
34442 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34443 (PARMS): Do not use macros from bp-asm.h.
34445 (strspn): Do not use BP_SYM.
34446 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34447 (PARMS): Do not use macros from bp-asm.h.
34451 (FUNCTION): Likewise. Do not use BP_SYM.
34452 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34454 (strtok_r): Likewise.
34455 (__GI___strtok_r): Likewise.
34456 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34457 (PARMS): Do not use macros from bp-asm.h.
34461 (__mpn_sub_n): Do not use BP_SYM.
34462 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34464 (PARMS): Do not use macros from bp-asm.h.
34467 (__mpn_submul_1): Do not use BP_SYM.
34468 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34470 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34472 (PARMS): Do not use macros from bp-asm.h.
34477 (__clone): Do not use BP_SYM.
34478 (clone): Do not use BP_SYM in weak_alias.
34479 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34481 (PARMS): Do not use macros from bp-asm.h.
34483 (__mmap64): Do not use BP_SYM.
34484 (mmap64): Do not use BP_SYM in weak_alias.
34485 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34486 <bp-sym.h> and <bp-asm.h>.
34487 (PARMS): Do not use macros from bp-asm.h.
34488 (__posix_fadvise64_l64): Do not use BP_SYM.
34489 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34490 (PARMS): Do not use macros from bp-asm.h.
34492 (semtimedop): Do not use BP_SYM.
34493 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34496 2013-02-21 Allan McRae <allan@archlinux.org>
34498 * manual/message.texi (Charset conversion in gettext):
34499 Move @end statement to beginning of line.
34501 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34508 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34509 (denorm): Likewise.
34510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34513 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34515 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34516 tail-call to the resolved function if pltexit isn't needed.
34518 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34521 or Y being zero as being unlikely.
34522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34525 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34527 * manual/nss.texi (System Databases and Name Service Switch):
34528 Remove frobnicate @pxref.
34530 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34532 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34533 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34535 2013-02-20 Petr Machata <pmachata@redhat.com>
34537 * elf/elf.h (R_ARM_TARGET1): New macro.
34538 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34539 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34540 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34541 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34542 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34543 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34544 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34545 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34546 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34547 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34548 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34549 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34550 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34551 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34552 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34553 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34554 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34555 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34556 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34557 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34558 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34559 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34560 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34561 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34562 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34563 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34564 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34565 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34566 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34567 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34568 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34569 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34570 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34571 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34572 (R_ARM_THM_GOT_BREL12): Likewise.
34573 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34574 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34575 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34576 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34577 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34578 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34579 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34580 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34581 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34583 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34585 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34586 __attribute_used__ to __attribute__ ((unused)).
34588 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34590 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34593 comment formatting.
34594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34596 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34599 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34601 (ENTER): Remove both macro definitions.
34603 (CHECK_BOUNDS_LOW): Likewise.
34604 (CHECK_BOUNDS_HIGH): Likewise.
34605 (CHECK_BOUNDS_BOTH): Likewise.
34606 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34607 (RETURN_BOUNDED_POINTER): Likewise.
34608 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34609 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34610 (POP_ERRNO_LOCATION_RETURN): Likewise.
34611 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34612 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34613 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34615 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34616 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34617 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34618 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34619 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34620 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34621 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34622 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34623 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34624 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34625 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34626 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34627 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34628 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34630 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34631 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34633 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34634 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34635 * sysdeps/i386/i586/memset.S (memset): Likewise.
34636 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34637 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34638 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34640 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34641 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34642 Change uses of L(2) to L(out).
34643 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34644 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34645 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34646 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34647 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34649 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34650 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34652 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34653 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34654 (RETURN): Do not use macro LEAVE.
34655 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34656 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34657 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34658 * sysdeps/i386/i686/memset.S (memset): Likewise.
34659 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34660 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34661 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34662 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34664 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34665 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34666 L(1_2) and L(1_3) into L(1).
34667 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34668 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34669 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34670 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34671 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34672 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34673 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34674 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34675 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34677 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34678 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34679 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34680 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34681 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34682 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34683 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34684 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34685 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34686 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34687 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34688 * sysdeps/i386/strspn.S (strspn): Likewise.
34689 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34691 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34692 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34693 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34694 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34695 L(1_3) into L(1_1).
34696 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34697 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34698 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34700 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34702 2013-02-19 Jakub Jelinek <jakub@redhat.com>
34704 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34707 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34709 * math/atest-exp.c (exp_mpn): Remove ROUND.
34710 * math/atest-exp2.c (exp_mpn): Likewise.
34711 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34713 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34714 * stdlib/tst-tls-atexit-lib.c: Likewise.
34715 * stdlib/tst-tls-atexit.c: Likewise.
34717 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34719 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34720 and __attribute_alloc_size__.
34722 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34724 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34725 __attribute_alloc_size__.
34726 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34727 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34729 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34731 * include/programs/xmalloc.h: New file.
34732 * catgets/gencat.c: Include it.
34733 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34734 * elf/pldd.c: Likewise.
34735 * iconv/iconv_charmap.c: Likewise.
34736 * iconv/iconvconfig.c: Likewise.
34737 * iconv/strtab.c: Likewise.
34738 * locale/programs/locale.c: Likewise.
34739 * locale/programs/localedef.h: Likewise.
34740 * locale/programs/simple-hash.c: Likewise.
34741 * nscd/nscd.h: Likewise.
34742 * nss/makedb.c: Likewise.
34743 * sysdeps/generic/ldconfig.h: Likewise.
34745 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34747 * Versions.def: Add GLIBC_2.18.
34748 * include/link.h (struct link_map): New member l_tls_dtor_count.
34749 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34750 (__call_tls_dtors): Likewise.
34751 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34752 __cxa_thread_atexit_impl.
34753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34769 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34770 (tests): Add test case tst-tls-atexit.
34771 (modules-names): Add shared library for tst-tls-atexit.
34772 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34773 (GLIBC_PRIVATE): Add __call_tls_dtors.
34774 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34776 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34777 * stdlib/tst-tls-atexit.c: New test case.
34778 * stdlib/tst-tls-atexit-lib.c: New test case.
34780 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34782 * elf/Versions (ld): Add _dl_find_dso_for_object.
34783 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34784 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34785 (dl_open_worker): Use _dl_find_dso_for_object.
34786 * elf/dl-sym.c (do_sym): Likewise.
34787 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34789 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34791 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34792 Syntactic changes only.
34793 (_dl_runtime_profile): Do a tail-call to the resolved function.
34795 2013-02-17 Joseph Myers <joseph@codesourcery.com>
34798 * sysdeps/x86_64/bp-asm.h: Remove file.
34799 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34800 <bp-sym.h> and <bp-asm.h>.
34801 (__clone): Do not use BP_SYM.
34802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34803 <bp-sym.h> and <bp-asm.h>.
34804 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34805 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34807 (_setjmp): Do not use BP_SYM.
34808 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34810 (setjmp): Do not use BP_SYM.
34811 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34813 (mempcpy): Do not use BP_SYM in weak_alias.
34814 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34816 (strchr): Do not use BP_SYM.
34817 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34819 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34820 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34821 (_start): Do not use BP_SYM.
34822 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34824 (strcat): Do not use BP_SYM.
34825 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34827 (STRCMP): Do not use BP_SYM.
34828 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34830 (STRCPY): Do not use BP_SYM.
34831 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34833 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34835 (FUNCTION): Do not use BP_SYM.
34836 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34838 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34840 2013-02-17 Andreas Jaeger <aj@suse.de>
34842 * time/Versions: Sort entries.
34843 * string/Versions: Likewise.
34844 * resolv/Versions: Likewise.
34845 * posix/Versions: Likewise.
34846 * iconv/Versions: Likewise.
34847 * elf/Versions: Likewise.
34848 * wcsmbs/Versions: Likewise.
34850 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34852 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34853 loop termination condition.
34855 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34856 variable to calculate EZ.
34859 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34860 the lower precision input.
34862 2013-02-15 Joseph Myers <joseph@codesourcery.com>
34865 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34866 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34867 (run-via-rtld-prefix): Do not handle %-bp tests.
34868 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34869 (all-object-suffixes): Remove .ob.
34870 (bppfx): Remove variable.
34871 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34872 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34873 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34874 [$(build-bounded) = yes] (libtype.ob): Likewise.
34875 * Makerules (elide-routines.ob): Remove variable.
34876 (do-tests-clean): Do not handle *-bp.out.
34877 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34878 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34879 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34880 (tests): Do not include $(tests-bp.out).
34881 (xtests): Do not include $(xtests-bp.out).
34882 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34883 [$(build-bounded) = yes] ($(addprefix
34884 $(objpfx),$(binaries-bounded))): Remove rule.
34885 ($(objpfx)%-bp.out): Remove rule.
34886 * config.make.in (build-bounded): Remove variable.
34887 * crypt/Makefile [$(build-bounded) = yes]
34888 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34889 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34890 append to variable.
34891 [$(build-bounded) = yes] (install-lib): Likewise.
34892 [$(build-bounded) = yes] (generated): Likewise.
34893 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34895 * intl/Makefile [$(build-bounded) = yes]
34896 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34897 * math/Makefile [$(build-bounded) = yes]
34898 ($(tests:%=$(objpfx)%-bp): Likewise.
34899 * misc/Makefile [$(build-bounded) = yes]
34900 ($(objpfx)tst-tsearch-bp): Likewise.
34901 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34902 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34904 * string/Makefile (o-objects.ob): Remove variable.
34905 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34906 (CFLAGS-.ob): Remove variable.
34907 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34908 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34909 both definitions of variable.
34910 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34911 (ASFLAGS-.ob): Remove variable.
34913 2013-02-14 Joseph Myers <joseph@codesourcery.com>
34916 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34917 Remove __BOUNDED_POINTERS__ from condition.
34918 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34919 * string/bits/string2.h [!__NO_STRING_INLINES &&
34920 !__BOUNDED_POINTERS__]: Likewise.
34921 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34923 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34924 Remove conditional code.
34925 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34926 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34927 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34931 * csu/libc-start.c: Do not include <bp-sym.h>.
34932 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34933 * elf/dl-open.c: Do not include <bp-sym.h>.
34934 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34935 * math/fegetenv.c: Do not include <bp-sym.h>.
34936 (fegetenv): Do not use BP_SYM in versioned symbols.
34937 * nptl/sysdeps/pthread/bits/libc-lockP.h
34938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34941 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34943 (__pthread_mutex_destroy): Likewise.
34944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34945 (__pthread_mutex_lock): Likewise.
34946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34947 (__pthread_mutex_trylock): Likewise.
34948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34949 (__pthread_mutex_unlock): Likewise.
34950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34951 (__pthread_mutexattr_init): Likewise.
34952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34953 (__pthread_mutexattr_destroy): Likewise.
34954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34955 (__pthread_mutexattr_settype): Likewise.
34956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34957 (__pthread_rwlock_init): Likewise.
34958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34959 (__pthread_rwlock_destroy): Likewise.
34960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34961 (__pthread_rwlock_rdlock): Likewise.
34962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34963 (__pthread_rwlock_tryrdlock): Likewise.
34964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34965 (__pthread_rwlock_wrlock): Likewise.
34966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34967 (__pthread_rwlock_trywrlock): Likewise.
34968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34969 (__pthread_rwlock_unlock): Likewise.
34970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34971 (__pthread_key_create): Likewise.
34972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34973 (__pthread_setspecific): Likewise.
34974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34975 (__pthread_getspecific): Likewise.
34976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34979 (_pthread_cleanup_push_defer): Likewise.
34980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34981 (_pthread_cleanup_pop_restore): Likewise.
34982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34983 (pthread_setcancelstate): Likewise.
34984 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34986 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34987 (memchr): Do not use BP_SYM in weak_alias.
34988 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34989 (fegetenv): Do not use BP_SYM in versioned symbols.
34990 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34991 (fesetenv): Do not use BP_SYM in versioned symbols.
34992 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34993 (feupdateenv): Do not use BP_SYM in versioned symbols.
34994 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34995 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34996 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34997 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34998 (open64): Do not use BP_SYM in weak_alias.
34999 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35000 (fegetenv): Do not use BP_SYM in versioned symbols.
35001 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35002 (fesetenv): Do not use BP_SYM in versioned symbols.
35003 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35004 (feupdateenv): Do not use BP_SYM in versioned symbols.
35005 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35006 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35007 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35008 (feraiseexcept): Do not use BP_SYM in versioned symbols.
35009 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35010 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35011 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35013 (__libc_start_main): Do not use BP_SYM.
35015 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35018 redundant return line.
35020 (denorm): Likewise.
35021 (dbl_mp): Likewise.
35022 (sub_magnitudes): Likewise.
35028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35030 (denorm): Likewise.
35031 (dbl_mp): Likewise.
35032 (sub_magnitudes): Likewise.
35039 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35041 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35042 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35045 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35046 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35048 of __mul for squares.
35049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35053 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35054 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35056 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35059 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35061 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35062 prototype or function definition. Rename ubp_* variables and
35063 parameters. Remove argv definitions conditional on
35064 [__BOUNDED_POINTERS__].
35065 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35066 * elf/dl-runtime.c (_dl_fixup): Likewise.
35067 * include/set-hooks.h (RUN_HOOK): Likewise.
35068 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35070 * string/strcpy.c (strcpy): Do not use __unbounded.
35071 * sysdeps/generic/frame.h (struct layout): Likewise.
35072 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35073 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35074 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35075 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35076 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35077 (__backtrace): Likewise.
35078 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35080 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35081 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35082 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35084 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35085 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35086 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35087 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35088 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35089 Do not use __unbounded.
35090 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35091 Rename __unboundedrlimits parameter to rlimits in prototype.
35092 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35093 Do not use __unbounded.
35094 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35095 not use __ptrvalue.
35096 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35097 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35098 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35099 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35100 __ptrvalue or __unbounded.
35101 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35102 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35104 (__new_msgctl): Do not use __ptrvalue.
35105 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35107 (__libc_msgrcv): Do not use __ptrvalue.
35108 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35109 startup_info): Do not use __unbounded.
35110 (__libc_start_main): Likewise. Rename ubp_* variables and
35111 parameters. Remove argv definitions conditional on
35112 [__BOUNDED_POINTERS__].
35113 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35115 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35117 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35119 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35121 (__new_shmctl): Do not use __ptrvalue.
35122 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35123 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35125 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35126 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35127 (__libc_sigaction): Likewise.
35128 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35129 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35131 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35133 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35135 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35137 * string/mempcpy.c: Implement by calling memcpy.
35139 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35143 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35146 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35147 values in the mantissa.
35149 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35150 minimize writes to Z.
35151 (sub_magnitudes): Simplify code a bit.
35153 2013-02-12 Roland McGrath <roland@hack.frob.com>
35155 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35156 from the message. The linker prefixes all warnings with that already.
35158 2013-02-12 Andreas Schwab <schwab@suse.de>
35161 * posix/regexec.c (extend_buffers): Add parameter min_len.
35162 (check_matching): Pass minimum needed length.
35163 (clean_state_log_if_needed): Likewise.
35164 (get_subexp): Likewise.
35165 * posix/Makefile (tests): Add bug-regex34.
35166 (bug-regex34-ENV): Define.
35167 * posix/bug-regex34.c: New file.
35170 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35171 elements compare against the byte sequence of it, not its name.
35172 * posix/Makefile (tests): Add bug-regex35.
35173 (bug-regex35-ENV): Define.
35174 * posix/bug-regex35.c: New file.
35176 2013-02-11 Tom de Vries <tom@codesourcery.com>
35178 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35180 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35181 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35182 (CHECK_EOL): Add undef.
35184 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35186 * bits/stdlib-bsearch.h: New file.
35187 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35188 * stdlib/stdlib.h: Likewise.
35190 2013-02-11 Roland McGrath <roland@hack.frob.com>
35192 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35193 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35195 * manual/search.texi (Array Search Function): Add missing const in
35197 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35198 declaration to use rlim_t.
35199 (Basic Scheduling Functions): Remove erroneous const from
35200 sched_getparam prototype. Remove erroneous * from
35201 sched_get_priority_max and sched_get_priority_min prototypes.
35202 (Resource Usage): Fix summary @comment on vtimes to refer to
35203 sys/vtimes.h rather than vtimes.h.
35204 Add missing *s in vtimes prototype.
35205 (Limits on Resources): Fix ulimit prototype to return long int.
35206 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35207 prototypes to use long int rather than double.
35208 (BSD Random): Fix initstate and setstate to use char *, not void *.
35209 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35210 prototype to make second argument 'struct aiocb64 *const[]'.
35211 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35212 (Status of AIO Operations): Remove erroneous const in aio_return and
35213 aio_return64 prototypes.
35214 (Synchronizing I/O): Fix sync prototype to return void.
35215 * manual/startup.texi (Suboptions): Remove an erroneous const in
35216 getsubopt prototype.
35217 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35218 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35219 use size_t rather than int.
35220 (Scanning All Users): Likewise for getpwent_r.
35221 (Setting Groups): Add missing const to setgroups prototype.
35222 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35223 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35224 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35225 'const void *' rather than 'const char *'.
35226 (Host Address Functions): Likewise for inet_ntop.
35227 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35228 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35229 ssize_t for return value.
35230 (Sending Data): Likewise for send, sendto, sendmsg.
35231 (Socket Option Functions): Add a missing const in setsockopt prototype.
35232 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35233 use wchar_t for the argument.
35234 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35235 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35237 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35238 double/float/long double for second argument.
35239 Fix return types of significand, significandf, significandl.
35240 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35241 argument in fchmod prototype.
35242 (File Owner): Use uid_t and gid_t in fchown prototype.
35243 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35244 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35245 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35246 use 'const struct dirent **' as argument types to CMP function pointer
35248 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35249 (File Times): Fix summary magic @comment for struct utimbuf and utime
35250 to refer to utime.h, not time.h.
35251 * manual/string.texi (Argz Functions): Add missing const in
35252 argz_extract and argz_next prototypes.
35253 (Finding Tokens in a String): Likewise for basename.
35254 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35255 (Copying and Concatenation): Fix typo in wmemmove prototype.
35256 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35257 (Signal Stack): Remove erroneous const in sigstack prototype.
35258 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35260 (Simple Calendar Time): Likewise for stime.
35261 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35263 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35264 say sys/sysctl.h instead.
35265 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35266 and vsyslog prototypes.
35268 2013-02-11 Tom de Vries <tom@codesourcery.com>
35270 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35273 2013-02-11 Roland McGrath <roland@hack.frob.com>
35275 * misc/sys/mman.h: Fix typo in mremap comment.
35277 2013-02-08 Roland McGrath <roland@hack.frob.com>
35279 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35280 the '\0' terminator.
35282 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35285 * debug/segfault.c: Don't include <bp-checks.h>.
35286 * sysdeps/generic/bp-checks.h: Remove file.
35287 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35288 (__GETDENTS): Don't use CHECK_N.
35289 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35290 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35291 (__getgroups): Don't use CHECK_N.
35292 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35293 (setgroups): Don't use CHECK_N.
35294 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35295 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35296 (__libc_msgrcv): Don't use CHECK_N.
35297 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35298 (__libc_msgsnd): Don't use CHECK_N.
35299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35301 (__libc_pread): Don't use CHECK_N.
35302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35303 include <bp-checks.h>.
35304 (__libc_pread64): Don't use CHECK_N.
35305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35306 include <bp-checks.h>.
35307 (__libc_pwrite): Don't use CHECK_N.
35308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35309 include <bp-checks.h>.
35310 (__libc_pwrite64): Don't use CHECK_N.
35311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35313 (__libc_pread): Don't use CHECK_N.
35314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35315 include <bp-checks.h>.
35316 (__libc_pread64): Don't use CHECK_N.
35317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35318 include <bp-checks.h>.
35319 (__libc_pwrite): Don't use CHECK_N.
35320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35321 include <bp-checks.h>.
35322 (__libc_pwrite64): Don't use CHECK_N.
35323 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35324 (do_pread): Don't use CHECK_N.
35325 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35326 (do_pread64): Don't use CHECK_N.
35327 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35328 (do_pwrite): Don't use CHECK_N.
35329 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35330 (do_pwrite64): Don't use CHECK_N.
35331 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35332 (__libc_readv): Don't use CHECK_N.
35333 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35334 (semop): Don't use CHECK_N.
35335 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35337 (semtimedop): Don't use CHECK_N.
35338 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35339 (__libc_pread): Don't use CHECK_N.
35340 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35342 (__libc_pread64): Don't use CHECK_N.
35343 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35345 (__libc_pwrite): Don't use CHECK_N.
35346 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35348 (__libc_pwrite64): Don't use CHECK_N.
35349 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35351 (__libc_msgrcv): Don't use CHECK_N.
35352 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35353 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35354 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35355 (__libc_writev): Don't use CHECK_N.
35357 2013-02-08 Roland McGrath <roland@hack.frob.com>
35359 * string/strcpy.c: Removed unused variable.
35361 * Makeconfig (+sysdep-includes): Define with := rather than =.
35362 Use an existing include/ subdir of each sysdeps dir before it.
35364 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35366 * nscd/connection.c (register_traced_file): Comment function.
35367 [HAVE_INOTIFY] (union __inev): Define.
35368 [HAVE_INOTIFY] (inotify_check_files): New function.
35369 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35370 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35372 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35374 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35376 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35377 loaded if not already and that a failure is permanent.
35379 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35382 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35383 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35385 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35388 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35389 (CHECK_1_NULL_OK): Likewise.
35390 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35391 (__fxstat): Do not use CHECK_1.
35392 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35394 (___fxstat64): Do not use CHECK_1.
35395 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35397 (__fxstatat): Do not use CHECK_1.
35398 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35400 (__fxstatat64): Do not use CHECK_1.
35401 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35403 (__fxstat): Do not use CHECK_1.
35404 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35406 (__fxstatat): Do not use CHECK_1.
35407 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35409 (__getresgid): Do not use CHECK_1.
35410 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35412 (__getresuid): Do not use CHECK_1.
35413 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35415 (__lxstat): Do not use CHECK_1.
35416 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35418 (__old_msgctl): Do not use CHECK_1.
35419 (__new_msgctl): Likewise.
35420 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35422 (__new_setrlimit): Do not use CHECK_1.
35423 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35425 (__old_shmctl): Do not use CHECK_1.
35426 (__new_shmctl): Likewise.
35427 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35429 (__xstat): Do not use CHECK_1.
35430 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35431 (__lxstat): Do not use CHECK_1.
35432 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35434 (___lxstat64): Do not use CHECK_1.
35435 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35436 (__old_msgctl): Do not use CHECK_1.
35437 (__new_msgctl): Likewise.
35438 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35440 (__gettimeofday): Do not use CHECK_1.
35441 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35442 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35443 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35445 (__gettimeofday): Do not use CHECK_1.
35446 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35447 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35448 (__new_shmctl): Do not use CHECK_1.
35449 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35451 (do_sigtimedwait): Do not use CHECK_1.
35452 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35454 (do_sigwaitinfo): Do not use CHECK_1.
35455 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35457 (msgctl): Do not use CHECK_1.
35458 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35460 (shmctl): Do not use CHECK_1.
35461 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35462 (ustat): Do not use CHECK_1.
35463 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35465 (__fxstat): Do not use CHECK_1.
35466 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35468 (__fxstatat): Do not use CHECK_1.
35469 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35471 (__lxstat): Do not use CHECK_1.
35472 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35474 (__xstat): Do not use CHECK_1.
35475 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35476 (__xstat): Do not use CHECK_1.
35477 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35478 (___xstat64): Do not use CHECK_1.
35481 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35483 (CHECK_BOUNDS_HIGH): Likewise.
35484 * string/strcpy.c: Do not include <bp-checks.h>.
35485 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35487 2013-02-07 Roland McGrath <roland@hack.frob.com>
35489 * nscd/nscd-client.h (__nscd_drop_map_ref):
35490 Add __attribute__ ((unused)).
35491 * nis/nss-nisplus.h (niserr2nss): Likewise.
35493 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35494 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35496 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35497 Remove inline keyword.
35498 * include/rounding-mode.h (round_away): Likewise.
35499 * libio/wfileops.c (adjust_wide_data): Likewise.
35500 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35501 (__m128i_strloadu_tolower): Likewise.
35502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35503 (__m128i_strloadu_tolower): Likewise.
35504 * time/mktime.c (ydhms_diff): Likewise.
35505 * locale/elem-hash.h (elem_hash): Likewise.
35506 * locale/setlocale.c (setdata): Likewise.
35507 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35508 (re_string_wchar_at): Likewise.
35509 (bitset_not, bitset_merge, bitset_mask): Likewise.
35510 [!(__GNUC__ > 3)] (inline): Remove macro.
35511 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35512 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35513 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35514 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35515 * string/memcmp.c (memcmp_bytes): Likewise.
35516 * locale/programs/locarchive.c (compute_hashval): Likewise.
35517 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35518 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35519 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35520 * nss/getent.c (print_rpc, print_protocols): Likewise.
35521 (print_passwd, print_group, print_aliases): Likewise.
35522 * nis/nss-nisplus.h (niserr2nss): Likewise.
35523 * nscd/connections.c (restart_p): Likewise.
35524 Change return type to bool.
35526 2013-02-05 Roland McGrath <roland@hack.frob.com>
35528 * Makeconfig (all-Depend-files): Add existing
35529 $(sorted-subdirs:=/Depend) files.
35530 (all-subdirs): Remove nss.
35531 * sysdeps/unix/inet/Subdirs: Add it here instead.
35532 * hesiod/Depend: New file.
35534 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35535 instead of calling alloca.
35537 * io/lseek.c (__lseek): Rename to __libc_lseek.
35538 Define __lseek as an alias.
35540 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35542 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35544 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35545 else clause and remove check for non-standard endianness.
35547 2013-02-04 David S. Miller <davem@davemloft.net>
35549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35551 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35554 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35555 (__ubp_memchr): Remove prototype.
35556 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35557 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35558 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35559 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35560 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35562 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35563 (__ubp_memchr): Likewise.
35564 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35565 (__ubp_memchr): Likewise.
35566 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35567 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35568 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35569 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35571 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35572 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35573 (__getcwd): Do not use CHECK_STRING.
35574 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35576 (__real_chown): Do not use CHECK_STRING.
35577 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35579 (fchownat): Do not use CHECK_STRING.
35580 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35582 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35584 (__lchown): Do not use CHECK_STRING.
35585 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35586 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35587 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35588 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35590 include <bp-checks.h>.
35591 (truncate64): Do not use CHECK_STRING.
35592 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35594 (__real_chown): Do not use CHECK_STRING.
35595 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35597 (__lchown): Do not use CHECK_STRING.
35598 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35600 (__chown): Do not use CHECK_STRING.
35601 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35603 (truncate64): Do not use CHECK_STRING.
35604 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35606 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35607 (__xmknod): Do not use CHECK_STRING.
35608 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35610 (__xmknodat): Do not use CHECK_STRING.
35611 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35612 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35614 2013-02-04 Andreas Schwab <schwab@suse.de>
35617 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35618 * include/netdb.h: Likewise for h_errno.
35619 * elf/tst-stackguard1.c: Include <tls.h>.
35621 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35623 * elf/link.h (struct link_map): Extend the l_addr comment.
35624 * include/link.h (struct link_map): Likewise.
35626 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35629 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35630 (BOUNDED_1): Remove macro.
35631 * debug/backtrace.c: Don't include <bp-checks.h>.
35632 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35633 (__backtrace): Likewise.
35634 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35636 (__backtrace): Don't use BOUNDED_1.
35637 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35639 (__backtrace): Don't use BOUNDED_1.
35640 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35641 (__backtrace): Don't use BOUNDED_1.
35642 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35643 (shmat): Don't use BOUNDED_N.
35645 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35648 * sysdeps/generic/bp-start.h: Remove file.
35649 * csu/libc-start.c: Don't include <bp-start.h>.
35650 (LIBC_START_MAIN): Set up __environ directly instead of using
35651 INIT_ARGV_and_ENVIRON.
35652 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35656 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35658 (CHECK_FCNTL): Likewise.
35659 (CHECK_N_PAGES): Likewise.
35662 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35664 (CHECK_SIGSET_NULL_OK): Likewise.
35665 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35667 (sigpending): Don't use CHECK_SIGSET.
35668 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35670 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35671 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35673 (do_sigsuspend): Don't use CHECK_SIGSET.
35674 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35676 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35677 (do_sigwait): Don't use CHECK_SIGSET.
35678 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35680 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35681 include <bp-checks.h>.
35682 (sigpending): Don't use CHECK_SIGSET.
35683 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35684 include <bp-checks.h>.
35685 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35686 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35688 (sigpending): Don't use CHECK_SIGSET.
35689 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35691 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35694 * sysdeps/generic/bp-semctl.h: Remove file.
35695 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35696 <bp-checks.h> and <bp-semctl.h>.
35697 (__old_semctl): Don't use CHECK_SEMCTL.
35698 (__new_semctl): Likewise.
35699 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35701 (__old_semctl): Don't use CHECK_SEMCTL.
35702 (__new_semctl): Likewise.
35703 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35704 <bp-checks.h> and <bp-semctl.h>.
35705 (__old_semctl): Don't use CHECK_SEMCTL.
35706 (__new_semctl): Likewise.
35707 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35708 <bp-checks.h> and <bp-semctl.h>.
35709 (semctl): Don't use CHECK_SEMCTL.
35712 * Makerules (elide-bp-thunks): Remove variable.
35713 (elide-routines.oS): Don't use $(elide-bp-thunks).
35714 (elide-routines.os): Likewise.
35715 (elide-routines.o): Likewise.
35716 (elide-routines.op): Likewise.
35717 (elide-routines.og): Likewise.
35718 (objects): Don't use $(bp-thunks).
35719 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35721 (common-generated): Do not add s-proto-bp.d.
35722 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35725 Do not generate makefile rules for bounded-pointer thunks.
35726 * sysdeps/generic/bp-thunks.h: Remove file.
35727 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35728 * sysdeps/unix/s-proto-bp.S: Likewise.
35731 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35732 parts of result separately when argument is not close to line from
35733 -i to i and one part of argument is small.
35734 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35735 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35736 * math/libm-test.inc (cacos_test): Add more tests.
35737 (casin_test): Likewise.
35738 (casinh_test): Likewise.
35739 * sysdeps/i386/fpu/libm-test-ulps: Update.
35740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35742 2013-01-31 David S. Miller <davem@davemloft.net>
35744 * po/de.po: Update from translation team.
35746 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35748 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35750 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35752 * configure.in (_AC_PROG_CC_C89): New definition.
35753 * configure: Regenerate.
35755 * configure.in (AC_PROG_CPP): New definition.
35756 * configure: Regenerate.
35758 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35760 * debug/tst-backtrace.h: New file.
35761 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35762 (ret): Remove variable.
35764 (FAIL): Remove macro.
35765 (NO_INLINE): Likewise.
35766 (fn1): Use match function instead of strstr.
35767 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35768 (ret): Remove variable.
35770 (FAIL): Remove macro.
35771 (NO_INLINE): Likewise.
35772 (fn): Use match function instead of strstr.
35773 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35774 (ret): Remove variable.
35776 (FAIL): Remove macro.
35777 (NO_INLINE): Likewise.
35778 (handle_signal): Use match function instead of strstr.
35779 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35780 (ret): Remove variable.
35782 (FAIL): Remove macro.
35783 (NO_INLINE): Likewise.
35784 (handle_signal): Use match function instead of strstr.
35786 2013-01-23 Roland McGrath <roland@hack.frob.com>
35788 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35790 2013-01-23 David S. Miller <davem@davemloft.net>
35792 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35793 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35794 argument of CAS if possible.
35795 * sysdeps/sparc/sparc64/bits/atomic.h
35796 (__arch_compare_and_exchange_val_32_acq): Likewise.
35797 (__arch_compare_and_exchange_val_64_acq): Likewise.
35799 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35801 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35802 * sysdeps/posix/ulimit.c: ... this.
35803 Include <limits.h>.
35804 * sysdeps/unix/bsd/ulimit.c: Remove file.
35806 2013-01-23 Adam Conrad <adconrad@0c3.net>
35808 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35809 (LDFLAGS-tst-array5): Likewise.
35811 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35814 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35815 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35816 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35817 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35819 2013-01-21 David S. Miller <davem@davemloft.net>
35821 * sysdeps/sparc/backtrace.c: New file.
35822 * sysdeps/sparc/sparc32/backtrace.h: New file.
35823 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35824 * sysdeps/sparc/sparc64/backtrace.h: New file.
35825 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35826 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35829 2013-01-21 Andreas Schwab <schwab@suse.de>
35832 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35835 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35841 2013-01-18 Joseph Myers <joseph@codesourcery.com>
35842 Mark Mitchell <mark@codesourcery.com>
35843 Tom de Vries <tom@codesourcery.com>
35844 Paul Pluzhnikov <ppluzhnikov@google.com>
35846 * debug/tst-backtrace2.c: New file.
35847 * debug/tst-backtrace3.c: Likewise.
35848 * debug/tst-backtrace4.c: Likewise.
35849 * debug/tst-backtrace5.c: Likewise.
35850 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35851 (CFLAGS-tst-backtrace3.c): Likewise.
35852 (CFLAGS-tst-backtrace4.c): Likewise.
35853 (CFLAGS-tst-backtrace5.c): Likewise.
35854 (LDFLAGS-tst-backtrace2): Likewise.
35855 (LDFLAGS-tst-backtrace3): Likewise.
35856 (LDFLAGS-tst-backtrace4): Likewise.
35857 (LDFLAGS-tst-backtrace5): Likewise.
35858 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35859 tst-backtrace4 and tst-backtrace5.
35861 2013-01-18 Anton Blanchard <anton@samba.org>
35862 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35864 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35865 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35866 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35867 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35869 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35870 "+r" and remove output regs list as redundant. Add explicit inline
35871 asm to specify register of return val to work around compiler codegen
35872 bug. Remove (int) cast on return value. Add return type parameter to
35873 use in macro so that this macro does not truncate return value for
35875 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35876 pass to INTERNAL_VSYSCALL_NCS.
35877 (INLINE_VSYSCALL): Add 'long int' as return type to
35878 INTERNAL_VSYSCALL_NCS macro invocation.
35879 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35880 INTERNAL_VSYSCALL_NCS macro invocation.
35881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35883 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35886 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35887 Fix application of SIMD FP exception mask.
35889 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35890 mp_no from a power of two.
35891 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35892 __mpexp_twomm1. Use __pow_mp.
35894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35897 2013-01-17 David S. Miller <davem@davemloft.net>
35899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35901 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35904 * include/complex.h: Condition contents on [!_COMPLEX_H].
35905 (__kernel_casinhf): New prototype.
35906 (__kernel_casinh): Likewise.
35907 (__kernel_casinhl): Likewise.
35908 * math/Makefile (libm_calls): Add k_casinh.
35909 * math/k_casinh.c: New file.
35910 * math/k_casinhf.c: Likewise.
35911 * math/k_casinhl.c: Likewise.
35912 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35913 finite nonzero arguments.
35914 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35915 finite nonzero arguments.
35916 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35917 finite nonzero arguments.
35918 * math/s_casinh.c: Do not include <float.h>.
35919 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35920 * math/s_casinhf.c: Do not include <float.h>.
35921 (__casinhf): Move code for finite nonzero arguments to
35923 * math/s_casinhl.c: Do not include <float.h>.
35924 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35926 (__casinhl): Move code for finite nonzero arguments to
35928 * math/libm-test.inc (cacos_test): Add more tests.
35929 * sysdeps/i386/fpu/libm-test-ulps: Update.
35930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35932 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35934 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35935 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35936 [!HAVE_MREMAP]: Remove [defined linux] case.
35937 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35939 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35941 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35943 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
35945 * elf/elf.h (R_386_SIZE32): New relocation.
35946 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35948 (elf_machine_rela): Likewise.
35949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35950 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35952 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35954 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35955 (FP_FAST_FMA): Do not define.
35956 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35957 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35958 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35959 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35960 !_SOFT_FLOAT]: Likewise.
35961 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35962 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35964 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35965 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35966 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35967 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35968 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35969 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35972 2013-01-16 Andreas Schwab <schwab@suse.de>
35975 * include/stdlib.h (__mktemp): Add declaration.
35976 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35977 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35979 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35981 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35983 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35984 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35985 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35987 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35988 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35990 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35992 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35993 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35994 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35996 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35997 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35999 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36001 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36003 2013-01-15 David S. Miller <davem@davemloft.net>
36005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36006 trunc{,f} to libm-sysdep_routes.
36007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36017 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36018 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36019 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36020 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36021 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36022 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36025 nearbyint{,f} to libm-sysdep_routes.
36026 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36037 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36039 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36040 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36042 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36043 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36044 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36046 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36047 libc_feholdexcept and libc_fesetenv.
36049 2013-01-15 Mike Frysinger <vapier@gentoo.org>
36051 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36053 2013-01-14 David S. Miller <davem@davemloft.net>
36055 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36056 (SPARC_ASM_VIS2_IFUNC): Likewise.
36057 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36059 use of 'siam' instruction.
36060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36093 routines to libm-sysdep_routines.
36094 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36097 fdim/fdimf to libm-sysdep_routines.
36098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36106 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36107 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36108 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36109 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36111 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36113 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36114 to optimize copies.
36116 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36118 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36121 local variable MPTWO.
36122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36125 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36127 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36130 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36132 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36134 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36136 * manual/pattern.texi (glob_t): Document gl_flags.
36137 (glob64_t): Likewise.
36139 2013-01-11 David S. Miller <davem@davemloft.net>
36141 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36142 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36143 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36144 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36145 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36146 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36147 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36148 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36149 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36150 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36151 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36152 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36153 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36155 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36156 sparc V9 rather than using V8 code.
36157 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36158 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36160 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36162 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36165 2013-01-11 Roland McGrath <roland@hack.frob.com>
36167 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36168 not in the main loop.
36169 * configure: Regenerated.
36171 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36173 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36174 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36176 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36177 [!__GLIBC_HAVE_LONG_LONG] case.
36178 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36179 condition to just #else.
36180 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36181 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36182 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36183 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36185 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36186 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36187 #elif condition to just #else.
36188 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36189 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36190 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36191 #elif condition to just #else.
36193 2013-01-11 Steve Ellcey <sellcey@mips.com>
36195 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36196 (EF_MIPS_ARCH_64): Fix value.
36197 (EF_MIPS_ARCH_32R2): New.
36198 (EF_MIPS_ARCH_64R2): New.
36200 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36202 * Makeconfig (+link-pie-before-libc): New.
36203 (+link-pie-after-libc): Likewise.
36204 (+link-pie-tests): Likewise.
36205 (+link-pie): Rewritten.
36206 (link-before-libc): Remove $(config-LDFLAGS).
36207 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36208 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36209 (config-LDFLAGS): Renamed to ...
36210 (rtld-LDFLAGS): This.
36211 (rtld-tests-LDFLAGS): New macro.
36212 (link-libc-rpath-link): Likewise.
36213 (link-libc-tests-rpath-link): Likewise.
36214 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36215 (link-libc): Prepand $(link-libc-rpath-link).
36216 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36217 (test-program-prefix): New macro.
36218 (test-via-rtld-prefix): Likewise.
36219 (test-program-cmd): Likewise.
36220 (host-test-program-cmd): Likewise.
36221 * Makefile ($(common-objpfx)testrun.sh): Replace
36222 $(run-program-prefix) with $(test-program-prefix).
36223 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36225 ($(common-objpfx)shlib.lds): Likewise.
36226 (build-module-helper): Likewise.
36227 ($(common-objpfx)format.lds): Likewise.
36228 * Rules (binaries-pie-tests): New.
36229 (binaries-pie-notests): Likewise.
36230 (binaries-pie): Rewritten.
36231 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36232 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36233 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36234 (make-test-out): Replace $(host-built-program-cmd) with
36235 $(host-test-program-cmd).
36236 * config.make.in (build-hardcoded-path-in-tests): New variable.
36237 * configure.in (--enable-hardcoded-path-in-tests): New configure
36239 (hardcoded_path_in_tests): New AC_SUBST.
36240 * configure: Regenerated.
36241 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36242 $(built-program-cmd) with $(test-program-cmd).
36243 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36244 (test_program_cmd): This.
36245 * elf/Makefile ($(objpfx)order.out): Run test with
36246 $(test-program-prefix).
36247 ($(objpfx)order2.out): Likewise.
36248 ($(objpfx)tst-initorder.out): Likewise.
36249 ($(objpfx)tst-initorder2.out): Likewise.
36250 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36251 $(test-program-cmd).
36252 ($(objpfx)tst-array1-static.out): Likewise.
36253 ($(objpfx)tst-array2.out): Likewise.
36254 ($(objpfx)tst-array3.out): Likewise.
36255 ($(objpfx)tst-array4.out): Likewise.
36256 ($(objpfx)tst-array5.out): Likewise.
36257 ($(objpfx)tst-array5-static.out): Likewise.
36258 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36259 $(test-program-cmd).
36260 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36261 $(run-program-prefix) with $(test-program-prefix).
36262 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36263 (test_program_prefix): This.
36264 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36265 $(run-program-prefix) with $(test-program-prefix).
36266 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36267 (test_program_prefix): This.
36268 * iconvdata/tst-tables.sh: Likewise.
36269 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36270 $(run-program-prefix) with $(test-program-prefix).
36271 ($(objpfx)tst-translit.out): Likewise.
36272 ($(objpfx)tst-gettext2.out): Likewise.
36273 ($(objpfx)tst-gettext4.out): Likewise.
36274 ($(objpfx)tst-gettext6.out): Likewise.
36275 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36276 (test_program_prefix): This.
36277 * intl/tst-gettext2.sh: Likewise.
36278 * intl/tst-gettext4.sh Likewise.
36279 * intl/tst-gettext6.sh: Likewise.
36280 * intl/tst-translit.sh: Likewise.
36281 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36282 with $(test-program-cmd).
36283 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36284 $(run-program-prefix) with $(test-program-prefix).
36285 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36286 (test_program_prefix): This.
36287 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36288 $(run-program-prefix) with $(test-program-prefix).
36289 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36290 (test_program_prefix): This.
36291 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36292 * posix/Makefile ($(objpfx)globtest.out): Replace
36293 $(run-via-rtld-prefix) and $(test-wrapper) with
36294 $(test-program-prefix) and $(test-via-rtld-prefix).
36295 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36296 $(test-program-prefix).
36297 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36298 $(host-test-program-cmd).
36299 (tst-spawn-ARGS): Likewise.
36300 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36301 $(test-program-prefix).
36302 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36303 (test_via_rtld_prefix): This.
36304 (test_wrapper): Renamed to ...
36305 (test_program_prefix): This.
36306 (run_program_prefix): Replaced by test_program_prefix.
36307 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36308 (test_program_prefix): This.
36309 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36310 with $(host-test-program-cmd).
36311 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36312 $(run-program-prefix) with $(test-program-prefix).
36313 ($(objpfx)tst-printf.out): Likewise.
36314 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36315 $(test-program-cmd).
36316 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36317 (test_program_prefix): This.
36318 * stdio-common/tst-unbputc.sh: Likewise.
36319 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36320 $(run-program-prefix) with $(test-program-prefix).
36321 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36322 (test_program_prefix): This.
36323 * string/Makefile ($(objpfx)tst-svc.out): Replace
36324 $(built-program-cmd) with $(test-program-cmd).
36326 2013-01-11 Andreas Jaeger <aj@suse.de>
36329 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36330 value. Sync with Linux 3.7.
36332 2013-01-10 David S. Miller <davem@davemloft.net>
36334 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36335 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36336 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36338 2013-01-10 Roland McGrath <roland@hack.frob.com>
36340 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36342 * configure: Regenerated.
36344 2013-01-10 David S. Miller <davem@davemloft.net>
36346 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36347 sparc V9 rather than using V8 code.
36348 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36349 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36351 2013-01-10 Roland McGrath <roland@hack.frob.com>
36353 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36354 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36355 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36356 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36357 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36358 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36359 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36360 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36361 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36362 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36363 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36364 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36365 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36366 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36367 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36368 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36369 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36370 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36371 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36372 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36373 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36374 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36375 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36376 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36377 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36378 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36379 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36381 2013-01-10 David S. Miller <davem@davemloft.net>
36383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36385 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36387 * posix/Makefile (tests-static): New variable.
36388 (tests): Add $(tests-static).
36389 (tst-exec-static-ARGS): New variable.
36390 (tst-spawn-static-ARGS): Likewise.
36391 * posix/tst-exec-static.c: New file.
36392 * posix/tst-spawn-static.c: Likewise.
36393 * posix/tst-exec.c: Support run directly.
36394 * posix/tst-spawn.c: Likewise.
36396 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36398 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36400 * math/bits/mathcalls.h (llrint): Likewise.
36401 (llround): Likewise.
36402 * stdlib/stdlib.h (struct drand48_data): Likewise.
36403 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36404 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36405 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36407 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36409 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36410 (elf_greg_t): Likewise.
36411 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36412 (__jmp_buf): Likewise.
36413 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36415 (llrint): Likewise, for all definitions.
36416 (llrintl): Likewise.
36418 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36419 Remove [__GNUC__] condition.
36420 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36421 condition to just [__USE_ISOC99].
36422 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36424 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36427 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36428 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36430 (_POSIX_V6_ILP32_OFF32): Likewise.
36431 (_XBS5_ILP32_OFF32): Likewise.
36432 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36433 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36435 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36437 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36440 doubles __mpexp_twomm1. Adjust usage.
36441 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36444 2013-01-10 Andreas Schwab <schwab@suse.de>
36447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36448 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36450 2013-01-09 David S. Miller <davem@davemloft.net>
36453 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36454 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36455 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36456 (TCP_FASTOPEN): Define.
36457 (tcp_repair_opt): New structure.
36458 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36460 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36461 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36462 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36463 (tcp_cookie_transactions): New structure.
36465 2013-01-09 Anton Blanchard <anton@samba.org>
36467 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36468 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36469 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36470 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36472 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36474 * include/features.h (__USE_ANSI): Remove.
36476 2013-01-09 Roland McGrath <roland@hack.frob.com>
36478 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36480 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36482 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36484 * sysdeps/s390/fpu/libm-test-ulps: Update.
36486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36488 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36492 (denorm): Likewise.
36493 (__mp_dbl): Likewise.
36494 (__dbl_mp): Likewise.
36495 (add_magnitudes): Likewise.
36496 (sub_magnitudes): Likewise.
36502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36506 (denorm): Likewise.
36507 (__mp_dbl): Likewise.
36508 (__dbl_mp): Likewise.
36509 (add_magnitudes): Likewise.
36510 (sub_magnitudes): Likewise.
36516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36520 (denorm): Likewise.
36521 (__mp_dbl): Likewise.
36522 (__dbl_mp): Likewise.
36523 (add_magnitudes): Likewise.
36524 (sub_magnitudes): Likewise.
36531 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36533 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36534 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36535 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36536 2 && __USE_EXTERN_INLINES]: Likewise.
36538 2013-01-08 Andreas Jaeger <aj@suse.de>
36541 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36543 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36544 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36546 2013-01-07 Anton Blanchard <anton@samba.org>
36548 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36549 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36550 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36551 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36552 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36553 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36554 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36555 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36557 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36558 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36559 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36560 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36561 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36562 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36563 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36564 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36565 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36566 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36567 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36568 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36569 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36571 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36572 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36573 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36574 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36575 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36576 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36577 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36578 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36580 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36581 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36582 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36583 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36584 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36586 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36587 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36588 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36589 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36590 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36592 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36594 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36595 (__MALLOC_PMT): Likewise.
36596 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36597 [__GNUC__], only on [_LIBC].
36598 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36599 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36600 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36601 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36602 forward declaration.
36603 (realloc_hook_ini): Likewise.
36604 (memalign_hook_ini): Likewise.
36605 (__libc_memalign): Do not use __MALLOC_PMT in variable
36607 (__libc_valloc): Likewise.
36608 (__libc_pvalloc): Likewise.
36609 (__libc_calloc): Likewise.
36610 (__posix_memalign): Likewise.
36613 * math/s_casinh.c: Include <float.h>.
36614 (__casinh): Do not do computation with squaring and square root
36615 for large arguments.
36616 * math/s_casinhf.c: Include <float.h>.
36617 (__casinhf): Do not do computation with squaring and square root
36618 for large arguments.
36619 * math/s_casinhl.c: Include <float.h>.
36620 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36621 (__casinhl): Do not do computation with squaring and square root
36622 for large arguments.
36623 * math/libm-test.inc (casin_test): Add more tests.
36624 (casinh_test): Likewise.
36625 * sysdeps/i386/fpu/libm-test-ulps: Update.
36626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36628 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36630 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36631 (__x86_64_raw_data_cache_size): Likewise.
36632 (__x86_64_data_cache_size_half): Likewise.
36633 (__x86_64_raw_data_cache_size_half): Likewise.
36634 (__x86_64_shared_cache_size): Likewise.
36635 (__x86_64_raw_shared_cache_size): Likewise.
36636 (__x86_64_shared_cache_size_half): Likewise.
36637 (__x86_64_raw_shared_cache_size_half): Likewise.
36638 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36640 (__x86_data_cache_size): This.
36641 (__x86_64_raw_data_cache_size): Renamed to ...
36642 (__x86_raw_data_cache_size): This.
36643 (__x86_64_data_cache_size_half): Renamed to ...
36644 (__x86_data_cache_size_half): This.
36645 (__x86_64_raw_data_cache_size_half): Renamed to ...
36646 (__x86_raw_data_cache_size_half): This.
36647 (__x86_64_shared_cache_size): Renamed to ...
36648 (__x86_shared_cache_size): This.
36649 (__x86_64_raw_shared_cache_size): Renamed to ...
36650 (__x86_raw_shared_cache_size): This.
36651 (__x86_64_shared_cache_size_half): Renamed to ...
36652 (__x86_shared_cache_size_half): This.
36653 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36654 (__x86_raw_shared_cache_size_half): This.
36655 * sysdeps/x86_64/memcpy.S: Updated.
36656 * sysdeps/x86_64/memset.S: Likewise.
36657 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36661 2013-01-04 David S. Miller <davem@davemloft.net>
36663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36665 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36667 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36668 1 to avoid redefinition warning.
36669 (__USE_GNU): Don't define.
36670 (init_signaling_nan): Protoize.
36672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36674 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36676 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36678 (__cpymn): Likewise.
36679 (norm): Remove commented code.
36680 (denorm): Likewise.
36681 (__mp_dbl): Likewise.
36683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36684 (__cpymn): Likewise.
36685 (norm): Remove commented code.
36686 (denorm): Likewise.
36687 (__mp_dbl): Likewise.
36690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36691 mp_no value for 1.0 and 2.0.
36692 (norm): Use RADIXI instead of radixi.d.
36693 (denorm): Likewise.
36694 (__mul): Use 0.0 instead of zero.d.
36695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36696 mp_no value for 1.0 and 2.0.
36697 (norm): Use RADIXI instead of radixi.d.
36698 (denorm): Likewise.
36699 (__mul): Use 0.0 instead of zero.d.
36701 2013-01-04 Joseph Myers <joseph@codesourcery.com>
36704 * math/s_casinh.c (__casinh): Reduce finite argument to first
36705 quadrant then set signs of results at the end.
36706 * math/s_casinhf.c (__casinhf): Likewise.
36707 * math/s_casinhl.c (__casinhl): Likewise.
36708 * math/libm-test.inc (casin_test): Add more tests.
36709 (casinh_test): Likewise.
36710 * sysdeps/i386/fpu/libm-test-ulps: Update.
36711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36713 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36715 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36717 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36719 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36721 (denorm): Likewise.
36722 (__mp_dbl): Likewise.
36725 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36726 and adjust the header comment.
36728 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36729 variable name from declaration.
36731 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36734 Initialize COMMON_CPUID_INDEX_7 element.
36735 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36736 (CPUID_RTM): Likewise.
36737 (HAS_RTM): Likewise.
36738 (COMMON_CPUID_INDEX_7): New enum.
36740 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36743 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36744 size is zero, record memory as freed.
36746 2013-01-03 Andreas Jaeger <aj@suse.de>
36748 * po/ia.po: Add new Interlingua translation.
36750 2012-01-03 Allan McRae <allan@archlinux.org>
36752 * locale/programs/localedef.c: Fix description of '--posix' flag.
36754 2013-01-02 Joseph Myers <joseph@codesourcery.com>
36756 * NEWS: Update dates in second copyright notice.
36757 * README: Update copyright dates in example.
36758 * manual/libc.texinfo: Update copyright dates.
36759 * scripts/test-installation.pl: Update copyright date in --version
36762 * hurd/ctty-input.c: Fix copyright notice formatting.
36763 * hurd/ctty-output.c: Likewise.
36764 * hurd/dtable.c: Likewise.
36765 * hurd/hurd-raise.c: Likewise.
36766 * hurd/hurdprio.c: Likewise.
36767 * hurd/msgportdemux.c: Likewise.
36768 * misc/sys/file.h: Likewise.
36769 * misc/sys/ioctl.h: Likewise.
36770 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36771 * sysdeps/mach/hurd/chdir.c: Likewise.
36772 * sysdeps/mach/hurd/fchdir.c: Likewise.
36773 * sysdeps/mach/hurd/rename.c: Likewise.
36774 * sysdeps/mach/hurd/rmdir.c: Likewise.
36775 * sysdeps/mach/hurd/seekdir.c: Likewise.
36776 * sysdeps/mach/hurd/setsid.c: Likewise.
36777 * sysdeps/posix/wait3.c: Likewise.
36779 * All files with FSF copyright notices: Update copyright dates
36780 using scripts/update-copyrights.
36781 * intl/plural.c: Regenerated.
36782 * locale/programs/charmap-kw.h: Likewise.
36783 * locale/programs/locfile-kw.h: Likewise.
36785 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36787 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36790 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36791 calculation loop and add branch prediction.
36793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36794 check access beyond bounds of m1np.
36796 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36798 (__inv): Remove local variable MPTWO to use the global
36800 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36803 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36804 MP3HALFS static const.
36806 2013-01-01 David S. Miller <davem@davemloft.net>
36808 * po/ca.po: Update from translation team.
36810 2013-01-01 Joseph Myers <joseph@codesourcery.com>
36812 * scripts/update-copyrights: New file.
36813 * Makeconfig: Reformat copyright notice.
36814 * ctype/ctype.h: Likewise.
36815 * debug/swprintf_chk.c: Likewise.
36816 * elf/dl-cache.c: Likewise.
36817 * elf/dl-debug.c: Likewise.
36818 * elf/dl-object.c: Likewise.
36819 * grp/initgroups.c: Likewise.
36820 * hurd/Makefile: Likewise.
36821 * hurd/hurd/signal.h: Likewise.
36822 * hurd/hurdfault.c: Likewise.
36823 * hurd/hurdioctl.c: Likewise.
36824 * hurd/hurdlookup.c: Likewise.
36825 * hurd/intr-msg.c: Likewise.
36826 * iconv/gconv_open.c: Likewise.
36827 * libio/swprintf.c: Likewise.
36828 * locale/lc-ctype.c: Likewise.
36829 * locale/nl_langinfo.c: Likewise.
36830 * mach/Machrules: Likewise.
36831 * mach/Makefile: Likewise.
36832 * malloc/obstack.h: Likewise.
36833 * manual/Makefile: Likewise.
36834 * manual/tsort.awk: Likewise.
36835 * misc/bits/stab.def: Likewise.
36836 * nis/nis_print_group_entry.c: Likewise.
36837 * nis/nis_table.c: Likewise.
36838 * nis/nss_compat/compat-pwd.c: Likewise.
36839 * nis/nss_compat/compat-spwd.c: Likewise.
36840 * po/Makefile: Likewise.
36841 * posix/fnmatch.c: Likewise.
36842 * posix/regex.h: Likewise.
36843 * resolv/Makefile: Likewise.
36844 * resolv/nss_dns/dns-network.c: Likewise.
36845 * resolv/res_hconf.c: Likewise.
36846 * scripts/gen-sorted.awk: Likewise.
36847 * soft-fp/soft-fp.h: Likewise.
36848 * stdio-common/printf.h: Likewise.
36849 * stdlib/monetary.h: Likewise.
36850 * stdlib/random.c: Likewise.
36851 * stdlib/random_r.c: Likewise.
36852 * sysdeps/generic/Makefile: Likewise.
36853 * sysdeps/gnu/Makefile: Likewise.
36854 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36856 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36858 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36861 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36862 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36864 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36865 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36866 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36867 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36868 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36869 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36870 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36871 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36872 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36874 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36875 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36876 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36877 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36878 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36879 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36880 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36881 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36882 * sysdeps/mach/hurd/errnos.awk: Likewise.
36883 * sysdeps/mach/hurd/fork.c: Likewise.
36884 * sysdeps/mach/hurd/getcwd.c: Likewise.
36885 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36886 * sysdeps/mach/hurd/mmap.c: Likewise.
36887 * sysdeps/mach/hurd/utimes.c: Likewise.
36888 * sysdeps/mach/hurd/xmknod.c: Likewise.
36889 * sysdeps/posix/profil.c: Likewise.
36890 * sysdeps/posix/readdir_r.c: Likewise.
36891 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36892 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36893 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36894 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36896 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36897 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36898 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36900 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36901 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36902 * sysdeps/pthread/lio_listio.c: Likewise.
36903 * sysdeps/sparc/dl-procinfo.h: Likewise.
36904 * sysdeps/unix/i386/sysdep.S: Likewise.
36905 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36906 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36907 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36908 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36910 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36911 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36912 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36913 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36914 * sysdeps/wordsize-32/divdi3.c: Likewise.
36915 * time/sys/time.h: Likewise.
36916 * wcsmbs/Makefile: Likewise.
36918 2013-01-01 David S. Miller <davem@davemloft.net>
36920 * po/fr.po: Update from translation team.
36922 * catgets/gencat.c: Update copyright year.
36923 * csu/version.c: Likewise.
36924 * debug/catchsegv.sh: Likewise.
36925 * debug/pcprofiledump.c: Likewise.
36926 * debug/xtrace.sh: Likewise.
36927 * elf/ldconfig.c: Likewise.
36928 * elf/ldd.bash.in: Likewise.
36929 * elf/pldd.c: Likewise.
36930 * elf/sotruss.ksh: Likewise.
36931 * elf/sprof.c: Likewise.
36932 * iconv/iconv_prog.c: Likewise.
36933 * iconv/iconvconfig.c: Likewise.
36934 * locale/programs/locale.c: Likewise.
36935 * locale/programs/localedef.c: Likewise.
36936 * login/programs/pt_chown.c: Likewise.
36937 * malloc/memusage.sh: Likewise.
36938 * malloc/memusagestat.c: Likewise.
36939 * malloc/mtrace.pl: Likewise.
36940 * nscd/nscd.c: Likewise.
36941 * nss/getent.c: Likewise.
36942 * nss/makedb.c: Likewise.
36943 * posix/getconf.c: Likewise.
36945 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36947 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36950 2012-12-30 Mike Frysinger <vapier@gentoo.org>
36952 * math/bits/mathcalls.h (modf): Use __nonnull.
36954 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36956 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36957 (split): Use macro CN instead of the bare value.
36958 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36961 instead of the bare value.
36962 (power1): Likewise.
36964 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36966 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36968 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36970 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36972 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36973 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36974 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36975 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36977 2012-12-28 Andreas Jaeger <aj@suse.de>
36979 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36980 values are from Linux 3.7.
36982 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36983 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36985 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36987 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36990 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36992 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36993 variables with preprocessor constants.
36994 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36995 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36996 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36998 2012-12-27 Bruno Haible <bruno@clisp.org>
37001 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37004 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37006 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37007 and use variable directly.
37008 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37010 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37012 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37013 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37015 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37017 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37018 include directive. Remove local variable MPONE.
37019 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37020 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37021 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37023 2012-12-25 David S. Miller <davem@davemloft.net>
37025 * version.h (RELEASE): Set to "development".
37026 (VERSION): Set to "2.17.90".
37027 * NEWS: Add 2.18 section.
37029 2012-12-21 David S. Miller <davem@davemloft.net>
37031 * po/hr.po: Update from translation team.
37033 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37035 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37037 2012-12-19 Steve Ellcey <sellcey@mips.com>
37039 * NEWS: Mention new memcpy for MIPS.
37041 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37043 * manual/contrib.texi (Contributors): Spelling correction.
37045 2012-12-15 David S. Miller <davem@davemloft.net>
37047 * po/ru.po: Update from translation team.
37049 2012-12-13 David S. Miller <davem@davemloft.net>
37051 * NEWS: Mention IFUNC testsuite enhancements.
37053 * po/pl.po: Update from translation team.
37054 * po/bg.po: Likewise.
37056 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37057 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37059 2012-12-11 David S. Miller <davem@davemloft.net>
37061 * po/sv.po: Update from translation team.
37063 * po/vi.po: Update from translation team.
37065 * po/cs.po: Update from translation team.
37067 * po/de.po: Update from translation team.
37068 * po/eo.po: Likewise.
37069 * po/nl.po: Likewise.
37071 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37074 * manual/argp.texi (Argp Helper Functions): Move node to follow
37075 Argp Parsing State.
37078 * manual/conf.texi (Limits on File System Capacity): Mention if
37079 terminating null is included in the max size.
37081 2012-12-10 Andreas Jaeger <aj@suse.de>
37083 * po/cs.po: Update from translation team.
37085 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37087 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37088 void pointer and cast to uintptr_t.
37089 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37091 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37092 * sysdeps/s390/s390-64/memset.S: Likewise.
37094 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37097 * menual/message.texi (Message Translation): Fix typos.
37098 (Helper programs for gettext): Likewise.
37100 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37103 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37106 2012-12-07 David S. Miller <davem@davemloft.net>
37108 * po/libc.pot: Update.
37110 2012-12-07 Richard Henderson <rth@redhat.com>
37113 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37114 normal/normal case to before the switch.
37115 (_FP_DIV): Likewise.
37117 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37118 Mike Frysinger <vapier@gentoo.org>
37120 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37121 check for __NR_fadvise64_64.
37123 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37125 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37126 0, not just to plain "0" as a statement.
37127 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37130 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37132 * NEWS: Use sourceware.org in Bugzilla URL.
37134 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37137 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37139 * stdio-common/tst-put-error.c (do_test): Add newline to the
37140 padded test to ensure flush.
37142 2012-12-05 Jeff Law <law@redhat.com>
37144 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37146 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37148 * README: Don't refer to ports add-on as distributed separately.
37149 Mention AArch64 in list of systems supported in the ports add-on.
37151 * LICENSES: Add more non-FSF copyright and license notices.
37153 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37156 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37158 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37159 10000 as width of padded output.
37161 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37163 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37165 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37166 variable LX with __attribute__ ((unused)).
37167 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37169 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37171 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37172 with __attribute__ ((unused)).
37174 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37176 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37178 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37180 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37181 (CFLAGS-nldbl-acos.c): New variable.
37182 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37183 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37184 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37185 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37186 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37187 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37188 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37189 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37190 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37191 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37192 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37193 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37194 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37195 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37196 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37197 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37198 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37199 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37200 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37201 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37202 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37203 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37204 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37205 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37206 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37207 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37208 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37209 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37210 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37211 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37212 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37213 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37214 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37215 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37216 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37217 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37218 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37219 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37220 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37221 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37222 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37223 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37224 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37225 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37226 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37227 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37228 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37229 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37230 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37231 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37232 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37233 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37234 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37235 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37236 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37237 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37238 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37239 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37240 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37241 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37242 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37243 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37244 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37245 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37246 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37247 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37248 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37249 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37250 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37251 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37252 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37253 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37254 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37255 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37256 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37257 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37258 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37259 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37260 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37261 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37262 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37263 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37264 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37265 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37266 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37267 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37268 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37269 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37270 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37271 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37272 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37273 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37274 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37275 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37276 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37277 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37278 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37281 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37284 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37285 whole low double instead of just low 47 bits when splitting values
37288 2012-12-03 Allan McRae <allan@archlinux.org>
37290 * manual/stdio.texi (Predefined Printf Handlers): Remove
37291 @hsep and @vsep usage.
37293 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37295 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37296 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37298 2012-12-03 Jeff Law <law@redhat.com>
37300 * time/sys/time.h (settimeofday): Do not mark TV argument
37303 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37305 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37306 when currently writing and seek to current position when not.
37307 * libio/Makefile (tests): Remove bug-fclose1.
37308 * libio/bug-fclose1.c: Delete.
37310 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37312 * manual/arith.texi (feenableexcept): Fix typo.
37313 (fedisableexcept): Likewise.
37315 2012-11-30 Roland McGrath <roland@hack.frob.com>
37317 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37318 second, differently-typed declaration, rather than a cast.
37320 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37322 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37323 * include/rpc/svc.h: ... here.
37325 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37328 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37329 depending n and resplen2 to catch cases where answer
37332 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37334 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37335 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37337 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37341 2012-11-29 Roland McGrath <roland@hack.frob.com>
37343 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37345 2012-11-28 Jeff Law <law@redhat.com>
37348 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37349 dataset_temporary. Track alloca usage into alloca_used.
37350 If dataset is large allocate and release it via malloc/free.
37352 2012-06-04 Florian Weimer <fweimer@redhat.com>
37355 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37357 2012-11-28 David S. Miller <davem@davemloft.net>
37359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37361 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37364 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37365 of pi/2 rounded to nearest to 64 bits.
37366 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37367 nearest to 64 bits.
37368 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37371 2012-11-28 Jeff Law <law@redhat.com>
37372 Martin Osvald <mosvald@redhat.com>
37375 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37376 * sunrpc/svc.c: Include time.h.
37377 (__svc_accept_failed): New function.
37378 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37379 any reason other than EINTR, call __svc_accept_failed.
37380 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37381 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37383 2012-11-28 Andreas Schwab <schwab@suse.de>
37385 * scripts/abilist.awk: Also handle indirect functions in .opd
37388 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37391 * sysdeps/x86/fpu/powl_helper.c: New file.
37392 * sysdeps/x86/fpu/Makefile: Likewise.
37393 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37395 (__ieee754_powl): Use __powl_helper for finite arguments except
37396 integer exponents below 8.
37397 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37399 (__ieee754_powl): Use __powl_helper for finite arguments except
37400 integer exponents below 8.
37401 * math/libm-test.inc (pow_test): Add more tests and enable some
37402 previously disabled tests.
37403 * sysdeps/i386/fpu/libm-test-ulps: Update.
37404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37406 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37407 Carlos O'Donell <carlos_odonell@mentor.com>
37409 * nss/makedb.c (is_prime): Assert that input is odd and greater
37410 than 4. Note that fact in a comment too.
37411 (next_prime): Add 4 to input.
37413 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37416 * libio/Makefile (tests): Add test case tst-fwrite-error.
37417 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37418 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37419 * libio/tst-fwrite-error.c: New test case.
37421 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37423 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37424 before casting to void *.
37425 * include/libc-internal.h (__pointer_type): New macro.
37426 (__integer_if_pointer_type_sub): Likewise.
37427 (__integer_if_pointer_type): Likewise.
37428 (cast_to_integer): Likewise.
37429 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37430 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37431 before casting to atomic64_t.
37432 (atomic_exchange_acq): Likewise.
37433 (__arch_exchange_and_add_body): Likewise.
37434 (__arch_add_body): Likewise.
37435 (atomic_add_negative): Likewise.
37436 (atomic_add_zero): Likewise.
37438 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37440 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37441 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37442 (add_fdes): Likewise.
37443 (linear_search_fdes): Likewise.
37444 (binary_search_unencoded_fdes): Likewise.
37446 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37448 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37450 2012-11-24 Adam Conrad <adconrad@0c3.net>
37452 * configure.in: Autodetect C++ header directories.
37453 * configure: Regenerated.
37455 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37457 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37459 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37463 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37465 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37466 LDBL_MANT_DIG == 106]: Disable some tests.
37467 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37469 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37473 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37474 input for small inputs. Return +/- pi/2 for large inputs.
37475 * math/libm-test.inc (atan_test): Add more tests.
37477 * sysdeps/generic/unwind-dw2-fde-glibc.c
37478 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37479 __attribute__ ((unused)).
37482 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37483 x * y if x and y are nonzero and z is zero.
37486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37487 nonzero exponents with absolute value below 0x1p-117 to +/-
37491 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37492 up arguments below 2**-450, not just those below 2**-500.
37493 * math/libm-test.inc (hypot_test): Add another test.
37496 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37497 Return a+b for ratio over 2**120, not 2**60.
37498 * math/libm-test.inc (hypot_test): Add another test.
37500 * math/libm-test.inc (clog_test): Use
37501 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37502 (clog10_test): Likewise.
37505 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37507 2012-11-22 Andreas Schwab <schwab@suse.de>
37509 * sysdeps/i386/fpu/libm-test-ulps: Update.
37511 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37513 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37514 printf output with newline.
37516 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37519 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37520 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37521 -z nodlopen, -z initfirst and -z execstack support.
37522 * configure: Regenerated.
37524 * elf/elf.h (DF_1_NODIRECT): New macro.
37525 (DF_1_IGNMULDEF): Likewise.
37526 (DF_1_NOKSYMS): Likewise.
37527 (DF_1_NOHDR): Likewise.
37528 (DF_1_EDITED): Likewise.
37529 (DF_1_NORELOC): Likewise.
37530 (DF_1_SYMINTPOSE): Likewise.
37531 (DF_1_GLOBAUDIT): Likewise.
37532 (DF_1_SINGLETON): Likewise.
37533 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37534 DT_1_SUPPORTED_MASK bits.
37535 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37537 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37539 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37541 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37543 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37546 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37547 (sendmmsg): Move declarations...
37548 * socket/sys/socket.h: ... here.
37549 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37550 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37552 * socket/recvmmsg.c: ... this new file.
37553 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37554 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37555 definition of __sendmmsg hidden.
37556 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37557 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37558 Move ENOSYS stub into and include it from...
37559 * socket/sendmmsg.c: ... this new file.
37560 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37561 (sysdep_routines): Move recvmmsg and sendmmsg...
37562 * socket/Makefile (routines): ... here.
37563 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37564 (GLIBC_PRIVATE): Add __sendmmsg.
37565 * include/sys/socket.h (__sendmmsg): Add declarations.
37566 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37569 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37571 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37572 variable I1 with __attribute__ ((unused)).
37573 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37575 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37577 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37578 DUMMY variables with __attribute__ ((unused)).
37580 * bits/byteswap.h: Include <bits/types.h>.
37581 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37583 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37585 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37586 string_t. Do not manually set errno.
37587 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37588 length with __strnlen. Make sure to both set errno and return it on
37591 2012-11-19 David S. Miller <davem@davemloft.net>
37593 With help from Joseph Myers.
37594 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37595 very large arguments properly.
37596 * math/libm-test.inc (atan_test): New tests.
37597 (atan2_test): New tests.
37598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37601 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37604 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37607 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37608 [POSIX] (EADDRNOTAVAIL): Likewise.
37609 [POSIX] (EAFNOSUPPORT): Likewise.
37610 [POSIX] (EALREADY): Likewise.
37611 [POSIX] (ECONNABORTED): Likewise.
37612 [POSIX] (ECONNREFUSED): Likewise.
37613 [POSIX] (ECONNRESET): Likewise.
37614 [POSIX] (EDESTADDRREQ): Likewise.
37615 [POSIX] (EDQUOT): Likewise.
37616 [POSIX] (EHOSTUNREACH): Likewise.
37617 [POSIX] (EIDRM): Likewise.
37618 [POSIX] (EISCONN): Likewise.
37619 [POSIX] (ELOOP): Likewise.
37620 [POSIX] (EMULTIHOP): Likewise.
37621 [POSIX] (ENETDOWN): Likewise.
37622 [POSIX] (ENETUNREACH): Likewise.
37623 [POSIX] (ENOBUFS): Likewise.
37624 [POSIX] (ENODATA): Likewise.
37625 [POSIX] (ENOLINK): Likewise.
37626 [POSIX] (ENOMSG): Likewise.
37627 [POSIX] (ENOPROTOOPT): Likewise.
37628 [POSIX] (ENOSR): Likewise.
37629 [POSIX] (ENOSTR): Likewise.
37630 [POSIX] (ENOTCONN): Likewise.
37631 [POSIX] (ENOTSOCK): Likewise.
37632 [POSIX] (EOPNOTSUPP): Likewise.
37633 [POSIX] (EOVERFLOW): Likewise.
37634 [POSIX] (EPROTO): Likewise.
37635 [POSIX] (EPROTONOSUPPORT): Likewise.
37636 [POSIX] (EPROTOTYPE): Likewise.
37637 [POSIX] (ESTALE): Likewise.
37638 [POSIX] (ETIME): Likewise.
37639 [POSIX] (ETXTBSY): Likewise.
37640 [POSIX] (EWOULDBLOCK): Likewise.
37641 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37642 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37643 [POSIX] (SEEK_CUR): Likewise.
37644 [POSIX] (SEEK_END): Likewise.
37645 [POSIX || UNIX98] (mode_t): Do not require.
37646 [POSIX] (off_t): Likewise.
37647 [POSIX] (pid_t): Likewise.
37648 [POSIX] (sys/stat.h): Do not allow header.
37649 [POSIX] (unistd.h): Likewise.
37650 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37651 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37652 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37653 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37655 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37656 sigevent): Specify elements.
37657 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37659 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37660 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37662 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37663 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37664 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37665 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37666 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37667 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37668 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37669 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37670 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37671 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37672 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37673 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37674 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37675 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37677 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37679 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37681 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37683 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37684 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37685 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37686 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37687 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37688 Specify lower bound on value.
37689 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37690 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37691 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37692 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37693 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37694 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37695 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37696 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37698 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37700 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37701 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37702 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37703 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37704 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37705 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37706 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37707 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37708 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37709 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37710 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37711 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37712 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37713 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37714 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37715 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37717 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37719 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37720 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37721 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37722 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37723 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37724 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37726 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37727 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37728 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37729 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37730 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37731 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37732 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37734 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37735 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37736 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37737 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37738 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37739 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37740 specify as optional.
37741 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37742 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37743 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37744 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37745 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37746 [XPG3] (NL_LANGMAX): Likewise.
37747 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37748 [POSIX || XPG3] (NL_NMAX): Likewise.
37749 [POSIX || XPG3] (NL_SETMAX): Likewise.
37750 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37751 [XPG3] (NZERO): Likewise.
37752 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37753 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37754 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37755 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37756 (REG_ERANGE): Expect.
37757 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37759 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37760 Use (void) in prototype.
37761 [POSIX] (*_t): Allow.
37762 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37763 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37764 (WRDE_BADVAL): Expect.
37766 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37768 [XPG3 || XPG4] (O_RSYNC): Likewise.
37769 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37771 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37772 [XPG3 || XPG4] (sigqueue): Likewise.
37773 [XPG3 || XPG4] (sigtimedwait): Likewise.
37774 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37775 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37776 [XPG3 || XPG4] (vsnprintf): Likewise.
37777 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37779 [XPG3 || XPG4] (blksize_t): Likewise.
37780 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37782 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37783 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37784 [XPG3 || XPG4] (struct itimerspec): Likewise.
37785 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37786 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37787 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37788 [XPG3 || XPG4] (clockid_t): Likewise.
37789 [XPG3 || XPG4] (timer_t): Likewise.
37790 [XPG3 || XPG4] (clock_getres): Likewise.
37791 [XPG3 || XPG4] (clock_gettime): Likewise.
37792 [XPG3 || XPG4] (clock_settime): Likewise.
37793 [XPG3 || XPG4] (nanosleep): Likewise.
37794 [XPG3 || XPG4] (timer_create): Likewise.
37795 [XPG3 || XPG4] (timer_delete): Likewise.
37796 [XPG3 || XPG4] (timer_gettime): Likewise.
37797 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37798 [XPG3 || XPG4] (timer_settime): Likewise.
37799 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37800 [XPG3 || XPG4] (getlogin_r): Likewise.
37801 [XPG3 || XPG4] (pread): Likewise.
37802 [XPG3 || XPG4] (pthread_atfork): Likewise.
37803 [XPG3 || XPG4] (pwrite): Likewise.
37806 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37809 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37811 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37812 finalizing MALLSTREAM.
37814 * sysdeps/mach/hurd/syncfs.c: New file.
37816 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37819 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37820 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37821 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37822 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37823 (_nss_dns_gethostbyname4_r): Likewise.
37824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37825 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37827 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37830 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37832 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37834 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37835 * elf/cache.c (print_entry): Print ",AArch64" for
37838 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37839 * elf/cache.c (print_entry): Print ",hard-float" for
37842 2012-11-18 David S. Miller <davem@davemloft.net>
37844 With help from Joseph Myers.
37845 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37847 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37849 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37850 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37852 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37853 * math/libm-test.inc (y0_test): New tests.
37854 (y1_test): New tests.
37855 * sysdeps/i386/fpu/libm-test-ulps: Update.
37856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37859 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37861 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37863 * configure: Regenerated.
37865 2012-11-17 David S. Miller <davem@davemloft.net>
37868 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37869 nonzero exponents with absolute value below 0x1p-128 to +/-
37872 2012-11-17 Joseph Myers <joseph@codesourcery.com>
37874 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37876 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37878 * posix/getconf-speclist.c: New file.
37879 * posix/posix-envs.def: Likewise.
37880 * posix/confstr.c (START_ENV_GROUP): New macro.
37881 (END_ENV_GROUP): Likewise.
37882 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37883 (KNOWN_PRESENT_ENV_STRING): Likewise.
37884 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37885 (UNKNOWN_ENVIRONMENT): Likewise.
37886 (confstr): Include posix-envs.def instead of handling
37887 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37888 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37889 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37890 (END_ENV_GROUP): Likewise.
37891 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37892 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37893 (UNKNOWN_ENVIRONMENT): Likewise.
37894 (__sysconf): Include posix-envs.def instead of handling associated
37895 cases directly here.
37896 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37897 preprocessing getconf-speclist.c rather than running getconf or
37898 generating empty file.
37900 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37902 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37904 2012-11-16 Andrej Lajovic <natrij@gmail.com>
37907 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37909 2012-11-16 David S. Miller <davem@davemloft.net>
37911 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37912 smaller than LDBL_EPSILON/2.0L, just return xm1.
37914 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37916 * elf/tst-array1.c (init): Set constructor priority to 1000.
37917 (fini): Set destructor priority to 1000.
37918 * elf/tst-array2dep.c: Likewise.
37920 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37923 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37924 (_IO_new_file_xsputn): Also return EOF if none of the input
37925 data was written when overflow failed.
37926 * libio/iopadn.c (_IO_padn): Likewise.
37927 * libio/iowpadn.c (_IO_wpadn): Likewise.
37928 * stdio-common/tst-put-error.c: Add copyright notice.
37929 (do_test): Add case for printing padded string.
37930 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37931 _IO_padn returned error.
37932 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37933 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37936 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37938 * libio/libioP.h: Add comment note that the references to C++
37939 bits are now obsolete.
37941 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37943 * math/libm-test.inc (check_complex): Use asprintf.
37945 2012-11-14 Joseph Myers <joseph@codesourcery.com>
37947 * debug/pcprofiledump.c (print_version): Update copyright year.
37948 * malloc/memusagestat.c (print_version): Likewise.
37950 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37953 * elf/Makefile (tests): Add tst-audit8.
37954 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37955 ($(objpfx)tst-audit8.out): New target.
37956 (tst-audit8-ENV): New variable.
37957 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37958 audit if l_reloc_result is NULL.
37959 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37960 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37961 * elf/tst-audit8.c: New file.
37963 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37965 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37966 * misc/Makefile (CFLAGS-select.c): Define.
37967 * posix/Makefile (CFLAGS-pause.c): Define.
37969 2012-11-13 David S. Miller <davem@davemloft.net>
37971 * crypt/Makefile: Move test targets after toplevel Rules
37972 inclusion. Grab any necessary sysdep routines when linking.
37973 * crypt/md5.c (md5_process_block): Remove define, we will always
37974 name it __md5_process_block.
37975 (md5_finish_ctx): Update md5_process_block call.
37976 (md5_stream): Likewise.
37977 (md5_process_bytes): Likewise.
37978 (md5_process_block): Rename to __md5_process_block and move to ...
37979 * crypt/md5-block.c: ... here.
37980 * crypt/sha256.c (sha256_process_block): Move to ...
37981 * crypt/sha256-block.c: ... here.
37982 * crypt/sha512.c (sha512_process_block): Move to ...
37983 * crypt/sha512-block.c: ... here.
37984 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37986 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37987 * sysdeps/sparc/sparc64/multiarch/Makefile
37988 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37990 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37991 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37993 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37994 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37995 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37996 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37997 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37998 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37999 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38000 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38001 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38003 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38004 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38006 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38008 2012-11-13 Joseph Myers <joseph@codesourcery.com>
38010 * timezone/tzselect.ksh: Update from tzcode git revision
38011 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38012 * timezone/zdump.c: Likewise.
38013 * timezone/zic.c: Likewise.
38014 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38015 in TZVERSION setting, not $(PKGVERSION).
38016 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
38017 REPORT_BUGS_TO settings.
38020 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38023 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38025 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38026 detection to immediately after _FP_ROUND().
38027 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38030 2012-11-11 David S. Miller <davem@davemloft.net>
38032 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38034 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38035 __close rather than their public counterparts.
38037 2012-11-10 Joseph Myers <joseph@codesourcery.com>
38039 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38041 [UNIX98] (sem_timedwait): Do not expect.
38042 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38043 [XPG4 || UNIX98] (sockatmark): Do not expect.
38044 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38045 (clock_getcpuclockid): Do not expect.
38046 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38047 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38049 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38050 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38051 [UNIX98] (vwscanf): Likewise.
38052 [UNIX98] (vswscanf): Likewise.
38054 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38056 * timezone/version.h: Remove file.
38057 * timezone/README: Do not refer to version.h.
38058 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38059 $(objpfx)version.h.
38060 ($(objpfx)zdump.o): Likewise.
38061 ($(objpfx)version.h): New target.
38063 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38065 * timezone/README: Don't mention modification to tzselect.ksh.
38066 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38067 work on unmodified tzselect.ksh. Substitute version numbers in
38070 * Makefile (format-me): Remove.
38071 (INSTALL): Adjust indentation. Use commands directly instead of
38072 using $(format-me).
38074 * aclocal.m4 (ACX_PKGVERSION): New macro.
38075 (ACX_BUGURL): Likewise.
38076 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38077 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38078 (REPORT_BUGS_TO): Likewise.
38079 * configure: Regenerated.
38080 * config.h.in (PKGVERSION): New macro.
38081 (REPORT_BUGS_TO): Likewise.
38082 * config.make.in (PKGVERSION): New variable.
38083 (PKGVERSION_TEXI): Likewise.
38084 (REPORT_BUGS_TO): Likewise.
38085 (REPORT_BUGS_TEXI): Likewise.
38086 * Makefile (format-me): Use -I$(common-objpfx)manual.
38087 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38088 ($(common-objpfx)manual/%): New target.
38089 (manual/%): Remove target.
38090 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38091 (print_version): Use PKGVERSION.
38092 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38093 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38094 and REPORT_BUGS_TO.
38095 ($(objpfx)xtrace): Likewise.
38096 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38097 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38098 (print_version): Use PKGVERSION.
38099 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38100 (do_version): Use PKGVERSION.
38101 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38103 (common-ldd-rewrite): Likewise.
38104 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38105 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38106 (print_version): Use PKGVERSION.
38107 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38108 * elf/pldd.c (argp_program_bug_address): Remove variable.
38109 (more_help): New function.
38110 (argp): Use more_help.
38111 (print_version): Use PKGVERSION.
38112 * elf/sln.c (main): Use PKGVERSION.
38113 (usage): Use REPORT_BUGS_TO.
38114 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38115 (top level): Use PKGVERSION.
38116 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38117 (print_version): Use PKGVERSION.
38118 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38119 (print_version): Use PKGVERSION.
38120 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38121 (print_version): Use PKGVERSION.
38122 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38123 (print_version): Use PKGVERSION.
38124 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38125 (print_version): Use PKGVERSION.
38126 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38127 (print_version): Use PKGVERSION.
38128 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38130 ($(objpfx)memusage): Likewise.
38131 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38132 (do_version): Use PKGVERSION.
38133 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38134 (print_version): Use PKGVERSION.
38135 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38136 ($PKGVERSION): New variable.
38137 ($REPORT_BUGS_TO): Likewise.
38138 (usage): Use $REPORT_BUGS_TO.
38139 (top level): Use $PKGVERSION.
38140 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38141 ($(objpfx)pkgvers.texi): New rule.
38142 ($(objpfx)stamp-pkgvers): Likewise.
38143 * manual/install.texi: Include pkgvers.texi.
38144 (--with-pkgversion): Document new configure option.
38145 (--with-bugurl): Likewise.
38146 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38147 than necessarily for this particular distribution. Use
38148 REPORT_BUGS_TO for where to report bugs.
38149 * INSTALL: Regenerated.
38150 * manual/libc.texinfo: Include pkgvers.texi.
38151 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38152 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38153 (print_version): Use PKGVERSION.
38154 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38155 (print_version): Use PKGVERSION.
38156 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38157 (print_version): Use PKGVERSION.
38158 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38159 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38161 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38162 (print_version): Use PKGVERSION.
38163 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38164 (print_version): Use PKGVERSION.
38165 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38168 * timezone/checktab.awk: Update from tzcode 2012i.
38169 * timezone/ialloc.c: Likewise.
38170 * timezone/private.h: Likewise.
38171 * timezone/scheck.c: Likewise.
38172 * timezone/tzfile.h: Likewise.
38173 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38174 (TZVERSION): Hardcode tzcode version number.
38175 * timezone/zdump.c: Update from tzcode 2012i.
38176 * timezone/zic.c: Likewise.
38177 * timezone/version.h: New file.
38178 * timezone/README: Describe version.h. Update upstream location.
38181 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38182 (mktemp): Enable declaration.
38183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38184 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38186 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38188 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38190 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38192 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38200 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38201 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38202 for copies of such integer values.
38203 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38204 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38206 2012-11-09 Andreas Jaeger <aj@suse.de>
38208 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38209 definitions and declarations that are provided by
38210 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38212 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38214 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38215 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38216 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38219 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38221 * elf/elf.h: Update comment before AArch64 relocations.
38223 2012-11-07 David S. Miller <davem@davemloft.net>
38225 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38226 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38227 (__start_context): Declare.
38228 (__makecontext_ret): Delete.
38229 (__makecontext): Hook up __start_context instead of
38231 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38232 (sysdep_routines): Add __start_context when in stdlib.
38234 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38236 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38237 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38238 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38240 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38241 (READELF): New variable. Use it instead of hardcoded "readelf".
38243 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38245 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38246 * sysdeps/x86/Makefile: Here.
38247 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38248 * sysdeps/x86/tst-xmmymm.sh: This.
38250 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38252 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38254 [UNIX98] (pthread_barrier_t): Do not expect.
38255 [UNIX98] (pthread_barrierattr_t): Likewise.
38256 [UNIX98] (pthread_spinlock_t): Likewise.
38257 [UNIX98] (pthread_barrier_destroy): Likewise.
38258 [UNIX98] (pthread_barrier_init): Likewise.
38259 [UNIX98] (pthread_barrier_wait): Likewise.
38260 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38261 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38262 [UNIX98] (pthread_barrierattr_init): Likewise.
38263 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38264 [UNIX98] (pthread_getcpuclockid): Likewise.
38265 [UNIX98] (pthread_mutex_timedlock): Likewise.
38266 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38267 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38268 [UNIX98] (pthread_sigmask): Likewise.
38269 [UNIX98] (pthread_spin_destroy): Likewise.
38270 [UNIX98] (pthread_spin_init): Likewise.
38271 [UNIX98] (pthread_spin_lock): Likewise.
38272 [UNIX98] (pthread_spin_trylock): Likewise.
38273 [UNIX98] (pthread_spin_unlock): Likewise.
38274 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38276 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38277 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38278 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38279 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38280 [XPG3 || XPG4] (pthread_key_t): Likewise.
38281 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38282 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38283 [XPG3 || XPG4] (pthread_once_t): Likewise.
38284 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38285 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38286 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38287 [XPG3 || XPG4] (pthread_t): Likewise.
38289 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38291 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38293 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38294 Change function return type to int.
38296 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38297 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38298 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38299 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38300 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38301 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38302 [!POSIX] (posix_madvise): Likewise.
38303 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38305 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38306 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38307 (mode_t): Likewise.
38308 (posix_mem_offset): Likewise.
38309 (posix_typed_mem_get_info): Likewise.
38310 (posix_typed_mem_open): Likewise.
38312 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38313 Change condition to [XOPEN2K8].
38315 * conform/conformtest.pl: Preprocess allow-header data with -x c
38316 instead of from stdin.
38317 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38318 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38319 [C99-based standards] (cerfc): Likewise.
38320 [C99-based standards] (cexp2): Likewise.
38321 [C99-based standards] (cexpm1): Likewise.
38322 [C99-based standards] (clog10): Likewise.
38323 [C99-based standards] (clog1p): Likewise.
38324 [C99-based standards] (clog2): Likewise.
38325 [C99-based standards] (clgamma): Likewise.
38326 [C99-based standards] (ctgamma): Likewise.
38327 [C99-based standards] (cerff): Likewise.
38328 [C99-based standards] (cerfcf): Likewise.
38329 [C99-based standards] (cexp2f): Likewise.
38330 [C99-based standards] (cexpm1f): Likewise.
38331 [C99-based standards] (clog10f): Likewise.
38332 [C99-based standards] (clog1pf): Likewise.
38333 [C99-based standards] (clog2f): Likewise.
38334 [C99-based standards] (clgammaf): Likewise.
38335 [C99-based standards] (ctgammaf): Likewise.
38336 [C99-based standards] (cerfl): Likewise.
38337 [C99-based standards] (cerfcl): Likewise.
38338 [C99-based standards] (cexp2l): Likewise.
38339 [C99-based standards] (cexpm1l): Likewise.
38340 [C99-based standards] (clog10l): Likewise.
38341 [C99-based standards] (clog1pl): Likewise.
38342 [C99-based standards] (clog2l): Likewise.
38343 [C99-based standards] (clgammal): Likewise.
38344 [C99-based standards] (ctgammal): Likewise.
38345 * conform/data/inttypes.h-data [C99-based standards]: Include
38346 stdint.h-data. Remove all expectations for stdint.h contents.
38347 [C99-based standards] (PRI*): Do not allow.
38348 [C99-based standards] (SCN*): Likewise.
38349 [C99-based standards] (*_t): Likewise.
38350 [C99-based-standards] (PRId8): Expect macro.
38351 [C99-based-standards] (PRIi8): Likewise.
38352 [C99-based-standards] (PRIo8): Likewise.
38353 [C99-based-standards] (PRIu8): Likewise.
38354 [C99-based-standards] (PRIx8): Likewise.
38355 [C99-based-standards] (PRIX8): Likewise.
38356 [C99-based-standards] (SCNd8): Likewise.
38357 [C99-based-standards] (SCNi8): Likewise.
38358 [C99-based-standards] (SCNo8): Likewise.
38359 [C99-based-standards] (SCNu8): Likewise.
38360 [C99-based-standards] (SCNx8): Likewise.
38361 [C99-based-standards] (PRIdLEAST8): Likewise.
38362 [C99-based-standards] (PRIiLEAST8): Likewise.
38363 [C99-based-standards] (PRIoLEAST8): Likewise.
38364 [C99-based-standards] (PRIuLEAST8): Likewise.
38365 [C99-based-standards] (PRIxLEAST8): Likewise.
38366 [C99-based-standards] (PRIXLEAST8): Likewise.
38367 [C99-based-standards] (SCNdLEAST8): Likewise.
38368 [C99-based-standards] (SCNiLEAST8): Likewise.
38369 [C99-based-standards] (SCNoLEAST8): Likewise.
38370 [C99-based-standards] (SCNuLEAST8): Likewise.
38371 [C99-based-standards] (SCNxLEAST8): Likewise.
38372 [C99-based-standards] (PRIdFAST8): Likewise.
38373 [C99-based-standards] (PRIiFAST8): Likewise.
38374 [C99-based-standards] (PRIoFAST8): Likewise.
38375 [C99-based-standards] (PRIuFAST8): Likewise.
38376 [C99-based-standards] (PRIxFAST8): Likewise.
38377 [C99-based-standards] (PRIXFAST8): Likewise.
38378 [C99-based-standards] (SCNdFAST8): Likewise.
38379 [C99-based-standards] (SCNiFAST8): Likewise.
38380 [C99-based-standards] (SCNoFAST8): Likewise.
38381 [C99-based-standards] (SCNuFAST8): Likewise.
38382 [C99-based-standards] (SCNxFAST8): Likewise.
38383 [C99-based-standards] (PRId16): Likewise.
38384 [C99-based-standards] (PRIi16): Likewise.
38385 [C99-based-standards] (PRIo16): Likewise.
38386 [C99-based-standards] (PRIu16): Likewise.
38387 [C99-based-standards] (PRIx16): Likewise.
38388 [C99-based-standards] (PRIX16): Likewise.
38389 [C99-based-standards] (SCNd16): Likewise.
38390 [C99-based-standards] (SCNi16): Likewise.
38391 [C99-based-standards] (SCNo16): Likewise.
38392 [C99-based-standards] (SCNu16): Likewise.
38393 [C99-based-standards] (SCNx16): Likewise.
38394 [C99-based-standards] (PRIdLEAST16): Likewise.
38395 [C99-based-standards] (PRIiLEAST16): Likewise.
38396 [C99-based-standards] (PRIoLEAST16): Likewise.
38397 [C99-based-standards] (PRIuLEAST16): Likewise.
38398 [C99-based-standards] (PRIxLEAST16): Likewise.
38399 [C99-based-standards] (PRIXLEAST16): Likewise.
38400 [C99-based-standards] (SCNdLEAST16): Likewise.
38401 [C99-based-standards] (SCNiLEAST16): Likewise.
38402 [C99-based-standards] (SCNoLEAST16): Likewise.
38403 [C99-based-standards] (SCNuLEAST16): Likewise.
38404 [C99-based-standards] (SCNxLEAST16): Likewise.
38405 [C99-based-standards] (PRIdFAST16): Likewise.
38406 [C99-based-standards] (PRIiFAST16): Likewise.
38407 [C99-based-standards] (PRIoFAST16): Likewise.
38408 [C99-based-standards] (PRIuFAST16): Likewise.
38409 [C99-based-standards] (PRIxFAST16): Likewise.
38410 [C99-based-standards] (PRIXFAST16): Likewise.
38411 [C99-based-standards] (SCNdFAST16): Likewise.
38412 [C99-based-standards] (SCNiFAST16): Likewise.
38413 [C99-based-standards] (SCNoFAST16): Likewise.
38414 [C99-based-standards] (SCNuFAST16): Likewise.
38415 [C99-based-standards] (SCNxFAST16): Likewise.
38416 [C99-based-standards] (PRId32): Likewise.
38417 [C99-based-standards] (PRIi32): Likewise.
38418 [C99-based-standards] (PRIo32): Likewise.
38419 [C99-based-standards] (PRIu32): Likewise.
38420 [C99-based-standards] (PRIx32): Likewise.
38421 [C99-based-standards] (PRIX32): Likewise.
38422 [C99-based-standards] (SCNd32): Likewise.
38423 [C99-based-standards] (SCNi32): Likewise.
38424 [C99-based-standards] (SCNo32): Likewise.
38425 [C99-based-standards] (SCNu32): Likewise.
38426 [C99-based-standards] (SCNx32): Likewise.
38427 [C99-based-standards] (PRIdLEAST32): Likewise.
38428 [C99-based-standards] (PRIiLEAST32): Likewise.
38429 [C99-based-standards] (PRIoLEAST32): Likewise.
38430 [C99-based-standards] (PRIuLEAST32): Likewise.
38431 [C99-based-standards] (PRIxLEAST32): Likewise.
38432 [C99-based-standards] (PRIXLEAST32): Likewise.
38433 [C99-based-standards] (SCNdLEAST32): Likewise.
38434 [C99-based-standards] (SCNiLEAST32): Likewise.
38435 [C99-based-standards] (SCNoLEAST32): Likewise.
38436 [C99-based-standards] (SCNuLEAST32): Likewise.
38437 [C99-based-standards] (SCNxLEAST32): Likewise.
38438 [C99-based-standards] (PRIdFAST32): Likewise.
38439 [C99-based-standards] (PRIiFAST32): Likewise.
38440 [C99-based-standards] (PRIoFAST32): Likewise.
38441 [C99-based-standards] (PRIuFAST32): Likewise.
38442 [C99-based-standards] (PRIxFAST32): Likewise.
38443 [C99-based-standards] (PRIXFAST32): Likewise.
38444 [C99-based-standards] (SCNdFAST32): Likewise.
38445 [C99-based-standards] (SCNiFAST32): Likewise.
38446 [C99-based-standards] (SCNoFAST32): Likewise.
38447 [C99-based-standards] (SCNuFAST32): Likewise.
38448 [C99-based-standards] (SCNxFAST32): Likewise.
38449 [C99-based-standards] (PRId64): Likewise.
38450 [C99-based-standards] (PRIi64): Likewise.
38451 [C99-based-standards] (PRIo64): Likewise.
38452 [C99-based-standards] (PRIu64): Likewise.
38453 [C99-based-standards] (PRIx64): Likewise.
38454 [C99-based-standards] (PRIX64): Likewise.
38455 [C99-based-standards] (SCNd64): Likewise.
38456 [C99-based-standards] (SCNi64): Likewise.
38457 [C99-based-standards] (SCNo64): Likewise.
38458 [C99-based-standards] (SCNu64): Likewise.
38459 [C99-based-standards] (SCNx64): Likewise.
38460 [C99-based-standards] (PRIdLEAST64): Likewise.
38461 [C99-based-standards] (PRIiLEAST64): Likewise.
38462 [C99-based-standards] (PRIoLEAST64): Likewise.
38463 [C99-based-standards] (PRIuLEAST64): Likewise.
38464 [C99-based-standards] (PRIxLEAST64): Likewise.
38465 [C99-based-standards] (PRIXLEAST64): Likewise.
38466 [C99-based-standards] (SCNdLEAST64): Likewise.
38467 [C99-based-standards] (SCNiLEAST64): Likewise.
38468 [C99-based-standards] (SCNoLEAST64): Likewise.
38469 [C99-based-standards] (SCNuLEAST64): Likewise.
38470 [C99-based-standards] (SCNxLEAST64): Likewise.
38471 [C99-based-standards] (PRIdFAST64): Likewise.
38472 [C99-based-standards] (PRIiFAST64): Likewise.
38473 [C99-based-standards] (PRIoFAST64): Likewise.
38474 [C99-based-standards] (PRIuFAST64): Likewise.
38475 [C99-based-standards] (PRIxFAST64): Likewise.
38476 [C99-based-standards] (PRIXFAST64): Likewise.
38477 [C99-based-standards] (SCNdFAST64): Likewise.
38478 [C99-based-standards] (SCNiFAST64): Likewise.
38479 [C99-based-standards] (SCNoFAST64): Likewise.
38480 [C99-based-standards] (SCNuFAST64): Likewise.
38481 [C99-based-standards] (SCNxFAST64): Likewise.
38482 [C99-based-standards] (PRIdMAX): Likewise.
38483 [C99-based-standards] (PRIiMAX): Likewise.
38484 [C99-based-standards] (PRIoMAX): Likewise.
38485 [C99-based-standards] (PRIuMAX): Likewise.
38486 [C99-based-standards] (PRIxMAX): Likewise.
38487 [C99-based-standards] (PRIXMAX): Likewise.
38488 [C99-based-standards] (SCNdMAX): Likewise.
38489 [C99-based-standards] (SCNiMAX): Likewise.
38490 [C99-based-standards] (SCNoMAX): Likewise.
38491 [C99-based-standards] (SCNuMAX): Likewise.
38492 [C99-based-standards] (SCNxMAX): Likewise.
38493 [C99-based-standards] (PRIdPTR): Likewise.
38494 [C99-based-standards] (PRIiPTR): Likewise.
38495 [C99-based-standards] (PRIoPTR): Likewise.
38496 [C99-based-standards] (PRIuPTR): Likewise.
38497 [C99-based-standards] (PRIxPTR): Likewise.
38498 [C99-based-standards] (PRIXPTR): Likewise.
38499 [C99-based-standards] (SCNdPTR): Likewise.
38500 [C99-based-standards] (SCNiPTR): Likewise.
38501 [C99-based-standards] (SCNoPTR): Likewise.
38502 [C99-based-standards] (SCNuPTR): Likewise.
38503 [C99-based-standards] (SCNxPTR): Likewise.
38504 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38506 * conform/data/stdint.h-data: Update comments to clarify
38508 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38510 [C99-based standards] (INT8_MAX): Likewise.
38511 [C99-based standards] (INT16_MIN): Likewise.
38512 [C99-based standards] (INT16_MAX): Likewise.
38513 [C99-based standards] (INT32_MIN): Likewise.
38514 [C99-based standards] (INT32_MAX): Likewise.
38515 [C99-based standards] (INT64_MIN): Likewise.
38516 [C99-based standards] (INT64_MAX): Likewise.
38517 [C99-based standards] (UINT8_MAX): Likewise.
38518 [C99-based standards] (UINT16_MAX): Likewise.
38519 [C99-based standards] (UINT32_MAX): Likewise.
38520 [C99-based standards] (UINT64_MAX): Likewise.
38521 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38522 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38523 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38524 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38525 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38526 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38527 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38528 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38529 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38530 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38531 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38532 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38533 [C99-based standards] (INT_FAST8_MIN): Likewise.
38534 [C99-based standards] (INT_FAST8_MAX): Likewise.
38535 [C99-based standards] (INT_FAST16_MIN): Likewise.
38536 [C99-based standards] (INT_FAST16_MAX): Likewise.
38537 [C99-based standards] (INT_FAST32_MIN): Likewise.
38538 [C99-based standards] (INT_FAST32_MAX): Likewise.
38539 [C99-based standards] (INT_FAST64_MIN): Likewise.
38540 [C99-based standards] (INT_FAST64_MAX): Likewise.
38541 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38542 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38543 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38544 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38545 [C99-based standards] (INTPTR_MIN): Likewise.
38546 [C99-based standards] (INTPTR_MAX): Likewise.
38547 [C99-based standards] (UINTPTR_MAX): Likewise.
38548 [C99-based standards] (INTMAX_MIN): Likewise.
38549 [C99-based standards] (INTMAX_MAX): Likewise.
38550 [C99-based standards] (UINTMAX_MAX): Likewise.
38551 [C99-based standards] (PTRDIFF_MIN): Likewise.
38552 [C99-based standards] (PTRDIFF_MAX): Likewise.
38553 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38554 [C99-based standards] (SIZE_MAX): Likewise.
38555 [C99-based standards] (WCHAR_MAX): Likewise.
38556 [C99-based standards] (WINT_MAX): Likewise.
38557 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38558 constraint on value.
38559 [C99-based standards] (WCHAR_MIN): Likewise.
38560 [C99-based standards] (WINT_MIN): Likewise.
38561 [C99-based standards] (*_t): Allow.
38562 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38563 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38564 Include math.h-data and complex.h-data. Remove all expectations
38565 of math.h and complex.h contents.
38566 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38568 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38569 (struct tm): Expect tag.
38570 [C99-based-standards] (wcstof): Expect function.
38571 [C99-based-standards] (wcstold): Likewise.
38572 [C99-based-standards] (wcstoll): Likewise.
38573 [C99-based-standards] (wcstoull): Likewise.
38574 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38575 macro-int-constant. Specify type.
38576 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38577 constraint on value.
38578 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38580 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38582 [ISO C standards]: Do not allow headers.
38583 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38584 wcs[abcdefghijklmnopqrstuvwxyz]*.
38585 [ISO C standards] (*_t): Do not allow.
38586 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38588 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38589 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38591 [ISO C standards]: Do not allow headers.
38592 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38593 is[abcdefghijklmnopqrstuvwxyz]*.
38594 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38595 to[abcdefghijklmnopqrstuvwxyz]*.
38596 [ISO C standards] (*_t): Do not allow.
38597 * conform/data/stdalign.h-data: New file.
38598 * conform/data/stdbool.h-data: Likewise.
38599 * conform/data/stdnoreturn.h-data: Likewise.
38601 2012-11-07 Roland McGrath <roland@hack.frob.com>
38604 * manual/filesys.texi (Directory Entries): Typo fix.
38605 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38607 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38609 * elf/elf.h (EM_AARCH64): New macro.
38610 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38611 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38612 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38613 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38614 (R_AARCH64_TLSDESC): Likewise.
38615 (NT_ARM_TLS): Likewise.
38616 (NT_ARM_HW_BREAK): Likewise.
38617 (NT_ARM_HW_WATCH): Likewise.
38619 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38622 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38623 (__ieee754_powl): Saturate nonzero exponents with absolute value
38624 below 0x1p-79 to +/- 0x1p-79.
38625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38626 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38627 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38628 nonzero exponents with absolute value below 0x1p-32 to +/-
38630 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38631 (__ieee754_powl): Saturate nonzero exponents with absolute value
38632 below 0x1p-79 to +/- 0x1p-79.
38633 * math/libm-test.inc (pow_test): Add more tests.
38635 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38637 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38638 _dl_s390_cap_flags with kernel. Increase string length.
38639 (_dl_s390_platforms): Add z196 and zEC12.
38641 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38643 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38644 Change XOPEN21K to XOPEN2K.
38646 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38648 * string/memmove.c: Use memcpy when possible.
38650 2012-11-06 Andreas Jaeger <aj@suse.de>
38652 * po/eo.po: Update from translation team.
38654 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38658 exponent and small x and y exponents, scale x or y up. Increase
38659 by 2 the exponent used in scaling up.
38660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38661 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38662 * math/libm-test.inc (fma_test): Add more tests.
38663 (fma_test_towardzero): Likewise.
38664 (fma_test_downward): Likewise.
38665 (fma_test_upward): Likewise.
38667 2012-11-05 Joseph Myers <joseph@codesourcery.com>
38670 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38674 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38675 namespace for names of struct fields.
38676 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38678 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38679 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38681 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38684 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38686 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38688 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38692 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38695 2012-11-04 Joseph Myers <joseph@codesourcery.com>
38698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38699 definitely overflow as x * y not x * y + z.
38700 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38701 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38702 * math/libm-test.inc (fma_test): Add more tests.
38703 (fma_test_towardzero): Likewise.
38704 (fma_test_downward): Likewise.
38705 (fma_test_upward): Likewise.
38707 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38711 * include/stub-tag.h: Remove file.
38712 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38714 * manual/maint.texi (Porting): Don't reference it.
38715 * Makerules ($(objpfx)stubs): Likewise.
38716 * dirent/closedir.c: Don't include <stub-tag.h>.
38717 * dirent/dirfd.c: Likewise.
38718 * dirent/fdopendir.c: Likewise.
38719 * dirent/getdents.c: Likewise.
38720 * dirent/getdents64.c: Likewise.
38721 * dirent/opendir.c: Likewise.
38722 * dirent/readdir.c: Likewise.
38723 * dirent/readdir64.c: Likewise.
38724 * dirent/readdir64_r.c: Likewise.
38725 * dirent/readdir_r.c: Likewise.
38726 * dirent/rewinddir.c: Likewise.
38727 * dirent/seekdir.c: Likewise.
38728 * dirent/telldir.c: Likewise.
38729 * gmon/profil.c: Likewise.
38730 * grp/setgroups.c: Likewise.
38731 * inet/if_index.c: Likewise.
38732 * io/access.c: Likewise.
38733 * io/chdir.c: Likewise.
38734 * io/chmod.c: Likewise.
38735 * io/chown.c: Likewise.
38736 * io/close.c: Likewise.
38737 * io/dup.c: Likewise.
38738 * io/dup2.c: Likewise.
38739 * io/dup3.c: Likewise.
38740 * io/euidaccess.c: Likewise.
38741 * io/faccessat.c: Likewise.
38742 * io/fchdir.c: Likewise.
38743 * io/fchmod.c: Likewise.
38744 * io/fchmodat.c: Likewise.
38745 * io/fchown.c: Likewise.
38746 * io/fchownat.c: Likewise.
38747 * io/fcntl.c: Likewise.
38748 * io/flock.c: Likewise.
38749 * io/fstatfs.c: Likewise.
38750 * io/fstatfs64.c: Likewise.
38751 * io/fstatvfs.c: Likewise.
38752 * io/fstatvfs64.c: Likewise.
38753 * io/futimens.c: Likewise.
38754 * io/fxstat.c: Likewise.
38755 * io/fxstat64.c: Likewise.
38756 * io/fxstatat.c: Likewise.
38757 * io/fxstatat64.c: Likewise.
38758 * io/getcwd.c: Likewise.
38759 * io/isatty.c: Likewise.
38760 * io/lchmod.c: Likewise.
38761 * io/lchown.c: Likewise.
38762 * io/link.c: Likewise.
38763 * io/linkat.c: Likewise.
38764 * io/lseek.c: Likewise.
38765 * io/lseek64.c: Likewise.
38766 * io/lxstat64.c: Likewise.
38767 * io/mkdir.c: Likewise.
38768 * io/mkdirat.c: Likewise.
38769 * io/mkfifo.c: Likewise.
38770 * io/mkfifoat.c: Likewise.
38771 * io/open.c: Likewise.
38772 * io/open64.c: Likewise.
38773 * io/openat.c: Likewise.
38774 * io/openat64.c: Likewise.
38775 * io/pipe.c: Likewise.
38776 * io/pipe2.c: Likewise.
38777 * io/poll.c: Likewise.
38778 * io/posix_fadvise.c: Likewise.
38779 * io/posix_fadvise64.c: Likewise.
38780 * io/posix_fallocate.c: Likewise.
38781 * io/posix_fallocate64.c: Likewise.
38782 * io/read.c: Likewise.
38783 * io/readlink.c: Likewise.
38784 * io/readlinkat.c: Likewise.
38785 * io/rmdir.c: Likewise.
38786 * io/sendfile.c: Likewise.
38787 * io/sendfile64.c: Likewise.
38788 * io/statfs.c: Likewise.
38789 * io/statfs64.c: Likewise.
38790 * io/statvfs.c: Likewise.
38791 * io/statvfs64.c: Likewise.
38792 * io/symlink.c: Likewise.
38793 * io/symlinkat.c: Likewise.
38794 * io/ttyname.c: Likewise.
38795 * io/ttyname_r.c: Likewise.
38796 * io/umask.c: Likewise.
38797 * io/unlink.c: Likewise.
38798 * io/unlinkat.c: Likewise.
38799 * io/utime.c: Likewise.
38800 * io/utimensat.c: Likewise.
38801 * io/write.c: Likewise.
38802 * io/xmknod.c: Likewise.
38803 * io/xmknodat.c: Likewise.
38804 * io/xstat.c: Likewise.
38805 * io/xstat64.c: Likewise.
38806 * login/getpt.c: Likewise.
38807 * login/grantpt.c: Likewise.
38808 * login/unlockpt.c: Likewise.
38809 * math/e_acoshl.c: Likewise.
38810 * math/e_acosl.c: Likewise.
38811 * math/e_asinl.c: Likewise.
38812 * math/e_atan2l.c: Likewise.
38813 * math/e_atanhl.c: Likewise.
38814 * math/e_coshl.c: Likewise.
38815 * math/e_expl.c: Likewise.
38816 * math/e_fmodl.c: Likewise.
38817 * math/e_gammal_r.c: Likewise.
38818 * math/e_hypotl.c: Likewise.
38819 * math/e_j0l.c: Likewise.
38820 * math/e_j1l.c: Likewise.
38821 * math/e_jnl.c: Likewise.
38822 * math/e_lgammal_r.c: Likewise.
38823 * math/e_log10l.c: Likewise.
38824 * math/e_log2l.c: Likewise.
38825 * math/e_logl.c: Likewise.
38826 * math/e_powl.c: Likewise.
38827 * math/e_rem_pio2l.c: Likewise.
38828 * math/e_sinhl.c: Likewise.
38829 * math/e_sqrtl.c: Likewise.
38830 * math/fclrexcpt.c: Likewise.
38831 * math/fedisblxcpt.c: Likewise.
38832 * math/feenablxcpt.c: Likewise.
38833 * math/fegetenv.c: Likewise.
38834 * math/fegetexcept.c: Likewise.
38835 * math/fegetround.c: Likewise.
38836 * math/feholdexcpt.c: Likewise.
38837 * math/fesetenv.c: Likewise.
38838 * math/fesetround.c: Likewise.
38839 * math/feupdateenv.c: Likewise.
38840 * math/fgetexcptflg.c: Likewise.
38841 * math/fraiseexcpt.c: Likewise.
38842 * math/fsetexcptflg.c: Likewise.
38843 * math/ftestexcept.c: Likewise.
38844 * math/k_cosl.c: Likewise.
38845 * math/k_rem_pio2l.c: Likewise.
38846 * math/k_sinl.c: Likewise.
38847 * math/k_tanl.c: Likewise.
38848 * math/s_asinhl.c: Likewise.
38849 * math/s_atanl.c: Likewise.
38850 * math/s_cbrtl.c: Likewise.
38851 * math/s_erfl.c: Likewise.
38852 * math/s_expm1l.c: Likewise.
38853 * math/s_log1pl.c: Likewise.
38854 * math/s_tanhl.c: Likewise.
38855 * misc/acct.c: Likewise.
38856 * misc/brk.c: Likewise.
38857 * misc/chflags.c: Likewise.
38858 * misc/chroot.c: Likewise.
38859 * misc/fchflags.c: Likewise.
38860 * misc/fgetxattr.c: Likewise.
38861 * misc/flistxattr.c: Likewise.
38862 * misc/fremovexattr.c: Likewise.
38863 * misc/fsetxattr.c: Likewise.
38864 * misc/fsync.c: Likewise.
38865 * misc/ftruncate.c: Likewise.
38866 * misc/futimes.c: Likewise.
38867 * misc/futimesat.c: Likewise.
38868 * misc/getdomain.c: Likewise.
38869 * misc/getdtsz.c: Likewise.
38870 * misc/gethostid.c: Likewise.
38871 * misc/gethostname.c: Likewise.
38872 * misc/getloadavg.c: Likewise.
38873 * misc/getpagesize.c: Likewise.
38874 * misc/getsysstats.c: Likewise.
38875 * misc/getxattr.c: Likewise.
38876 * misc/gtty.c: Likewise.
38877 * misc/ioctl.c: Likewise.
38878 * misc/lgetxattr.c: Likewise.
38879 * misc/listxattr.c: Likewise.
38880 * misc/llistxattr.c: Likewise.
38881 * misc/lremovexattr.c: Likewise.
38882 * misc/lsetxattr.c: Likewise.
38883 * misc/lutimes.c: Likewise.
38884 * misc/madvise.c: Likewise.
38885 * misc/mincore.c: Likewise.
38886 * misc/mlock.c: Likewise.
38887 * misc/mlockall.c: Likewise.
38888 * misc/mmap.c: Likewise.
38889 * misc/mprotect.c: Likewise.
38890 * misc/msync.c: Likewise.
38891 * misc/munlock.c: Likewise.
38892 * misc/munlockall.c: Likewise.
38893 * misc/munmap.c: Likewise.
38894 * misc/preadv.c: Likewise.
38895 * misc/preadv64.c: Likewise.
38896 * misc/ptrace.c: Likewise.
38897 * misc/pwritev.c: Likewise.
38898 * misc/pwritev64.c: Likewise.
38899 * misc/readv.c: Likewise.
38900 * misc/reboot.c: Likewise.
38901 * misc/remap_file_pages.c: Likewise.
38902 * misc/removexattr.c: Likewise.
38903 * misc/revoke.c: Likewise.
38904 * misc/select.c: Likewise.
38905 * misc/setdomain.c: Likewise.
38906 * misc/setegid.c: Likewise.
38907 * misc/seteuid.c: Likewise.
38908 * misc/sethostid.c: Likewise.
38909 * misc/sethostname.c: Likewise.
38910 * misc/setregid.c: Likewise.
38911 * misc/setreuid.c: Likewise.
38912 * misc/setxattr.c: Likewise.
38913 * misc/sstk.c: Likewise.
38914 * misc/stty.c: Likewise.
38915 * misc/swapoff.c: Likewise.
38916 * misc/swapon.c: Likewise.
38917 * misc/sync.c: Likewise.
38918 * misc/syncfs.c: Likewise.
38919 * misc/syscall.c: Likewise.
38920 * misc/truncate.c: Likewise.
38921 * misc/ualarm.c: Likewise.
38922 * misc/usleep.c: Likewise.
38923 * misc/ustat.c: Likewise.
38924 * misc/utimes.c: Likewise.
38925 * misc/vhangup.c: Likewise.
38926 * misc/writev.c: Likewise.
38927 * posix/_exit.c: Likewise.
38928 * posix/alarm.c: Likewise.
38929 * posix/execve.c: Likewise.
38930 * posix/fexecve.c: Likewise.
38931 * posix/fork.c: Likewise.
38932 * posix/fpathconf.c: Likewise.
38933 * posix/getaddrinfo.c: Likewise.
38934 * posix/getegid.c: Likewise.
38935 * posix/geteuid.c: Likewise.
38936 * posix/getgid.c: Likewise.
38937 * posix/getgroups.c: Likewise.
38938 * posix/getlogin.c: Likewise.
38939 * posix/getlogin_r.c: Likewise.
38940 * posix/getpgid.c: Likewise.
38941 * posix/getpid.c: Likewise.
38942 * posix/getppid.c: Likewise.
38943 * posix/getresgid.c: Likewise.
38944 * posix/getresuid.c: Likewise.
38945 * posix/getsid.c: Likewise.
38946 * posix/getuid.c: Likewise.
38947 * posix/glob64.c: Likewise.
38948 * posix/nanosleep.c: Likewise.
38949 * posix/pathconf.c: Likewise.
38950 * posix/pause.c: Likewise.
38951 * posix/posix_madvise.c: Likewise.
38952 * posix/pread.c: Likewise.
38953 * posix/pread64.c: Likewise.
38954 * posix/pwrite.c: Likewise.
38955 * posix/pwrite64.c: Likewise.
38956 * posix/sched_getaffinity.c: Likewise.
38957 * posix/sched_getp.c: Likewise.
38958 * posix/sched_gets.c: Likewise.
38959 * posix/sched_primax.c: Likewise.
38960 * posix/sched_primin.c: Likewise.
38961 * posix/sched_rr_gi.c: Likewise.
38962 * posix/sched_setaffinity.c: Likewise.
38963 * posix/sched_setp.c: Likewise.
38964 * posix/sched_sets.c: Likewise.
38965 * posix/sched_yield.c: Likewise.
38966 * posix/setgid.c: Likewise.
38967 * posix/setlogin.c: Likewise.
38968 * posix/setpgid.c: Likewise.
38969 * posix/setresgid.c: Likewise.
38970 * posix/setresuid.c: Likewise.
38971 * posix/setsid.c: Likewise.
38972 * posix/setuid.c: Likewise.
38973 * posix/sleep.c: Likewise.
38974 * posix/spawni.c: Likewise.
38975 * posix/sysconf.c: Likewise.
38976 * posix/times.c: Likewise.
38977 * posix/wait.c: Likewise.
38978 * posix/wait3.c: Likewise.
38979 * posix/wait4.c: Likewise.
38980 * posix/waitpid.c: Likewise.
38981 * resolv/gai_sigqueue.c: Likewise.
38982 * resource/getpriority.c: Likewise.
38983 * resource/getrlimit.c: Likewise.
38984 * resource/getrusage.c: Likewise.
38985 * resource/nice.c: Likewise.
38986 * resource/setpriority.c: Likewise.
38987 * resource/setrlimit.c: Likewise.
38988 * resource/ulimit.c: Likewise.
38989 * rt/aio_cancel.c: Likewise.
38990 * rt/aio_fsync.c: Likewise.
38991 * rt/aio_read.c: Likewise.
38992 * rt/aio_sigqueue.c: Likewise.
38993 * rt/aio_suspend.c: Likewise.
38994 * rt/aio_write.c: Likewise.
38995 * rt/clock_getres.c: Likewise.
38996 * rt/clock_gettime.c: Likewise.
38997 * rt/clock_nanosleep.c: Likewise.
38998 * rt/clock_settime.c: Likewise.
38999 * rt/lio_listio.c: Likewise.
39000 * rt/mq_close.c: Likewise.
39001 * rt/mq_getattr.c: Likewise.
39002 * rt/mq_notify.c: Likewise.
39003 * rt/mq_open.c: Likewise.
39004 * rt/mq_receive.c: Likewise.
39005 * rt/mq_send.c: Likewise.
39006 * rt/mq_setattr.c: Likewise.
39007 * rt/mq_timedreceive.c: Likewise.
39008 * rt/mq_timedsend.c: Likewise.
39009 * rt/mq_unlink.c: Likewise.
39010 * rt/shm_open.c: Likewise.
39011 * rt/shm_unlink.c: Likewise.
39012 * rt/timer_create.c: Likewise.
39013 * rt/timer_delete.c: Likewise.
39014 * rt/timer_getoverr.c: Likewise.
39015 * rt/timer_gettime.c: Likewise.
39016 * rt/timer_settime.c: Likewise.
39017 * setjmp/__longjmp.c: Likewise.
39018 * setjmp/setjmp.c: Likewise.
39019 * signal/kill.c: Likewise.
39020 * signal/killpg.c: Likewise.
39021 * signal/raise.c: Likewise.
39022 * signal/sigaction.c: Likewise.
39023 * signal/sigaltstack.c: Likewise.
39024 * signal/sigblock.c: Likewise.
39025 * signal/sigignore.c: Likewise.
39026 * signal/sigintr.c: Likewise.
39027 * signal/signal.c: Likewise.
39028 * signal/sigpause.c: Likewise.
39029 * signal/sigpending.c: Likewise.
39030 * signal/sigqueue.c: Likewise.
39031 * signal/sigreturn.c: Likewise.
39032 * signal/sigset.c: Likewise.
39033 * signal/sigsetmask.c: Likewise.
39034 * signal/sigstack.c: Likewise.
39035 * signal/sigsuspend.c: Likewise.
39036 * signal/sigtimedwait.c: Likewise.
39037 * signal/sigvec.c: Likewise.
39038 * signal/sigwait.c: Likewise.
39039 * signal/sigwaitinfo.c: Likewise.
39040 * signal/sysv_signal.c: Likewise.
39041 * socket/accept.c: Likewise.
39042 * socket/accept4.c: Likewise.
39043 * socket/bind.c: Likewise.
39044 * socket/connect.c: Likewise.
39045 * socket/getpeername.c: Likewise.
39046 * socket/getsockname.c: Likewise.
39047 * socket/getsockopt.c: Likewise.
39048 * socket/isfdtype.c: Likewise.
39049 * socket/listen.c: Likewise.
39050 * socket/recv.c: Likewise.
39051 * socket/recvfrom.c: Likewise.
39052 * socket/recvmsg.c: Likewise.
39053 * socket/send.c: Likewise.
39054 * socket/sendmsg.c: Likewise.
39055 * socket/sendto.c: Likewise.
39056 * socket/setsockopt.c: Likewise.
39057 * socket/shutdown.c: Likewise.
39058 * socket/sockatmark.c: Likewise.
39059 * socket/socket.c: Likewise.
39060 * socket/socketpair.c: Likewise.
39061 * stdio-common/ctermid.c: Likewise.
39062 * stdio-common/cuserid.c: Likewise.
39063 * stdio-common/remove.c: Likewise.
39064 * stdio-common/rename.c: Likewise.
39065 * stdio-common/renameat.c: Likewise.
39066 * stdio-common/tempname.c: Likewise.
39067 * stdlib/getcontext.c: Likewise.
39068 * stdlib/makecontext.c: Likewise.
39069 * stdlib/setcontext.c: Likewise.
39070 * stdlib/swapcontext.c: Likewise.
39071 * stdlib/system.c: Likewise.
39072 * streams/fattach.c: Likewise.
39073 * streams/fdetach.c: Likewise.
39074 * streams/getmsg.c: Likewise.
39075 * streams/getpmsg.c: Likewise.
39076 * streams/putmsg.c: Likewise.
39077 * streams/putpmsg.c: Likewise.
39078 * sysdeps/unix/bsd/getpt.c: Likewise.
39079 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39080 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39081 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39084 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39085 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39086 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39087 * sysvipc/msgctl.c: Likewise.
39088 * sysvipc/msgget.c: Likewise.
39089 * sysvipc/msgrcv.c: Likewise.
39090 * sysvipc/msgsnd.c: Likewise.
39091 * sysvipc/semctl.c: Likewise.
39092 * sysvipc/semget.c: Likewise.
39093 * sysvipc/semop.c: Likewise.
39094 * sysvipc/semtimedop.c: Likewise.
39095 * sysvipc/shmat.c: Likewise.
39096 * sysvipc/shmctl.c: Likewise.
39097 * sysvipc/shmdt.c: Likewise.
39098 * sysvipc/shmget.c: Likewise.
39099 * termios/tcdrain.c: Likewise.
39100 * termios/tcflow.c: Likewise.
39101 * termios/tcflush.c: Likewise.
39102 * termios/tcgetattr.c: Likewise.
39103 * termios/tcgetpgrp.c: Likewise.
39104 * termios/tcsendbrk.c: Likewise.
39105 * termios/tcsetattr.c: Likewise.
39106 * termios/tcsetpgrp.c: Likewise.
39107 * time/adjtime.c: Likewise.
39108 * time/clock.c: Likewise.
39109 * time/getitimer.c: Likewise.
39110 * time/gettimeofday.c: Likewise.
39111 * time/setitimer.c: Likewise.
39112 * time/settimeofday.c: Likewise.
39113 * time/stime.c: Likewise.
39114 * time/time.c: Likewise.
39116 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39118 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39121 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39123 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39125 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39129 FE_TONEAREST before applying Dekker multiplication and Knuth
39130 addition. Clear inexact exceptions and check for exact zero
39131 results afterwards.
39132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39133 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39134 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39135 * math/libm-test.inc (fma_test): Add more tests.
39136 (fma_test_towardzero): Likewise.
39137 (fma_test_downward): Likewise.
39138 (fma_test_upward): Likewise.
39139 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39141 (libc_fesetround): New macro.
39142 (libc_fesetroundf): Likewise.
39143 (libc_fesetroundl): Likewise.
39144 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39146 (libc_fesetround_387): Likewise.
39147 (libc_fesetroundf): New macro.
39148 (libc_fesetround): Likewise.
39149 (libc_fesetroundl): Likewise.
39150 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39152 (libc_fesetroundf): New macro.
39153 (libc_fesetround): Likewise.
39154 (libc_fesetroundl): Likewise.
39155 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39156 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39157 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39159 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39160 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39162 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39163 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39165 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39169 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39170 integer constant usable in #if and use that to give value to enum
39172 (FE_DIVBYZERO): Likewise.
39173 (FE_UNDERFLOW): Likewise.
39174 (FE_OVERFLOW): Likewise.
39175 (FE_INVALID): Likewise.
39176 (FE_INVALID_SNAN): Likewise.
39177 (FE_INVALID_ISI): Likewise.
39178 (FE_INVALID_IDI): Likewise.
39179 (FE_INVALID_ZDZ): Likewise.
39180 (FE_INVALID_IMZ): Likewise.
39181 (FE_INVALID_COMPARE): Likewise.
39182 (FE_INVALID_SOFTWARE): Likewise.
39183 (FE_INVALID_SQRT): Likewise.
39184 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39185 (FE_TONEAREST): Likewise.
39186 (FE_TOWARDZERO): Likewise.
39187 (FE_UPWARD): Likewise.
39188 (FE_DOWNWARD): Likewise.
39189 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39190 (FE_DIVBYZERO): Likewise.
39191 (FE_OVERFLOW): Likewise.
39192 (FE_UNDERFLOW): Likewise.
39193 (FE_INEXACT): Likewise.
39194 (FE_TONEAREST): Likewise.
39195 (FE_DOWNWARD): Likewise.
39196 (FE_UPWARD): Likewise.
39197 (FE_TOWARDZERO): Likewise.
39198 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39199 (FE_UNDERFLOW): Likewise.
39200 (FE_OVERFLOW): Likewise.
39201 (FE_DIVBYZERO): Likewise.
39202 (FE_INVALID): Likewise.
39203 (FE_TONEAREST): Likewise.
39204 (FE_TOWARDZERO): Likewise.
39205 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39206 (FE_OVERFLOW): Likewise.
39207 (FE_UNDERFLOW): Likewise.
39208 (FE_DIVBYZERO): Likewise.
39209 (FE_INEXACT): Likewise.
39210 (FE_TONEAREST): Likewise.
39211 (FE_TOWARDZERO): Likewise.
39212 (FE_UPWARD): Likewise.
39213 (FE_DOWNWARD): Likewise.
39214 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39215 (FE_DIVBYZERO): Likewise.
39216 (FE_OVERFLOW): Likewise.
39217 (FE_UNDERFLOW): Likewise.
39218 (FE_INEXACT): Likewise.
39219 (FE_TONEAREST): Likewise.
39220 (FE_DOWNWARD): Likewise.
39221 (FE_UPWARD): Likewise.
39222 (FE_TOWARDZERO): Likewise.
39224 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39226 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39228 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39230 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39231 commands. Quote $PWD.
39232 (blacklist_exports): Don't use remove_newlines. Replace "declare
39234 (remove_newlines): Remove.
39236 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39238 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39239 * stdlib/stdlib.h (atof): Moved to ...
39240 * include/bits/stdlib-float.h: Here. New file.
39241 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39242 * stdlib/bits/stdlib-float.h: New file.
39243 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39245 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39248 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39250 * conform/conformtest.pl (@headers): Add fenv.h.
39251 * conform/data/fenv.h-data: New file.
39252 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39253 include of <math/fenv.h>.
39255 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39256 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39257 && !UNIX98]. Enables tests for XOPEN2K8.
39258 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39259 POSIX2008]: Likewise.
39261 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39262 (struct rusage): Do not expect type or its members.
39265 * math/math.h (FP_NAN): Define macro to integer constant usable in
39266 #if and use that to give value to enum constant.
39267 (FP_INFINITE): Likewise.
39268 (FP_ZERO): Likewise.
39269 (FP_SUBNORMAL): Likewise.
39270 (FP_NORMAL): Likewise.
39272 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39274 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39275 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39278 2012-11-02 Roland McGrath <roland@hack.frob.com>
39280 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39281 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39282 autoconf-time if not.
39283 * configure.in: Remove AC_PREREQ.
39285 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39287 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39288 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39289 of the internal implementation.
39291 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39293 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39294 except include of <misc/sys/syslog.h>.
39296 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39299 function returns with a NULL context exit with zero.
39301 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39303 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39305 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39307 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39308 (run_program_cmd): This.
39309 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39310 (tst_langinfo): New variable. Use it.
39312 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39314 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39315 floating point opcodes.
39317 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39319 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39322 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39324 * sysdeps/mach/hurd/powerpc: Remove directory.
39325 * sysdeps/mach/powerpc: Likewise.
39327 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39329 * scripts/check-local-headers.sh: Ignore c++ headers.
39331 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39333 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39334 __libc_cleanup_region_start argument.
39336 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39341 x * y using scaling, not as x * y + z.
39342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39344 * math/libm-test.inc (fma_test): Add more tests.
39345 (fma_test_towardzero): Likewise.
39346 (fma_test_downward): Likewise.
39347 (fma_test_upward): Likewise.
39349 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39351 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39353 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39355 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39358 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39360 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39362 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39369 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39372 Fix the order of the list for glibc 2.17.
39373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39376 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39380 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39383 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39384 for low part of x being zero before using __atanl (y).
39385 * math/libm-test.inc (atan2_test): Add another test.
39387 * manual/install.texi (Configuring and compiling): Document
39388 general use of test-wrapper and test-wrapper-env.
39389 * INSTALL: Regenerated.
39391 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39392 (__fma): Do not extract and scale down low bits on after-rounding
39393 systems when result rounded to normal precision would have normal
39395 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39396 (__fmal): Do not extract and scale down low bits on after-rounding
39397 systems when result rounded to normal precision would have normal
39399 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39400 (__fmal): Do not extract and scale down low bits on after-rounding
39401 systems when result rounded to normal precision would have normal
39403 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39405 (fma_test): Add more tests.
39406 (fma_test_towardzero): Likewise.
39407 (fma_test_downward): Likewise.
39408 (fma_test_upward): Likewise.
39410 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39412 * sysdeps/i386/tininess.h: Renamed to ...
39413 * sysdeps/x86/tininess.h: This.
39414 * sysdeps/x86_64/tininess.h: Removed.
39416 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39418 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39419 input. Use $(build-program-cmd).
39420 ($(objpfx)tst-array1-static.out): Likewise.
39421 ($(objpfx)tst-array2.out): Likewise.
39422 ($(objpfx)tst-array3.out): Likewise.
39423 ($(objpfx)tst-array4.out): Likewise.
39424 ($(objpfx)tst-array5.out): Likewise.
39425 ($(objpfx)tst-array5-static.out): Likewise.
39427 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39429 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39432 * nss/nsswitch.h (nss_interface_function): Provide new
39433 macro for use with NSS functions.
39434 * grp/initgroups.c: Use new macro.
39435 * nss/getXXbyYY.c: Likewise.
39436 * nss/getXXbyYY_r.c: Likewise.
39437 * nss/getXXent.c: Likewise.
39438 * nss/getXXent_r.c: Likewise.
39439 * sysdeps/posix/getaddrinfo.c: Likewise.
39441 2012-10-30 Andreas Jaeger <aj@suse.de>
39443 * po/ru.po: Update Russion translation from translation project.
39445 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39450 result and shift together with sticky bit instead of replicating
39451 round-to-nearest rounding.
39452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39453 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39454 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39455 missing underflow exceptions.
39456 (fma_test_towardzero): Add more tests.
39457 (fma_test_downward): Likewise.
39458 (fma_test_upward): Likewise.
39461 * sysdeps/generic/tininess.h: New file.
39462 * sysdeps/i386/tininess.h: Likewise.
39463 * sysdeps/sh/tininess.h: Likewise.
39464 * sysdeps/x86_64/tininess.h: Likewise.
39465 * stdlib/tst-strtod-underflow.c: Likewise.
39466 * stdlib/tst-tininess.c: Likewise.
39467 * stdlib/strtod_l.c: Include <tininess.h>.
39468 (round_and_return): Do not set errno for exact underflow cases.
39469 Force an underflow exception when setting errno for underflow.
39470 Determine underflow based on rounding to normal precision if
39471 TININESS_AFTER_ROUNDING.
39472 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39473 ERANGE for exact underflow cases.
39474 * stdlib/Makefile (tests): Add tst-tininess and
39475 tst-strtod-underflow.
39476 ($(objpfx)tst-tininess): Use $(link-libm).
39477 ($(objpfx)tst-strtod-underflow): Likewise.
39479 2012-10-30 Andreas Jaeger <aj@suse.de>
39482 * elf/Makefile (tests): Remove conditional for have-initfini-array
39483 since this is now always required and the variable does not exist
39485 (tests-static): Likewise.
39486 (modules-names): Likewise.
39488 * po/eo.po: Add Esperanto translation from translation project.
39490 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39491 merged with constructor/destructor.
39492 (init_array): Likewise.
39493 * elf/tst-array2dep.c (fini_array): Likewise.
39494 (init_array): Likewise.
39496 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39498 * manual/message.texi: Delete @cartouche tags.
39500 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39502 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39504 * sysdeps/mach/hurd/fsync.c: Likewise.
39506 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39507 [_POSIX_REALTIME_SIGNALS]: Change condition to
39508 [_POSIX_REALTIME_SIGNALS > 0].
39510 2012-10-27 Andreas Jaeger <aj@suse.de>
39512 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39513 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39515 [__WORDSIZE != 64]: Likewise.
39517 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39519 * iconvdata/tst-table.sh: Remove ${SHELL}.
39520 * iconvdata/tst-tables.sh: Likewise.
39522 2012-10-25 David S. Miller <davem@davemloft.net>
39524 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39525 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39530 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39531 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39532 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39535 2012-10-25 Roland McGrath <roland@hack.frob.com>
39537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39538 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39541 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39542 Jim Blandy <jimb@codesourcery.com>
39544 * scripts/cross-test-ssh.sh: New file.
39545 * manual/install.texi (Configuring and compiling): Document use of
39547 * INSTALL: Regenerated.
39549 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39551 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39554 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39556 * Makeconfig (run-program-prefix): Fix comment.
39558 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39559 Jim Blandy <jimb@codesourcery.com>
39561 * Makeconfig (test-wrapper): New variable,
39562 (test-wrapper-env): Likewise.
39563 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39564 (run-built-tests): Define to yes.
39565 (run-program-prefix): Use $(test-wrapper).
39566 (built-program-cmd): Likewise.
39567 * Rules (make-test-out): Use $(test-wrapper-env) and
39568 $(host-built-program-cmd).
39569 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39570 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39572 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39573 $(test-wrapper-env) to tst-rtld-load-self.sh.
39574 ($(objpfx)order2.out): Use $(test-wrapper).
39575 ($(objpfx)tst-initorder.out): Likewise.
39576 ($(objpfx)tst-initorder2.out): Likewise.
39577 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39578 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39579 (test_wrapper_env): New variable. Use it to run ld.so.
39580 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39581 Use it to run ld.so.
39582 (test_wrapper_env): Likewise.
39583 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39584 $(test-wrapper) to run-iconv-test.sh.
39585 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39586 (ICONV): Use $test_wrapper.
39587 * posix/Makefile ($(objpfx)globtest.out): Pass
39588 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39589 globtest.sh, not $(run-program-prefix).
39590 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39591 (test_wrapper): Likewise.
39592 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39593 set together with run_via_rtld_prefix.
39594 (run_program_prefix): Define in terms of test_wrapper and
39595 run_via_rtld_prefix.
39597 2012-10-24 Roland McGrath <roland@hack.frob.com>
39599 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39600 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39604 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39605 Declare __clock_getres, __clock_gettime, __clock_settime,
39606 __clock_nanosleep, and __clock_getcpuclockid.
39607 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39608 Remove librt_hidden_def (clock_gettime).
39609 * sysdeps/unix/clock_gettime.c: Likewise.
39610 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39611 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39612 * rt/clock_getres.c: Define __clock_getres as an alias.
39613 * sysdeps/posix/clock_getres.c: Likewise.
39614 * rt/clock_settime.c: Define __clock_settime as an alias.
39615 * sysdeps/unix/clock_settime.c: Likewise.
39616 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39617 * sysdeps/unix/clock_nanosleep.c: Likewise.
39618 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39619 * rt/clock-compat.c: New file.
39620 * rt/Makefile (librt-routines): Add clock-compat and move
39621 $(clock-routines) to ...
39622 (routines): ... here, new variable.
39623 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39624 Don't add get_clockfreq here.
39625 * rt/Versions (libc: GLIBC_2.17): New version set.
39626 Add clock_* symbols here.
39627 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39629 (GLIBC_2.17): Add clock_* symbols.
39630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39641 * NEWS: Mention the move.
39643 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39644 Use __open, __read, __close rather than their public counterparts.
39645 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39646 (__get_clockfreq_via_cpuinfo): Likewise.
39647 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39648 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39650 * config.h.in (HAVE_IFUNC): New #undef.
39651 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39653 * configure: Regenerated.
39655 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39657 * configure.in: Move READELF check to start of file.
39658 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39659 libc_cv_asm_gnu_indirect_function in the process.
39660 * configure: Regenerated.
39662 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39664 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39665 send the output to /dev/null.
39666 (libc_cv_cc_with_libunwind): Likewise.
39667 (libc_cv_as_noexecstack): Likewise.
39668 * configure: Regenerate.
39670 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39672 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39674 * posix/globtest.sh (TMPDIR): Do not set.
39675 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39676 (testout): Likewise.
39678 2012-10-24 Andreas Jaeger <aj@suse.de>
39680 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39681 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39682 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39683 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39684 posix_fadvise64, posix_fallocate64.
39686 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39687 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39688 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39690 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39692 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39695 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39696 <bits/fcntl-linux.h>.
39697 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39700 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39701 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39702 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39703 [__WORDSIZE != 64]: Likewise.
39705 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39707 * Makeconfig (run-built-tests): New variable.
39708 * Rules [$(cross-compiling) = yes]: Change condition to
39709 [$(run-built-tests) = no].
39710 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39711 to [$(run-built-tests) = yes].
39712 * elf/Makefile [$(cross-compiling) = no]: Likewise
39713 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39714 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39715 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39716 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39717 * io/Makefile [$(cross-compiling) = no]: Likewise.
39718 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39719 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39720 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39721 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39722 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39723 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39724 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39725 * string/Makefile [$(cross-compiling) = no]: Likewise.
39727 * posix/Makefile ($(objpfx)globtest.out): Pass
39728 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39729 $(rtld-installed-name).
39730 * posix/globtest.sh (elf_objpfx): Remove variable.
39731 (rtld_installed_name): Likewise.
39732 (library_path): Likewise.
39733 (run_program_prefix): New variable. Use for running globtest
39736 2012-10-23 Jim Blandy <jimb@codesourcery.com>
39737 Joseph Myers <joseph@codesourcery.com>
39739 * Makeconfig (host-built-program-cmd): New variable.
39740 * elf/Makefile (tst-stackguard1-ARGS): Use
39741 $(host-built-program-cmd).
39742 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39743 (tst-spawn-ARGS): Likewise.
39744 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39746 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39747 Jim Blandy <jimb@codesourcery.com>
39749 * Makeconfig (run-via-rtld-prefix): New variable.
39750 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39751 (built-program-cmd): Likewise.
39753 2012-10-22 Andreas Jaeger <aj@suse.de>
39755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39756 __O_RSYNC if it exists, otherwise to O_SYNC.
39758 2012-10-22 Jim Blandy <jimb@codesourcery.com>
39759 Joseph Myers <joseph@codesourcery.com>
39761 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39763 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39765 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39768 2012-10-22 Andreas Jaeger <aj@suse.de>
39770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39775 bits/fcntl-linux.h.
39777 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39778 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39785 2012-10-21 Jim Blandy <jimb@codesourcery.com>
39786 Joseph Myers <joseph@codesourcery.com>
39788 * config.make.in (NM): New variable.
39790 2012-10-21 Andreas Jaeger <aj@suse.de>
39792 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39793 definitions and declarations that are provided by
39794 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39796 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39799 * elf/Makefile (tests-static): Add tst-leaks1-static.
39800 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39801 ($(objpfx)tst-leaks1-static): New rule.
39802 ($(objpfx)tst-leaks1-static-mem): Likewise.
39803 (tst-leaks1-static-ENV): New macro.
39804 * elf/dl-open.c (dl_open_worker): Check the main application
39805 only if SHARED is defined.
39806 * elf/tst-leaks1-static.c: New file.
39808 2012-10-20 Andreas Jaeger <aj@suse.de>
39810 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39811 generic values for Linux.
39812 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39813 and declarations that are provided by <bits/fcntl-linux.h> and
39814 include <bits/fcntl-linux.h>.
39815 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39816 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39818 2012-10-20 Roland McGrath <roland@hack.frob.com>
39820 * io/fcntl.h: Move include of <bits/types.h> to the top and
39821 include it unconditionally.
39823 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39825 * wcsmbs/Makefile (tests-ifunc): New variable.
39826 (tests): Add $(tests-ifunc).
39827 * wcsmbs/test-wcschr-ifunc.c: New file.
39828 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39829 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39830 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39831 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39832 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39834 * string/Makefile (tests-ifunc): New variable.
39835 (tests): Add $(tests-ifunc).
39836 * string/test-memccpy.c (TEST_NAME): New macro.
39837 * string/test-memchr.c (TEST_NAME): Likewise.
39838 * string/test-memcmp.c (TEST_NAME): Likewise.
39839 * string/test-memcpy.c (TEST_NAME): Likewise.
39840 * string/test-memmem.c (TEST_NAME): Likewise.
39841 * string/test-memmove.c (TEST_NAME): Likewise.
39842 * string/test-memset.c (TEST_NAME): Likewise.
39843 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39844 * string/test-stpcpy.c (TEST_NAME): Likewise.
39845 * string/test-stpncpy.c (TEST_NAME): Likewise.
39846 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39847 * string/test-strcasestr.c (TEST_NAME): Likewise.
39848 * string/test-strcat.c (TEST_NAME): Likewise.
39849 * string/test-strchr.c (TEST_NAME): Likewise.
39850 * string/test-strcmp.c(TEST_NAME): Likewise.
39851 * string/test-strcpy.c (TEST_NAME): Likewise.
39852 * string/test-strcspn.c (TEST_NAME): Likewise.
39853 * string/test-strlen.c (TEST_NAME): Likewise.
39854 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39855 * string/test-strncmp.c (TEST_NAME): Likewise.
39856 * string/test-strncpy.c (TEST_NAME): Likewise.
39857 * string/test-strnlen.c (TEST_NAME): Likewise.
39858 * string/test-strpbrk.c (TEST_NAME): Likewise.
39859 * string/test-strrchr.c (TEST_NAME): Likewise.
39860 * string/test-strspn.c (TEST_NAME): Likewise.
39861 * string/test-strstr.c (TEST_NAME): Likewise.
39862 * string/test-bcopy-ifunc.c: New file.
39863 * string/test-bzero-ifunc.c: Likewise.
39864 * string/test-memccpy-ifunc.c: Likewise.
39865 * string/test-memchr-ifunc.c: Likewise.
39866 * string/test-memcmp-ifunc.c: Likewise.
39867 * string/test-memcpy-ifunc.c: Likewise.
39868 * string/test-memmem-ifunc.c: Likewise.
39869 * string/test-memmove-ifunc.c: Likewise.
39870 * string/test-mempcpy-ifunc.c: Likewise.
39871 * string/test-memset-ifunc.c: Likewise.
39872 * string/test-rawmemchr-ifunc.c: Likewise.
39873 * string/test-stpcpy-ifunc.c: Likewise.
39874 * string/test-stpncpy-ifunc.c: Likewise.
39875 * string/test-strcasecmp-ifunc.c: Likewise.
39876 * string/test-strcasestr-ifunc.c: Likewise.
39877 * string/test-strcat-ifunc.c: Likewise.
39878 * string/test-strchr-ifunc.c: Likewise.
39879 * string/test-strchrnul-ifunc.c: Likewise.
39880 * string/test-strcmp-ifunc.c: Likewise.
39881 * string/test-strcpy-ifunc.c: Likewise.
39882 * string/test-strcspn-ifunc.c: Likewise.
39883 * string/test-strlen-ifunc.c: Likewise.
39884 * string/test-strncasecmp-ifunc.c: Likewise.
39885 * string/test-strncat-ifunc.c: Likewise.
39886 * string/test-strncmp-ifunc.c: Likewise.
39887 * string/test-strncpy-ifunc.c: Likewise.
39888 * string/test-strnlen-ifunc.c: Likewise.
39889 * string/test-strpbrk-ifunc.c: Likewise.
39890 * string/test-strrchr-ifunc.c: Likewise.
39891 * string/test-strspn-ifunc.c: Likewise.
39892 * string/test-strstr-ifunc.c: Likewise.
39894 * debug/Makefile (tests-ifunc): New variable.
39895 (tests): Add $(tests-ifunc).
39896 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39897 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39898 * debug/test-stpcpy_chk-ifunc.c: New file.
39899 * debug/test-strcpy_chk-ifunc.c: Likewise.
39901 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39904 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39905 header is not read in.
39907 2012-10-19 Joseph Myers <joseph@codesourcery.com>
39909 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39910 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39911 directly. Pass built executable to script as
39912 $(built-program-cmd).
39913 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39914 $testprogram without using LD_LIBRARY_PATH and $ldso.
39916 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39917 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39918 $(rtld-installed-name).
39919 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39920 (rtld_installed_name): Likewise.
39921 (library_path): Likewise.
39922 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39923 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39924 $(run-program-prefix) to tst-tables.sh.
39925 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39926 it to run tst-table-from and tst-table-to.
39927 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39928 Pass it to tst-table.sh.
39929 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39930 $(run-program-prefix) to tst-gettext.sh.
39931 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39933 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39935 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39936 to run tst-gettext.
39937 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39938 to run tst-gettext2.
39939 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39940 to run tst-translit.
39941 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39942 $(run-program-prefix) to tst-mtrace.sh.
39943 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39945 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39946 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39947 $(rtld-installed-name).
39948 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39949 (rtld_installed_name): Likewise.
39950 (run_program_prefix): New variable. Use it to run wordexp-test.
39952 * Makeconfig (ARCH): Remove all definitions.
39953 (machine): Likewise.
39954 [ARCH]: Remove conditional code.
39955 [!objdir]: Give error.
39956 [!objdir] (objpfx): Remove.
39957 [!objdir] (common-objpfx): Likewise.
39958 [!objdir] (common-objdir): Likewise.
39959 * configure.in (config_makefile): Remove. Hardcode Makefile in
39960 AC_CONFIG_FILES call.
39961 * configure: Regenerated.
39964 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39966 (testout): Likewise.
39968 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39969 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39970 $(rtld-installed-name).
39971 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39972 (rtld_installed_name): Likwise.
39973 (runit): Remove function.
39974 (run_getconf): New variable, Use it for running getconf binary.
39976 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39979 * string/test-memmem.c (check_result): New function.
39980 (do_one_test): Use it.
39981 (check1): New function.
39982 (test_main): Use it.
39984 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39986 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39988 2012-10-18 Joseph Myers <joseph@codesourcery.com>
39990 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39991 (_G_LSEEK64): Likewise.
39992 (_G_MMAP64): Likewise.
39993 (_G_FSTAT64): Likewise.
39994 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39995 (_G_LSEEK64): Likewise.
39996 (_G_MMAP64): Likewise.
39997 (_G_FSTAT64): Likewise.
39998 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39999 unconditional. Call __mmap64 directly.
40000 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40001 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40002 __lseek64 directly.
40003 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40004 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40006 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40007 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
40008 __lseek64 directly.
40009 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40010 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
40011 __lseek64 directly.
40012 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40013 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
40014 __lseek64 directly.
40015 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40016 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
40017 __fxstat64 directly.
40018 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40019 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40021 (freopen64) [!_G_OPEN64]: Remove conditional code.
40022 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40024 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40025 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40027 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40028 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40030 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40031 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40033 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40034 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40036 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40037 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40039 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40040 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40042 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40044 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40047 * manual/memory.texi (Malloc Tunable Parameters): Add note
40048 about free list pointers overwriting some perturb bytes.
40049 Wording suggested by Roland McGrath.
40051 2012-10-17 Joseph Myers <joseph@codesourcery.com>
40053 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40054 (lgamma_test): Likewise.
40055 (tgamma_test): Likewise.
40057 2012-10-16 Florian Weimer <fweimer@redhat.com>
40060 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40061 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40063 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40065 * NEWS: Mention BZ #14716.
40066 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40067 when removing AVAILABLE1_USES_J macro.
40069 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40071 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40072 (__bswap_64): __uint64_t for unsigned 64-bit int.
40074 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40076 * include/string.h (memmem): Declare libc hidden alias.
40077 * string/memmem.c (memmem): Define libc hidden alias.
40078 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40079 __read, __close instead of open, read, close.
40081 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40083 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40084 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40086 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40087 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40088 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40090 (__rawmemchr_sse2): Likewise.
40091 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40092 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40093 (__strchr_sse2): Likewise.
40094 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40095 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40096 (__strcasecmp_sse2): Likewise.
40097 (__strncasecmp_sse2): Likewise.
40098 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40099 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40100 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40101 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40102 (__strrchr_sse2): Likewise.
40103 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40105 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40106 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40107 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40108 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40109 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40110 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40111 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40112 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40113 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40114 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40115 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40116 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40117 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40118 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40119 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40120 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40121 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40122 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40123 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40124 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40125 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40126 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40127 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40128 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40129 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40130 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40131 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40132 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40133 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40134 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40136 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40138 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40139 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40140 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40141 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40143 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40145 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40146 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40147 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40148 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40150 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40151 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40152 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40153 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40154 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40155 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40156 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40157 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40158 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40159 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40160 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40161 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40162 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40163 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40164 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40165 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40166 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40167 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40168 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40169 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40170 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40171 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40172 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40173 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40174 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40175 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40176 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40177 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40178 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40179 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40180 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40181 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40182 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40183 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40184 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40185 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40186 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40187 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40188 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40189 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40190 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40192 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40193 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40194 * include/ifunc-impl-list.h: New file.
40195 * misc/ifunc-impl-list.c: Likewise.
40196 * misc/Makefile (routines): Add ifunc-impl-list.
40197 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40198 * string/test-string.h: Include <ifunc-impl-list.h>.
40199 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40200 TEST_NAME]: New variables.
40201 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40203 (test_init): Call __libc_ifunc_impl_list to initialize
40204 func_list if TEST_IFUNC and TEST_NAME are defined.
40206 * string/Makefile (strop-tests): Add bcopy and bzero.
40207 * string/test-bcopy.c: New file.
40208 * string/test-bzero.c: Likewise.
40209 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40211 * string/test-memset.c: Support bzero test if TEST_BZERO is
40213 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40215 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40217 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40220 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40222 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40223 * configure: Regenerated.
40225 * Makeconfig (+link-static-before-libc): Don't include
40226 $(link-static-libc).
40228 * libio/libio.h (_IO_pos_t): Remove.
40230 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40232 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40235 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40237 * crypt/crypt-entry.c: Include fips-private.h.
40238 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40239 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40240 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40241 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40243 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40245 * crypt/crypt-private.h: Include stdbool.h.
40246 (_ufc_setup_salt_r): Return bool.
40247 * crypt/crypt-entry.c: Include errno.h.
40248 (__crypt_r): Return NULL with EINVAL for bad salt.
40249 * crypt/crypt_util.c (bad_for_salt): New.
40250 (_ufc_setup_salt_r): Check that salt is long enough and within
40251 the specified alphabet.
40252 * crypt/badsalttest.c: New file.
40253 * crypt/Makefile (tests): Add it.
40254 ($(objpfx)badsalttest): New.
40256 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40258 * NEWS: Add entry for BZ #14602.
40260 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40262 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40264 * math/libm-test.inc: Update comment listing what functions and
40266 (isgreater_test): New function.
40267 (isgreaterequal_test): Likewise.
40268 (isless_test): Likewise.
40269 (islessequal_test): Likewise.
40270 (islessgreater_test): Likewise.
40271 (isunordered_test): Likewise.
40272 (main): Call the new functions.
40274 2012-10-09 Roland McGrath <roland@hack.frob.com>
40276 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40277 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40278 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40279 * sysdeps/i386/configure: Regenerated.
40280 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40281 * sysdeps/mach/configure: Regenerated.
40282 * sysdeps/mach/hurd/configure: Regenerated.
40283 * sysdeps/powerpc/configure: Regenerated.
40284 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40285 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40286 * sysdeps/s390/s390-32/configure: Regenerated.
40287 * sysdeps/s390/s390-64/configure: Regenerated.
40288 * sysdeps/sh/configure: Regenerated.
40289 * sysdeps/sparc/configure: Regenerated.
40290 * sysdeps/unix/sysv/linux/configure: Regenerated.
40291 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40292 * sysdeps/x86_64/configure: Regenerated.
40294 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40295 defined. Don't check if MAP is NULL.
40297 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40299 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40300 (_G_stat64): Likewise.
40301 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40302 (_G_stat64): Likewise.
40303 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40304 instead of struct _G_stat64.
40305 * libio/fileops.c (mmap_remap_check): Likewise.
40306 (decide_maybe_mmap): Likewise.
40307 (_IO_new_file_seekoff): Likewise.
40308 (_IO_file_stat): Likewise.
40309 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40311 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40312 instead of struct _G_stat64.
40313 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40315 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40318 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40320 (CHECK_EOL): New macro.
40321 (two_way_short_needle): Check beginning of haystack for EOL. Use
40323 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40324 Replace with CHECK_EOL.
40325 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40326 Replace with CHECK_EOL.
40328 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40330 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40332 * math/libm-test.inc: Update comment listing what functions and
40334 (finite_test): New function.
40335 (isinf_test): Likewise.
40336 (isnan_test): Likewise.
40337 (fpclassify_test): Test subnormal input.
40338 (isfinite_test): Likewise.
40339 (isnormal_test): Likewise.
40340 (main): Call the new functions.
40342 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40345 * Makerules (%.dynsym): Force C locale when running
40346 $(OBJDUMP) --dynamic-syms.
40348 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40350 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40353 2012-10-06 David S. Miller <davem@davemloft.net>
40355 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40356 upper 32-bits of the length value in %o2 since we use branch-on-register
40357 tests which consider the entire 64-bit register.
40359 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40361 * string/test-strstr.c (check2): Add a test for page boundary.
40363 2012-10-05 David S. Miller <davem@davemloft.net>
40365 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40366 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40368 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40370 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40371 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40372 and bzero when HWCAP_SPARC_CRYPTO is present.
40374 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40377 * string/test-strstr.c (check2): New function.
40378 (test_main): Call check2.
40380 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40382 * string/bug-strcasestr1.c (do_test): Moved to ...
40383 * string/test-strcasestr.c (check1): Here. New function.
40384 (do_one_test): Break out result checking code into ...
40385 (check_result): This. New function.
40386 (do_one_test): Call check_result.
40387 (test_main): Call check1.
40388 * string/bug-strchr1.c (do_test): Moved to ...
40389 * string/test-strchr.c (check1): Here. New function.
40390 (do_one_test): Break out result checking code into ...
40391 (check_result): This. New function.
40392 (do_one_test): Call check_result.
40393 (test_main): Call check1.
40394 * string/bug-strstr1.c (main): Moved to ...
40395 * string/test-strstr.c (check1): Here. New function.
40396 (do_one_test): Break out result checking code into ...
40397 (check_result): This. New function.
40398 (do_one_test): Call check_result.
40399 (test_main): Call check1.
40400 * string/bug-strcasestr1.c: Removed.
40401 * string/bug-strchr1.c: Likewise.
40402 * string/bug-strstr1.c: Likewise.
40404 * elf/Makefile (dl-routines): Add hwcaps.
40405 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40406 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40407 (_dl_important_hwcaps): Moved to ...
40408 * elf/dl-hwcaps.c: Here. New file.
40409 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40412 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40413 if IS_IN_rtld isn't defined.
40415 * elf/dl-support.c (_dl_sysinfo_map): New.
40416 Include "get-dynamic-info.h" and "setup-vdso.h".
40417 (_dl_non_dynamic_init): Call setup_vdso.
40418 * elf/dynamic-link.h: Don't include <assert.h>.
40419 (elf_get_dynamic_info): Moved to ...
40420 * elf/get-dynamic-info.h: Here. New file.
40421 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40422 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40423 * elf/setup-vdso.h: Here. New file.
40424 * elf/rtld.c: Include "setup-vdso.h".
40425 (dl_main): Call setup_vdso.
40427 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40429 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40430 creal in comment listing functions tested. List finite, isinf,
40431 isnan, isless, islessequal, isgreater, isgreaterequal,
40432 islessgreater, isunordered, lgamma_r and pow10 as functions and
40433 macros not tested. Mention which functions not tested are aliases
40434 for other functions. Fix typo. Note that signs of NaNs are not
40437 * scripts/config.guess: Update from config.git.
40438 * scripts/config.sub: Likewise.
40440 2012-10-04 Roland McGrath <roland@hack.frob.com>
40442 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40443 * misc/madvise.c (madvise): Renamed to __madvise.
40444 Make madvise a weak alias.
40445 * include/sys/mman.h: Declare __madvise.
40446 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40447 * sysdeps/unix/syscalls.list
40448 (madvise): Make __madvise the strong name, and madvise a weak alias.
40449 * sysdeps/unix/sysv/linux/syscalls.list
40450 (madvise, mmap): Remove redundant entries.
40451 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40452 * malloc/malloc.c (mtrim): Likewise.
40453 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40455 2012-10-03 Roland McGrath <roland@hack.frob.com>
40457 * sysdeps/mach/hurd/dl-cache.c: File removed.
40458 * config.h.in (USE_LDCONFIG): New #undef.
40459 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40460 * configure: Regenerated.
40461 * elf/Makefile (dl-routines): Add dl-cache only under
40462 [$(use-ldconfig) = yes].
40463 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40464 cache on [USE_LDCONFIG].
40465 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40467 * elf/rtld.c (dl_main): Likewise.
40469 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40471 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40472 _SC_LEVEL4_CACHE_LINESIZE.
40474 2012-10-03 Roland McGrath <roland@hack.frob.com>
40476 * sysdeps/unix/bsd/confstr.h: File removed.
40478 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40480 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40483 2012-10-02 Roland McGrath <roland@hack.frob.com>
40485 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40486 Make 'mapoff' field ElfW(Off) rather than off_t.
40488 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40490 * nscd/Makefile: Remove nscd-cflags and all its users.
40491 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40492 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40495 * malloc.c (malloc_printerr): Clarify error message.
40497 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40501 Set bit_FMA_Usable if FMA is supported.
40502 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40504 (bit_FMA4_Usable): Updated.
40505 (index_FMA_Usable): New macro.
40506 (CPUID_FMA): Likewise
40507 (HAS_FMA): Defined with bit_FMA_Usable.
40509 2012-10-01 Roland McGrath <roland@hack.frob.com>
40511 * bits/types.h (__swblk_t): Type removed.
40512 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40513 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40514 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40515 (__SWBLK_T_TYPE): Likewise.
40516 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40517 (__SWBLK_T_TYPE): Likewise.
40518 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40519 (__SWBLK_T_TYPE): Likewise.
40520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40521 (__SWBLK_T_TYPE): Likewise.
40523 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40524 Honza Horak <hhorak@redhat.com>
40526 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40527 (xdr_mapname): Use YPMAXMAP as maxsize.
40528 (xdr_peername): Use YPMAXPEER as maxsize.
40529 (xdr_keydat): Use YPAXRECORD as maxsize.
40530 (xdr_valdat): Use YPMAXRECORD as maxsize.
40532 2012-10-01 Roland McGrath <roland@hack.frob.com>
40534 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40536 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40537 * csu/init-first.c: ... here.
40538 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40539 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40540 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40541 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40542 * sysdeps/i386/init-first.c: File removed.
40543 * sysdeps/sh/init-first.c: File removed.
40545 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40549 if x * y might underflow to zero and z is zero.
40550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40551 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40552 * math/libm-test.inc (min_subnorm_value): New variable.
40553 (fma_test): Add more tests.
40554 (fma_test_towardzero): Likewise.
40555 (fma_test_downward): Likewise
40556 (fma_test_upward): Likewise.
40557 (initialize): Set min_subnorm_value.
40559 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40564 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40565 mode for addition resulting in exact zero.
40566 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40569 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40570 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40571 * math/libm-test.inc (fma_test): Add more tests.
40572 (fma_test_towardzero): New function.
40573 (fma_test_downward): Likewise.
40574 (fma_test_upward): Likewise.
40575 (main): Call the new functions.
40577 2012-09-28 David S. Miller <davem@davemloft.net>
40579 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40581 2012-09-28 Roland McGrath <roland@hack.frob.com>
40583 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40584 instead of SIGALRM.
40586 * sysdeps/gnu/_G_config.h: Moved to ...
40587 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40588 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40589 * sysdeps/generic/_G_config.h: ... here.
40591 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40593 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40595 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40596 Conditionalize target on [libnss_test1.so-version].
40598 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40600 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40601 (elfobjdir): Move out of conditionals.
40603 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40604 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40605 (__nss_lookup_function): Conditionalize label remove_from_tree on
40606 [!DO_STATIC_NSS || SHARED], matching its only use.
40608 2012-09-28 David S. Miller <davem@davemloft.net>
40610 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40611 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40613 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40615 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40616 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40617 when HWCAP_SPARC_CRYPTO is present.
40619 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40621 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40623 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40626 * stdio-common/vfprintf.c (process_string_arg): Revert
40629 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40631 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40633 * stdio-common/tst-sprintf.c: Include <locale.h>
40634 (main): Test sprintf's handling of incomplete multibyte
40637 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40639 * elf/dl-runtime.c (VERSYMIDX): Removed.
40640 * elf/dl-version.c (VERSYMIDX): Likewise.
40641 * elf/do-rel.h (VERSYMIDX): Likewise.
40642 (VALIDX): Likewise.
40643 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40644 * elf/rtld.c (VALIDX): Likewise.
40645 (ADDRIDX): Likewise.
40646 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40647 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40648 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40649 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40650 (VALIDX): Likewise.
40651 (ADDRIDX): Likewise.
40653 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40655 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40657 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40660 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40662 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40663 addresses are in the same scope as 192.0.2/24.
40664 * posix/gai.conf: Document new scope table defaults.
40666 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40669 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40670 for ftell. Compute offsets from write pointers instead.
40671 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40673 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40676 * libio/Makefile (tests): New test case tst-fseek.
40677 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40678 combination works in wide mode.
40679 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40680 state when the external buffer state changes.
40682 2012-09-27 David S. Miller <davem@davemloft.net>
40685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40686 pass reloc->r_addend in as the 'high' argument to
40687 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40691 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40693 * rt/tst-aio2.c: Include <pthread.h>.
40694 * rt/tst-aio3.c: Likewise.
40696 2012-09-27 Steve Ellcey <sellcey@mips.com>
40698 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40700 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40702 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40703 contents on [SHARED].
40705 2012-09-26 Marek Polacek <polacek@redhat.com>
40709 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40710 for C++ and GCC <4.3 as well as for non GCC compilers.
40712 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40716 2012-09-25 Roland McGrath <roland@hack.frob.com>
40718 * Makefile.in (all, install): Declare with .PHONY.
40719 Reported by Michael Hope <michael.hope@linaro.org>.
40721 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40723 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40724 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40726 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40728 (sydep_routines): Add the new and the internal functions.
40729 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40730 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40732 (GLIBC_2.17): Add the new function.
40733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40734 (GLIBC_2.17): Likewise.
40735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40736 (GLIBC_2.17): Likewise.
40737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40738 (GLIBC_2.17): Likewise.
40739 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40741 2012-09-25 Alan Modra <amodra@gmail.com>
40743 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40744 Add release barrier before setting once_control to say
40745 initialisation is done. Add hints on lwarx. Use macro in
40747 (clear_once_control): Add release barrier.
40749 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40752 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40754 * math/s_clog10.c (__clog10): Likewise.
40755 * math/s_clog10f.c (__clog10f): Likewise.
40756 * math/s_clog10l.c (__clog10l): Likewise.
40757 * math/s_clogf.c (__clogf): Likewise.
40758 * math/s_clogl.c (__clogl): Likewise.
40759 * math/Makefile (libm-calls): Add x2y2m1.
40760 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40761 (__x2y2m1): Likewise.
40762 (__x2y2m1l): Likewise.
40763 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40764 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40765 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40766 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40767 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40768 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40769 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40770 * sysdeps/i386/fpu/libm-test-ulps: Update.
40771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40774 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40775 int as type of variable DEPTH.
40776 (glob): Use size_t instead of int as type of variables NEWCOUNT
40779 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40781 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40782 Add s_sincosf-sse2.
40783 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40784 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40785 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40786 macros for using routine as __sincosf_ia32.
40787 Use macro for function declaration and weak_alias.
40788 * sysdeps/i386/fpu/libm-test-ulps: Update.
40790 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40793 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40794 subnormal argument.
40795 * math/s_cexpf.c (__cexpf): Likewise.
40796 * math/s_csinf.c (__csinf): Likewise.
40797 * math/s_csinhf.c (__csinhf): Likewise.
40798 * math/s_ctanf.c (__ctanf): Likewise.
40799 * math/s_ctanhf.c (__ctanhf): Likewise.
40800 * math/s_ccosh.c (__ccoshf): Likewise.
40801 * math/s_cexp.c (__cexpl): Likewise.
40802 * math/s_csin.c (__csin): Likewise.
40803 * math/s_csinh.c (__csinh): Likewise.
40804 * math/s_ctan.c (__ctan): Likewise.
40805 * math/s_ctanh.c (ctanh): Likewise.
40806 * math/s_ccoshl.c (__ccoshl): Likewise.
40807 * math/s_cexpl.c (__cexpl): Likewise.
40808 * math/s_csinl.c (__csinl): Likewise.
40809 * math/s_csinhl.c (__csinhl): Likewise.
40810 * math/s_ctanl.c (__ctanl): Likewise.
40811 * math/s_ctanhl.c (__ctanhl): Likewise.
40813 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40815 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40816 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40817 (_IO_off_t): Define to __off_t, not _G_off_t.
40818 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40819 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40820 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40821 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40822 type of __dummy and __dummy2 fields.
40823 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40824 (_G_ssize_t): Likewise.
40825 (_G_off_t): Likewise.
40826 (_G_pid_t): Likewise.
40827 (_G_uid_t): Likewise.
40828 (_G_wchar_t): Likewise.
40829 (_G_wint_t): Likewise.
40830 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40831 (_G_ssize_t): Likewise.
40832 (_G_off_t): Likewise.
40833 (_G_pid_t): Likewise.
40834 (_G_uid_t): Likewise.
40835 (_G_wchar_t): Likewise.
40836 (_G_wint_t): Likewise.
40837 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40838 (_G_ssize_t): Likewise.
40839 (_G_off_t): Likewise.
40840 (_G_pid_t): Likewise.
40841 (_G_uid_t): Likewise.
40842 (_G_wchar_t): Likewise.
40843 (_G_wint_t): Likewise.
40845 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40847 * malloc/arena.c: Include malloc-sysdep.h.
40848 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40849 is sufficient to shrink the heap or an unmap is needed.
40850 * sysdeps/generic/malloc-sysdep.h: New file. Define
40851 new function check_may_shrink_heap.
40852 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40853 new function check_may_shrink_heap.
40855 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40857 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40860 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40862 * catgets/test-gencat.sh: Add "set -e".
40863 * elf/tst-pathopt.sh: Likewise.
40864 * grp/tst_fgetgrent.sh: Likewise.
40865 * iconvdata/run-iconv-test.sh: Likewise.
40866 * intl/tst-gettext.sh: Likewise.
40867 * intl/tst-gettext2.sh: Likewise.
40868 * intl/tst-gettext4.sh: Likewise.
40869 * intl/tst-gettext6.sh: Likewise.
40870 * intl/tst-translit.sh: Likewise.
40871 * io/ftwtest-sh: Likewise.
40872 * libio/test-freopen.sh: Likewise.
40873 * malloc/tst-mtrace.sh: Likewise.
40874 * posix/globtest.sh: Likewise.
40875 * posix/tst-getconf.sh: Likewise.
40876 * posix/wordexp-tst.sh: Likewise.
40877 * stdio-common/tst-printf.sh: Likewise.
40878 * stdio-common/tst-unbputc.sh: Likewise.
40879 * stdlib/tst-fmtmsg.sh: Likewise.
40880 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40881 * catgets/Makefile: Do not specify -e option when running
40882 testsuite shell scripts.
40883 * elf/Makefile: Likewise.
40884 * grp/Makefile: Likewise.
40885 * iconvdata/Makefile: Likewise.
40886 * intl/Makefile: Likewise.
40887 * io/Makefile: Likewise.
40888 * libio/Makefile: Likewise.
40889 * malloc/Makefile: Likewise.
40890 * posix/Makefile: Likewise.
40891 * stdio-common/Makefile: Likewise.
40892 * stdlib/Makefile: Likewise.
40893 * sysdeps/x86_64/Makefile: Likewise.
40895 * io/ftwtest-sh: Add copyright header.
40896 * posix/globtest.sh: Likewise.
40897 * posix/tst-getconf.sh: Likewise.
40898 * posix/wordexp-tst.sh: Likewise.
40899 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40901 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40904 * Makeconfig (+link): Defined as $(+link-static) if
40905 $(build-shared) isn't yes.
40906 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40908 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40910 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40913 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40914 new chunk size with MALLOC_ALIGN_MASK.
40916 2012-09-24 Joseph Myers <joseph@codesourcery.com>
40919 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40921 (__printf_fphex): Determine rounding using get_rounding_mode and
40923 * stdio-common/tst-printf-round.c (struct hex_test): New
40925 (hex_tests): New variable.
40926 (test_hex_in_one_mode): New function.
40927 (do_test): Also run tests for hex float output.
40929 2012-09-21 Joseph Myers <joseph@codesourcery.com>
40931 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40932 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40933 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40934 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40935 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40936 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40937 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40938 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40940 2012-09-20 Joseph Myers <joseph@codesourcery.com>
40942 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40943 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40944 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40945 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40947 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40950 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40952 * elf/tst-rtld-load-self.sh: New test.
40953 * elf/Makefile: Run it.
40955 2012-09-18 Joseph Myers <joseph@codesourcery.com>
40957 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40958 (tst-writev-ENV): Remove.
40959 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40961 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40963 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40965 2012-09-17 Joseph Myers <joseph@codesourcery.com>
40967 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40969 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40971 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40972 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40973 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40976 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40979 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40980 * config.make.in (have-cpp-asm-debuginfo): Removed.
40981 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40982 * configure: Regenerated.
40984 2012-09-14 Joseph Myers <joseph@codesourcery.com>
40987 * stdio-common/printf_fp.c: Include <stdbool.h> and
40989 (___printf_fp): Determine rounding using get_rounding_mode and
40991 * stdio-common/tst-printf-round.c: New file.
40992 * stdio-common/Makefile (tests): Add tst-printf-round.
40993 (link-libm): New variable.
40994 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40996 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40999 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41000 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41002 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41005 2012-09-13 Joseph Myers <joseph@codesourcery.com>
41007 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41008 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41009 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41010 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41012 2012-09-12 Joseph Myers <joseph@codesourcery.com>
41015 * include/rounding-mode.h: New file.
41016 * sysdeps/generic/get-rounding-mode.h: Likewise.
41017 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41018 * stdlib/strtod_l.c: Include <rounding-mode.h>.
41019 (MAX_VALUE): New macro.
41020 (MIN_VALUE): Likewise.
41021 (overflow_value): New function.
41022 (underflow_value): Likewise.
41023 (round_and_return): Use overflow_value and underflow_value to
41024 determine return values in overflow and underflow cases. Use
41025 round_away to determine rounding depending on rounding mode.
41026 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41027 determine return values in overflow and underflow cases.
41028 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41029 (struct test_results): New structure.
41030 (struct test): Use struct test_results to store expected results
41031 for all rounding modes.
41032 (TEST): Include expected results for all rounding modes.
41033 (test_in_one_mode): New function.
41034 (do_test): Use test_in_one_mode to compute and check results.
41035 Check results for all rounding modes.
41036 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41039 2012-12-09 Allan McRae <allan@archlinux.org>
41041 * sysdeps/i386/fpu/libm-test-ulps: Update
41043 2012-09-11 Joseph Myers <joseph@codesourcery.com>
41045 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41046 (_G_int32_t): Likewise.
41047 (_G_uint16_t): Likewise.
41048 (_G_uint32_t): Likewise.
41049 (_G_HAVE_BOOL): Likewise.
41050 (_G_HAVE_ATEXIT): Likewise.
41051 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41052 (_G_HAVE_IO_FILE_OPEN): Likewise.
41053 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41054 (_G_int32_t): Likewise.
41055 (_G_uint16_t): Likewise.
41056 (_G_uint32_t): Likewise.
41057 (_G_HAVE_BOOL): Likewise.
41058 (_G_HAVE_ATEXIT): Likewise.
41059 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41060 (_G_HAVE_IO_FILE_OPEN): Likewise.
41061 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41062 (_G_int32_t): Likewise.
41063 (_G_uint16_t): Likewise.
41064 (_G_uint32_t): Likewise.
41065 (_G_HAVE_BOOL): Likewise.
41066 (_G_HAVE_ATEXIT): Likewise.
41067 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41068 (_G_HAVE_IO_FILE_OPEN): Likewise.
41070 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41072 * csu/libc-tls.c: Update copyright years.
41074 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41076 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41077 [!_G_USING_THUNKS]: Remove conditional code.
41078 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41079 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41081 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41082 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41083 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41084 (_G_VTABLE_LABEL_PREFIX): Likewise.
41085 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41086 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41087 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41088 (_G_VTABLE_LABEL_PREFIX): Likewise.
41089 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41090 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41091 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41092 (_G_VTABLE_LABEL_PREFIX): Likewise.
41093 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41095 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41097 * libio/Makefile: Include ../Makeconfig before tests.
41098 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41099 only if $(build-shared) is yes.
41101 * iconv/gconv_db.c: Update copyright years.
41103 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41105 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41106 unwind info if defined PIC. Fix special cases description.
41107 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41109 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41111 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41113 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41115 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41117 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41120 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41121 (LDLIBS-tst-chk4): This.
41122 (LDFLAGS-tst-chk5): Renamed to ...
41123 (LDLIBS-tst-chk5): This.
41124 (LDFLAGS-tst-chk6): Renamed to ...
41125 (LDLIBS-tst-chk6): This.
41126 (LDFLAGS-tst-lfschk4): Renamed to ...
41127 (LDLIBS-tst-lfschk4): This.
41128 (LDFLAGS-tst-lfschk5): Renamed to ...
41129 (LDLIBS-tst-lfschk5): This.
41130 (LDFLAGS-tst-lfschk6): Renamed to ...
41131 (LDLIBS-tst-lfschk6): This.
41133 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41134 on $(common-objpfx)soversions.mk.
41136 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41139 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41142 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41144 * malloc/arena.c (arena_get_retry): New function that gets
41145 another arena for the caller to try its request on.
41146 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41147 current arena cannot fulfill the request.
41148 (__libc_memalign): Likewise.
41149 (__libc_memalign): Likewise.
41150 (__libc_pvalloc): Likewise.
41151 (__libc_calloc): Likewise.
41153 2012-09-05 John Tobey <john.tobey@gmail.com>
41156 * manual/arith.texi (Operations on Complex): Fix description
41157 of carg branch cut.
41159 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41162 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41166 * manual/memory.texi (Memory): Make order of menu items match
41169 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41171 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41172 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41173 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41175 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41177 * csu/libc-tls.c (static_dtv): Renamed to ...
41178 (_dl_static_dtv): This. Make it global.
41179 (_dl_initial_dtv): Removed.
41180 (__libc_setup_tls): Updated.
41181 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41182 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41185 2012-09-06 Petr Machata <pmachata@redhat.com>
41187 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41188 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41189 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41190 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41192 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41195 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41196 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41199 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41202 * Makeconfig (link-static-before-libc): Replace $(+prector)
41204 (link-static-after-libc): Replace $(+postctor) with
41206 (link-bounded): Replace $(+prector)/$(+postctor) with
41207 $(+prectorT)/$(+postctorT).
41208 (+prectorT): New macro.
41209 (+postctorT): Likewise.
41211 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41213 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41214 (round_str): Handle values above the maximum for IBM long double
41216 * stdlib/tst-strtod-round.c (tests): Regenerated.
41218 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41220 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41222 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41223 zarch_nohighgprs around the zarch optimized routines.
41224 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41225 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41229 2012-09-05 David S. Miller <davem@davemloft.net>
41231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41233 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41234 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41235 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41236 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41239 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41241 * malloc/arena.c: Fold copyright years.
41242 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41244 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41246 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41248 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41250 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41252 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41254 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41255 change internal state upon failure.
41257 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41259 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41260 * malloc/memusage.c (mmap): Likewise.
41261 (mmap64, mremap): Likewise. Adjust name in comment.
41263 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41265 * libio/fileops.c: Fix typos in comments.
41266 * libio/oldfileops.c: Likewise.
41267 * libio/wfileops.c: Likewise.
41269 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41272 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41273 (tst-malloc-usable-ENV): Set environment for test case.
41274 * malloc/hooks.c (malloc_check_get_size): New function to get
41276 * malloc/malloc.c (musable): Use malloc_check_get_size.
41277 * malloc/tst-malloc-usable.c: New test case.
41279 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41281 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41283 2012-09-05 Allan McRae <allan@archlinux.org>
41286 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41287 determine header location.
41288 * configure: Regenerated.
41290 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41292 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41294 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41295 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41297 (test): Regenerate.
41299 2012-09-04 David S. Miller <davem@davemloft.net>
41301 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41302 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41303 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41305 2012-09-04 Florian Weimer <fweimer@redhat.com>
41307 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41310 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41312 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41315 * libio/iogetdelim.c: Include <limits.h>.
41316 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41317 + len + 1 would overflow.
41319 2012-09-03 Andreas Jaeger <aj@suse.de>
41321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41322 * sysdeps/i386/fpu/libm-test-ulps: Update.
41324 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41326 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41327 Add s_sinf-sse2, s_conf-sse2.
41329 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41330 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41331 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41332 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41334 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41335 for using routine as __sinf_ia32.
41336 Use macro for function declaration and weak_alias.
41337 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41338 for using routine as __cosf_ia32.
41339 Use macro for function declaration and weak_alias.
41341 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41342 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41344 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41345 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41348 * math/libm-test.inc (cos_test): Add more test cases.
41349 (sin_test): Likewise.
41350 (sincos_test): Likewise.
41352 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41354 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41355 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41357 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41359 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41362 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41363 first element of the GOT.
41364 (elf_machine_load_address): Return the difference between
41365 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41367 2012-09-01 Allan McRae <allan@archlinux.org>
41370 * configure.in (AWK): Require gawk version 3.0 or later.
41371 * configure: Regenerated.
41373 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41375 * sysdeps/unix/sysv/linux/kernel-features.h
41376 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41377 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41378 [__NR_clock_getres]: Make code unconditional.
41379 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41380 (clock_getcpuclockid): Remove code left unreachable by removal of
41382 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41383 code unconditional.
41384 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41385 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41386 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41387 Make code unconditional.
41388 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41389 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41390 * sysdeps/unix/sysv/linux/clock_settime.c
41391 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41393 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41394 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41396 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41399 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41400 scripts/test-installation.pl.
41402 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41403 and $ld_so_version if it is set.
41405 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41408 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41409 failure if reading from procfs failed.
41410 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41412 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41414 * sysdeps/unix/sysv/linux/kernel-features.h
41415 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41416 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41417 Remove conditional code.
41418 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41419 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41420 Remove conditional code.
41421 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41422 * sysdeps/unix/sysv/linux/i386/fxstat.c
41423 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41424 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41425 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41426 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41427 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41428 * sysdeps/unix/sysv/linux/i386/lxstat.c
41429 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41430 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41431 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41432 Remove conditional code.
41433 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41434 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41435 Remove conditional code.
41436 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41437 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41438 <kernel-features.h>.
41439 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41441 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41442 Remove conditional code.
41443 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41444 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41445 Remove conditional.
41447 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41450 * NEWS: Add fixed bug number.
41452 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41455 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41456 underflowing exponent in case of negative sign.
41457 * stdlib/tst-strtod-round-data: Add more tests.
41458 * stdlib/tst-strtod-round.c (tests): Regenerated.
41461 * stdlib/strtod_l.c (NDIG): Remove.
41462 (HEXNDIG): Likewise.
41463 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41464 smallest representable value.
41465 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41466 lie within an exact representation of 1/2 ulp of the result.
41467 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41469 (TENS_P9_IDX): Define unconditionally.
41470 (TENS_P9_SIZE): Likewise.
41471 (TENS_P10_IDX): Likewise.
41472 (TENS_P10_SIZE): Likewise.
41473 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41474 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41475 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41476 entries for 10^2^13 and 10^2^14.
41477 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41478 (TENS_P13_IDX): Define.
41479 (TENS_P13_SIZE): Likewise.
41480 (TENS_P14_IDX): Likewise.
41481 (TENS_P14_SIZE): Likewise.
41482 (_fpioconst_pow10): Change array size to
41483 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41485 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41486 1024]: Add entries for 10^2^13 and 10^2^14.
41487 [LAST_POW10 > _LAST_POW10]: Remove #error.
41488 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41489 (_fpioconst_pow10): Change array size to
41490 FPIOCONST_POW10_ARRAY_SIZE.
41491 * stdlib/gen-fpioconst.c: New file.
41492 * stdlib/gen-tst-strtod-round.c: Likewise.
41493 * stdlib/tst-strtod-round-data: Likewise.
41494 * stdlib/tst-strtod-round.c: Likewise.
41495 * stdlib/Makefile (tests): Add tst-strtod-round.
41498 * stdlib/strtod_l.c: Include <stdint.h>.
41499 (NDEBUG): Do not define.
41500 (round_and_return): Change EXPONENT parameter to type intmax_t.
41501 Rearrange calculations to avoid internal overflow possibilities.
41502 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41503 Rearrange calculations to avoid internal overflow possibilities.
41504 Assert that number fits inside MPNSIZE limbs.
41505 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41506 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41507 calculations and add assertions to avoid internal overflow
41508 possibilities. Add casts to avoid signed/unsigned operations.
41509 * stdlib/tst-strtod-overflow.c: New file.
41510 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41512 2012-08-25 Marek Polacek <polacek@redhat.com>
41514 * time/time.h: Fix some typos in comments.
41516 2012-08-23 Roland McGrath <roland@hack.frob.com>
41518 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41519 * posix/tst-rfc3484-2.c: Likewise.
41520 * posix/tst-rfc3484-3.c: Likewise.
41522 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41524 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41525 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41527 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41529 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41530 #include of fxstatat64.c.
41532 2012-08-22 Roland McGrath <roland@hack.frob.com>
41534 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41535 * shadow/getspent_r.c: Likewise.
41536 * shadow/getspnam.c: Likewise.
41537 * shadow/getspnam_r.c: Likewise.
41538 * gshadow/getsgent.c: Likewise.
41539 * gshadow/getsgent_r.c: Likewise.
41540 * gshadow/getsgnam.c: Likewise.
41541 * gshadow/getsgnam_r.c: Likewise.
41542 * inet/getnetbyad.c: Likewise.
41543 * inet/getnetbyad_r.c: Likewise.
41544 * inet/getnetbynm.c: Likewise.
41545 * inet/getnetbynm_r.c: Likewise.
41546 * inet/getnetent.c: Likewise.
41547 * inet/getnetent_r.c: Likewise.
41548 * inet/getproto.c: Likewise.
41549 * inet/getproto_r.c: Likewise.
41550 * inet/getprtent.c: Likewise.
41551 * inet/getprtent_r.c: Likewise.
41552 * inet/getprtname.c: Likewise.
41553 * inet/getprtname_r.c: Likewise.
41554 * inet/getrpcbyname.c: Likewise.
41555 * inet/getrpcbyname_r.c: Likewise.
41556 * inet/getrpcbynumber.c: Likewise.
41557 * inet/getrpcbynumber_r.c: Likewise.
41558 * inet/getrpcent.c: Likewise.
41559 * inet/getrpcent_r.c: Likewise.
41560 * inet/getaliasent.c: Likewise.
41561 * inet/getaliasent_r.c: Likewise.
41562 * inet/getaliasname.c: Likewise.
41563 * inet/getaliasname_r.c: Likewise.
41564 * nscd/getgrgid_r.c: Likewise.
41565 * nscd/getgrnam_r.c: Likewise.
41566 * nscd/gethstbyad_r.c: Likewise.
41567 * nscd/gethstbynm3_r.c: Likewise.
41568 * nscd/getpwnam_r.c: Likewise.
41569 * nscd/getpwuid_r.c: Likewise.
41570 * nscd/getsrvbynm_r.c: Likewise.
41571 * nscd/getsrvbypt_r.c: Likewise.
41572 * nscd/gai.c: Likewise.
41574 * configure.in (build_nscd): New substituted variable, set
41575 by --disable-build-nscd and defaults to $use_nscd.
41576 * configure: Regenerated.
41577 * config.make.in (build-nscd): New substituted variable.
41578 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41579 Change conditional to require [$(build-nscd) = yes] as well.
41580 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41583 * configure.in (use_nscd): New substituted variable, set by
41584 --disable-nscd. If enabled, define USE_NSCD.
41585 * configure: Regenerated.
41586 * config.h.in: Add USE_NSCD.
41587 * config.make.in (use-nscd): New substituted variable.
41588 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41589 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41590 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41591 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41592 (CFLAGS-getgrnam_r.c): Likewise.
41593 (CFLAGS-initgroups.c): Likewise.
41594 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41595 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41597 * inet/getnetgrent_r.c
41598 (nscd_setnetgrent): New function, broken out of ...
41599 (setnetgrent): ... here. Call it.
41600 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41601 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41602 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41603 * nscd/Makefile (routines, aux): Move definitions after include of
41604 Makeconfig. Conditionalize on [$(use-nscd) != no].
41605 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41606 Conditionalize on [USE_NSCD].
41607 (is_nscd, nscd_init_cb): Likewise.
41608 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41609 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41610 * nss/nss_db/db-init.c: Likewise.
41611 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41613 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41614 (make_request): Use it.
41615 (cache_valid_p): New function.
41616 (__check_pf): Use it.
41617 * NEWS: Add item for --disable-nscd.
41619 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41621 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41622 to support sed >= 4.2.1-20-ga9bf076.
41623 * configure: Regenerated.
41625 2012-08-22 Roland McGrath <roland@hack.frob.com>
41627 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41628 Conditionalize whole body on [IREL].
41630 2012-08-22 Jeff Law <law@redhat.com>
41633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41634 if the family is PF_UNSPEC.
41636 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41638 * Makerules (lib-version): Rename from V.
41639 (install-lib-nosubdir): Change V to lib-version.
41641 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41644 * powerpc32/power6/wcschr.c: New file.
41645 * powerpc32/power6/wcscpy.c: New file.
41646 * powerpc32/power6/wcsrchr.c: New file.
41647 * powerpc64/power6/wcschr.c: New file.
41648 * powerpc64/power6/wcscpy.c: New file.
41649 * powerpc64/power6/wcsrchr.c: New file.
41651 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41653 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41654 (two_way_short_needle): Use it.
41655 * string/strstr.c (AVAILABLE1_USES_J): Define.
41656 * string/strcasestr.c: Likewise.
41658 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41660 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41663 * NEWS: Add an entry.
41664 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41665 define their defaults.
41666 (two_way_short_needle): Detect end-of-string on-the-fly.
41667 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41668 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41669 * string/bug-strcasestr1.c: New test.
41670 * string/Makefile: Run it.
41672 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41675 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41676 the first character.
41678 2012-08-21 Roland McGrath <roland@hack.frob.com>
41680 * csu/elf-init.c (__libc_csu_irel): Function removed.
41681 * csu/libc-start.c (apply_irel): New function.
41682 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41684 2012-08-21 Joseph Myers <joseph@codesourcery.com>
41686 * sysdeps/unix/sysv/linux/kernel-features.h
41687 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41688 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41689 <kernel-features.h>.
41690 [__NR_fadvise64_64]: Make code unconditional.
41691 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41692 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41693 !__NR_fadvise64_64)]: Likewise.
41694 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41695 !__NR_fadvise64_64))]: Likewise.
41696 [__NR_fadvise64]: Make code unconditional.
41697 [!__NR_fadvise64]: Remove conditional code.
41698 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41699 <kernel-features.h>.
41700 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41702 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41705 not include <kernel-features.h>.
41706 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41708 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41710 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41711 include <kernel-features.h>.
41712 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41714 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41717 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41719 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41720 slight instruction rearrangements per scrollpipe analysis.
41721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41723 2012-08-20 Roland McGrath <roland@hack.frob.com>
41725 * manual/syslog.texi (syslog; vsyslog, closelog):
41726 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41727 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41729 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41730 DSOCAPS to match condition on defining it.
41732 2012-08-20 Joseph Myers <joseph@codesourcery.com>
41734 * sysdeps/unix/sysv/linux/kernel-features.h
41735 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41737 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41738 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41740 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41741 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41743 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41744 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41746 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41747 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41749 * sysdeps/unix/sysv/linux/kernel-features.h
41750 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41751 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41753 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41754 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41755 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41756 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41757 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41758 Make code unconditional.
41759 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41760 (__mmap64) [!__NR_mmap2]: Likewise.
41761 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41762 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41763 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41764 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41765 [__NR_mmap2]: Make code unconditional.
41766 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41767 (__mmap64) [!__NR_mmap2]: Likewise.
41769 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41771 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41773 2012-08-18 Andreas Jaeger <aj@suse.de>
41775 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41777 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41779 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41780 * include/unistd.h (__have_sock_cloexec): Likewise.
41781 (__have_pipe2): Likewise.
41782 (__have_dup3): Likewise.
41784 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41787 * include/unistd.h (__have_pipe2): Change define into an extern int.
41788 (__have_dup3): Likewise.
41789 * socket/have_sock_cloexec.c: Include fcntl.h.
41790 (__have_pipe2): New variable.
41791 (__have_dup3): Likewise.
41793 2012-08-17 Mike Frysinger <vapier@gentoo.org>
41795 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41797 2012-08-17 Marek Polacek <polacek@redhat.com>
41799 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41800 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41802 2012-08-17 Roland McGrath <roland@hack.frob.com>
41804 * configure.in: Add AC_SUBST for sysheaders.
41805 * configure: Regenerated.
41806 * config.make.in (sysheaders): New substituted variable.
41808 * sysdeps/unix/mkfifo.c: Moved ...
41809 * sysdeps/posix/mkfifo.c: ... here.
41810 * sysdeps/unix/mkfifoat.c: Moved ...
41811 * sysdeps/posix/mkfifoat.c: ... here.
41813 * sysdeps/unix/utime.c: Moved ...
41814 * sysdeps/posix/utime.c: ... here.
41816 * sysdeps/unix/time.c: Moved ...
41817 * sysdeps/posix/time.c: ... here.
41818 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41819 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41821 * sysdeps/unix/nice.c: Moved ...
41822 * sysdeps/posix/nice.c: ... here.
41824 * sysdeps/unix/alarm.c: Moved ...
41825 * sysdeps/posix/alarm.c: ... here.
41827 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41829 2012-08-17 Jeff Law <law@redhat.com>
41831 * intl/Makefile (codeset_mo): New variable.
41832 ($(codeset_mo)): New target.
41833 (tst-codeset.out): Depend on that. Remove explicit rule.
41834 (tst-gettext3.out, tst-gettext5.out): Likewise.
41835 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41836 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41837 * intl/tst-codeset.sh: Remove.
41838 * intl/tst-gettext3.sh: Likewise.
41839 * intl/tst-gettext5.sh: Likewise.
41841 2012-08-17 Roland McGrath <roland@hack.frob.com>
41843 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41844 * sysdeps/unix/syscalls.list: ... here.
41846 * sysdeps/posix/getaddrinfo.c
41847 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41848 (gaiconf_init, gaiconf_reload): Use them.
41849 [!_STATBUF_ST_NSEC]
41850 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41851 Define using time_t rather than struct timespec.
41853 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41854 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41856 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41858 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41859 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41862 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41863 __libc_cleanup_push argument.
41865 * bits/param.h: New file.
41866 * misc/sys/param.h: New file.
41867 * include/sys/param.h: New file.
41868 * misc/Makefile (headers): Add bits/param.h.
41869 * sysdeps/generic/sys/param.h: File removed.
41870 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41871 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41872 * sysdeps/mach/hurd/bits/param.h: New file.
41873 * sysdeps/mach/hurd/sys/param.h: File removed.
41875 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41878 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41880 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41881 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41884 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41885 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41886 rather than -D_IO_MTSAFE_IO conditionally.
41887 * stdio-common/Makefile (CPPFLAGS): Likewise.
41888 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41889 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41890 Use $(libio-mtsafe).
41891 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41892 of -D_IO_MTSAFE_IO.
41893 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41894 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41895 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41896 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41897 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41898 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41899 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41900 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41901 (CFLAGS-fread_u_chk.c): Likewise.
41902 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41903 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41904 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41905 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41906 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41907 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41908 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41909 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41910 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41912 * libio/Makefile: Test [$(libc-reentrant) = yes]
41913 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41916 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41917 * sysdeps/pthread/configure: File removed.
41918 * sysdeps/pthread/Makeconfig: New file.
41919 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41920 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41922 2012-08-16 Gary Benson <gbenson@redhat.com>
41924 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41925 unmapping the first object in a namespace.
41927 2012-08-16 Roland McGrath <roland@hack.frob.com>
41929 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41930 (__internal_setnetgrent): ... this. Add internal_function to
41931 definition. Add libc_hidden_def.
41932 (setnetgrent): Update caller.
41933 (internal_endnetgrent): Renamed to ...
41934 (__internal_endnetgrent): ... this. Add internal_function to
41935 definition. Add libc_hidden_def.
41936 (endnetgrent): Update caller.
41937 (internal_getnetgrent_r): Renamed to ...
41938 (__internal_getnetgrent_r): ... this. Add internal_function to
41939 definition. Add libc_hidden_def.
41940 (__getnetgrent_r): Update caller.
41941 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41943 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41945 * stdlib/longlong.h: Update from GCC.
41947 2012-08-16 Roland McGrath <roland@hack.frob.com>
41949 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41950 on _QL, which is set by umul_ppmm but never used.
41951 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41952 variables, which are set by GMP macros but never used.
41953 * stdio-common/_itowa.c (_itowa): Likewise.
41954 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41955 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41957 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41959 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41960 struct La_sh_regs is not constant.
41961 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41962 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41963 and struct La_sparc64_regs are not constant.
41965 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41967 * sysdeps/unix/sysv/linux/kernel-features.h
41968 (__ASSUME_POSIX_TIMERS): Remove.
41969 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41970 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41971 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41972 Make code unconditional.
41973 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41974 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41975 Make code unconditional.
41976 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41977 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41978 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41979 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41980 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41981 Make code unconditional.
41982 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41983 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41984 (__libc_missing_posix_timers): Remove.
41986 2012-08-15 Roland McGrath <roland@hack.frob.com>
41988 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41989 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41991 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41993 * elf/dl-sym.c: Include <stdlib.h>.
41995 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41996 constants, which avoids warnings in 32-bit builds.
41998 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41999 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42001 * misc/lseek.c: File moved to ...
42002 * io/lseek.c: ... here.
42004 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42006 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42007 shifting LEN more than 31 bits at once.
42009 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42012 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42013 segmentation fault for a case of two empty input strings.
42014 * string/test-strncasecmp.c (check1): Renamed to...
42015 (bz12205): ...this.
42016 (bz14195): Add new testcase for two empty input strings and N > 0.
42017 (test_main): Call new testcase, adapt for renamed function.
42019 2012-08-15 Andreas Jaeger <aj@suse.de>
42022 * crypt/md5test2.c: New test, based on test supplied by Serge
42023 Belyshev <belyshev@depni.sinp.msu.ru>.
42024 * crypt/Makefile (xtests): Add md5test-giant..
42025 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42027 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42030 * crypt/md5.c (md5_process_block): Don't assume the buffer
42031 length is less than 2**32.
42032 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42033 length is less than 2**64.
42035 2012-08-15 Roland McGrath <roland@hack.frob.com>
42037 * string/str-two-way.h: Include <sys/param.h>.
42038 (MAX): Macro removed.
42040 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42041 Move #define and #undef of memmove to just before and after
42042 including <string.h>.
42044 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42045 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42046 and after including <string.h>. Move declarations of
42047 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42048 to before #include "string/memmove.c".
42050 * include/dirent.h: Declare __getdirentries.
42052 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42053 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42055 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42057 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42058 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42059 * sysdeps/i386/configure: Regenerated.
42060 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42061 STABS_CURRENT_FILE, and STABS_FUN.
42062 (END): Remove call to STABS_FUN_END.
42063 (STABS_CURRENT_FILE1): Delete.
42064 (STABS_CURRENT_FILE): Likewise.
42065 (STABS_FUN): Likewise.
42066 (STABS_FUN_END): Likewise.
42067 (STABS_FUN2): Likewise.
42068 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42069 * sysdeps/x86_64/configure: Regenerated.
42071 2012-08-14 Roland McGrath <roland@hack.frob.com>
42073 * elf/dl-open.c: Include <atomic.h>.
42074 * elf/dl-lookup.c: Likewise.
42076 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42078 * sysdeps/unix/sysv/linux/kernel-features.h
42079 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42080 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42082 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42084 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42085 condition on __ASSUME_CLONE_THREAD_FLAGS.
42087 2012-08-14 Andreas Jaeger <aj@suse.de>
42089 * sysdeps/i386/fpu/libm-test-ulps: Update.
42091 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42093 * include/atomic.h (atomic_exchange_and_add): Split into ...
42094 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42097 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42101 2012-08-13 Jeff Law <law@redhat.com>
42103 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42104 null byte in the output string.
42106 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42108 * sysdeps/unix/sysv/linux/kernel-features.h
42109 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42110 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42111 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42112 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42113 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42114 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42115 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42117 2012-08-09 Jeff Law <law@redhat.com>
42120 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42121 When avoid_arena is set, don't retry in the that arena. Pick the
42122 next one, whatever it might be.
42123 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42124 (arena_lock): Pass in new parameter to arena_get2.
42125 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42127 (__libc_malloc): Unify retrying after main arena failure with
42128 __libc_memalign version.
42129 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42131 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42134 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42135 to __redirect_strstr.
42136 (__strstr_sse42): Use typeof __redirect_strstr.
42137 (__strstr_ia32): Likewise.
42138 (__libc_strstr): New prototype.
42139 (strstr): Renamed to ...
42140 (__libc_strstr): This.
42141 (strstr): New strong alias of __libc_strstr.
42142 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42143 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42146 (__libc_time): New prototype.
42147 (time_ifunc): Replace time with __libc_time.
42148 (time): New strong alias and hidden definition of __libc_time.
42149 (__GI_time): Remove strong alias.
42150 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42151 Include <stddef.h>.
42152 (memmove): Redefined to __redirect_memmove.
42153 (__memmove_sse2): Use typeof __redirect_memmove.
42154 (__memmove_ssse3): Likewise.
42155 (__memmove_ssse3_back): Likewise.
42156 (__libc_memmove): New prototype.
42157 (memmove): Renamed to ...
42158 (__libc_memmove): This.
42159 (memmove): New strong alias of __libc_memmove.
42161 2012-08-08 Mark Salter <msalter@redhat.com>
42164 (R_MN10300_TLS_GD): Define.
42165 (R_MN10300_TLS_LD): Likewise.
42166 (R_MN10300_TLS_LDO): Likewise.
42167 (R_MN10300_TLS_GOTIE): Likewise.
42168 (R_MN10300_TLS_IE): Likewise.
42169 (R_MN10300_TLS_LE): Likewise.
42170 (R_MN10300_TLS_DTPMOD): Likewise.
42171 (R_MN10300_TLS_DTPOFF): Likewise.
42172 (R_MN10300_TLS_TPOFF): Likewise.
42173 (R_MN10300_SYM_DIFF): Likewise.
42174 (R_MN10300_ALIGN): Likewise.
42175 (R_MN10300_NUM): Update.
42177 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42179 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42182 2012-08-08 Roland McGrath <roland@hack.frob.com>
42184 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42186 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42187 sysdeps/unix -> sysdeps/posix move.
42188 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42190 2012-08-07 Allan McRae <allan@archlinux.org>
42193 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42194 (SUNOS_CPP): Likewise.
42195 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42197 (open_input): Call CPP using execvp.
42199 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42201 * sysdeps/unix/sysv/linux/kernel-features.h
42202 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42203 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42204 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42205 (__ASSUME_WAITID_SYSCALL): Likewise.
42206 * sysdeps/unix/sysv/linux/dl-execstack.c
42207 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42208 code unconditional.
42209 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42211 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42212 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42213 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42215 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42217 [__ASSUME_WAITID_SYSCALL]: Likewise.
42218 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42220 2012-08-07 Roland McGrath <roland@hack.frob.com>
42222 * sysdeps/unix/closedir.c: Renamed to ...
42223 * sysdeps/posix/closedir.c: ... here.
42224 * sysdeps/unix/dirfd.c: Renamed to ...
42225 * sysdeps/posix/dirfd.c: ... here.
42226 * sysdeps/unix/dirstream.h: Renamed to ...
42227 * sysdeps/posix/dirstream.h: ... here.
42228 * sysdeps/unix/fdopendir.c: Renamed to ...
42229 * sysdeps/posix/fdopendir.c: ... here.
42230 * sysdeps/unix/opendir.c: Renamed to ...
42231 * sysdeps/posix/opendir.c: ... here.
42232 * sysdeps/unix/readdir.c: Renamed to ...
42233 * sysdeps/posix/readdir.c: ... here.
42234 * sysdeps/unix/readdir_r.c: Renamed to ...
42235 * sysdeps/posix/readdir_r.c: ... here.
42236 * sysdeps/unix/rewinddir.c: Renamed to ...
42237 * sysdeps/posix/rewinddir.c: ... here.
42238 * sysdeps/unix/seekdir.c: Renamed to ...
42239 * sysdeps/posix/seekdir.c: ... here.
42240 * sysdeps/unix/telldir.c: Renamed to ...
42241 * sysdeps/posix/telldir.c: ... here.
42242 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42243 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42244 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42245 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42247 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42248 * bits/fcntl.h: ... here.
42250 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42252 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42253 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42254 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42255 (struct flock): Move l_start, l_len to the beginning.
42256 Use __pid_t for l_pid.
42257 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42258 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42259 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42260 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42261 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42262 [__USE_LARGEFILE64] (struct flock64): New type.
42263 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42265 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42266 * bits/dirent.h: ... here.
42268 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42269 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42271 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42274 Change from 2.6.0 to 2.6.16.
42275 * sysdeps/unix/sysv/linux/configure: Regenerated.
42276 * sysdeps/unix/sysv/linux/kernel-features.h
42277 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42278 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42280 (__ASSUME_UTIMES): Likewise.
42281 (__ASSUME_CLONE_STOPPED): Remove.
42282 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42283 architectures, not kernel version.
42284 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42285 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42286 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42287 (__ASSUME_WAITID_SYSCALL): Likewise.
42288 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42289 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42290 * README: State 2.6.16 as minimum Linux kernel version. Do not
42291 refer to older versions.
42293 2012-08-06 Roland McGrath <roland@hack.frob.com>
42295 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42296 Define alphasort64 as an alias.
42297 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42298 Define versionsort64 as an alias.
42299 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42300 Define scandir64 as an alias.
42301 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42302 Define scandirat64 as an alias.
42303 * dirent/alphasort64.c (alphasort64):
42304 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42305 * dirent/versionsort64.c: Likewise.
42306 * dirent/scandir64.c: Likewise.
42307 * dirent/scandirat64.c: Likewise.
42308 * sysdeps/wordsize-64/alphasort.c: File removed.
42309 * sysdeps/wordsize-64/alphasort64.c: File removed.
42310 * sysdeps/wordsize-64/scandir.c: File removed.
42311 * sysdeps/wordsize-64/scandir64.c: File removed.
42312 * sysdeps/wordsize-64/scandirat.c: File removed.
42313 * sysdeps/wordsize-64/scandirat64.c: File removed.
42314 * sysdeps/wordsize-64/versionsort.c: File removed.
42315 * sysdeps/wordsize-64/versionsort64.c: File removed.
42316 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42317 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42318 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42319 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42320 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42321 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42322 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42323 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42325 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42326 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42327 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42329 [defined __arch64__ || defined __sparcv9]
42330 (__INO_T_MATCHES_INO64_T): New macro.
42331 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42332 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42333 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42334 * sysdeps/unix/sysv/linux/bits/dirent.h
42335 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42336 (_DIRENT_MATCHES_DIRENT64): New macro.
42338 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42339 Define lockf64 as an alias.
42340 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42341 Define fseeko64 as an alias.
42342 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42343 Define ftello64 as an alias.
42344 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42345 Define _IO_fgetpos64 and fgetpos64 as aliases.
42346 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42347 Define _IO_fsetpos64 and fsetpos64 as aliases.
42348 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42349 Conditionalize body on this.
42350 * libio/fseeko64.c: Likewise.
42351 * libio/ftello64.c: Likewise.
42352 * libio/iofgetpos64.c: Likewise.
42353 * libio/iofsetpos64.c: Likewise.
42354 * sysdeps/wordsize-64/lockf.c: File removed.
42355 * sysdeps/wordsize-64/lockf64.c: File removed.
42356 * sysdeps/wordsize-64/fseeko.c: File removed.
42357 * sysdeps/wordsize-64/fseeko64.c: File removed.
42358 * sysdeps/wordsize-64/ftello.c: File removed.
42359 * sysdeps/wordsize-64/ftello64.c: File removed.
42360 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42361 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42362 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42363 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42364 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42366 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42367 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42368 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42369 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42370 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42371 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42372 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42375 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42377 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42378 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42379 [defined __arch64__ || defined __sparcv9]
42380 (__OFF_T_MATCHES_OFF64_T): New macro.
42381 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42382 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42383 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42384 (__OFF_T_MATCHES_OFF64_T): New macro.
42386 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42388 * stdlib/secure-getenv.c (__secure_getenv): Replace
42389 GLIBC_2_16 with GLIBC_2_17.
42391 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42393 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42394 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42396 2012-08-03 David S. Miller <davem@davemloft.net>
42398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42400 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42402 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42404 (__ASSUME_CORRECT_SI_PID): Likewise.
42405 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42406 (__ASSUME_TMPFS_NAME): Likewise.
42407 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42408 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42409 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42410 (HAVE_AUX_SECURE): Make definition unconditional.
42411 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42412 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42414 2012-08-03 Roland McGrath <roland@hack.frob.com>
42416 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42417 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42418 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42420 __eloop_threshold instead of SYMLOOP_MAX.
42422 * sysdeps/generic/eloop-threshold.h: New file.
42423 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42425 * elf/chroot_canon.c (chroot_canon): Likewise.
42427 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42430 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42431 Change to 2.6.0 everywhere.
42432 * sysdeps/unix/sysv/linux/configure: Regenerated.
42433 * sysdeps/unix/sysv/linux/kernel-features.h
42434 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42435 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42437 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42438 (__ASSUME_FUTEX_REQUEUE): Remove.
42439 (__ASSUME_STATFS64): Define unconditionally.
42440 (__ASSUME_AT_SECURE): Likewise.
42441 (__ASSUME_CORRECT_SI_PID): Likewise.
42442 (__ASSUME_TGKILL): Define without depending on kernel version for
42444 (__ASSUME_UTIMES): Likewise.
42445 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42447 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42448 (__ASSUME_TMPFS_NAME): Likewise.
42449 * README: Update reference to Linux kernel versions.
42451 2012-08-02 Marek Polacek <polacek@redhat.com>
42454 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42455 libc_cv_asm_type_prefix with %.
42456 * configure: Regenerated.
42457 * include/libc-symbols.h: Remove comment about
42458 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42459 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42460 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42461 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42462 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42463 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42464 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42465 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42466 * elf/tst-unique2mod1.c: Likewise.
42467 * elf/tst-unique1mod2.c: Likewise.
42468 * elf/tst-unique1mod1.c: Likewise.
42469 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42470 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42471 Replace ASM_TYPE_DIRECTIVE with .type.
42472 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42473 * sysdeps/i386/sysdep.h: Likewise.
42474 * sysdeps/x86_64/sysdep.h: Likewise.
42475 * sysdeps/sh/sysdep.h: Likewise.
42476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42477 Do not define ASM_TYPE_DIRECTIVE.
42478 * sysdeps/powerpc/sysdep.h: Likewise.
42479 * sysdeps/powerpc/powerpc32/sysdep.h:
42480 Replace ASM_TYPE_DIRECTIVE with .type.
42481 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42482 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42483 * sysdeps/i386/fpu/e_powf.S: Likewise.
42484 * sysdeps/i386/fpu/e_expl.S: Likewise.
42485 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42486 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42487 * sysdeps/i386/fpu/e_pow.S: Likewise.
42488 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42489 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42490 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42491 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42492 * sysdeps/i386/fpu/e_log2.S: Likewise.
42493 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42494 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42495 * sysdeps/i386/fpu/e_powl.S: Likewise.
42496 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42497 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42498 * sysdeps/i386/fpu/e_logl.S: Likewise.
42499 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42500 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42501 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42502 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42503 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42504 * sysdeps/i386/fpu/e_log.S: Likewise.
42505 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42506 * sysdeps/i386/fpu/e_logf.S: Likewise.
42507 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42508 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42509 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42510 * sysdeps/i386/fpu/e_log10.S: Likewise.
42511 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42512 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42513 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42514 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42515 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42516 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42517 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42518 * sysdeps/i386/i686/strtok.S: Likewise.
42519 * sysdeps/i386/i386-mcount.S: Likewise.
42520 * sysdeps/i386/strtok.S: Likewise.
42521 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42522 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42523 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42524 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42525 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42526 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42527 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42528 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42529 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42530 * sysdeps/x86_64/_mcount.S: Likewise.
42531 * sysdeps/x86_64/strtok.S: Likewise.
42532 * sysdeps/sh/_mcount.S: Likewise.
42534 2012-08-01 Roland McGrath <roland@hack.frob.com>
42536 * libio/iofopen.c: Include <fcntl.h>.
42537 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42538 (_IO_fopen64, fopen64): Define as aliases.
42539 * libio/iofopen64.c: Include <fcntl.h>.
42540 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42541 Conditionalize body on this.
42542 * sysdeps/wordsize-64/iofopen.c: File removed.
42543 * sysdeps/wordsize-64/iofopen64.c: File removed.
42545 2012-08-01 Marek Polacek <polacek@redhat.com>
42547 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42548 Use dlfcn directly instead of a variable.
42549 (binfmt-subdir): Do not define.
42552 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42554 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42555 Remove all definitions.
42556 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42557 <kernel-features.h>.
42558 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42559 (miss_F_GETOWN_EX): Remove all definitions.
42560 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42562 [!__ASSUME_FCNTL64]: Remove conditional code.
42563 [__ASSUME_FCNTL64]: Make code unconditional.
42564 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42565 <kernel-features.h>.
42566 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42567 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42568 (lockf64) [__NR_fcntl64]: Make code unconditional.
42569 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42571 * sysdeps/unix/sysv/linux/kernel-features.h
42572 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42573 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42574 Make code unconditional.
42575 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42576 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42578 [__NR_vfork]: Make code unconditional.
42579 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42580 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42582 [__NR_vfork]: Make code unconditional.
42583 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42584 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42586 2012-08-01 Roland McGrath <roland@hack.frob.com>
42588 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42589 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42591 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42592 Define mkstemp64 as an alias.
42593 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42594 Define mkstemps64 as an alias.
42595 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42596 Define mkostemp64 as an alias.
42597 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42598 Define mkostemps64 as an alias.
42599 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42600 Conditionalize body on this.
42601 * misc/mkostemp64.c: Likewise.
42602 * misc/mkostemps64.c: Likewise.
42603 * misc/mkstemps64.c: Likewise.
42604 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42605 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42606 * sysdeps/wordsize-64/mkostemp.c: File removed.
42607 * sysdeps/wordsize-64/mkstemp.c: File removed.
42608 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42609 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42610 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42611 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42614 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42615 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42616 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42617 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42619 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42620 compat_symbol macros from <shlib-compat.h> rather than the underlying
42621 default_symbol_version and symbol_version macros, so that DEFAULT
42622 lines in shlib-versions are respected.
42623 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42625 2012-08-01 Florian Weimer <fweimer@redhat.com>
42627 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42628 Declare with warn_unused_result.
42629 (setgid, setregid, setegid, setresgid): Likewise.
42630 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42632 * WUR-REPORT: Remove set*id functions.
42634 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42636 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42638 2012-07-31 Roland McGrath <roland@hack.frob.com>
42641 * include/sys/socket.h (__libc_accept, __libc_accept4):
42642 Add attribute_hidden.
42643 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42645 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42647 * inet/getnetgrent_r.c (setup): Likewise.
42649 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42651 2012-07-31 David S. Miller <davem@davemloft.net>
42653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42655 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42658 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42659 value between 1.0 and 2.0 and smaller part has absolute value less
42661 * math/s_clog10.c (__clog10): Likewise.
42662 * math/s_clog10f.c (__clog10f): Likewise.
42663 * math/s_clog10l.c (__clog10l): Likewise.
42664 * math/s_clogf.c (__clogf): Likewise.
42665 * math/s_clogl.c (__clogl): Likewise.
42666 * math/libm-test.inc (clog_test): Add more tests.
42667 (clog10_test): Likewise.
42668 * sysdeps/i386/fpu/libm-test-ulps: Update.
42669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42671 2012-07-31 Florian Weimer <fweimer@redhat.com>
42673 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42674 Exit with zero in case no suitable GID is found, and write a
42675 message to standard error.
42677 2012-07-30 Roland McGrath <roland@hack.frob.com>
42679 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42681 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42682 (MAXPATHLEN): Removed.
42683 (NOGROUP, NODEV): New macros.
42684 (setbit, clrbit, isset, isclr): New macros.
42685 (howmany, roundup, powerof2): New macros.
42686 (DEV_BSIZE): New macro.
42688 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42689 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42691 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42692 definition on [!__NO_LONG_DOUBLE_MATH].
42694 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42695 PTR_MANGLE and PTR_DEMANGLE.
42697 * socket/accept4.c (accept4): Rename to __libc_accept4.
42698 Define accept4 as a weak alias.
42700 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42701 on [_DIRENT_HAVE_D_TYPE].
42702 * io/ftw.c (ftw_dir): Likewise.
42704 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42706 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42708 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42709 Use the BSD numbers rather than the arbitrary ones we had.
42710 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42711 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42712 (SIGXCPU, SIGXFSZ): New macros.
42715 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42716 initializer on [_LIBC_REENTRANT].
42718 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42719 definitions inside [_POSIX_MAPPED_FILES].
42721 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42723 * dirent/opendir.c: Include <fcntl.h>.
42725 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42726 (__libc_getspecific): Likewise.
42727 (__libc_key_create): Likewise.
42729 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42730 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42731 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42732 (tmpfile64): Define as alias.
42733 * sysdeps/wordsize-64/tmpfile.c: File removed.
42734 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42735 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42736 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42738 * stdio-common/vfscanf.c: Include <stdbool.h>.
42739 * nss/makedb.c: Likewise.
42740 * stdio-common/_i18n_number.h: Likewise.
42741 * argp/argp-help.c: Likewise.
42742 * posix/wordexp.c: Likewise.
42743 * sysdeps/posix/spawni.c: Likewise.
42744 * nss/nss_files/files-initgroups.c: Likewise.
42745 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42746 * nss/nss_files/files-initgroups.c: Likewise.
42747 * nss/nss_db/db-netgrp.c: Likewise.
42748 * nss/nss_db/db-initgroups.c: Likewise.
42749 * io/fchmodat.c: Include <sys/stat.h>.
42751 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42752 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42754 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42757 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42758 Add multiple inclusion protection.
42760 2012-07-27 David S. Miller <davem@davemloft.net>
42762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42764 2012-07-27 Gary Benson <gbenson@redhat.com>
42767 * elf/rtld.c: Include <stap-probe.h>.
42768 (dl_main): Added static probes "init_start" and "init_complete".
42769 * elf/dl-load.c: Include <stap-probe.h>.
42770 (lose): Take new parameter "nsid".
42771 Added static probe "map_failed".
42772 (_dl_map_object_from_fd): Pass namespace id to lose.
42773 Added static probe "map_start".
42774 (open_verify): Pass namespace id to lose.
42775 * elf/dl-open.c: Include <stap-probe.h>.
42776 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42777 and "reloc_complete".
42778 * elf/dl-close.c: Include <stap-probe.h>.
42779 (_dl_close_worker): Added static probes "unmap_start" and
42781 * elf/rtld-debugger-interface.txt: New file documenting the above.
42783 2012-07-26 Roland McGrath <roland@hack.frob.com>
42785 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42786 rather than a string variable.
42787 * sunrpc/rpc_main.c (h_output): Likewise.
42788 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42790 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42792 * inet/check_native.c: New file.
42794 2012-07-26 Joseph Myers <joseph@codesourcery.com>
42797 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42798 if larger part has absolute value 1.0.
42799 * math/s_clog10.c (__clog10): Likewise.
42800 * math/s_clog10f.c (__clog10f): Likewise.
42801 * math/s_clog10l.c (__clog10l): Likewise.
42802 * math/s_clogf.c (__clogf): Likewise.
42803 * math/s_clogl.c (__clogl): Likewise.
42804 * math/libm-test.inc (clog_test): Add more tests.
42805 (clog10_test): Likewise.
42806 * sysdeps/i386/fpu/libm-test-ulps: Update.
42807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42809 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42810 (pltexit): Likewise.
42811 (La_regs): Likewise.
42812 (La_retval): Likewise.
42813 (int_retval): Likewise.
42814 Update #error for removed macros to refer only to definitions in
42816 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42818 (pltexit): Likewise.
42819 (La_regs): Likewise.
42820 (La_retval): Likewise.
42821 (int_retval): Likewise.
42822 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42824 (pltexit): Likewise.
42825 (La_regs): Likewise.
42826 (La_retval): Likewise.
42827 (int_retval): Likewise.
42828 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42830 (pltexit): Likewise.
42831 (La_regs): Likewise.
42832 (La_retval): Likewise.
42833 (int_retval): Likewise.
42834 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42836 (pltexit): Likewise.
42837 (La_regs): Likewise.
42838 (La_retval): Likewise.
42839 (int_retval): Likewise.
42840 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42842 (pltexit): Likewise.
42843 (La_regs): Likewise.
42844 (La_retval): Likewise.
42845 (int_retval): Likewise.
42846 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42848 (pltexit): Likewise.
42849 (La_regs): Likewise.
42850 (La_retval): Likewise.
42851 (int_retval): Likewise.
42852 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42853 macro definitions in tst-audit.h.
42854 * sysdeps/i386/tst-audit.h: New file.
42855 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42856 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42857 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42858 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42859 * sysdeps/sh/tst-audit.h: Likewise.
42860 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42861 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42862 * sysdeps/x86_64/tst-audit.h: Likewise.
42864 2012-07-26 Andreas Jaeger <aj@suse.de>
42866 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42869 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42870 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42871 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42873 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42874 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42875 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42877 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42880 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42882 (si_call_addr, si_syscall, si_arch): Define new macro.
42883 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42885 (si_call_addr, si_syscall, si_arch): Define new marcro.
42886 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42888 (si_call_addr, si_syscall, si_arch): Define new macro.
42889 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42891 (si_call_addr, si_syscall, si_arch): Define new macro.
42893 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42896 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42897 Change to 2.4.21 where previously 2.4.1.
42898 * sysdeps/unix/sysv/linux/configure: Regenerated.
42899 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42900 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42901 Linux kernel version.
42902 (__ASSUME_STD_AUXV): Remove.
42903 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42905 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42906 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42907 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42908 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42909 (__ASSUME_NETLINK_SUPPORT): Likewise.
42910 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42911 (__no_netlink_support): Remove conditional definition.
42912 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42914 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42915 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42916 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42917 (if_nameindex_ioctl): Remove.
42918 (if_nameindex_netlink): Do not handle __no_netlink_support.
42919 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42921 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42922 Remove conditional code.
42923 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42925 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42927 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42928 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42929 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42931 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42932 [!__ASSUME_STD_AUXV]: Remove conditional code.
42933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42934 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42935 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42937 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42938 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42940 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42942 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42943 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42945 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42947 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42950 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42953 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42954 code unconditional.
42955 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42957 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42959 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42962 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42964 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42967 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42968 code unconditional.
42969 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42971 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42973 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42976 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42977 code unconditional.
42978 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42980 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42982 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42985 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42987 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42988 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42989 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42990 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42991 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42992 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42993 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42994 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42995 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42996 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42997 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42998 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42999 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43000 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43001 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43002 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43003 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43005 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43007 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43008 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43009 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43011 2012-07-25 Florian Weimer <fweimer@redhat.com>
43013 * Versions.def: Add GLIBC_2.17.
43014 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43015 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43016 Introduce __libc_secure_getenv.
43017 * stdlib/Versions (2.17): Add secure_getenv
43018 (GLIBC_PRIVATE): Add __libc_secure_getenv.
43019 * stdlib/secure-getenv.c: Rename __secure_getenv to
43020 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
43021 symbol __secure_getenv for GLIBC_2.0.
43022 * stdlib/tst-secure-getenv.c: New.
43023 * stdlib/Makefile (tests): Add testcase.
43024 * manual/startup.texi (Environment Access): Document
43026 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43027 __libc_secure_getenv.
43028 * inet/ruserpass.c (ruserpass): Likewise.
43029 * malloc/mtrace.c (mtrace): Likewise.
43030 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43031 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43032 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43033 * sysdeps/posix/tempname.c: Likewise. Evaluate
43034 HAVE_SECURE_GETENV.
43035 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43036 __secure_getenv to __libc_secure_getenv.
43037 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43044 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43050 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43052 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43053 (struct La_i86_retval): Likewise.
43054 (struct La_x86_64_regs): Likewise.
43055 (struct La_x86_64_retval): Likewise.
43056 (struct La_x32_regs): Likewise.
43057 (struct La_x32_retval): Likewise.
43058 (struct La_ppc32_regs): Likewise.
43059 (struct La_ppc32_retval): Likewise.
43060 (struct La_ppc64_regs): Likewise.
43061 (struct La_ppc64_retval): Likewise.
43062 (struct La_sh_regs): Likewise.
43063 (struct La_sh_retval): Likewise.
43064 (struct La_s390_32_regs): Likewise.
43065 (struct La_s390_32_retval): Likewise.
43066 (struct La_s390_64_regs): Likewise.
43067 (struct La_s390_64_retval): Likewise.
43068 (struct La_sparc32_regs): Likewise.
43069 (struct La_sparc32_retval): Likewise.
43070 (struct La_sparc64_regs): Likewise.
43071 (struct La_sparc64_retval): Likewise.
43072 (struct audit_ifaces): Remove architecture-specific pltenter and
43074 * sysdeps/i386/ldsodefs.h: New file.
43075 * sysdeps/powerpc/ldsodefs.h: Likewise.
43076 * sysdeps/s390/ldsodefs.h: Likewise.
43077 * sysdeps/sh/ldsodefs.h: Likewise.
43078 * sysdeps/sparc/ldsodefs.h: Likewise.
43079 * sysdeps/x86_64/ldsodefs.h: Likewise.
43081 2012-07-25 Marek Polacek <polacek@redhat.com>
43084 * math/libm-test.inc (yn_test): Add another test.
43085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43086 to ERANGE when the result is +-Inf.
43087 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43088 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43089 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43090 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43092 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43094 * conform/data/time.h-data (NULL): Use macro-constant. Require
43096 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43098 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43100 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43102 * configure.in <sysdeps resolving>: Correct printing
43104 * configure: Regenerate.
43106 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43108 * math/w_ilogb.c: Include <limits.h>.
43109 * math/w_ilogbl.c: Likewise.
43111 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43113 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43114 va_copy. Document allowing for unavailable va_copy only as
43115 pre-C99 compatibility.
43116 * manual/string.texi (Copying and Concatenation): Use va_copy
43117 instead of __va_copy in concat example.
43119 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43121 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43122 (__sendto): Use create_address_port. Initialize APORT and deallocate
43125 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43126 with O_NOLINK passed to __file_name_lookup.
43128 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43129 with O_NOLINK passed to __file_name_lookup.
43131 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43132 negative N or less than NGIDS.
43134 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43135 type to string_t. Set ERANGE as errno and return it if NAME is not big
43136 enough. Use memcpy instead of strncpy.
43138 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43140 * elf/Makefile (check-data): Remove.
43141 (localplt.data): New vpath directive.
43142 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43143 instead of $(check-data).
43144 * scripts/data/localplt-generic.data: Move to ...
43145 * sysdeps/generic/localplt.data: ... here.
43146 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43147 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43148 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43151 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43154 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43157 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43160 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43163 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43167 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43169 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43170 PPC32 and PPC64 files.
43171 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43172 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43174 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43176 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43177 __makecontext_ret to ...
43178 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43179 ... here and call exit if uc_link is NULL. New file.
43180 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43181 __makecontext_ret.S.
43182 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43183 __makecontext_ret to ...
43184 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43185 ... here and call exit if uc_link is NULL. New file.
43186 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43187 __makecontext_ret.S.
43189 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43191 * elf/elf.h (R_390_IRELATIVE): New definition.
43192 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43193 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43194 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43195 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43196 (elf_machine_lazy_rel): Likewise.
43197 * sysdeps/s390/dl-irel.h: New file.
43198 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43199 * sysdeps/s390/s390-64/memset.S: New asm code.
43200 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43201 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43202 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43203 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43204 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43205 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43206 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43207 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43208 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43209 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43210 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43211 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43212 * sysdeps/s390/s390-32/memset.S: New asm code.
43213 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43215 2012-07-17 Marek Polacek <polacek@redhat.com>
43218 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43219 * sysdeps/s390/s390-64/configure.in: Likewise.
43220 * sysdeps/sparc/configure.in: Likewise.
43221 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43222 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43223 * sysdeps/i386/configure.in: Likewise.
43224 * sysdeps/x86_64/configure.in: Likewise.
43225 * sysdeps/sh/configure.in: Likewise.
43226 * sysdeps/s390/s390-32/configure: Regenerated.
43227 * sysdeps/s390/s390-64/configure: Likewise.
43228 * sysdeps/x86_64/configure: Likewise.
43229 * sysdeps/sh/configure: Likewise.
43230 * sysdeps/powerpc/powerpc64/configure: Likewise.
43231 * sysdeps/powerpc/powerpc32/configure: Likewise.
43232 * sysdeps/sparc/configure: Likwise.
43233 * sysdeps/i386/configure: Likewise.
43235 * elf/dl-open.c: Comment fixes.
43237 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43239 * Makefile [CXX] (check-data): Remove.
43240 [CXX] (c++-types.data): New vpath directive.
43241 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43242 vpath. Do not allow for C++ type data being missing.
43243 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43244 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43245 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43246 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43247 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43248 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43249 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43252 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43255 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43258 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43261 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43264 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43267 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43270 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43273 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43274 definitions to architecture-specific files.
43275 (TLS_IE): Likewise.
43276 (TLS_LD): Likewise.
43277 (TLS_GD): Likewise.
43278 * sysdeps/i386/tls-macros.h: New file.
43279 * sysdeps/powerpc/tls-macros.h: Likewise.
43280 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43281 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43282 * sysdeps/sh/tls-macros.h: Likewise.
43283 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43284 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43285 * sysdeps/x86_64/tls-macros.h: Likewise.
43287 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43289 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43290 zero value for regular exit case.
43292 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43293 (__start_context): Preserve zero value for regular exit case.
43295 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43296 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43298 * manual/setjmp.texi (setcontext): Clarify normal process
43299 termination when uc_link is the null pointer.
43300 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43303 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43305 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43306 preprocessor. Test for each exception mask separately.
43308 2012-07-16 Andreas Jaeger <aj@suse.de>
43310 * po/ru.po: Update from translation team.
43312 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43314 * conform/data/string.h-data (NULL): Use macro-constant. Require
43316 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43317 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43318 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43319 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43322 2012-07-13 Andreas Jaeger <aj@suse.de>
43324 * po/fr.po: Update from translation team.
43326 2012-07-12 Marek Polacek <polacek@redhat.com>
43329 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43330 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43333 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43336 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43337 Change to 2.4.1 where previously 2.4.0.
43338 * sysdeps/unix/sysv/linux/configure: Regenerated.
43339 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43340 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43342 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43343 (__ASSUME_AT_CLKTCK): Remove.
43344 (__ASSUME_AT_PAGESIZE): Likewise.
43345 (__ASSUME_AT_XID): Likewise.
43346 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43347 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43348 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43350 (HAVE_AUX_PAGESIZE): Likewise.
43351 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43352 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43353 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43355 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43359 the temporary buffer used to invoke __gethostbyname2_r,
43360 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43361 host_data / struct gaih_addrtuple.
43362 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43363 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43364 header file nss/nsswitch.h.
43365 * nss/nsswitch.h (global scope): Add definition of implementation
43366 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43367 resolv/nss_dns/dns-host.c).
43369 2012-07-11 Andreas Jaeger <aj@suse.de>
43371 * po/fr.po: Update from translation team.
43373 * po/sv.po: Update from translation team
43374 * po/fr.po: Another update from translation team.
43376 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43378 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43379 for subnormals or multiply small sinh result by itself.
43380 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43383 2012-07-11 David S. Miller <davem@davemloft.net>
43385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43387 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43390 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43391 (INTERNAL_MARK): Shift it here.
43393 2012-07-10 Marek Polacek <polacek@redhat.com>
43396 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43397 libc_cv_asm_global_directive with .globl.
43398 * configure: Regenerated.
43399 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43401 * sysdeps/i386/configure: Regenerated.
43402 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43404 * sysdeps/x86_64/configure: Regenerated.
43405 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43406 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43407 * elf/tst-unique2mod2.c: Likewise.
43408 * elf/tst-unique2mod1.c: Likewise.
43409 * elf/tst-unique1mod2.c: Likewise.
43410 * elf/tst-unique1mod1.c: Likewise.
43411 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43412 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43413 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43414 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43415 * sysdeps/mach/sysdep.h: Likewise.
43416 * sysdeps/i386/sysdep.h: Likewise.
43417 * sysdeps/i386/i386-mcount.S: Likewise.
43418 * sysdeps/x86_64/_mcount.S: Likewise.
43419 * sysdeps/x86_64/sysdep.h: Likewise.
43420 * sysdeps/sh/_mcount.S: Likewise.
43421 * sysdeps/sh/sysdep.h: Likewise.
43422 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43423 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43424 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43425 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43426 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43427 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43428 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43429 * locale/localeinfo.h: Likewise.
43430 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43431 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43433 2012-07-09 Roland McGrath <roland@hack.frob.com>
43436 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43438 * manual/message.texi (The Uniforum approach): Likewise.
43439 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43440 (glibc iconv Implementation): Likewise.
43442 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43445 * math/s_clog.c (__clog): Avoid scaling a value down where that
43446 could result in underflow.
43447 * math/s_clog10.c (__clog10): Likewise.
43448 * math/s_clog10f.c (__clog10f): Likewise.
43449 * math/s_clog10l.c (__clog10l): Likewise.
43450 * math/s_clogf.c (__clogf): Likewise.
43451 * math/s_clogl.c (__clogl): Likewise.
43452 * math/libm-test.inc (clog_test): Add more tests.
43453 (clog10_test): Likewise.
43454 * sysdeps/i386/fpu/libm-test-ulps: Update.
43455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43457 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43460 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43461 by 7 not 8 to examine high bit of fractional part.
43464 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43465 for call to __mcount_internal.
43466 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43467 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43468 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43470 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43473 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43474 approximation for values within 0x1p-13f of an odd multiple of
43476 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43477 exception. Add more tests.
43478 * sysdeps/i386/fpu/libm-test-ulps: Update.
43481 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43482 inputs and return -1 for them. Do not check for +Inf in case not
43483 reachable for +Inf.
43484 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43485 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43486 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43487 and return -1 for them. Do not check for +Inf in case not
43488 reachable for +Inf.
43489 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43491 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43492 and return -1 for them. Do not check for +Inf in case not
43493 reachable for +Inf.
43494 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43495 spurious underflow.
43496 * sysdeps/i386/fpu/libm-test-ulps: Update.
43497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43499 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43501 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43503 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43507 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43508 could result in spurious underflow. Scale down values above
43509 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43510 * math/s_csqrtf.c (__csqrtf): Likewise.
43511 * math/s_csqrtl.c (__csqrtl): Likewise.
43512 * math/libm-test.inc (csqrt_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-04 Andreas Schwab <schwab@linux-m68k.org>
43519 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43521 * catgets/xopen-msg.awk: New file.
43522 * catgets/xopen-msg.sed: Removed.
43524 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43526 * intl/po2test.awk: New file.
43527 * intl/po2test.sed: Removed.
43529 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43532 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43533 or multiply small sinh result by itself.
43534 * math/s_ctanf.c (__ctanf): Likewise.
43535 * math/s_ctanh.c (__ctanh): Likewise.
43536 * math/s_ctanhf.c (__ctanhf): Likewise.
43537 * math/s_ctanhl.c (__ctanhl): Likewise.
43538 * math/s_ctanl.c (__ctanl): Likewise.
43539 * math/libm-test.inc (ctan_test_tonearest): New function.
43540 (ctan_test_towardzero): Likewise.
43541 (ctan_test_downward): Likewise.
43542 (ctan_test_upward): Likewise.
43543 (ctanh_test_tonearest): Likewise.
43544 (ctanh_test_towardzero): Likewise.
43545 (ctanh_test_downward): Likewise.
43546 (ctanh_test_upward): Likewise.
43547 (main): Call these new functions.
43548 * sysdeps/i386/fpu/libm-test-ulps: Update.
43549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43551 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43553 * .gitignore: Delete /ports entry.
43555 2012-07-03 Andreas Jaeger <aj@suse.de>
43557 * po/bg.po: Update from translation team.
43558 * po/cs.po: Likewise.
43559 * po/de.po: Likewise.
43560 * po/hr.po: Likewise.
43561 * po/nl.pl: Likewise.
43562 * po/pl.po: Likewise.
43563 * po/vi.po: Likewise.
43565 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43567 * Makeconfig [!+link] (+link-before-libc): New variable.
43568 [!+link] (+link-after-libc): Likewise.
43569 [!+link] (+link-tests): Likewise.
43570 [!+link] (+link): Define in terms of $(+link-before-libc) and
43571 $(+link-after-libc).
43572 [!+link-static] (+link-static-before-libc): New variable.
43573 [!+link-static] (+link-static-after-libc): Likewise.
43574 [!+link-static] (+link-static-tests): Likewise.
43575 [!+link-static] (+link-static): Define in terms of
43576 $(+link-static-before-libc) and $(+link-static-after-libc).
43577 [build-shared] (link-libc-before-gnulib): New variable.
43578 [build-shared] (link-libc-tests): Likewise.
43579 [build-shared] (link-libc): Define in terms of
43580 $(link-libc-before-gnulib).
43581 [!build-shared] (link-libc-tests): New variable.
43582 (link-libc-static-tests): New variable.
43583 [!gnulib] (gnulib-arch): New variable.
43584 [!gnulib] (gnulib-tests): Likewise.
43585 [!gnulib] (static-gnulib-arch): Likewise.
43586 [!gnulib] (static-gnulib-tests): Likewise.
43587 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43588 Define with "=" instead of ":=".
43589 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43590 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43591 * Rules (binaries-all-notests): New variable.
43592 (binaries-all-tests): Likewise.
43593 (binaries-static-notests): Likewise.
43594 (binaries-static-tests): Likewise.
43595 (binaries-all): Define using $(binaries-all-notests) and
43596 $(binaries-all-tests).
43597 (binaries-static): Define using $(binaries-static-notests) and
43598 $(binaries-static-tests).
43599 (binaries-shared-tests): New variable.
43600 (binaries-shared-notests): Likewise.
43601 (binaries-shared): Remove variable.
43602 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43603 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43604 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43605 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43606 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43607 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43608 * elf/Makefile (sln-modules): New variable.
43609 (extra-objs): Add $(sln-modules:=.o).
43610 (ldconfig-modules): Add static-stubs.
43611 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43612 * elf/static-stubs.c: New file.
43615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43616 by 7 not 8 to examine high bit of fractional part. Use volatile
43617 variables when splitting into final array of floats if
43618 __FLT_EVAL_METHOD__ != 0.
43619 * math/libm-test.inc (cos_test): Add another test.
43620 (sin_test): Likewise.
43621 * sysdeps/i386/fpu/libm-test-ulps: Update.
43624 * math/libm-test.inc (cosh_test): Add more tests.
43626 * version.h (RELEASE): Set to "development".
43627 (VERSION): Set to "2.16.90".
43629 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43631 * NEWS: Update copyright. Remove last-updated date.
43632 Mention math library bug fixes and timezone data changes.
43633 * README: Mention GNU/Hurd, x32, and HPPA support status.
43635 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43637 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43639 2012-06-27 Andreas Jaeger <aj@suse.de>
43641 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43643 2012-06-25 Andreas Jaeger <aj@suse.de>
43645 * sysdeps/s390/fpu/libm-test-ulps: Update.
43647 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43648 Thomas Schwinge <thomas@codesourcery.com>
43650 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43651 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43652 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43655 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43657 * sysdeps/mach/start.c: Remove file.
43658 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43659 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43660 * sysdeps/sh/init-first.c: Likewise.
43662 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43663 registers for frame unwinding purposes, add CFI directives.
43664 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43665 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43666 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43669 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43670 __fortify_fail returning.
43671 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43673 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43674 sysdeps/sh/____longjmp_chk.S.
43675 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43676 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43677 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43678 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43680 * sysdeps/sh/abort-instr.h: New file.
43681 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43682 process in case exit returns.
43684 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43685 initialize the GOT register before use.
43687 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43688 calculation of ARGC > 4.
43690 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43691 meaningful names to some local labels.
43693 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43694 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43696 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43697 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43698 (__arch_compare_and_exchange_val_16_acq): Likewise.
43699 (__arch_compare_and_exchange_val_32_acq): Likewise.
43700 (atomic_exchange_and_add): Fix gUSA sequence.
43701 (atomic_add): Likewise.
43702 (atomic_add_negative): Likewise.
43703 (atomic_add_zero): Likewise.
43704 (atomic_bit_test_set): Likewise.
43706 2012-06-22 Andreas Schwab <schwab@redhat.com>
43709 * include/link.h (struct link_map): Add l_free_initfini.
43710 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43712 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43713 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43714 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43717 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43719 * configure.in: Use AC_LANG_SOURCE.
43720 * configure: Regenerate.
43722 2012-06-22 Roland McGrath <roland@hack.frob.com>
43724 * configure.in (libc_cv_localstatedir): New substituted variable.
43725 * configure: Regenerated.
43726 * config.make.in (localstatedir): New variable, substituted from
43727 libc_cv_localstatedir.
43728 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43729 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43730 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43731 * sysdeps/gnu/configure: Regenerated.
43733 2012-06-21 Jeff Law <law@redhat.com>
43736 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43737 free. Simplify list management for _LIBC case.
43739 2012-06-21 Joseph Myers <joseph@codesourcery.com>
43742 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43743 Clear sign bit of 64-bit integer value before comparing against
43746 * sysdeps/mach/configure: Regenerated.
43748 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43751 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43753 2012-06-21 Jeff Law <law@redhat.com>
43756 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43757 uint16_t for elements in the "seen" array to avoid char overflows.
43758 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43759 * elf/dl-open.c (dl_open_worker): Likewise.
43761 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43763 * scripts/list-sources.sh: Scan PORTS for translations.
43764 * po/libc.pot: Regenerated.
43766 2012-06-21 Andreas Jaeger <aj@suse.de>
43769 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43771 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43772 * bits/byteswap-16.h (__bswap_16): Likewise.
43773 * bits/byteswap.h (__bswap_constant_16): Likewise.
43775 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43778 * sysdeps/i386/fpu_control.h: Removed.
43779 * sysdeps/x86_64/fpu_control.h: Moved to ...
43780 * sysdeps/x86/fpu_control.h: Here.
43782 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43783 (_FPU_SETCW): Likewise.
43785 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43788 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43789 * sysdeps/x86/fpu/bits/mathinline.h: This.
43790 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43794 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43795 functions if __x86_64__ is defined.
43797 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43799 * string/endian.h: Add !__ASSEMBLER__ condition for including
43800 conversion interfaces.
43802 2012-06-15 Joseph Myers <joseph@codesourcery.com>
43805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43806 of ABS(x) in calculating zero to negative powers other than odd
43808 * math/libm-test.inc (pow_test): Add more tests.
43810 2012-06-15 Andreas Jaeger <aj@suse.de>
43812 * manual/contrib.texi (Contributors): Update entry of Liubov
43813 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43816 2012-06-15 Cyril Hrubis <metan@ucw.cz>
43818 * string/string.h: Add __wur to GNU version of strerror_r.
43820 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43823 * string/Makefile (tests): Add tst-strtok_r.
43824 * string/tst-strtok_r.c: New file.
43825 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43826 RAX_LP/RDX_LP on SAVE_PTR.
43828 2012-06-14 Roland McGrath <roland@hack.frob.com>
43830 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43832 2012-06-14 Joseph Myers <joseph@codesourcery.com>
43834 * libm_test.inc (csqrt_test): Allow more spurious underflow
43836 (j0_test): Likewise.
43837 (j1_test): Likewise.
43838 (y0_test): Likewise.
43839 (y1_test): Likewise.
43841 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43843 * po/Makefile (libc.pot): Use UTF-8 charset.
43845 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43848 Suppress sign-conversion warning from FD_SET.
43849 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43850 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43851 not unsigned long int.
43852 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43854 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43858 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43859 __extern_always_inline instead of __extern_inline.
43860 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43861 (__signbit): Likewise.
43862 (__signbitl): Support C++ namespace.
43863 (lrintf): New inline function.
43865 (llrintf): Likewise.
43866 (llrint): Likewise.
43876 (floorf): Likewise.
43877 (nearbyint): Likewise.
43878 (nearbyintf): Likewise.
43880 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43882 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43883 non-default versions.
43885 2012-06-11 Roland McGrath <roland@hack.frob.com>
43888 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43890 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43892 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43893 (FE_UPWARD, FE_DOWNWARD): Don't define.
43894 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43895 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43897 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43899 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43900 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43902 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43904 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43906 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43907 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43909 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43912 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43913 * sysdeps/i386/fpu/Implies: New file.
43914 * sysdeps/x86_64/fpu/Implies: Likewise.
43915 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43916 * sysdeps/x86/fpu/bits/fenv.h: This.
43918 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43921 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43924 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43925 character 0xffff that matches the last element of the
43928 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43930 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43933 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43935 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43936 values higher than 25.6283.
43938 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43940 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43941 subnormal exponent extraction and add some __builtin_expect.
43942 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43943 Fix for subnormal mantissa calculation.
43945 2012-06-04 Mike Frysinger <vapier@gentoo.org>
43947 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43948 cpu2 is -1 and errno is not ENOSYS.
43950 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43953 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43954 * sysdeps/x86/bits/string.h: This.
43955 * sysdeps/x86_64/bits/string.h: Removed.
43957 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43958 if not compiling for x86-64, but compiling for >= i486.
43960 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43961 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43963 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43964 New macro from Linux kernel 3.4.0.
43965 (FP_XSTATE_MAGIC2): Likewise.
43966 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43967 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43968 (struct _fpx_sw_bytes): New struct.
43969 (struct _xsave_hdr): Likewise.
43970 (struct _ymmh_state): Likewise.
43971 (struct _xstate): Likewise.
43973 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43974 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43976 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43977 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43978 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43980 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43981 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43982 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43983 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43984 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43985 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43987 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43990 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43991 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43992 (sysdep_headers): Include sys/platform/ppc.h.
43993 * sysdeps/powerpc/test-gettimebase.c: Test for
43994 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43995 * manual/Makefile (appendices): Include platform.texi.
43996 * manual/contrib.texi (Contributors): Update @node pointers.
43997 * manual/maint.texi (Maintenance): Likewise.
43998 (Platform): New node.
43999 * manual/platform.texi: New file. Document the new features.
44001 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44002 Jakub Jelinek <jakub@redhat.com>
44005 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44006 where __builtin_expect is unavailable.
44008 2012-06-03 David S. Miller <davem@davemloft.net>
44010 * stdlib/longlong.h: Updated from GCC.
44012 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44015 * sysdeps/powerpc/powerpc32/mcount.c: New file.
44016 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44019 (GLIBC_2.16): Likewise.
44021 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44023 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44025 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44028 (default-abi): New variable.
44029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44030 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44032 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44034 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44036 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44039 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44040 definition. Document in comment.
44042 2012-06-01 David S. Miller <davem@davemloft.net>
44044 * stdlib/longlong.h: Updated from GCC.
44046 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44049 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44050 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44051 sys/debugreg.h sys/io.h here.
44052 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44053 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44055 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44056 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44057 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44058 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44059 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44060 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44062 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44063 Define only if __x86_64__ is defined.
44065 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44068 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44069 Use int64_t for variable i.
44070 * math/libm-test.inc (fmod_test): Add more tests.
44072 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44073 z computation is not scheduled after fetestexcept.
44074 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44075 Use math_force_eval instead of asm to ensure calculation scheduled
44076 before exception test.
44077 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44078 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44080 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44083 computation is not scheduled after fetestexcept.
44085 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44088 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44089 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44091 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44093 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44094 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44096 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44099 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44101 (__WCHAR_MIN): Support __WORDSIZE == 64.
44102 (__WCHAR_MAX): Likewise.
44104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44105 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44108 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44109 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44112 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44113 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44115 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44116 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44118 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44119 Defined to 1 if __x86_64__ isn't defined.
44120 (_STAT_VER_LINUX_OLD): New.
44121 (st_atime): Remove duplicate.
44122 (st_mtime): Likewise.
44123 (st_ctime): Likewise.
44125 2012-05-31 David S. Miller <davem@davemloft.net>
44127 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44130 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44132 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44136 * elf/dl-reloc.c: Include <_itoa.h>.
44137 (_dl_reloc_bad_type): Remove use of INTUSE.
44138 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44139 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44140 * stdio-common/psiginfo.c (psiginfo): Likewise.
44141 * stdio-common/psignal.c (psignal): Likewise.
44142 * string/strsignal.c (strsignal): Likewise.
44143 * include/signal.h (_sys_siglist): Declare hidden proto.
44144 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44145 INTVARDEF with libc_hidden_data_def.
44146 * stdio-common/itoa-udigits.c: Likewise.
44147 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44148 (_itoa_lower_digits_internal): Remove declaration.
44149 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44150 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44151 (_sys_sigabbrev_internal): Remove aliases.
44152 (_sys_siglist): Define hidden alias.
44154 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44159 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44162 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44163 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44165 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44166 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44167 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44168 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44169 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44170 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44172 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44173 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44174 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44176 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44184 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44185 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44186 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44188 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44189 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44190 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44191 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44192 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44193 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44195 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44196 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44198 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44199 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44203 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44205 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44206 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44208 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44210 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44211 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44212 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44214 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44216 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44218 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44220 * math/math.h (M_El): Use two more decimal places.
44221 (M_LOG2El): Likewise.
44222 (M_LOG10El): Likewise.
44223 (M_LN2l): Likewise.
44224 (M_LN10l): Likewise.
44226 (M_PI_2l): Likewise.
44227 (M_PI_4l): Likewise.
44228 (M_1_PIl): Likewise.
44229 (M_2_PIl): Likewise.
44230 (M_2_SQRTPIl): Likewise.
44231 (M_SQRT2l): Likewise.
44232 (M_SQRT1_2l): Likewise.
44234 2012-05-31 David S. Miller <davem@davemloft.net>
44236 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44237 values between float registers.
44238 * sysdeps/sparc/sparc64/memset.S: Likewise.
44239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44241 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44243 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44244 -D_FORTIFY_SOURCE=1.
44245 (CPPFLAGS-tst-longjmp_chk.c): Define.
44246 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44247 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44248 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44249 CFLAGS-tst-wchar-h.c.
44251 2012-05-31 Marek Polacek <polacek@redhat.com>
44254 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44255 __endmntent_internal): Remove declaration.
44256 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44257 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44258 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44260 2012-05-30 David S. Miller <davem@davemloft.net>
44262 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44263 (___Q_simulate_exceptions): Use real FP ops rather than writing
44265 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44268 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44271 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44272 * sysdeps/x86/bits/xtitypes.h: This.
44274 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44275 * sysdeps/x86/bits/wordsize.h: This.
44277 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44278 * sysdeps/x86/bits/huge_vall.h: This.
44280 * sysdeps/i386/bits/select.h: Removed.
44281 * sysdeps/x86_64/bits/select.h: Renamed to ...
44282 * sysdeps/x86/bits/select.h: This.
44284 * sysdeps/i386/bits/setjmp.h: Removed.
44285 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44286 * sysdeps/x86/bits/setjmp.h: This.
44288 * sysdeps/i386/bits/mathdef.h: Removed.
44289 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44290 * sysdeps/x86/bits/mathdef.h: This.
44292 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44295 * include/sys/socket.h (__connect_internal)
44296 (__libc_sa_len_internal): Remove declaration.
44297 (__connect, __libc_sa_len): Declare hidden_proto.
44298 (SA_LEN): Remove use of INTUSE.
44299 * socket/connect.c: Add libc_hidden_def.
44300 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44301 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44302 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44304 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44305 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44306 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44307 of adding _internal alias.
44309 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44312 * sysdeps/i386/bits/link.h: Removed.
44313 * sysdeps/i386/bits/linkmap.h: Likewise.
44314 * sysdeps/x86_64/bits/link.h: Renamed to ...
44315 * sysdeps/x86/bits/link.h: This.
44316 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44317 * sysdeps/x86/bits/linkmap.h: This.
44319 * sysdeps/i386/bits/endian.h: Removed.
44320 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44321 * sysdeps/x86/bits/endian.h: This.
44323 * sysdeps/i386/bits/byteswap.h: Removed.
44324 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44325 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44326 * sysdeps/x86/bits/byteswap.h: This.
44327 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44328 * sysdeps/x86/bits/byteswap-16.h: This.
44329 * sysdeps/i386/Implies: Add x86.
44330 * sysdeps/x86_64/Implies: Likewise.
44332 2012-05-30 David S. Miller <davem@davemloft.net>
44334 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44335 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44336 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44337 (FP_TRAPPING_EXCEPTIONS): Define.
44338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44339 (FP_TRAPPING_EXCEPTIONS): Define.
44340 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44341 subnormals only when inexact has been signalled or underflow
44342 exceptions are enabled.
44343 (_FP_PACK_CANONICAL): Likewise.
44345 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44349 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44351 2012-05-30 Richard Henderson <rth@twiddle.net>
44353 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44354 with #ifndef NOT_IN_libc.
44356 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44357 marked to avoid plt entry.
44359 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44362 * Makeconfig (default-abi): New macro.
44363 (abi-includes): Likewise.
44364 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44365 $(abi-$(default-abi)-lib-soname) for soname if defined.
44366 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44368 * Makefile (installed-stubs): Likewise.
44369 * include/stubs-biarch.h: Removed.
44370 * scripts/lib-names.awk: Only handle one library at a time.
44371 * scripts/soversions.awk: Remove WORDSIZE support.
44372 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44374 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44376 (syscall-list-default-condition): Likewise.
44377 (syscall-list-default-condition): Likewise.
44378 (syscall-list-includes): Likewise.
44379 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44380 syscall-list-* with abi-*. Handle undefined abi-variants.
44381 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44382 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44383 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44384 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44385 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44386 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44388 (syscall-list-32-options): Likewise.
44389 (syscall-list-32-condition): Likewise.
44390 (syscall-list-64-options): Likewise.
44391 (syscall-list-64-condition): Likewise.
44392 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44394 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44397 (abi-64-ld-soname): New macro.
44398 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44399 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44402 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44403 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44405 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44407 * sysdeps/unix/sysv/linux/kernel-features.h
44408 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44409 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44410 include <kernel-features.h>.
44411 [!__NR_ftruncate64]: Remove conditional code.
44412 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44413 [__NR_ftruncate64]: Make code unconditional.
44414 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44415 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44416 include <kernel-features.h>.
44417 [!__NR_ftruncate64]: Remove conditional code.
44418 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44419 [__NR_ftruncate64]: Make code unconditional.
44420 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44422 include <kernel-features.h>.
44423 [!__NR_ftruncate64]: Remove conditional code.
44424 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44425 [__NR_ftruncate64]: Make code unconditional.
44426 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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.
44434 * configure.in (libc_cv_fpie): Weaken to a compile test using
44435 LIBC_TRY_CC_OPTION.
44436 * configure: Regenerated.
44438 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44453 2012-05-27 David S. Miller <davem@davemloft.net>
44455 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44457 (__Q_simulate_exceptions): Return void. Change to simulate
44458 exceptions by writing into the %fsr.
44459 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44460 (__Qp_handle_exceptions): Likewise.
44462 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44463 __Qp_handle_exceptions.
44464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44465 __Qp_handle_exceptions.
44466 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44467 as unused and give dummy FP_RND_NEAREST initializer.
44468 (FP_INHIBIT_RESULTS): Define.
44469 (___Q_simulate_exceptions): Update declaration.
44470 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44473 as unused and give dummy FP_RND_NEAREST initializer.
44474 (__Qp_handle_exceptions): Update declaration.
44475 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44478 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44480 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44481 the temporary FPU control word.
44482 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44483 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44484 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44485 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44486 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44487 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44488 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44489 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44490 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44491 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44492 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44494 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44496 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44499 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44501 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44502 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44503 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44504 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44506 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44507 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44510 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44512 * po/h.po: Update from translation team.
44514 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44516 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44518 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44519 handling of denormals.
44520 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44521 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44522 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44523 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44529 2012-05-26 Marek Polacek <polacek@redhat.com>
44532 * math/libm-test.inc (fma_test): Don't always expect underflow
44535 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44538 * elf/tst-execstack.c: Include stackinfo.h.
44539 (do_test): Adjust test case to ensure that pthread_getattr_np
44540 behaviour remains the same after marking stack executable.
44542 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44544 * sysdeps/unix/sysv/linux/kernel-features.h
44545 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44546 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44548 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44549 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44550 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44552 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44553 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44555 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44557 * configure.in: Define the default includes to being none.
44558 * configure: Regenerated.
44560 2012-05-25 Roland McGrath <roland@hack.frob.com>
44562 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44563 * sysdeps/x86_64/setjmp.S: Likewise.
44564 * sysdeps/i386/bsd-setjmp.S: Likewise.
44565 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44566 * sysdeps/i386/setjmp.S: Likewise.
44567 * sysdeps/i386/__longjmp.S: Likewise.
44568 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44569 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44571 * include/stap-probe.h: New file.
44572 * configure.in: Handle --enable-systemtap.
44573 * configure: Regenerated.
44574 * config.h.in (USE_STAP_PROBE): New #undef.
44575 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44576 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44577 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44579 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44583 to 2.4.0 where earlier.
44584 * sysdeps/unix/sysv/linux/configure: Regenerated.
44585 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44586 <kernel-features.h>.
44587 [__ASSUME_32BITUIDS]: Make code unconditional.
44588 [!__ASSUME_32BITUIDS]: Remove conditional code.
44589 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44590 <kernel-features.h>.
44591 [__ASSUME_32BITUIDS]: Make code unconditional.
44592 [!__ASSUME_32BITUIDS]: Remove conditional code.
44593 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44594 [__ASSUME_32BITUIDS]: Make code unconditional.
44595 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44596 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44597 <kernel-features.h>.
44598 [__ASSUME_32BITUIDS]: Make code unconditional.
44599 [!__ASSUME_32BITUIDS]: Remove conditional code.
44600 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44601 <kernel-features.h>.
44602 [__ASSUME_32BITUIDS]: Make code unconditional.
44603 [!__ASSUME_32BITUIDS]: Remove conditional code.
44604 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44605 <kernel-features.h>.
44606 [__ASSUME_32BITUIDS]: Make code unconditional.
44607 [!__ASSUME_32BITUIDS]: Remove conditional code.
44608 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44609 <kernel-features.h>.
44610 [__ASSUME_32BITUIDS]: Make code unconditional.
44611 [!__ASSUME_32BITUIDS]: Remove conditional code.
44612 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44613 <kernel-features.h>.
44614 [__ASSUME_32BITUIDS]: Make code unconditional.
44615 [!__ASSUME_32BITUIDS]: Remove conditional code.
44616 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44617 <kernel-features.h>.
44618 [__ASSUME_32BITUIDS]: Make code unconditional.
44619 [!__ASSUME_32BITUIDS]: Remove conditional code.
44620 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44621 <kernel-features.h>.
44622 [__ASSUME_32BITUIDS]: Make code unconditional.
44623 [!__ASSUME_32BITUIDS]: Remove conditional code.
44624 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44625 <kernel-features.h>.
44626 [__ASSUME_32BITUIDS]: Make code unconditional.
44627 [!__ASSUME_32BITUIDS]: Remove conditional code.
44628 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44629 <kernel-features.h>.
44630 [__ASSUME_32BITUIDS]: Make code unconditional.
44631 [!__ASSUME_32BITUIDS]: Remove conditional code.
44632 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44633 <kernel-features.h>.
44634 [__ASSUME_32BITUIDS]: Make code unconditional.
44635 [!__ASSUME_32BITUIDS]: Remove conditional code.
44636 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44637 <kernel-features.h>.
44638 [__NR_setresgid] (__setresgid): Do not declare.
44639 [__ASSUME_32BITUIDS]: Make code unconditional.
44640 [!__ASSUME_32BITUIDS]: Remove conditional code.
44641 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44642 <kernel-features.h>.
44643 [__NR_setresuid] (__setresuid): Do not declare.
44644 [__ASSUME_32BITUIDS]: Make code unconditional.
44645 [!__ASSUME_32BITUIDS]: Remove conditional code.
44646 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
44655 <kernel-features.h>.
44656 [__ASSUME_32BITUIDS]: Make code unconditional.
44657 [!__ASSUME_32BITUIDS]: Remove conditional code.
44658 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44659 <kernel-features.h>.
44660 [__ASSUME_32BITUIDS]: Make code unconditional.
44661 [!__ASSUME_32BITUIDS]: Remove conditional code.
44662 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44663 <kernel-features.h>.
44664 [__ASSUME_32BITUIDS]: Make code unconditional.
44665 [!__ASSUME_32BITUIDS]: Remove conditional code.
44666 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44667 <kernel-features.h>.
44668 [__ASSUME_32BITUIDS]: Make code unconditional.
44669 [!__ASSUME_32BITUIDS]: Remove conditional code.
44670 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44671 <kernel-features.h>.
44672 [__ASSUME_32BITUIDS]: Make code unconditional.
44673 [!__ASSUME_32BITUIDS]: Remove conditional code.
44674 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44675 <kernel-features.h>.
44676 [__ASSUME_32BITUIDS]: Make code unconditional.
44677 [!__ASSUME_32BITUIDS]: Remove conditional code.
44678 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44679 <kernel-features.h>.
44680 [__ASSUME_32BITUIDS]: Make code unconditional.
44681 [!__ASSUME_32BITUIDS]: Remove conditional code.
44682 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44683 <kernel-features.h>.
44684 [__ASSUME_32BITUIDS]: Make code unconditional.
44685 [!__ASSUME_32BITUIDS]: Remove conditional code.
44686 * sysdeps/unix/sysv/linux/kernel-features.h
44687 (__ASSUME_SETRESUID_SYSCALL): Remove.
44688 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44689 (__ASSUME_32BITUIDS): Likewise.
44690 (__ASSUME_LDT_WORKS): Likewise.
44691 (__ASSUME_O_DIRECTORY): Likewise.
44692 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44693 architecture but not kernel version.
44694 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44695 (__ASSUME_MMAP2_SYSCALL): Likewise.
44696 (__ASSUME_STAT64_SYSCALL): Likewise.
44697 (__ASSUME_IPC64): Likewise.
44698 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44699 <kernel-features.h>.
44700 [__ASSUME_32BITUIDS]: Make code unconditional.
44701 [!__ASSUME_32BITUIDS]: Remove conditional code.
44702 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44703 <kernel-features.h>.
44704 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44705 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44706 132096]: Remove conditional code.
44707 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44708 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44709 <kernel-features.h>.
44710 [__ASSUME_32BITUIDS]: Make code unconditional.
44711 [!__ASSUME_32BITUIDS]: Remove conditional code.
44712 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44713 <kernel-features.h>.
44714 [__ASSUME_32BITUIDS]: Make code unconditional.
44715 [!__ASSUME_32BITUIDS]: Remove conditional code.
44716 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44717 <kernel-features.h>.
44718 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44720 (__setresgid): Do not declare.
44721 [__ASSUME_32BITUIDS]: Make code unconditional.
44722 [!__ASSUME_32BITUIDS]: Remove conditional code.
44723 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44724 <kernel-features.h>.
44725 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44727 (__setresuid): Do not declare.
44728 [__ASSUME_32BITUIDS]: Make code unconditional.
44729 [!__ASSUME_32BITUIDS]: Remove conditional code.
44730 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
44735 <kernel-features.h>.
44736 [__ASSUME_32BITUIDS]: Make code unconditional.
44737 [!__ASSUME_32BITUIDS]: Remove conditional code.
44739 2012-05-25 Richard Henderson <rth@twiddle.net>
44741 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44742 dl_hwcap to ifunc resolver.
44743 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44745 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44746 dl_hwcap to ifunc resolver.
44747 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44749 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44752 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44753 for |x| <= 2**-26, not 2**-57.
44754 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44757 2012-05-24 Jeff Law <law@redhat.com>
44759 * stdio-common/Makefile (tests): Add bug25.
44760 * stdio-common/bug25.c: New test.
44762 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44765 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44766 multiple of MALLOC_ALIGNMENT in size.
44767 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44769 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44771 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44773 (FILENAME_MAX): Use macro-int-constant.
44774 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44775 (_IOFBF): Use macro-int-constant.
44776 (_IOLBF): Likewise.
44777 (_IONBF): Likewise.
44778 (SEEK_CUR): Likewise.
44779 (SEEK_END): Likewise.
44780 (SEEK_SET): Likewise.
44781 (TMP_MAX): Likewise.
44782 (EOF): Use macro-int-constant. Require < 0.
44783 (NULL): Use macro-constant. Require == 0.
44784 (stdin): Require type to be FILE *.
44785 (stdout): Likewise.
44786 (stderr): Likewise.
44787 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44788 macro-int-constant.
44789 (EXIT_SUCCESS): Likewise.
44790 (NULL): Use macro-constant. Require == 0.
44791 (RAND_MAX): Use macro-int-constant.
44792 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44793 [C99-based standards] (strtof): Require function.
44794 [C99-based standards] (strtold): Likewise.
44795 [C99-based standards] (strtoll): Likewise.
44796 [C99-based standards] (strtoull): Likewise.
44797 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44798 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44799 [ISO || ISO99 || ISO11] (math.h): Likewise.
44800 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44801 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44804 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44807 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44808 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44809 * intl/dgettext.c (DCGETTEXT): Likewise.
44810 * intl/gettext.c (DCGETTEXT): Likewise.
44811 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44812 * posix/regex_internal.h (gettext): Likewise.
44813 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44814 Remove declaration.
44815 * include/argz.h (__argz_count_internal)
44816 (__argz_stringify_internal): Remove declaration.
44817 (__argz_count, __argz_stringify): Declare hidden proto.
44818 * intl/dcgettext.c: Remove use of INTDEF.
44819 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44820 * string/argz-stringify.c: Likewise.
44821 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44822 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44823 Declare hidden proto.
44824 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44825 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44826 Declare hidden proto.
44827 * include/stdio.h (__asprintf_internal): Don't declare.
44828 (__asprintf): Don't define as macro. Declare hidden proto.
44829 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44830 (__fsetlocking): Declare hidden proto.
44831 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44832 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44834 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44835 (_IO_setlinebuf): Remove use of INTUSE.
44836 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44837 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44838 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44839 Remove declaration.
44840 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44841 (_IO_do_flush): Remove use of INTUSE.
44842 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44843 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44844 (_IO_adjust_column, _IO_least_wmarker)
44845 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44846 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44847 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44848 (_IO_default_doallocate, _IO_wdefault_doallocate)
44849 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44850 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44851 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44852 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44853 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44854 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44855 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44856 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44857 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44858 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44859 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44860 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44861 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44863 (_IO_flush_all_internal, _IO_adjust_column_internal)
44864 (_IO_default_uflow_internal, _IO_default_finish_internal)
44865 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44866 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44867 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44868 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44869 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44870 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44871 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44872 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44873 (_IO_file_close_internal, _IO_file_close_it_internal)
44874 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44875 (_IO_file_init_internal, _IO_file_attach_internal)
44876 (_IO_file_fopen_internal, _IO_file_read_internal)
44877 (_IO_file_sync_internal, _IO_file_seek_internal)
44878 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44879 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44880 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44881 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44882 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44883 (_IO_list_all_internal, _IO_link_in_internal)
44884 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44885 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44886 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44887 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44888 (_IO_do_write_internal, _IO_padn_internal)
44889 (_IO_getline_info_internal, _IO_getline_internal)
44890 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44891 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44892 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44893 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44894 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44895 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44896 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44897 with libc_hidden_ver, remove use of INTUSE.
44898 * libio/genops.c: Likewise.
44899 * libio/freopen.c: Likewise.
44900 * libio/freopen64.c: Likewise.
44901 * libio/iofclose.c: Likewise.
44902 * libio/iofdopen.c: Likewise.
44903 * libio/iofflush.c: Likewise.
44904 * libio/iofflush_u.c: Likewise.
44905 * libio/iofgets.c: Likewise.
44906 * libio/iofgets_u.c: Likewise.
44907 * libio/iofopen.c: Likewise.
44908 * libio/iofopncook.c: Likewise.
44909 * libio/iofread.c: Likewise.
44910 * libio/iofread_u.c: Likewise.
44911 * libio/ioftell.c: Likewise.
44912 * libio/iofwrite.c: Likewise.
44913 * libio/iogetline.c: Likewise.
44914 * libio/iogets.c: Likewise.
44915 * libio/iogetwline.c: Likewise.
44916 * libio/iopadn.c: Likewise.
44917 * libio/iopopen.c: Likewise.
44918 * libio/ioseekoff.c: Likewise.
44919 * libio/ioseekpos.c: Likewise.
44920 * libio/iosetbuffer.c: Likewise.
44921 * libio/iosetvbuf.c: Likewise.
44922 * libio/ioungetc.c: Likewise.
44923 * libio/ioungetwc.c: Likewise.
44924 * libio/iovdprintf.c: Likewise.
44925 * libio/iovsprintf.c: Likewise.
44926 * libio/iovsscanf.c: Likewise.
44927 * libio/memstream.c: Likewise.
44928 * libio/obprintf.c: Likewise.
44929 * libio/oldfileops.c: Likewise.
44930 * libio/oldiofclose.c: Likewise.
44931 * libio/oldiofdopen.c: Likewise.
44932 * libio/oldiofopen.c: Likewise.
44933 * libio/oldiopopen.c: Likewise.
44934 * libio/oldstdfiles.c: Likewise.
44935 * libio/putc.c: Likewise.
44936 * libio/setbuf.c: Likewise.
44937 * libio/setlinebuf.c: Likewise.
44938 * libio/stdfiles.c: Likewise.
44939 * libio/strops.c: Likewise.
44940 * libio/vasprintf.c: Likewise.
44941 * libio/vscanf.c: Likewise.
44942 * libio/vsnprintf.c: Likewise.
44943 * libio/vswprintf.c: Likewise.
44944 * libio/wfiledoalloc.c: Likewise.
44945 * libio/wfileops.c: Likewise.
44946 * libio/wgenops.c: Likewise.
44947 * libio/wmemstream.c: Likewise.
44948 * libio/wstrops.c: Likewise.
44949 * libio/__fpurge.c: Likewise.
44950 * libio/__fsetlocking.c: Likewise.
44951 * assert/assert.c: Likewise.
44952 * debug/fgets_chk.c: Likewise.
44953 * debug/fgets_u_chk.c: Likewise.
44954 * debug/fread_chk.c: Likewise.
44955 * debug/fread_u_chk.c: Likewise.
44956 * debug/gets_chk.c: Likewise.
44957 * debug/obprintf_chk.c: Likewise.
44958 * debug/vasprintf_chk.c: Likewise.
44959 * debug/vdprintf_chk.c: Likewise.
44960 * debug/vsnprintf_chk.c: Likewise.
44961 * debug/vsprintf_chk.c: Likewise.
44962 * malloc/mtrace.c: Likewise.
44963 * misc/error.c: Likewise.
44964 * misc/syslog.c: Likewise.
44965 * stdio-common/asprintf.c: Likewise.
44966 * stdio-common/fxprintf.c: Likewise.
44967 * stdio-common/getw.c: Likewise.
44968 * stdio-common/isoc99_fscanf.c: Likewise.
44969 * stdio-common/isoc99_scanf.c: Likewise.
44970 * stdio-common/isoc99_vfscanf.c: Likewise.
44971 * stdio-common/isoc99_vscanf.c: Likewise.
44972 * stdio-common/isoc99_vsscanf.c: Likewise.
44973 * stdio-common/printf-prs.c: Likewise.
44974 * stdio-common/printf_fp.c: Likewise.
44975 * stdio-common/printf_fphex.c: Likewise.
44976 * stdio-common/printf_size.c: Likewise.
44977 * stdio-common/putw.c: Likewise.
44978 * stdio-common/scanf.c: Likewise.
44979 * stdio-common/sprintf.c: Likewise.
44980 * stdio-common/tmpfile.c: Likewise.
44981 * stdio-common/vfprintf.c: Likewise.
44982 * stdio-common/vfscanf.c: Likewise.
44983 * stdlib/strfmon_l.c: Likewise.
44984 * sunrpc/openchild.c: Likewise.
44985 * sunrpc/xdr_stdio.c: Likewise.
44986 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44987 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44989 2012-05-24 Roland McGrath <roland@hack.frob.com>
44991 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44993 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44994 in the third column, to generate for the shared library an IFUNC
44995 that uses _dl_vdso_vsym.
44996 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44997 * Makeconfig (object-suffixes-noshared): New variable.
44999 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45000 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45001 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45002 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45005 * include/sys/time.h (__gettimeofday): Remove macro.
45006 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45007 * time/gettimeofday.c (__gettimeofday): Remove #undef.
45009 (__gettimeofday): Add libc_hidden_def.
45010 (gettimeofday): Add libc_hidden_weak.
45011 * sysdeps/mach/gettimeofday.c: Likewise.
45012 * sysdeps/posix/gettimeofday.c: Likewise.
45013 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45014 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45016 (__gettimeofday_internal): Remove strong_alias.
45017 (__gettimeofday): Add libc_hidden_def.
45018 (gettimeofday): Add libc_hidden_weak.
45019 * sysdeps/unix/syscalls.list (gettimeofday):
45020 Remove __gettimeofday_internal alias.
45022 2012-05-24 Daniel Jacobowitz <drow@false.org>
45023 H.J. Lu <hongjiu.lu@intel.com>
45026 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45027 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45028 (largebin_index_32_big): New.
45029 (largebin_index): Use it for 16-byte alignment.
45030 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45031 correction with front_misalign.
45033 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45061 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45062 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45064 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45068 * math/libm-test.inc (exp_test): Add test from bug 14036.
45069 (pow_test): Add test from bug 10846.
45071 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45073 (special_function): Do not include flags in test name.
45074 (parse_args): Likewise.
45075 * sysdeps/i386/fpu/libm-test-ulps: Update.
45076 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45077 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45078 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45081 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45083 * math/libm-test.inc ("Philosophy"): Update comment about
45085 (UNDERFLOW_EXCEPTION): New macro.
45086 (UNDERFLOW_EXCEPTION_OK): Likewise.
45087 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45088 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45089 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45090 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45091 (INVALID_EXCEPTION_OK): Update value.
45092 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45093 (OVERFLOW_EXCEPTION_OK): Likewise.
45094 (IGNORE_ZERO_INF_SIGN): Likewise.
45095 (test_exceptions): Handle underflow exceptions.
45096 (acos_test): Update for underflow exception expectations.
45097 (cexp_test): Likewise.
45098 (clog_test): Likewise.
45099 (clog10_test): Likewise.
45100 (csqrt_test): Likewise.
45101 (ctan_test): Likewise.
45102 (ctanh_test): Likewise.
45103 (exp_test): Likewise.
45104 (exp10_test): Likewise.
45105 (exp2_test): Likewise.
45106 (expm1_test): Likewise.
45107 (fma_test): Likewise.
45108 (j0_test): Likewise.
45109 (jn_test): Likewise.
45110 (nexttoward_test): Likewise.
45111 (pow_test): Likewise.
45112 (scalbn_test): Likewise.
45113 (scalbln_test): Likewise.
45114 (tan_test): Likewise.
45115 (y1_test): Likewise.
45116 * sysdeps/i386/fpu/libm-test-ulps: Update.
45117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45119 2012-05-23 David S. Miller <davem@davemloft.net>
45121 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45122 (__libc_sigaction): Remove unused local variables.
45124 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45126 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45128 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45130 mktime: avoid signed integer overflow
45131 * time/mktime.c (__mktime_internal): Do not mishandle the case
45132 where diff == INT_MIN.
45134 mktime: simplify computation of average
45135 * time/mktime.c (ranged_convert): Use new time_t_avg function
45136 instead of rolling our own (probably-slower) code.
45138 mktime: do not assume signed right shift propagates sign bit
45139 * time/mktime.c (isdst_differ): New static function.
45140 (__mktime_internal): No need to normalize tm_isdst now.
45141 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45144 mktime: merge another wrapv change from gnulib
45145 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45146 from some compilers.
45148 mktime: remove incorrect attempt at unusual arithmetics
45149 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45150 The code didn't really work on such machines anyway.
45151 (TYPE_MINIMUM): Assume two's complement.
45152 (twos_complement_arithmetic): Verify that long_int and time_t
45153 are two's complement (or unsigned, in the latter case).
45155 mktime: check signed shifts on long_int and time_t, too
45156 * time/mktime.c (SHR): Check that shifts work as desired
45157 on the types long_int and time_t too, as SHR is used on
45160 mktime: do not assume 'long' is wide enough
45161 * time/mktime.c (verify): Move decl up.
45162 (long_int): New type.
45163 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45164 to remove assumption in the code that 'long' is wide enough to
45165 store year values. This assumption is not true on x32 and on
45166 some non-glibc platforms.
45168 mktime: merge wrapv change from gnulib
45169 * time/mktime.c (WRAPV): New macro.
45170 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45171 (guess_time_tm, __mktime_internal): Do not assume that signed
45172 integer overflow wraps around; modern compilers generate code
45173 where this assumption is no longer valid.
45175 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45177 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45178 Replace "jmp L(pseudo_end)" with "ret".
45179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45182 2012-05-23 Andreas Jaeger <aj@suse.de>
45184 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45185 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45187 2012-05-23 Andreas Jaeger <aj@suse.de>
45188 Maximilian Attems <max@stro.at>
45190 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45193 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45195 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45196 code so that pseudo_end is just ret and the stack pointer is
45197 correct also for static library in error case.
45199 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45201 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45202 move to syscalls.list.
45203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45208 * manual/install.texi (Running make install): Do not mention Linux
45209 kernel version for which pt_chown is not needed.
45210 (Linux): Do not mention problems with nscd with 2.0 kernels.
45211 * INSTALL: Regenerated.
45213 2012-05-23 Andreas Jaeger <aj@suse.de>
45215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45216 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45218 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45219 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45220 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45221 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45222 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45223 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45224 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45225 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45227 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45228 * sysdeps/unix/sysv/linux/bits/in.h
45229 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45231 2012-05-22 Roland McGrath <roland@hack.frob.com>
45233 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45234 (PREPARE_VERSION): Just use assert instead, it will be elided
45235 under [NDEBUG] anyway.
45237 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45239 * sysdeps/unix/sysv/linux/Makefile: Include
45240 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45241 (sysdep_routines): Remove sysctl.
45242 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45243 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45244 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45245 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45246 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45248 2012-05-22 Andreas Jaeger <aj@suse.de>
45250 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45251 that pseudo_end is just ret and the stack pointer is correct also
45252 for static library in error case.
45254 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45257 * nss/nsswitch.c (defconfig_entries): New variable.
45258 (__nss_database_lookup): Don't leak defconfig entries.
45259 (nss_parse_service_list): Don't leak on error paths.
45260 (free_database_entries): New function.
45261 (free_defconfig): New function.
45262 (free_mem): Move common code to free_database_entries.
45264 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45266 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45268 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45270 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45271 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45274 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45275 (INTERNAL_SYSCALL_TYPES): Likewise.
45276 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45277 (LOAD_REGS_TYPES_[1-6]): Likewise.
45278 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45279 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45281 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45283 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45284 copysignl for GLIBC_2_0.
45285 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45286 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45288 logbl for GLIBC_2_0.
45289 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45290 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45292 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45294 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45295 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45297 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45300 * time/mktime.c: Update copyright years.
45302 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45304 mktime: merge comment-quoting-style change from gnulib
45305 * time/mktime.c: Quote 'like this' in comments.
45306 The GNU coding standards suggest that we no longer quote `like this',
45307 as "`" and "'" are typically rendered asymmetrically nowadays.
45308 The typical gnulib style is to quote 'like this' when quoting
45309 code, and "like this" when quoting English.
45311 * time/mktime.c (compile-command): Add "-I.".
45313 mktime: merge mktime-internal.h change from gnulib
45314 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45316 mktime: merge time_r change from gnulib
45317 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45319 mktime: merge DEBUG change from gnulib
45320 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45321 case system <time.h> has a #define.
45323 mktime: merge <sys/types.h> change from gnulib
45324 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45325 since <time.t> is now guaranteed to define time_t.
45327 mktime: merge HAVE_CONFIG_H change from gnulib
45328 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45330 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45335 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45337 (struct rusage): Use anonymous union to pad each field to
45340 2012-05-21 David S. Miller <davem@davemloft.net>
45342 * Makefules (o-iterator): Remove .s cases.
45343 (compile-command.s): Delete.
45344 (COMPILE.s): Delete.
45345 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45347 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45349 * configure.in (libc_cv_predef_stack_protector): Only consider
45350 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45351 * configure: Regenerated.
45353 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45356 New macro. Use R*LP on int and pointer.
45357 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45358 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45359 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45360 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45362 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45363 [__WORDSIZE_TIME64_COMPAT32] instead of
45364 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45365 (struct utmp): Likewise.
45366 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45367 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45369 (__WORDSIZE_TIME64_COMPAT32): This.
45370 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45371 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45372 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45373 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45374 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45375 (__WORDSIZE_TIME64_COMPAT32): New macro.
45377 2012-05-21 Andreas Jaeger <aj@suse.de>
45379 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45380 only if [SHARED]. Add prototype for __wcschr_ia32.
45382 2012-05-21 Roland McGrath <roland@hack.frob.com>
45384 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45385 of %rbp unmolested in the jmp_buf while mangling the low bits.
45386 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45387 unmolested high bits of %rbp while demangling the low bits.
45388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45390 2012-05-21 Andreas Jaeger <aj@suse.de>
45392 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45393 * sunrpc/svc_simple.c: Use it for registerrpc.
45394 * sunrpc/xcrypt.c: Use it for passwd2des.
45396 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45398 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45400 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45401 Don't define if [__SYSCALL_WORDSIZE != 32].
45402 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45405 2012-05-21 Bruno Haible <bruno@clisp.org>
45406 Andreas Jaeger <aj@suse.de>
45408 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45409 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45410 inptr and inend for must_buffer_ch.
45411 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45412 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45413 * stdio-common/Makefile (tests): Remove bug15.
45414 (bug15-ENV): Remove macro.
45415 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45418 2012-05-19 Andreas Jaeger <aj@suse.de>
45419 Roland McGrath <roland@hack.frob.com>
45421 * manual/contrib.texi: Completely rewritten. It contains now an
45422 alphabetical list of contributors and their contributions.
45424 2012-05-21 Richard Henderson <rth@twiddle.net>
45426 * misc/getauxval.c (__getauxval): Use unsigned long int.
45427 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45428 (getauxval): Use unsigned long int.
45430 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45432 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45434 2012-05-21 Roland McGrath <roland@hack.frob.com>
45436 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45437 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45438 __alignof__ (long double).
45440 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45444 2012-05-20 Richard Henderson <rth@twiddle.net>
45446 * misc/getauxval.c: New file.
45447 * misc/sys/auxv.h: New file.
45448 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45449 (routines): Add getauxval.
45450 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45451 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45452 * elf/dl-sysdep.c (_dl_auxv): Remove.
45453 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45454 * elf/dl-support.c (_dl_auxv): New variable.
45455 (_dl_aux_init): Initialize it.
45456 * manual/startup.texi (Auxiliary Vector): New node.
45457 * sysdeps/generic/bits/hwcap.h: New file.
45458 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45459 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45460 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45461 * sysdeps/sparc/sysdep.h: ... here. Include it.
45462 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45469 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45475 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45479 2012-05-19 David S. Miller <davem@davemloft.net>
45481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45483 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45486 * math/s_ccosh.c: Include <float.h>
45487 (__ccosh): Avoid internal overflow calculating sinh and cosh
45488 values before multiplying by sin and cos values.
45489 * math/s_ccoshf.c: Likewise.
45490 * math/s_ccoshl.c: Likewise.
45491 * math/s_csin.c: Likewise.
45492 * math/s_csinf.c: Likewise.
45493 * math/s_csinl.c: Likewise.
45494 * math/s_csinh.c: Likewise.
45495 * math/s_csinhf.c: Likewise.
45496 * math/s_csinhl.c: Likewise.
45497 * math/libm-test.inc (ccos_test): Add more tests.
45498 (ccosh_test): Likewise.
45499 (csin_test): Likewise.
45500 (csinh_test): Likewise.
45501 * sysdeps/i386/fpu/libm-test-ulps: Update.
45502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45504 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45506 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45507 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45509 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45511 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45513 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45514 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45515 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45516 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45517 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45518 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45519 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45520 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45521 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45522 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45523 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45524 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45525 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45526 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45527 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45528 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45529 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45530 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45531 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45532 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45533 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45534 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45535 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45536 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45537 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45538 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45539 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45540 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45541 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45542 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45543 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45545 2012-05-18 Andreas Jaeger <aj@suse.de>
45547 * csu/.gitignore: Delete.
45549 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45551 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45552 (timex): Use __syscall_slong_t.
45554 2012-05-18 Andreas Jaeger <aj@suse.de>
45555 Carlos O'Donell <carlos_odonell@mentor.com>
45557 * manual/install.texi (Configuring and compiling): Update
45558 description about files modified in the source directory.
45559 * INSTALL: Regenerated.
45561 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45563 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45564 value. Use "or" to set return value to -1.
45565 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45566 negate return value.
45568 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45570 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45571 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45572 failure if the compiler has Graphite support disabled.
45573 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45575 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45576 (CFLAGS-memmove.c): Likewise.
45577 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45580 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45582 * sysdeps/x86_64/x32/_itoa.h: New file.
45584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45585 getdents system call only if kernel and user dirents have the
45586 same d_ino and d_off.
45588 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45589 LLONG_MAX != LONG_MAX.
45590 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45591 (_fitoa_word): Likewise.
45593 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45595 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45596 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45597 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45599 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45600 include <bits/wordsize.h>. Check __x86_64__ instead of
45602 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45603 if __x86_64__ is defined. Use anonymous union on fpstate.
45605 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45608 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45610 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45611 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45612 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45613 Refer to _rtld_local_ro instead of _rtld_global_ro.
45614 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45616 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45618 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45620 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45621 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45622 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45624 * sysdeps/powerpc/powerpc32/dl-machine.c
45625 (__elf_machine_runtime_setup) [PROF]: Don't reference
45628 2012-05-18 Andreas Jaeger <aj@suse.de>
45630 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45631 function only available for GCCs before 3.4 since GCC 3.4
45632 introduced a builtin.
45634 (llrintf): Likewise.
45635 (llrint): Likewise.
45642 (nearbyint): Likewise.
45643 (nearbyintf): Likewise.
45647 (floorf): Likewise.
45649 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45651 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45652 on both fields and cast pointer to __syscall_ulong_t.
45654 * bits/types.h (__fsword_t): New type.
45655 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45656 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45658 (__FSWORD_T_TYPE): Likewise.
45659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45660 (__FSWORD_T_TYPE): Likewise.
45661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45662 (__FSWORD_T_TYPE): Likewise.
45663 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45664 (__FSWORD_T_TYPE): Likewise.
45665 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45666 __SWORD_TYPE with __fsword_t.
45667 (statfs64): Likewise.
45669 2012-05-17 David S. Miller <davem@davemloft.net>
45671 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45673 2012-05-17 Andreas Jaeger <aj@suse.de>
45675 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45678 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45680 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45682 2012-05-17 Andreas Jaeger <aj@suse.de>
45684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45687 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45689 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45691 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45693 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45694 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45696 2012-05-17 Andreas Jaeger <aj@suse.de>
45697 Carlos O'Donell <carlos_odonell@mentor.com>
45700 * sysdeps/x86_64/multiarch/init-arch.h
45701 (bit_YMM_Usable): Rename to...
45702 (bit_AVX_Usable): ... this.
45703 (bit_FMA4_Usable): New macro.
45704 (bit_XMM_state): New macro.
45705 (bit_YMM_state): New macro.
45706 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45707 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45708 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45709 (CPUID_OSXSAVE): New macro.
45710 (CPUID_AVX): New macro.
45711 (CPUID_FMA4): New macro.
45712 (index_YMM_Usable): Rename to...
45713 (index_AVX_Usable): ... this.
45714 (HAS_AVX): Use HAS_ARCH_FEATURE.
45715 (HAS_FMA4): Likewise.
45716 (HAS_YMM_USABLE): Remove.
45717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45718 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45720 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45721 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45722 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45723 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45724 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45726 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45728 * math/libm-test.c: Support platforms without multiple rounding modes.
45729 * math/bug-nextafter.c: Support platforms without FP exceptions.
45730 * math/bug-nexttoward.c: Likewise.
45731 * math/test-fenv.c: Likewise.
45732 * math/test-misc.c: Likewise.
45733 * stdlib/bug-getcontext.c: Likewise.
45735 2012-05-17 Andreas Jaeger <aj@suse.de>
45737 * manual/examples/search.c (critter_cmp): Change signature to
45739 * manual/string.texi (Collation Functions): Likewise.
45741 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45743 * bits/types.h: Fold copyright years.
45744 * bits/typesizes.h: Likewise.
45745 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45749 * time/time.h: Likewise.
45751 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45754 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45755 in instead of returning them. Return void.
45756 (__libc_mallinfo): Accumulate over all arenas.
45757 (__malloc_stats): Adjust for change in int_mallinfo interface.
45759 2012-05-16 Roland McGrath <roland@hack.frob.com>
45762 * configure.in (NM): Add AC_CHECK_TOOL for it.
45763 (libc_extra_cflags): New substituted variable.
45764 Check for -fstack-protector being used implicitly.
45765 * configure: Regenerated.
45766 * config.make.in (config-extra-cflags): New variable,
45767 gets @libc_extra_cflags@.
45768 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45771 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45772 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45773 * configure: Regenerated.
45774 * config.make.in (CPPUNDEFS): New substituted variable.
45775 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45776 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45777 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45779 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45781 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45782 (mq_attr): Use __syscall_slong_t.
45784 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45786 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45787 Check __x86_64__ instead of __WORDSIZE.
45788 (_STAT_VER_LINUX): Likewise.
45789 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45790 __syscall_ulong_t and __syscall_slong_t.
45791 (stat64): Likewise.
45793 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45797 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45799 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45801 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45803 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45806 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45807 include <bits/wordsize.h>. Check __x86_64__ instead of
45809 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45811 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45813 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45814 include <bits/wordsize.h>. Check __x86_64__ instead of
45816 (user_regs_struct): Use "__extension__ unsigned long long"
45817 instead of "unsigned long" if __x86_64__ is defined.
45818 (user): Likewise. Pad after pointer field if __ILP32__ is
45821 2012-05-16 Joseph Myers <joseph@codesourcery.com>
45823 * configure.in (makeinfo): Require version 4.5 or later. Allow
45825 * configure: Regenerated.
45826 * manual/install.texi (texinfo): Increase version requirement to
45828 * INSTALL: Regenerated.
45830 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45832 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45834 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45836 * sysdeps/x86_64/x32/ffs.c: New file.
45838 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45840 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45841 defined. Use __syscall_ulong_t.
45842 (shminfo): Use __syscall_ulong_t.
45843 (shm_info): Likewise.
45845 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45848 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45850 (msgqnum_t): Use __syscall_ulong_t.
45851 (msglen_t): Likewise.
45852 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45855 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45856 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45858 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45860 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45861 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45863 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45866 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45867 include <bits/wordsize.h>. Check __x86_64__ instead of
45870 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45871 "unsigned long long int" if __x86_64__ is defined.
45872 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45874 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45875 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45876 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45878 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45880 (GET_PC): Cast to uintptr_t first.
45881 (GET_FRAME): Likewise.
45882 (GET_STACK): Likewise.
45884 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45885 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45886 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45887 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45888 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45889 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45890 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45891 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45892 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45894 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45895 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45896 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45897 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45898 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45900 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45902 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45904 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45905 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45906 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45907 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45908 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45909 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45910 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45912 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45914 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45916 * Makerules (+depfiles): Also collect depfiles from .oS in
45918 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45919 .oS, $(libnldbl-routines)).
45921 * Makerules (native-compile-mkdep-flags): Define.
45922 * sunrpc/Makefile (extra-objs): Add $(addprefix
45923 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45924 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45925 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45926 calling $(make-target-directory).
45928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45930 * bits/types.h (__snseconds_t): Removed.
45931 * time/time.h (struct timespec): Replace __snseconds_t with
45933 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45934 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45936 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45937 (__SNSECONDS_T_TYPE): Likewise.
45938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45939 (__SNSECONDS_T_TYPE): Likewise.
45940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45941 (__SNSECONDS_T_TYPE): Likewise.
45943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45945 * sysdeps/mach/hurd/bits/typesizes.h
45946 (__SYSCALL_SLONG_TYPE): New macro.
45947 (__SYSCALL_ULONG_TYPE): Likewise.
45949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45951 * bits/types.h (__syscall_slong_t): New type.
45952 (__syscall_ulong_t): Likewise.
45954 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45955 (__SYSCALL_ULONG_TYPE): Likewise.
45956 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45957 (__SYSCALL_SLONG_TYPE): Likewise.
45958 (__SYSCALL_ULONG_TYPE): Likewise.
45959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45960 (__SYSCALL_SLONG_TYPE): Likewise.
45961 (__SYSCALL_ULONG_TYPE): Likewise.
45962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45963 (__SYSCALL_SLONG_TYPE): Likewise.
45964 (__SYSCALL_ULONG_TYPE): Likewise.
45966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45968 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45969 Add sigaltstack-offsets.sym.
45970 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45971 <sigaltstack-offsets.h>.
45972 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45973 longjmp_msg pointer.
45974 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45975 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45977 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45979 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45981 * elf/stackguard-macros.h: Remove file.
45982 * sysdeps/generic/stackguard-macros.h: New file.
45983 * sysdeps/i386/stackguard-macros.h: Likewise.
45984 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45985 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45986 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45987 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45988 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45989 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45990 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45991 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45992 <elf/stackguard-macros.h>.
45995 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45996 __aligned__ in attribute.
45997 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45998 (gregset_t): Likewise.
46000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46002 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46003 * sysdeps/x86_64/64/Implies-after: Here. New file.
46004 * sysdeps/x86_64/x32/Implies-after: New file.
46006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46008 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46009 and access return value for _dl_profile_fixup. Use R10_LP to
46012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46014 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46018 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46019 * sysdeps/x86_64/x32/sysdep.h: New file.
46021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46023 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46024 * sysdeps/x86_64/setjmp.S: Likewise.
46026 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46029 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46030 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46031 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46032 remove unused global constant.
46034 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
46036 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46037 include of <not-cancel.h>.
46039 2012-05-15 Roland McGrath <roland@hack.frob.com>
46041 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46043 2012-05-15 Jeff Law <law@redhat.com>
46044 Andreas Jaeger <aj@suse.de>
46047 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46049 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46050 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46051 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46052 code changing __hst_map_handle.map.
46054 2012-05-15 Roland McGrath <roland@hack.frob.com>
46056 * configure.in (sysnames): Look for Implies-before and Implies-after
46058 * configure: Regenerated.
46060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46062 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46063 8-byte data alignment with LP_SIZE alignment.
46065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46067 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46072 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46076 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46077 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46078 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46080 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46084 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46085 (stackinfo_sub_sp): Likewise.
46087 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46089 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46094 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46104 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46108 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46109 into R11_LP and load __x86_64_shared_cache_size_half into
46112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46114 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46117 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46121 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46126 powerpc32/power7/fpu/s_logb.c via #include.
46127 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46128 powerpc32/power7/fpu/s_logbf.c via #include.
46129 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46130 powerpc32/power7/fpu/s_logbl.c via #include.
46132 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46134 * README.libm: Remove file.
46136 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46138 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46139 count for x32. Use R*_LP and omit operand-size suffix.
46141 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46143 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46144 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46145 * sysdeps/x86_64/x32/shlib-versions: New file.
46147 2012-05-14 Roland McGrath <roland@hack.frob.com>
46149 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46150 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46151 Use _dl_fatal_printf instead.
46153 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46155 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46156 set if not set by the user. Do not allow for being unset.
46157 * sysdeps/unix/sysv/linux/configure: Regenerated.
46159 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46161 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46162 the `q' suffix from lea and replace .quad with ASM_ADDR.
46164 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46167 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46169 (PTR_DEMANGLE): Likewise.
46171 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46173 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46175 (ASM_ADDR): Likewise.
46176 (RAX_LP): Likewise.
46177 (RBP_LP): Likewise.
46178 (RBX_LP): Likewise.
46179 (RCX_LP): Likewise.
46180 (RDI_LP): Likewise.
46181 (RSI_LP): Likewise.
46182 (RSP_LP): Likewise.
46185 (R10_LP): Likewise.
46186 (R10_LP): Likewise.
46187 (R11_LP): Likewise.
46188 (R12_LP): Likewise.
46189 (R13_LP): Likewise.
46190 (R14_LP): Likewise.
46191 (R15_LP): Likewise.
46193 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46195 * sysdeps/x86_64/x32/dl-machine.h: New file.
46197 2012-05-14 Andreas Jaeger <aj@suse.de>
46199 * manual/Makefile (subdir): Remove export of subdir.
46200 (all): Remove target.
46201 (.PHONY): Remove all from list.
46202 (mkinstalldirs): Remove.
46203 (.PHONY): Remove installdirs from list.
46204 ($(inst_infodir)/libc.info): Use make-target-directory.
46205 (installdirs): Remove.
46206 (subdir_%): Remove.
46207 (glibc-targets): Remove.
46210 ($(objpfx)stubs ../po/manual.pot): Remove.
46211 ($(objpfx)stamp%): Remove.
46212 (make-target-directory): Remove.
46213 (subdir_install): Remove.
46214 (routines): Remove.
46221 * manual/.gitignore: Remove, it's not needed anymore.
46222 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46224 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46226 (texis): Renamed to $(objpfx)texis.
46227 (texis-path): New, contains path to generated files.
46228 (chapters.%): Use texis-path for complete path, add extra argument
46230 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46231 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46232 (summary,texi, stamp-summary): Use complete path of
46233 files. Generate files in build dir.
46234 (dir-add.texi): Build in build dir.
46235 (libm-err.texi,stamp-libm-err): Likewise.
46236 (version.texi, stamp-version): Likewise.
46237 (.%c.texi): Likewise.
46238 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46239 (mostlyclean): Remove target.
46240 (realclean): Remove target.
46241 (generated): Add new variable with contents from mostlyclean and
46242 realclean, remove entries duplicated in common-mostlyclean, add
46243 stamp-libm-err and stamp-version.
46244 (generated-dirs): Add libc directory.
46245 ($(inst_infodir)/libc.info): Install files from build dir.
46247 * manual/install.texi (Configuring and compiling): Adjust since
46248 the info files are not part of the tar ball anymore.
46250 2012-05-14 Andreas Jaeger <aj@suse.de>
46252 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46255 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46258 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46259 to 2.2.0 where earlier.
46260 * sysdeps/unix/sysv/linux/configure: Regenerated.
46261 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46262 Remove conditional code.
46263 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46264 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46265 Remove conditional code.
46266 [!__NR_lchown]: Likewise.
46267 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46268 [__NR_lchown]: Likewise.
46269 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46270 comment referencing __ASSUME_LCHOWN_SYSCALL.
46271 * sysdeps/unix/sysv/linux/i386/sigaction.c
46272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46274 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46275 Remove conditional code.
46276 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46277 (__protocol_available): Remove #if 0 code.
46278 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46280 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46281 * sysdeps/unix/sysv/linux/kernel-features.h
46282 (__ASSUME_GETCWD_SYSCALL): Don't define.
46283 (__ASSUME_REALTIME_SIGNALS): Likewise.
46284 (__ASSUME_PREAD_SYSCALL): Likewise.
46285 (__ASSUME_PWRITE_SYSCALL): Likewise.
46286 (__ASSUME_POLL_SYSCALL): Likewise.
46287 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46288 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46290 (__ASSUME_SIOCGIFNAME): Don't define.
46291 (__ASSUME_MSG_NOSIGNAL): Likewise.
46292 (__ASSUME_SENDFILE): Define unconditionally.
46293 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46294 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46296 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46297 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46298 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46299 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46300 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46301 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46302 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46304 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46307 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46310 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46313 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46316 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46319 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46325 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46327 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46328 Remove conditional code.
46329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46330 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46331 Remove conditional code.
46332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46333 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46334 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46335 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46336 Remove conditional code.
46337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46338 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46339 Remove conditional code.
46340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46341 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46342 Remove conditional code.
46343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46344 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46345 Remove conditional code.
46346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46347 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46348 Remove conditional code.
46349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46350 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46351 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46353 * sysdeps/unix/sysv/linux/sigaction.c
46354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46356 * sysdeps/unix/sysv/linux/sigpending.c
46357 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46358 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46359 * sysdeps/unix/sysv/linux/sigprocmask.c
46360 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46361 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46362 * sysdeps/unix/sysv/linux/sigsuspend.c
46363 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46364 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46366 (__libc_missing_rt_sigs): Remove.
46367 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46368 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46369 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46370 Remove conditional code.
46371 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46372 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46374 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46375 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46376 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46377 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46379 2012-05-14 Andreas Jaeger <aj@suse.de>
46381 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46382 it's not used in glibc.
46383 (__coshm1): Likewise.
46384 (__acosh1p): Likewise.
46387 * manual/string.texi (Copying and Concatenation): Add missing
46388 variable in concat example.
46389 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46391 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46394 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46395 __builtin_clzl with __builtin_clzll.
46397 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46400 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46403 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46405 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46406 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46407 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46408 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46410 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46412 * NEWS: Update ia64 info.
46414 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46416 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46419 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46421 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46422 * sysdeps/unix/syscalls.list (dup3): Likewise.
46423 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46424 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46426 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46428 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46429 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46431 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46433 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46435 (TLS_IE): Use mov/add instead of movq/addq to load thread
46437 (TLS_GD_PREFIX): New.
46440 2012-05-11 David S. Miller <davem@davemloft.net>
46442 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46443 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46444 (_FPU_SETCW): Likewise.
46446 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46448 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46449 is 32-byte aligned.
46451 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46454 * iconvdata/gb18030.c: Update tables.
46455 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46456 characters specially.
46457 (BODY for TO_LOOP): Add encoding of missing ranges.
46459 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46462 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46463 * sysdeps/mach/hurd/dup3.c: Likewise.
46464 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46465 * sysdeps/powerpc/memmove.c:: Likewise.
46467 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46470 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46472 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46474 * elf/elf.h (R_X86_64_RELATIVE64): New.
46475 (R_X86_64_NUM): Updated.
46476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46477 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46478 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46479 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46480 tst-quad1pie tst-quad2pie
46481 (modules-names): Add tst-quadmod1 tst-quadmod2.
46482 ($(objpfx)tst-quad1): New dependency.
46483 ($(objpfx)tst-quad2): Likewise.
46484 ($(objpfx)tst-quad1pie): Likewise.
46485 ($(objpfx)tst-quad2pie): Likewise.
46486 * sysdeps/x86_64/tst-quad1.c: New file.
46487 * sysdeps/x86_64/tst-quad1pie.c: New file.
46488 * sysdeps/x86_64/tst-quad2.c: Likewise.
46489 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46490 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46491 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46492 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46493 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46495 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46497 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46498 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46499 * streams/stropts.h (t_scalar_t): Define type.
46501 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46502 (_PATH_PRESERVE): Set to "/var/lib".
46503 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46505 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46508 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46509 if __dir_mkfile succeeded.
46511 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46512 checking for _hurd_dtablesize. Unlock it right after having
46513 finished _hurd_dtable allocation.
46515 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46517 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46518 * sysdeps/mach/hurd/configure: Regenerated.
46519 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46520 special-casing to...
46521 * sysdeps/gnu/configure.in: ... this new file.
46522 * sysdeps/unix/sysv/linux/configure: Regenerated.
46523 * sysdeps/gnu/configure: New generated file.
46525 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46526 for Linux: use nsec instead of usec, as well as:
46527 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46528 members of type struct timespec.
46529 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46531 (struct stat64): Likewise.
46532 (_STATBUF_ST_NSEC): New macro.
46533 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46535 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46536 __strtoul_internal rather than strtoul.
46538 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46540 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46543 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46545 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46546 which preserves existing values.
46547 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46549 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46551 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46552 TIMEOUT values. Return EINVAL for NFDS values either negative or
46553 greater than FD_SETSIZE.
46555 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46557 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46558 allocated, call __vm_protect to finish enabling the existing space, and
46559 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46560 allocate the remainder.
46562 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46564 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46565 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46569 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46570 sysdeps/mach/hurd/readlink.c.
46572 * posix/tst-sysconf.c (posix_options): Only use
46573 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46574 _POSIX_SYNCHRONIZED_IO when they are defined
46575 * sysdeps/mach/hurd/bits/posix_opt.h:
46576 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46577 (_XOPEN_REALTIME): Undefine macro.
46578 (_XOPEN_REALTIME_THREADS): Undefine macro.
46579 (_XOPEN_SHM): Undefine macro.
46580 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46582 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46584 (_POSIX_ASYNC_IO): Undefine macro.
46585 (_POSIX_PRIORITIZED_IO): Undefine macro.
46586 (_POSIX_SPIN_LOCKS): Define macro to -1.
46588 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46589 SA_NODEFER, SA_RESETHAND.
46590 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46591 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46594 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46596 * elf/Makefile (pldd-modules): Define unconditionally.
46598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46600 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46604 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46605 Return ENOENT when name is empty.
46606 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46608 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46610 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46612 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46614 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46616 Fix mlock in all cases except non-readable pages.
46617 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46618 instead of VM_PROT_ALL as parameter to __vm_wire function.
46620 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46621 (__mkdir): When path is `/', just fail with EEXIST.
46622 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46624 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46626 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46627 <sys/uio.h> (for writev).
46628 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46629 and <sys/param.h> (for MIN).
46631 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46633 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46634 REQUESTED_TIME. Properly set the remaining time and return EINTR
46637 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46639 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46640 Depend on against $(link-rpcuserlibs).
46642 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46644 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46645 (__libc_stack_end): Do not use attribute_relro.
46646 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46647 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46648 to libthread-provided value.
46649 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46652 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46655 * bits/libc-lock.h (__libc_once_get): New macro.
46656 * sysdeps/mach/bits/libc-lock.h: Likewise.
46657 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46658 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46659 instead of using implementation details.
46661 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46662 * libio/freopen.c: Likewise.
46663 * libio/freopen64.c: Likewise.
46664 * misc/syslog.c: Likewise.
46665 * nscd/connections.c: Likewise.
46666 * nscd/netgroupcache.c: Likewise.
46667 * sysdeps/posix/getcwd.c: Likewise.
46669 2012-05-10 Roland McGrath <roland@hack.frob.com>
46671 * math/w_ilogbf.c: Add #include <limits.h>.
46673 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46675 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46676 path instead of returning without unlocking.
46678 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46679 immediate-write ioctls.
46680 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46682 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46684 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46685 __builtin_frame_address instead of making assumptions about the
46686 location of the return address relative to DATA. Force early load of
46687 the return address.
46688 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46689 __builtin_frame_address.
46692 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46693 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46694 implement dup3 and do some further code clean-ups.
46695 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46696 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46700 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46702 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46703 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46704 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46705 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46706 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46709 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46710 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46711 when handler == SIG_ERR, not when handler != SIG_ERR.
46713 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46715 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46716 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46719 accept4 for GNU Hurd.
46720 * include/sys/socket.h (__libc_accept4): New prototype.
46721 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46722 to implement __libc_accept4.
46723 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46725 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46727 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46728 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46729 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46730 signal-defines.sym.
46732 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46734 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46736 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46738 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46739 assertion on O_CLOEXEC flag.
46740 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46741 * hurd/intern-fd.c: Likewise.
46742 * hurd/port2fd.c: Likewise.
46744 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46747 * bits/in.h (IPV6_PKTINFO): Define new macro.
46748 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46750 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46755 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46757 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46758 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46759 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46760 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46761 * math/libm-test.inc (logb_test) : Additional logb tests.
46763 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46764 Andreas Jaeger <aj@suse.de>
46766 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46767 * configure: Regenerated.
46768 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46769 * config.make.in (link-obsolete-rpc): New substituted variable.
46770 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46771 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46772 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46773 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46774 so that libc.a contains the symbols.
46775 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46776 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46777 * sunrpc/auth_none.c: Likewise.
46778 * sunrpc/auth_unix.c: Likewise.
46779 * sunrpc/authdes_prot.c: Likewise.
46780 * sunrpc/authuxprot.c: Likewise.
46781 * sunrpc/clnt_gen.c: Likewise.
46782 * sunrpc/clnt_perr.c: Likewise.
46783 * sunrpc/clnt_raw.c: Likewise.
46784 * sunrpc/clnt_simp.c: Likewise.
46785 * sunrpc/clnt_tcp.c: Likewise.
46786 * sunrpc/clnt_udp.c: Likewise.
46787 * sunrpc/clnt_unix.c: Likewise.
46788 * sunrpc/des_crypt.c: Likewise.
46789 * sunrpc/des_soft.c: Likewise.
46790 * sunrpc/get_myaddr.c: Likewise.
46791 * sunrpc/key_call.c: Likewise.
46792 * sunrpc/key_prot.c: Likewise.
46793 * sunrpc/netname.c: Likewise.
46794 * sunrpc/pm_getmaps.c: Likewise.
46795 * sunrpc/pm_getport.c: Likewise.
46796 * sunrpc/pmap_clnt.c: Likewise.
46797 * sunrpc/pmap_prot.c: Likewise.
46798 * sunrpc/pmap_prot2.c: Likewise.
46799 * sunrpc/pmap_rmt.c: Likewise.
46800 * sunrpc/publickey.c: Likewise.
46801 * sunrpc/rpc_cmsg.c: Likewise.
46802 * sunrpc/rpc_common.c: Likewise.
46803 * sunrpc/rpc_dtable.c: Likewise.
46804 * sunrpc/rpc_prot.c: Likewise.
46805 * sunrpc/rpc_thread.c: Likewise.
46806 * sunrpc/rtime.c: Likewise.
46807 * sunrpc/svc.c: Likewise.
46808 * sunrpc/svc_auth.c: Likewise.
46809 * sunrpc/svc_raw.c: Likewise.
46810 * sunrpc/svc_run.c: Likewise.
46811 * sunrpc/svc_tcp.c: Likewise.
46812 * sunrpc/svc_udp.c: Likewise.
46813 * sunrpc/svc_unix.c: Likewise.
46814 * sunrpc/svcauth_des.c: Likewise.
46815 * sunrpc/xcrypt.c: Likewise.
46816 * sunrpc/xdr.c: Likewise.
46817 * sunrpc/xdr_array.c: Likewise.
46818 * sunrpc/xdr_float.c: Likewise.
46819 * sunrpc/xdr_intXX_t.c: Likewise.
46820 * sunrpc/xdr_mem.c: Likewise.
46821 * sunrpc/xdr_rec.c: Likewise.
46822 * sunrpc/xdr_ref.c: Likewise.
46823 * sunrpc/xdr_sizeof.c: Likewise.
46824 * sunrpc/xdr_stdio.c: Likewise.
46826 2012-05-10 Roland McGrath <roland@hack.frob.com>
46828 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46829 change. Update copyright years.
46831 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46833 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46835 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46836 Joseph Myers <joseph@codesourcery.com>
46837 Paul Pluzhnikov <ppluzhnikov@google.com>
46840 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46842 [cross-compiling] (extra-libs): Likewise.
46843 [cross-compiling] (extra-libs-others): Likewise.
46844 [cross-compiling] (librpcsvc-routines): Likewise.
46845 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46846 [cross-compiling] (omit-deps): Likewise.
46847 (sunrpc-CPPFLAGS): New variable.
46848 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46849 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46850 (cross-rpcgen-objs): New variable.
46851 (extra-objs): Append $(cross-rpcgen-objs).
46852 ($(cross-rpcgen-objs)): New rule.
46853 ($(objpfx)cross-rpcgen): Likewise.
46854 (rpcgen-cmd): Define to use $(built-program-file). Expand
46856 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46857 ($(objpfx)x%.stmp): Likewise.
46858 * sunrpc/proto.h [IS_IN_build] (_): Define.
46859 [IS_IN_build] (_libc_intl_domainname): Likewise.
46861 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46864 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46865 and R_X86_64_TPOFF64.
46867 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46869 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46870 sysdeps/unix/sysv/syscalls.list.
46873 * sysdeps/unix/sysv/syscalls.list: Remove file.
46875 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46878 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46879 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46880 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46881 (__LC_IDENTIFICATION): Make these macros useful in #if
46882 expressions, as required by C99.
46884 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46886 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46887 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46890 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46892 * stdlib/longlong.h: Updated from GCC.
46894 2012-05-09 Andreas Jaeger <aj@suse.de>
46896 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46897 default is first entry.
46898 (run_mode): Set type.
46899 (main): Remove informal message about syslog.
46900 (options): Fix typo.
46903 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46906 (llrintf): Likewise.
46907 (llrint): Likewise.
46910 (nearbyint): Likewise.
46911 (nearbyintf): Likewise.
46913 2012-05-09 Andreas Jaeger <aj@suse.de>
46914 Pedro Alves <palves@redhat.com>
46916 * nscd/nscd.c (run_mode): Use enum.
46917 (main): Cleanup coding style issue.
46919 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
46920 Andreas Jaeger <aj@suse.de>
46922 * nscd/nscd.c (go_background): Replaced with...
46923 (run_mode): ... this.
46924 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46925 (options): Add -F --foreground.
46926 (main): Implement it.
46927 (parse_opt): Parse it.
46929 2012-05-09 Andreas Jaeger <aj@suse.de>
46932 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46933 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46934 -Wconversion warning.
46935 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46938 2012-05-09 Joseph Myers <joseph@codesourcery.com>
46940 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46942 (LC_ALL): Use macro-int-constant.
46943 (LC_COLLATE): Likewise.
46944 (LC_CTYPE): Likewise.
46945 (LC_MESSAGES): Likewise.
46946 (LC_MONETARY): Likewise.
46947 (LC_NUMERIC): Likewise.
46948 (LC_TIME): Likewise.
46949 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46950 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46952 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46954 [C99-based standards] (float_t): Expect type.
46955 [C99-based standards] (double_t): Expect type.
46956 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46958 [C99-based standards] (HUGE_VALL): Likewise.
46959 [C99-based standards] (INFINITY): Likewise.
46960 [C99-based standards] (NAN): Likewise.
46961 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46962 [C99-based standards] (FP_NAN): Likewise.
46963 [C99-based standards] (FP_NORMAL): Likewise.
46964 [C99-based standards] (FP_SUBNORMAL): Likewise.
46965 [C99-based standards] (FP_ZERO): Likewise.
46966 [C99-based standards] (FP_FAST_FMA): Use
46967 optional-macro-int-constant. Specify type. Require == 1.
46968 [C99-based standards] (FP_FAST_FMAF): Likewise.
46969 [C99-based standards] (FP_FAST_FMAL): Likewise.
46970 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46971 [C99-based standards] (FP_ILOGBNAN): Likewise.
46972 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46974 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46975 [C99-based standards] (math_errhandling): Specify type.
46976 [ISO99 || ISO11] (signgam): Do not allow.
46977 [non-C99-based standards] (copysignf): Do not allow.
46978 [non-C99-based standards] (exp2f): Likewise.
46979 [non-C99-based standards] (log2f): Likewise.
46980 [non-C99-based standards] (modff): Allow.
46981 [non-C99-based standards] (erff): Do not allow.
46982 [non-C99-based standards] (erfcf): Likewise.
46983 [non-C99-based standards] (gammaf): Likewise.
46984 [non-C99-based standards] (hypotf): Likewise.
46985 [non-C99-based standards] (j0f): Likewise.
46986 [non-C99-based standards] (j1f): Likewise.
46987 [non-C99-based standards] (jnf): Likewise.
46988 [non-C99-based standards] (lgammaf): Likewise.
46989 [non-C99-based standards] (tgammaf): Likewise.
46990 [non-C99-based standards] (y0f): Likewise.
46991 [non-C99-based standards] (y1f): Likewise.
46992 [non-C99-based standards] (ynf): Likewise.
46993 [non-C99-based standards] (isnanf): Likewise.
46994 [non-C99-based standards] (acoshf): Likewise.
46995 [non-C99-based standards] (asinhf): Likewise.
46996 [non-C99-based standards] (atanhf): Likewise.
46997 [non-C99-based standards] (cbrtf): Likewise.
46998 [non-C99-based standards] (expm1f): Likewise.
46999 [non-C99-based standards] (ilogbf): Likewise.
47000 [non-C99-based standards] (log1pf): Likewise.
47001 [non-C99-based standards] (logbf): Likewise.
47002 [non-C99-based standards] (nextafterf): Likewise.
47003 [non-C99-based standards] (remainderf): Likewise.
47004 [non-C99-based standards] (rintf): Likewise.
47005 [non-C99-based standards] (scalbf): Likewise.
47006 [non-C99-based standards] (copysignl): Likewise.
47007 [non-C99-based standards] (exp2l): Likewise.
47008 [non-C99-based standards] (log2l): Likewise.
47009 [non-C99-based standards] (modfl): Allow.
47010 [non-C99-based standards] (erfl): Do not allow.
47011 [non-C99-based standards] (erfcl): Likewise.
47012 [non-C99-based standards] (gammal): Likewise.
47013 [non-C99-based standards] (hypotl): Likewise.
47014 [non-C99-based standards] (j0l): Likewise.
47015 [non-C99-based standards] (j1l): Likewise.
47016 [non-C99-based standards] (jnl): Likewise.
47017 [non-C99-based standards] (lgammal): Likewise.
47018 [non-C99-based standards] (tgammal): Likewise.
47019 [non-C99-based standards] (y0l): Likewise.
47020 [non-C99-based standards] (y1l): Likewise.
47021 [non-C99-based standards] (ynl): Likewise.
47022 [non-C99-based standards] (isnanl): Likewise.
47023 [non-C99-based standards] (acoshl): Likewise.
47024 [non-C99-based standards] (asinhl): Likewise.
47025 [non-C99-based standards] (atanhl): Likewise.
47026 [non-C99-based standards] (cbrtl): Likewise.
47027 [non-C99-based standards] (expm1l): Likewise.
47028 [non-C99-based standards] (ilogbl): Likewise.
47029 [non-C99-based standards] (log1pl): Likewise.
47030 [non-C99-based standards] (logbl): Likewise.
47031 [non-C99-based standards] (nextafterl): Likewise.
47032 [non-C99-based standards] (remainderl): Likewise.
47033 [non-C99-based standards] (rintl): Likewise.
47034 [non-C99-based standards] (scalbl): Likewise.
47035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47036 [non-C99-based standards] (FP_*): Do not allow.
47037 [C99-based standards] (FP_*): Change to
47038 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47039 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47041 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47042 (SIG_ERR): Likewise.
47043 [X/Open-based standards] (SIG_HOLD): Likewise.
47044 (SIG_IGN): Likewise.
47045 (SIGABRT): Use macro-int-constant. Specify type. Require
47047 (SIGFPE): Likewise.
47048 (SIGILL): Likewise.
47049 (SIGINT): Likewise.
47050 (SIGSEGV): Likewise.
47051 (SIGTER): Likewise.
47052 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47053 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47054 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47055 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47056 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47057 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47058 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47059 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47060 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47061 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47062 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47063 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47064 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47065 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47066 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47067 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47068 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47069 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47070 [X/Open-based standards] (SIGTRAP): Likewise.
47071 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47072 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47073 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47074 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47075 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47078 2012-05-08 Ian Wienand <ianw@vmware.com>
47081 * time/tzset.c (__tzset_parse_tz): Update default rules for
47082 daylight time changes in the Energy Policy Act of 2005.
47084 2012-05-09 Andreas Jaeger <aj@suse.de>
47087 * elf/ldconfig.c (parse_conf): Change string to make clear that
47088 ldconfig only issued a warning if ld.so.conf does not exist.
47090 2012-05-08 David S. Miller <davem@davemloft.net>
47092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47093 movxtod instead of popping the value on the stack.
47095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47097 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47099 * config.h.in: Add HAVE_ARM_PCS_VFP.
47101 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47104 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47105 checking but the checks are disabled for any reason.
47107 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47109 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47110 and ELF64_R_TYPE with ELFW(R_TYPE).
47112 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47114 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47115 (ulimit): Likewise.
47117 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47118 (settimeofday): Likewise.
47120 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47122 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47123 a struct th_u2 inside the union, and move tu_block/tu_code into
47124 a new th_u3 union of tu_block/tu_code inside of that. Move
47125 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47126 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47127 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47128 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47129 (th_stuff): Change to th_u1.tu_stuff.
47131 (th_msg): Change to th_u1.th_u2.tu_data.
47133 2012-05-07 David S. Miller <davem@davemloft.net>
47135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47138 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47139 (SETUP_PIC_REG): Use it.
47140 (SETUP_PIC_REG_LEAF): Use it.
47142 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47146 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47148 (EXPL_FINITE): Likewise.
47149 (FLDLOG): Likewise.
47150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47151 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47153 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47155 (EXPL_FINITE): Likewise.
47156 (FLDLOG): Likewise.
47157 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47158 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47160 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47161 test of -max_value argument for long double.
47162 * sysdeps/i386/fpu/libm-test-ulps: Update.
47163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47165 2012-05-06 David S. Miller <davem@davemloft.net>
47167 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47168 quad soft-float symbols whose references which are compiler
47170 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47172 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47176 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47178 (EXPL_FINITE): Likewise.
47179 (FLDLOG): Likewise.
47182 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47183 Adjust comments for base varying.
47184 (__expl_finite): Change alias to EXPL_FINITE.
47185 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47187 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47188 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47189 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47190 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47191 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47193 (EXPL_FINITE): Likewise.
47194 (FLDLOG): Likewise.
47197 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47198 Adjust comments for base varying.
47199 (__expl_finite): Change alias to EXPL_FINITE.
47200 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47205 * math/libm-test.inc (check_float_internal): Correct ulp
47206 calculation for subnormal expected results.
47208 2012-05-06 Andreas Jaeger <aj@suse.de>
47210 * Makeconfig (+math-flags): New, set to -frounding-math.
47211 (+cflags): Add +math-flags so that all of glibc gets compiled with
47214 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47216 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47218 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47224 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47225 (__ieee754_expl): Allow for and saturate large arguments.
47226 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47227 (u_threshold): Likewise.
47228 (__exp): Call __ieee754_exp before checking for overflow and
47230 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47231 (u_threshold): Likewise.
47232 (__expf): Call __ieee754_expf before checking for overflow and
47234 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47235 (u_threshold): Likewise.
47236 (__expl): Call __ieee754_expl before checking for overflow and
47238 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47239 (__ieee754_expl): Allow for and saturate large arguments.
47240 * math/libm-test.inc (exp_test): Add another test. Do not allow
47241 missing overflow exception on overflow.
47242 (expm1_test): Do not allow missing overflow exception on overflow.
47244 * sysdeps/i386/fpu/e_expl.c: Move to ...
47245 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47246 rather than using inline asm.
47247 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47248 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47249 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47251 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47254 (signal): Likewise.
47258 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47260 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47261 sysdeps/unix/common/syscalls.list.
47262 (fchmod): Likewise.
47263 (fchown): Likewise.
47264 (ftruncate): Likewise.
47265 (getrusage): Likewise.
47266 (gettimeofday): Likewise.
47267 (setpgid): Likewise.
47268 (setregid): Likewise.
47269 (setreuid): Likewise.
47270 (sigaction): Likewise.
47271 (truncate): Likewise.
47272 (vhangup): Likewise.
47273 * sysdeps/unix/common/syscalls.list: Remove file.
47274 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47275 * sysdeps/unix/sysv/linux/Implies: Likewise.
47277 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47279 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47281 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47285 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47288 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47291 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47294 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47297 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47300 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47303 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47307 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47311 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47314 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47318 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47322 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47324 * sysdeps/unix/common/bits/dirent.h: Remove file.
47325 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47327 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47328 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47329 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47330 * sysdeps/unix/bsd/isatty.c: Likewise.
47331 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47332 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47333 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47335 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47339 long double comparison inaccuracies.
47340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47343 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47345 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47346 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47348 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47352 nonzero digits before rounding a hex value.
47353 * stdlib/tst-strtod.c (tests): Add another test.
47355 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47357 * sysdeps/s390/fpu/libm-test-ulps: Update.
47359 2012-05-03 Andreas Jaeger <aj@suse.de>
47361 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47362 does not get optimized out.
47363 (malloc_opt_barrier): New.
47365 2012-05-03 Andreas Jaeger <aj@suse.de>
47366 Roland McGrath <roland@hack.frob.com>
47368 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47369 intermediate file deletion.
47370 (generated): Add .symlist files.
47372 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47375 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47376 Redirect under this condition.
47377 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47378 [__USE_GNU] (__dprintf_chk): Not under this condition.
47379 [__USE_GNU] (__vdprintf_chk): Likewise.
47380 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47381 under this condition.
47382 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47383 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47384 [__USE_XOPEN2K8] (vdprintf): Likewise.
47385 [__USE_GNU] (__dprintf_chk): Not under this condition.
47386 [__USE_GNU] (__vdprintf_chk): Likewise.
47387 [__USE_GNU] (dprintf): Likewise.
47388 [__USE_GNU] (vdprintf): Likewise.
47390 2012-05-03 Roland McGrath <roland@hack.frob.com>
47392 * elf/Makefile (common-generated): Set this instead of generated for
47393 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47394 $(all-built-dso)-derived lists.
47396 2012-05-03 Andreas Jaeger <aj@suse.de>
47398 * sysdeps/i386/fpu/libm-test-ulps: Update.
47401 * FAQ.in: Likewise.
47402 * scripts/gen-FAQ.pl: Likewise.
47403 * manual/install.texi (Installation): Point to online location of
47405 * Makefile (files-for-dist): Remove FAQ.
47408 2012-05-02 Allan McRae <allan@archlinux.org>
47410 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47411 (LDFLAGS-reldepmod5.so): Likewise.
47412 (LDFLAGS-reldep6mod1.so): Likewise.
47413 (LDFLAGS-reldep6mod4.so): Likewise.
47414 (LDFLAGS-reldep8mod3.so): Likewise.
47415 (LDFLAGS-unload4mod1.so): Likewise.
47416 (LDFLAGS-unload4mod2.so): Likewise.
47417 (LDFLAGS-tst-initorder): Likewise.
47418 (LDFLAGS-tst-initordera2.so): Likewise.
47419 (LDFLAGS-tst-initordera3.so): Likewise.
47420 (LDFLAGS-tst-initordera4.so): Likewise.
47421 (LDFLAGS-tst-initorderb2.so): Likewise.
47422 (LDFLAGS-noload): Likewise.
47423 (LDFLAGS-next): Likewise.
47424 (LDFLAGS-order2mod1.so): Likewise.
47425 (LDFLAGS-order2mod2.so): Likewise.
47426 (LDFLAGS-tst-initorder2): Likewise.
47427 (LDFLAGS-tst-initorder2a.so): Likewise.
47428 (LDFLAGS-tst-initorder2b.so): Likewise.
47429 (LDFLAGS-tst-initorder2c.so): Likewise.
47430 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47432 2012-05-02 David S. Miller <davem@davemloft.net>
47434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47436 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47439 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47441 2012-05-02 Andreas Jaeger <aj@suse.de>
47443 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47444 since we manipulate rounding mode.
47445 (CPPFLAGS-test-idouble.c): Likewise.
47446 (CPPFLAGS-test-ifloat.c): Likewise.
47447 (CFLAGS-test-ldouble.c): Likewise.
47448 (CFLAGS-test-double.c): Likewise.
47449 (CFLAGS-test-float.c): Likewise.
47450 (CFLAGS-test-misc.c): Likewise.
47451 (CFLAGS-test-test-fenv.c): Likewise.
47453 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47457 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47458 comparisons to determine direction to adjust input.
47460 2012-05-01 Roland McGrath <roland@hack.frob.com>
47462 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47463 output to the target.
47465 * scripts/localplt.awk: New file.
47466 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47467 (check-localplt-CFLAGS): Variable removed.
47468 ($(all-built-dso:=.jmprel)): New static pattern rule.
47469 (generated): Add those targets.
47470 (localplt-built-dso): New variable.
47471 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47473 * elf/check-localplt.c: File removed.
47475 * scripts/check-execstack.awk: New file.
47476 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47477 (check-execstack-CFLAGS): Variable removed.
47478 ($(objpfx)check-execstack.h): Target removed.
47479 ($(objpfx)execstack-default): New target.
47480 (generated): Add that instead of check-execstack.h.
47481 ($(all-built-dso:=.phdr)): New static pattern rule.
47482 (generated): Add those targets.
47483 * elf/check-execstack.c: File removed.
47485 * scripts/check-textrel.awk: New file.
47486 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47487 (check-textrel-CFLAGS): Variable removed.
47488 (all-built-dso): Use := to define.o
47489 ($(all-built-dso:=.dyn)): New static pattern rule.
47490 (generated): Add those targets.
47491 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47492 * config.make.in (READELF): New substituted variable.
47493 * elf/check-textrel.c: File removed.
47495 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47497 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47499 * conform/data/ctype.h-data [C99-based standards] (isblank):
47501 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47502 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47504 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47505 Specify type. Require positive value.
47506 (EILSEQ): Likewise.
47507 (ERANGE): Likewise.
47508 [ISO || POSIX] (EILSEQ): Do not expect.
47509 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47510 Specify type. Require positive value.
47511 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47512 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47513 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47514 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47515 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47516 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47517 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47518 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47519 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47520 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47521 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47522 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47523 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47524 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47525 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47526 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47527 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47528 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47529 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47530 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47531 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47532 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47533 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47534 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47535 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47536 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47537 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47538 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47539 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47540 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47541 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47542 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47543 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47544 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47545 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47546 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47547 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47548 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47549 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47550 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47551 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47552 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47553 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47554 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47555 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47556 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47557 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47558 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47559 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47560 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47561 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47562 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47563 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47564 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47565 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47566 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47567 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47568 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47569 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47570 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47571 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47572 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47573 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47574 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47575 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47576 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47577 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47578 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47579 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47580 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47581 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47582 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47583 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47584 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47585 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47586 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47587 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47589 (FLT_ROUNDS): Expect as macro, not constant.
47590 (FLT_MANT_DIG): Use macro-int-constant.
47591 (DBL_MANT_DIG): Likewise.
47592 (LDBL_MANT_DIG): Likewise.
47593 (FLT_DIG): Likewise.
47594 (DBL_DIG): Likewise.
47595 (LDBL_DIG): Likewise.
47596 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47597 (DBL_MIN_EXP): Likewise.
47598 (LDBL_MIN_EXP): Likewise.
47599 (FLT_MAX_EXP): Use macro-int-constant.
47600 (DBL_MAX_EXP): Likewise.
47601 (LDBL_MAX_EXP): Likewise.
47602 (FLT_MAX_10_EXP): Likewise.
47603 (DBL_MAX_10_EXP): Likewise.
47604 (LDBL_MAX_10_EXP): Likewise.
47605 (FLT_MAX): Use macro-constant.
47606 (DBL_MAX): Likewise.
47607 (LDBL_MAX): Likewise.
47608 (FLT_EPSILON): Use macro-constant. Give upper bound.
47609 (DBL_EPSILON): Likewise.
47610 (LDBL_EPSILON): Likewise.
47611 (FLT_MIN): Likewise.
47612 (DBL_MIN): Likewise.
47613 (LDBL_MIN): Likewise.
47614 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47615 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47616 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47617 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47618 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47619 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47620 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47621 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47622 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47623 [ISO11] (FLT_TRUE_MIN): Likewise.
47624 [ISO11] (LDBL_TRUE_MIN): Likewise.
47625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47626 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47627 (SCHAR_MIN): Use macro-int-constant. Specify type.
47628 (SCHAR_MAX): Likewise.
47629 (UCHAR_MAX): Likewise.
47630 (CHAR_MIN): Likewise.
47631 (CHAR_MAX): Likewise.
47632 (MB_LEN_MAX): Use macro-int-constant.
47633 (SHRT_MIN): Use macro-int-constant. Specify type.
47634 (SHRT_MAX): Likewise.
47635 (USHRT_MAX): Likewise.
47636 (INT_MAX): Likewise.
47637 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47639 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47641 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47643 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47644 bound negative. Suffix upper bound with "L".
47645 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47647 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47649 [C99-based standards] (LLONG_MAX): Likewise.
47650 [C99-based standards] (ULLONG_MAX): Likewise.
47651 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47653 [ISO11] (max_align_t): Require type.
47654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47656 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47657 from $CFLAGS, without defining away __attribute__ calls.
47658 (checknamespace): Use $CFLAGS_namespace.
47660 * conform/conformtest.pl (@keywords): Only include C99 keywords
47661 for standards based on C99 or C11.
47663 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47665 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47668 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47669 usability of symbols in #if.
47671 * conform/conformtest.pl: If macro or constant types start
47672 "promoted:", expect the symbol to be of the following type
47673 promoted by the integer promotions.
47675 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47676 in one place. Also handle "macro-constant".
47678 * conform/conformtest.pl: Only accept expected macro values with
47679 "==". Parse all "macro" lines in one place.
47680 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47682 * conform/conformtest.pl: Handle braced types on "constant" lines
47683 instead of handling "typed-constant".
47684 * conform/data/signal.h-data: Use "constant" instead of
47687 * conform/conformtest.pl: Handle "optional-" at start of lines in
47688 one place rather than duplicating several cases. Handle each
47689 format of "macro" line with initial "optional-".
47691 * conform/conformtest.pl: Only accept expected constant or
47692 optional-constant values with "==". Parse all "constant" lines in
47693 one place. Parse all "optional-constant" lines in one place.
47694 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47695 * conform/data/fmtmsg.h-data: Likewise.
47696 * conform/data/netinet/in.h-data: Likewise.
47697 * conform/data/tar.h-data: Likewise.
47698 * conform/data/limits.h-data: Use "==" form on "constant" and
47699 "optional-constant" lines.
47701 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47702 Use -std=c99 for XOPEN2K.
47703 (@knownproblems): Remove.
47704 (newtoken): Don't check %isknown.
47706 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47707 Do not expect macro.
47708 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47709 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47710 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47711 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47712 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47713 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47714 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47715 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47716 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47717 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47718 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47719 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47720 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47721 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47722 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47723 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47724 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47725 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47726 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47727 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47728 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47729 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47730 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47731 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47732 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47733 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47734 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47735 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47736 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47737 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47738 [XPG3] (acosh): Likewise.
47739 [XPG3] (asinh): Likewise.
47740 [XPG3] (atanh): Likewise.
47741 [XPG3] (cbrt): Likewise.
47742 [XPG3] (expm1): Likewise.
47743 [XPG3] (ilogb): Likewise.
47744 [XPG3] (log1p): Likewise.
47745 [XPG3] (logb): Likewise.
47746 [XPG3] (nextafter): Likewise.
47747 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47748 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47749 [XPG3] (remainder): Likewise.
47750 [XPG3] (rint): Likewise.
47751 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47752 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47753 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47754 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47755 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47756 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47757 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47758 [UNIX98 || XOPEN2K] (scalb): Expect.
47759 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47760 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47761 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47762 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47763 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47764 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47765 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47766 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47767 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47768 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47769 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47770 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47771 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47772 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47773 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47774 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47775 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47776 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47777 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47778 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47779 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47780 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47781 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47782 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47783 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47784 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47785 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47786 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47787 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47788 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47789 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47790 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47791 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47792 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47793 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47794 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47795 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47796 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47797 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47798 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47799 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47800 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47801 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47802 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47803 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47804 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47805 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47806 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47807 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47808 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47809 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47810 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47811 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47812 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47813 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47814 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47815 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47816 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47817 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47818 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47819 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47820 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47821 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47822 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47823 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47824 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47825 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47826 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47827 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47828 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47829 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47830 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47831 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47832 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47833 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47834 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47835 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47836 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47837 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47838 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47839 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47840 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47841 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47842 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47843 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47844 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47845 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47846 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47847 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47848 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47849 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47850 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47851 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47852 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47853 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47854 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47855 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47856 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47857 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47858 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47859 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47860 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47861 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47862 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47863 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47864 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47865 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47866 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47867 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47868 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47869 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47870 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47871 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47872 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47873 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47874 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47875 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47876 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47877 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47878 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47879 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47880 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47881 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47882 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47883 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47884 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47885 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47886 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47887 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47888 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47889 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47890 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47891 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47892 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47893 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47894 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47895 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47897 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47898 _XOPEN_SOURCE_EXTENDED for XPG4.
47900 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47902 * Makeconfig (localtime): Remove variable.
47903 (inst_localtime-file): Likewise.
47905 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47926 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47930 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47931 comparisons to determine direction to adjust input.
47932 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47933 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47936 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47938 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47940 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47941 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47943 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47945 * math/libm-test.inc (nexttoward_test): Add more tests.
47947 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47950 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47951 in version GLIBC_2.1, not GLIBC_2.0.
47952 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47955 2012-04-30 Joseph Myers <joseph@codesourcery.com>
47958 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47960 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47961 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47962 * math/libm-test.inc (acos_test): Add more tests.
47963 (asin_test): Likewise.
47964 * sysdeps/i386/fpu/libm-test-ulps: Update.
47965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47968 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47970 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47971 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47972 * math/libm-test.inc (acos_test_tonearest): New function.
47973 (acos_test_towardzero): Likewise.
47974 (acos_test_downward): Likewise.
47975 (acos_test_upward): Likewise.
47976 (asin_test_tonearest): Likewise.
47977 (asin_test_towardzero): Likewise.
47978 (asin_test_downward): Likewise.
47979 (asin_test_upward): Likewise.
47980 (main): Call the new functions.
47981 * sysdeps/i386/fpu/libm-test-ulps: Update.
47982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47986 * math/e_exp10.c: Include <float.h>.
47987 (__ieee754_exp10): Handle underflow here rather than multiplying
47988 large negative argument by M_LN10.
47989 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47991 * math/e_exp10l.c: Include <float.h>.
47992 (__ieee754_exp10l): Handle underflow here rather than multiplying
47993 large negative argument by M_LN10l.
47994 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47995 spurious overflow exception on underflow.
47997 2012-04-29 Marek Polacek <polacek@redhat.com>
47999 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48000 (__fortify_function): New macro.
48001 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48002 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48003 __extern_always_inline.
48004 * libio/bits/stdio2.h: Likewise.
48005 * libio/bits/stdio.h: Likewise.
48006 * string/string.h: Likewise.
48007 * string/bits/string3.h: Likewise.
48008 * include/stdio.h: Likewise.
48009 * stdlib/bits/stdlib.h: Likewise.
48010 * stdlib/stdlib.h: Likewise.
48011 * rt/bits/mqueue2.h: Likewise.
48012 * rt/mqueue.h: Likewise.
48013 * posix/bits/unistd.h: Likewise.
48014 * posix/unistd.h: Likewise.
48015 * io/bits/poll2.h: Likewise.
48016 * io/bits/fcntl2.h: Likewise.
48017 * io/fcntl.h: Likewise.
48018 * io/sys/poll.h: Likewise.
48019 * misc/bits/syslog.h: Likewise.
48020 * misc/bits/syslog-ldbl.h: Likewise.
48021 * misc/sys/syslog.h: Likewise.
48022 * socket/bits/socket2.h: Likewise.
48023 * socket/sys/socket.h: Likewise.
48024 * debug/tst-chk1.c: Likewise.
48025 * wcsmbs/bits/wchar2.h: Likewise.
48026 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48027 * wcsmbs/wchar.h: Likewise.
48029 2012-04-29 Andreas Jaeger <aj@suse.de>
48031 * Makerules (tests): Remove enable-check-abi protection.
48032 (check-abi-warn): Remove.
48033 (check-abi-%): Remove check-abi-warn usage.
48035 * configure.in: Remove check-abi configure option.
48036 * configure: Regenerated.
48037 * config.make.in (enable-check-abi): Remove.
48039 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
48042 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48043 double functions to double *_finite functions.
48046 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48047 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48049 * stdio-common/Makefile (tests): Add tst-sprintf3.
48050 * stdio-common/tst-sprintf3.c: New file.
48052 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48053 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48055 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48057 * conform/conformtest.pl: Remove duplicate typed-constant
48060 2012-04-28 David S. Miller <davem@davemloft.net>
48062 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48063 (check-abi-%): Remove AWK script prerequisite and explicit
48065 (check-abi): Rewrite to just diff the symlist with the abilist.
48066 (config-tls, config-abi-config): Delete, no longer used.
48067 (update-abi-%): Remove AWK script and explicit abilist directory.
48068 (update-abi): Rewrite to simply compare and conditionally copy the
48069 symlist and the sysdep abilist file. Remove update-abi-config
48071 * abilist/ld.abilist: Remove.
48072 * abilist/libBrokenLocale.abilist: Remove.
48073 * abilist/libanl.abilist: Remove.
48074 * abilist/libcrypt.abilist: Remove.
48075 * abilist/libdl.abilist: Remove.
48076 * abilist/librt.abilist: Remove.
48077 * abilist/libthread_db.abilist: Remove.
48078 * abilist/libutil.abilist: Remove.
48079 * scripts/extract-abilist.awk: Remove.
48080 * scripts/merge-abilist.awk: Remove.
48081 * sysdeps/generic/libcidn.abilist: New file.
48082 * sysdeps/generic/libnss_compat.abilist: New file.
48083 * sysdeps/generic/libnss_db.abilist: New file.
48084 * sysdeps/generic/libnss_dns.abilist: New file.
48085 * sysdeps/generic/libnss_files.abilist: New file.
48086 * sysdeps/generic/libnss_hesiod.abilist: New file.
48087 * sysdeps/generic/libnss_nis.abilist: New file.
48088 * sysdeps/generic/libnss_nisplus.abilist: New file.
48089 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48090 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48091 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48093 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48094 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48095 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48096 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48097 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48098 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48099 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48100 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48101 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48103 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48104 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48105 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48106 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48108 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48109 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48110 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48111 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48112 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48113 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48115 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48116 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48117 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48119 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48222 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48223 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48224 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48226 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48227 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48228 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48229 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48230 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48231 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48232 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48233 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48234 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48235 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48287 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48289 * conform/conformtest.pl: Fix typo in handling typed-constant from
48292 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48294 * README: Cut down references to pre-2.6 Linux kernels and
48295 Linuxthreads. Update lists of configurations in libc and ports
48296 and sort alphabetically. Say "or newer" with Linux kernel version
48299 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48301 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48304 * math/libm-test.inc (logb_test_downward): New test to expose
48305 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48308 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48311 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48313 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48314 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48316 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48318 * sysdeps/unix/i386/brk.S: Remove file.
48319 * sysdeps/unix/i386/dl-brk.S: Likewise.
48320 * sysdeps/unix/i386/pipe.S: Likewise.
48321 * sysdeps/unix/i386/sigreturn.S: Likewise.
48322 * sysdeps/unix/i386/syscall.S: Likewise.
48323 * sysdeps/unix/i386/vfork.S: Likewise.
48324 * sysdeps/unix/i386/wait.S: Likewise.
48326 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48327 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48329 * configure.in (arm*-none*): Do not allow without
48330 --enable-hacker-mode.
48331 (netbsd*): Remove case setting base_os.
48332 (386bsd*): Likewise.
48333 (freebsd*): Likewise.
48336 (sunos*): Likewise.
48337 (ultrix*): Likewise.
48338 (newsos*): Likewise.
48339 (dynix*): Likewise.
48345 (minix*): Likewise.
48346 (irix4*): Likewise.
48347 (irix6*): Likewise.
48348 (solaris[2-9]*): Likewise.
48350 * configure: Regenerated.
48352 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48355 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48356 overflow or cancellation in calculating denominator.
48357 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48358 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48359 down expression to avoid unexpected rounding in newer GCCs.
48360 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48362 2012-04-26 David S. Miller <davem@davemloft.net>
48364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48365 long-double compat symbols.
48366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48380 2012-04-25 David S. Miller <davem@davemloft.net>
48382 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48383 HWCAP_* values only after the memory barriers have been defined.
48384 (atomic_full_barrier): Define.
48385 (atomic_read_barrier): Define.
48386 (atomic_write_barrier): Define.
48388 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48390 * shlib-versions: Add libgcc_s version information.
48391 * sysdeps/generic/libgcc_s.h: Remove.
48392 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48394 * sysdeps/gnu/unwind-resume.c: Likewise.
48395 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48397 2012-04-25 David S. Miller <davem@davemloft.net>
48399 * sysdeps/unix/sparc/brk.S: Delete.
48400 * sysdeps/unix/sparc/dl-brk.S: Delete.
48401 * sysdeps/unix/sparc/pipe.S: Delete.
48402 * sysdeps/unix/sparc/sysdep.S: Delete.
48403 * sysdeps/unix/sparc/sysdep.h: Delete.
48404 * sysdeps/unix/sparc/vfork.S: Delete.
48405 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48406 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48407 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48408 (ret_ERRVAL, r0, r1, MOVE): Define.
48409 (JUMPTARGET): Remove.
48410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48411 sysdeps/unix/sparc/sysdep.h
48412 (ENTRY, END): Remove.
48413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48415 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48417 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48418 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48421 * timezone/README: Update upstream location and email address for
48423 * timezone/zdump.c: Update from tzcode 2012b.
48424 * timezone/zic.c: Likewise.
48426 * configure.in (libc_cv_as_needed): Remove test.
48427 * configure: Regenerated.
48428 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48429 conditional definition.
48430 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48431 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48432 * config.make.in (have-as-needed): Remove variable.
48434 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48435 Paul Pluzhnikov <ppluzhnikov@google.com>
48437 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48440 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48442 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48443 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48444 * sysdeps/sh/strlen.S: Likewise.
48446 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48448 * sysdeps/unix/fork.S: Remove file.
48449 * sysdeps/unix/i386/fork.S: Likewise.
48450 * sysdeps/unix/sparc/fork.S: Likewise.
48452 * sysdeps/unix/system.c: Remove file.
48453 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48455 * sysdeps/unix/getegid.S: Remove file.
48456 * sysdeps/unix/geteuid.S: Likewise.
48458 2012-04-24 Roland McGrath <roland@hack.frob.com>
48460 * scripts/check-localplt.awk: New file.
48461 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48463 * scripts/data/localplt-generic.data: Add a comment.
48465 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48466 NODE when __dir_mkfile failed.
48467 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48468 Reported by Ludovic Courtès <ludo@gnu.org>.
48470 2012-04-24 Andreas Jaeger <aj@suse.de>
48472 * Makerules (common-clean): Also remove gen-as-const-headers
48475 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48477 * Makerules (native-compile): Do not change working directory for
48478 build. Use $(OUTPUT_OPTION) in command.
48479 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48481 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48484 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48485 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48486 * math/libm-test.inc (floor_test): Add more tests.
48487 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48489 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48491 * sysdeps/unix/getdents.c: Remove file.
48492 * sysdeps/unix/sysv/getdents.c: Likewise.
48493 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48495 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48496 sysdeps/unix/mman/syscalls.list.
48498 (mprotect): Likewise.
48500 (munmap): Likewise.
48501 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48502 * sysdeps/unix/mman/syscalls.list: Remove.
48503 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48505 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48506 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48507 * configure: Regenerated.
48508 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48509 $(libgcc_s_suffix).
48510 * config.make.in (libgcc_s_suffix): Remove variable.
48512 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48514 * sysdeps/unix/sysv/gethostname.c: Move to ...
48515 * sysdeps/posix/gethostname.c: ... here.
48517 * sysdeps/unix/execve.S: Remove file.
48519 * sysdeps/unix/_exit.S: Remove file.
48521 2012-04-23 Andreas Jaeger <aj@suse.de>
48524 * manual/Makefile: Remove make dist support, there's no
48525 need for a stand-alone documentation tar ball.
48526 (TEXI2DVI): Define always, it's not in Makeconfig.
48529 (edition): Removed.
48530 (glibc-doc-$(edition).tar): Removed
48534 (ETAGS): Remove, it's in Makeconfig.
48535 (move-if-change): Remove, it's in Makeconfig.
48537 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48540 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48541 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48542 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48543 (strtod_l, strtof_l, strtold_l): Remove __wur.
48544 It is not necessarily an error to ignore strtol's return value.
48545 One can reliably look at the stored endptr to decide whether
48546 the number had valid syntax.
48548 2012-04-21 Andreas Jaeger <aj@suse.de>
48551 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48553 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48555 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48556 * sysdeps/unix/sysv/Versions: Remove file.
48558 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48563 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48566 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48567 version from __vm86.
48569 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48571 * sysdeps/unix/common/lxstat.c: Remove file.
48572 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48574 * sysdeps/unix/sysv/Makefile: Remove file.
48576 * sysdeps/unix/sysv/direct.h: Remove file.
48578 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48579 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48580 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48581 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48582 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48583 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48584 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48586 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48588 * sysdeps/unix/xmknod.c: Remove file.
48589 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48591 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48593 * sysdeps/unix/sysv/i386/time.S: Remove file.
48595 * sysdeps/unix/fxstat.c: Remove file.
48596 * sysdeps/unix/xstat.c: Likewise.
48597 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48599 * sysdeps/unix/sysv/sigaction.c: Remove file.
48601 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48602 (sysdep_headers): Remove variable.
48603 [termio.h not in sysdep_headers] (generated): Likewise.
48604 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48605 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48606 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48607 * sysdeps/unix/sysv/tcflow.c: Likewise.
48608 * sysdeps/unix/sysv/tcflush.c: Likewise.
48609 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48610 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48611 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48612 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48613 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48615 * sysdeps/unix/siglist.c: Remove file.
48617 * sysdeps/unix/getppid.S: Remove file.
48619 * sysdeps/unix/mkdir.c: Remove file.
48620 * sysdeps/unix/rmdir.c: Likewise.
48622 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48624 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48626 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48627 errlist-compat value.
48629 2012-04-18 David S. Miller <davem@davemloft.net>
48631 * sysdeps/generic/memcopy.h (reg_char): Delete.
48632 * debug/strcat_chk.c: Use char, not reg_char.
48633 * debug/strcpy_chk.c: Likewise.
48634 * debug/strncat_chk.c: Likewise.
48635 * debug/strncpy_chk.c: Likewise.
48636 * string/memchr.c: Likewise.
48637 * string/memrchr.c: Likewise.
48638 * string/rawmemchr.c: Likewise.
48639 * string/strcat.c: Likewise.
48640 * string/strchr.c: Likewise.
48641 * string/strchrnul.c: Likewise.
48642 * string/strcmp.c: Likewise.
48643 * string/strcpy.c: Likewise.
48644 * string/strncat.c: Likewise.
48645 * string/strncmp.c: Likewise.
48646 * string/strncpy.c: Likewise.
48648 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48650 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48651 __builtin_memcopy is called when src and dest ranges are known to not
48654 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48656 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48657 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48658 fwd_align_merge macro call.
48659 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48660 bwd_align_merge macro call.
48661 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48663 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48665 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48666 bwd_align_merge macros.
48667 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48668 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48669 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48671 2012-04-18 David S. Miller <davem@davemloft.net>
48673 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48675 2012-04-18 Andreas Jaeger <aj@suse.de>
48678 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48679 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48680 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48682 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48683 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48684 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48686 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48687 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48688 Adjust for changed ldbl-128 files.
48690 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48691 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48692 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48694 2012-04-17 David S. Miller <davem@davemloft.net>
48696 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48698 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48700 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48701 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48702 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48703 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48704 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48705 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48707 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48710 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48711 * math/libm-test.inc: Add ilogb errno and exception tests.
48712 * math/w_ilogb.c: New file: ilogb wrapper.
48713 * math/w_ilogbf.c: New file: ilogbf wrapper.
48714 * math/w_ilogbl.c: New file: ilogbl wrapper.
48715 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48716 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48717 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48718 exception being thrown with 0.0 as argument.
48719 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48720 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48721 exception being thrown with 0.0 as argument.
48722 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48723 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48724 exception being thrown with 0.0 as argument.
48725 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48726 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48727 exception being thrown with 0.0 as argument.
48728 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48729 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48730 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48731 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48732 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48733 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48734 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48735 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48736 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48738 2012-04-17 Petr Baudis <pasky@ucw.cz>
48740 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48743 2012-04-16 Marek Polacek <polacek@redhat.com>
48745 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48747 2012-04-16 Marek Polacek <polacek@redhat.com>
48749 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48750 operands of fdivp instruction.
48752 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48754 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48755 * elf/tst-auditmod3b.c: Likewise.
48756 * elf/tst-auditmod4b.c: Likewise.
48757 * elf/tst-auditmod5b.c: Likewise.
48758 * elf/tst-auditmod6b.c: Likewise.
48759 * elf/tst-auditmod6c.c: Likewise.
48760 * elf/tst-auditmod7b.c: Likewise.
48761 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48762 * sysdeps/x86_64/preconfigure.in: Likewise.
48763 * sysdeps/x86_64/preconfigure: Regenerated.
48765 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48767 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48770 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
48772 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48773 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48775 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48778 * locale/iso-639.def: Fix gl language name. Spotted by
48781 2012-04-12 Roland McGrath <roland@hack.frob.com>
48784 * libio/libio.h (__io_write_fn): Update comment.
48786 2012-04-12 Petr Baudis <pasky@ucw.cz>
48789 * stdio.texi (Hook Functions): The user provided writer function
48790 is not allowed to return -1.
48792 2012-04-11 David S. Miller <davem@davemloft.net>
48794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48796 2012-04-11 Mike Frysinger <vapier@gentoo.org>
48798 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48799 Add a leading slash to rtkaio.
48801 2012-04-11 Jim Meyering <meyering@redhat.com>
48804 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48805 It is not necessarily an error to ignore fwrite's return
48806 value. One can reliably use ferror to test for errors after
48809 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48811 * bits/types.h (__snseconds_t): New type.
48812 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48814 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48816 (__SNSECONDS_T_TYPE): Likewise.
48817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48818 (__SNSECONDS_T_TYPE): Likewise.
48819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48820 (__SNSECONDS_T_TYPE): Likewise.
48822 2012-04-10 Andreas Jaeger <aj@suse.de>
48825 * manual/time.texi (Processor Time): Return type of times is
48826 elapsed real time since an arbitrary point in the past.
48827 (CPU Time): Move CLK_TCK from here...
48828 (Processor Time): ...to here. Correct description.
48829 * manual/conf.texi (Constants for Sysconf): Correct description of
48832 2012-04-10 David S. Miller <davem@davemloft.net>
48835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48836 where the is a gap between DT_REL(A) and DT_JMPREL.
48838 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48840 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48841 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48842 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48844 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48846 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48847 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48848 (dl_main): Handle --inhibit-cache.
48849 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48851 * elf/dl-load.c (_dl_map_object): Use it.
48852 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48854 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48857 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48858 (__ieee754_powl): Saturate large exponents rather than testing for
48859 overflow of y*log2(x).
48860 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48861 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48865 * math/s_ctan.c: Include <float.h>.
48866 (__ctan): Avoid internal overflow or cancellation in calculating
48868 * math/s_ctanf.c: Likewise.
48869 * math/s_ctanl.c: Likewise.
48870 * math/s_ctanh.c: Likewise.
48871 * math/s_ctanhf.c: Likewise.
48872 * math/s_ctanhl.c: Likewise.
48873 * math/libm-test.inc (ctan_test): Add more tests.
48874 (ctanh_test): Likewise.
48875 * sysdeps/i386/fpu/libm-test-ulps: Update.
48876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48878 2012-04-09 Andreas Jaeger <aj@suse.de>
48881 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48882 is an optional BSD extension.
48885 * manual/stdio.texi (Opening Streams): Document additional fopen
48888 2012-04-09 Roland McGrath <roland@hack.frob.com>
48890 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48891 %eax without telling the compiler.
48893 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48896 * manual/install.texi: Use sourceware.org.
48898 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48901 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48902 (__ieee754_pow): Generate overflow and underflow using huge*huge
48903 and tiny*tiny rather than just returning constant infinity or zero
48904 for large exponents.
48905 * math/libm-test.inc (pow_test): Require overflow exceptions for
48906 applicable cases of large exponents.
48909 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48910 (__ieee754_pow): Use iterative multiplication algorithm only for
48911 integer exponents with absolute value below 1024. Check for odd
48912 integer exponents when using algorithm for real exponents.
48913 * math/libm-test.inc (pow_test): Add more tests.
48914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48916 2012-04-08 Joseph Myers <joseph@codesourcery.com>
48919 * math/libm-test.inc (exp_test): Do not allow overflow exception
48922 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48925 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48926 instead of __kernel_standard_f.
48928 2012-04-08 Mike Frysinger <vapier@gentoo.org>
48930 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48931 * sysdeps/x86_64/memset_chk.S: Likewise.
48933 2012-04-08 Andreas Jaeger <aj@suse.de>
48936 * manual/startup.texi (Environment Access): Describe return value
48937 for putenv and setenv.
48940 * manual/filesys.texi (Directory Entries): Add description for
48944 * manual/filesys.texi (Directory Entries): Clarify that it's file
48945 system not operating system in the description of DT_UNKNOWN.
48948 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48950 2012-04-08 Stephen Compall <s11@member.fsf.org>
48953 * manual/llio.texi (Opening and Closing Files): Add cross
48954 reference to explain mode argument.
48956 2012-04-07 Mike Frysinger <vapier@gentoo.org>
48958 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48959 * sysdeps/x86_64/memset_chk.S: Likewise.
48961 2012-04-07 David S. Miller <davem@davemloft.net>
48963 * elf/elf.h (R_SPARC_WDISP10): Define.
48964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48966 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48967 R_SPARC_SIZE64 and R_SPARC_H34.
48969 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48971 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48972 conditions and remove no longer applicable assertion.
48974 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48976 * bits/byteswap.h: Include <features.h>.
48977 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48978 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48980 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48982 * bits/byteswap.h (__bswap_16): Removed.
48983 Include <bits/byteswap-16.h> to get __bswap_16.
48984 * sysdeps/i386/bits/byteswap.h: Likewise.
48985 * sysdeps/s390/bits/byteswap.h: Likewise.
48986 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48987 * bits/byteswap-16.h: New file.
48988 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48989 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48990 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48991 * string/Makefile (headers): Add bits/byteswap-16.h.
48993 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48996 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48998 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48999 * nss/tst-nss-static.c: New.
49001 2012-04-06 Robert Millan <rmh@gnu.org>
49004 * manual/llio.texi (File Position Primitive): lseek
49005 refers to WHENCE when it really means OFFSET.
49007 2012-04-06 Andreas Jaeger <aj@suse.de>
49009 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49010 strncmp declarations.
49012 * abilist/libc.abilist: Add __poll and __ppoll.
49014 2012-04-05 David S. Miller <davem@davemloft.net>
49016 * scripts/check-local-headers.sh: Accept a host triplet in the
49017 path matched by the exclude regexp.
49019 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49021 * sysdeps/powerpc/powerpc32/dl-machine.h
49022 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49023 * sysdeps/s390/s390-32/dl-machine.h
49024 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49025 * sysdeps/sparc/sparc32/dl-machine.h
49026 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49027 * sysdeps/sparc/sparc64/dl-machine.h
49028 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49030 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49032 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49033 undefined symbol errors.
49035 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49038 2012-04-05 Michael Matz <matz@suse.de>
49041 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49043 2012-04-05 Andreas Jaeger <aj@suse.de>
49046 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49049 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49052 which ROUND is no valid rounding mode.
49054 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49056 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49058 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49060 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49062 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49063 an exception using FPU order intentionally.
49065 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49067 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49068 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49069 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49070 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49072 2012-04-05 Simon Josefsson <simon@josefsson.org>
49075 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49076 EINVAL when BUFLEN is too smal.
49078 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49081 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49082 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49084 2012-04-03 Andreas Jaeger <aj@suse.de>
49087 * manual/setjmp.texi (System V contexts): Fix sentence.
49090 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49091 New macro for this case.
49092 [!__GNUC__] (__bswap_64): New inline function for this case.
49093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49094 * bits/byteswap.h: Likewise.
49095 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49096 ull, guard with __GLIBC_HAVE_LONG_LONG.
49098 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49099 __GLIBC_HAVE_LONG_LONG.
49101 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49102 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49104 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49107 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49108 inptr and inend, rather than using last_ch.
49110 2012-04-02 David S. Miller <davem@davemloft.net>
49112 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49113 * stdio-common/printf-parse.h (read_int): Change return type to
49114 'int', return -1 on INT_MAX overflow.
49115 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49116 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49117 overflows INT_MAX. Check for overflow of in-format-string precision
49118 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49119 SIZE_MAX not INT_MAX for integer overflow test.
49120 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49121 skip the construct in the format string but do not record anything.
49122 * stdio-common/bug22.c: Adjust to test both width/prevision
49123 INT_MAX overflow as well as total length INT_MAX overflow. Check
49124 explicitly for proper errno values.
49126 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49128 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49130 * string/test-strcmp.c [! WIDE]: Likewise.
49131 * time/tst-mktime2.c: Likewise for INT_MAX.
49132 * string/test-string.h: #include <sys/param.h> for MIN.
49134 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49135 * sysdeps/i386/init-first.c (init): Likewise.
49136 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49137 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49138 * sysdeps/sh/init-first.c (init): Likewise.
49140 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49142 * po/ru.po: Update from translation team.
49143 * po/vi.po: Likewise.
49145 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49147 * resolv/nss_dns/dns-host.c: Merge copyright years.
49149 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49152 Optimize memcpy with prefetch if
49153 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49154 src, dst pointers have unequal 16 byte alignments.
49156 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49159 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49160 from a CNAME entry and return the minimum ttl for the query.
49161 (gaih_getanswer_slice): Likewise.
49163 2012-03-30 Jeff Law <law@redhat.com>
49165 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49167 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49168 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49170 * resolv/nss_dns/dns-host.c: Update copyright year.
49172 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49174 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49175 requests to save a system call. Fix check that all bytes are sent.
49177 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49178 comments for sendmmsg.
49180 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49183 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49184 with only 1 character between 0x0041 and 0x01b0.
49185 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49186 * wcsmbs/tst-mbsnrtowcs.c: New file.
49188 2012-03-29 David S. Miller <davem@davemloft.net>
49190 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49191 small copies by hand.
49193 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49196 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49197 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49200 2012-03-28 David S. Miller <davem@davemloft.net>
49202 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49203 that branches into memcpy.
49204 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49207 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49210 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49211 implementation too.
49212 * sysdeps/sparc/mempcpy.S: New file.
49214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49215 the IFUNC routine in the libc case.
49216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49218 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49219 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49220 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49221 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49222 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49223 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49224 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49225 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49227 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49228 loop to 256 bytes instead of 64 bytes and fix test signedness.
49230 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49231 * sysdeps/sparc/sparc32/Makefile: rather than here...
49232 * sysdeps/sparc/sparc64/Makefile: and here.
49234 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49236 * malloc/mallocbug.c: Avoid warnings about unused variables.
49238 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49241 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49242 in the right place. Discard and retry query if response is
49243 larger than input buffer size.
49245 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49250 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49251 x for large integer exponent.
49252 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49253 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49254 sign of result as needed afterwards.
49255 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49256 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49257 result for underflowing pow the same as for overflow.
49258 (__kernel_standard_l): Handle powl overflow and underflow here
49259 rather than calling __kernel_standard.
49260 * math/libm-test.inc (pow_test): Add more tests.
49275 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49276 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49277 (__kernel_standard_l): New function.
49278 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49280 * math/w_acosl.c (__acosl): Likewise.
49281 * math/w_asinl.c (__asinl): Likewise.
49282 * math/w_atan2l.c (__atan2l): Likewise.
49283 * math/w_atanhl.c (__atanhl): Likewise.
49284 * math/w_coshl.c (__coshl): Likewise.
49285 * math/w_exp10l.c (__exp10l): Likewise.
49286 * math/w_exp2l.c (__exp2l): Likewise.
49287 * math/w_fmodl.c (__fmodl): Likewise.
49288 * math/w_hypotl.c (__hypotl): Likewise.
49289 * math/w_j0l.c (__j0l, __y0l): Likewise.
49290 * math/w_j1l.c (__j1l, __y1l): Likewise.
49291 * math/w_jnl.c (__jnl, __ynl): Likewise.
49292 * math/w_lgammal.c (__lgammal): Likewise.
49293 * math/w_log10l.c (__log10l): Likewise.
49294 * math/w_log2l.c (__log2l): Likewise.
49295 * math/w_logl.c (__logl): Likewise.
49296 * math/w_powl.c (__powl): Likewise.
49297 * math/w_remainderl.c (__remainderl): Likewise.
49298 * math/w_scalbl.c (sysv_scalbl): Likewise.
49299 * math/w_sinhl.c (__sinhl): Likewise.
49300 * math/w_sqrtl.c (__sqrtl): Likewise.
49301 * math/w_tgammal.c (__tgammal): Likewise.
49302 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49303 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49304 * math/libm-test.inc (acos_test): Add more tests.
49305 (acosh_test): Likewise.
49306 (asin_test): Likewise.
49307 (atanh_test): Likewise.
49308 (exp_test): Likewise.
49309 (exp10_test): Likewise.
49310 (exp2_test): Likewise.
49311 (expm1_test): Likewise.
49312 (lgamma_test): Likewise.
49313 (log_test): Likewise.
49314 (log10_test): Likewise.
49315 (log1p_test): Likewise.
49316 (log2_test): Likewise.
49317 (pow_test): Do not allow some spurious overflow exceptions.
49318 (sqrt_test): Add more tests.
49319 (tgamma_test): Likewise.
49320 (y0_test): Likewise.
49321 (y1_test): Likewise.
49322 (yn_test): Likewise.
49324 2012-03-27 Anton Blanchard <anton@samba.org>
49326 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49328 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49329 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49330 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49332 2012-03-27 David S. Miller <davem@davemloft.net>
49334 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49336 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49337 have-as-vis3 check.
49339 2012-03-27 Andreas Jaeger <aj@suse.de>
49341 * sysdeps/x86_64/elf/configure.in: Moved to ...
49342 * sysdeps/x86_64/configure.in: ... here.
49343 * sysdeps/x86_64/elf/start.S: Moved to ...
49344 * sysdeps/x86_64/start.S: ... here.
49345 * sysdeps/x86_64/elf/configure: Delete.
49347 * sysdeps/x86_64/configure.in: Merge contents from
49348 sysdeps/i386/configure.in (without i686 check).
49350 * sysdeps/i386/elf/Versions: Merge into ...
49351 * sysdeps/i386/Versions: ... this.
49352 * sysdeps/i386/elf/Versions: Delete file.
49353 * sysdeps/i386/elf/start.S: Moved to ...
49354 * sysdeps/i386/start.S: ...here.
49355 * sysdeps/i386/elf/configure.in: Merge into...
49356 * sysdeps/i386/configure.in: ...here.
49357 * sysdeps/i386/elf/configure.in: Delete file.
49358 * sysdeps/i386/elf/configure: Delete file.
49360 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49361 * debug/backtracesyms.c: ... here.
49362 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49363 * debug/backtracesymsfd.c: ... here.
49364 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49365 * sysdeps/generic/ifunc-sel.h: ... here.
49367 * sysdeps/unix/i386/start.c: Delete file.
49368 * sysdeps/unix/sparc/start.c: Delete file.
49369 * sysdeps/unix/start.c: Delete file.
49371 * sysdeps/sh/elf/configure.in: Moved to ...
49372 * sysdeps/sh/configure.in: ... here.
49373 * sysdeps/sh/elf/start.S: Moved to ...
49374 * sysdeps/sh/start.S: ... here.
49375 * sysdeps/sh/elf/configure: Delete file.
49377 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49378 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49379 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49380 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49381 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49382 * sysdeps/powerpc/powerpc64/start.S: here.
49383 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49384 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49385 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49386 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49387 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49389 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49390 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49391 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49392 * sysdeps/powerpc/powerpc32/start.S: ... here.
49393 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49394 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49395 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49397 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49398 * sysdeps/powerpc/ifunc-sel.h: ... here.
49399 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49400 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49402 * sysdeps/sparc/elf/configure.in: Moved to ...
49403 * sysdeps/sparc/configure.in: ... here.
49404 * sysdeps/sparc/elf/configure: Delete file.
49405 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49406 * sysdeps/sparc/sparc32/start.S: ... here.
49407 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49408 * sysdeps/sparc/sparc64/start.S: ... here.
49409 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49410 * sysdeps/sparc/sparc32/Makefile: ... this.
49411 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49412 * sysdeps/sparc/sparc64/Makefile: ... this.
49414 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49415 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49416 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49417 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49418 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49419 * sysdeps/s390/s390-32/setjmp.S: ... here.
49420 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49421 * sysdeps/s390/s390-32/configure.in: ... here.
49422 * sysdeps/s390/s390-32/elf/configure: Delete file.
49423 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49424 * sysdeps/s390/s390-32/start.S: ... here.
49426 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49427 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49428 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49429 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49430 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49431 * sysdeps/s390/s390-64/setjmp.S: ... here.
49432 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49433 * sysdeps/s390/s390-64/configure.in: ... here
49434 * sysdeps/s390/s390-64/elf/configure: Delete file.
49435 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49436 * sysdeps/s390/s390-64/start.S: ... here.
49437 * sysdeps/s390/s390-64/elf/configure: Delete.
49439 * configure.in: Remove support for elf directories in sysdeps.
49441 * configure: Regenerated.
49442 * sysdeps/i386/configure: Regenerated.
49443 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49444 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49445 * sysdeps/s390/s390-32/configure: Regenerated.
49446 * sysdeps/s390/s390-64/configure: Regenerated.
49447 * sysdeps/sh/configure: Regenerated.
49448 * sysdeps/sparc/configure: Regenerated.
49449 * sysdeps/x86_64/configure: Regenerated.
49451 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49456 denormal result into account.
49458 2012-03-25 Roland McGrath <roland@hack.frob.com>
49460 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49461 Reported by Allan McRae <allan@archlinux.org>.
49463 2012-03-23 Jeff Law <law@redhat.com>
49465 * nss/getnssent.c (__nss_getent): Fix typo.
49467 2012-03-23 David S. Miller <davem@davemloft.net>
49469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49471 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49473 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49474 to pad to uint64_t for each field.
49475 (dl_tls_index): Replace unsigned long with uint64_t.
49477 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49478 Paul Pluzhnikov <ppluzhnikov@google.com>
49481 * grp/Makefile (otherlibs): Don't set it.
49482 * inet/Makefile (otherlibs): Likewise.
49483 * login/Makefile (otherlibs): Likewise.
49484 * nscd/Makefile (otherlibs): Likewise.
49485 * posix/Makefile (otherlibs): Likewise.
49486 * pwd/Makefile (otherlibs): Likewise.
49487 * rt/Makefile (otherlibs): Likewise.
49488 * sunrpc/Makefile (otherlibs): Likewise.
49489 * nss/Makefile (otherlibs): Likewise.
49490 Add libnss_files to routines and static-only-routines.
49491 ($(objpfx)getent): Remove rule.
49492 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49493 static-only-routines.
49495 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49498 * math/s_cexp.c: Include <float.h>.
49499 (__cexp): Handle exp result overflowing not necessarily
49500 overflowing both real and imaginary parts of result.
49501 * math/s_cexpf.c: Likewise.
49502 * math/s_cexpl.c: Likewise.
49503 * math/libm-test.inc (cexp_test): Add more tests.
49504 * sysdeps/i386/fpu/libm-test-ulps: Update.
49505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49507 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49509 * include/link.h (ELFW): New macro.
49510 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49511 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49513 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49515 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49518 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49520 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49522 (struct La_x32_retval): Likewise.
49524 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49526 * sysdeps/x86_64/preconfigure.in: New file.
49527 * sysdeps/x86_64/preconfigure: New generated file.
49529 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49532 * math/e_exp2l.c: Include <float.h>.
49533 (__ieee754_exp2l): Handle overflow and underflow cases
49534 separately. Only pass fractional part of argument to
49536 * math/libm-test.inc (exp2_test): Add more tests.
49538 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49539 negating x to take absolute value.
49540 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49542 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49543 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49545 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49546 computing low part if x was negated.
49547 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49549 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49551 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49552 la_x32_gnu_pltexit.
49553 (pltexit): Cast int_retval to ptrdiff_t.
49554 * elf/tst-auditmod3b.c: Likewise.
49555 * elf/tst-auditmod4b.c: Likewise.
49556 * elf/tst-auditmod5b.c: Likewise.
49557 * elf/tst-auditmod6b.c: Likewise.
49558 * elf/tst-auditmod6c.c: Likewise.
49559 * elf/tst-auditmod7b.c: Likewise.
49561 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49562 and x32_gnu_pltexit.
49564 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49565 __ELF_NATIVE_CLASS.
49566 (La_x32_regs): New macro.
49567 (La_x32_retval): Likewise.
49568 (la_x32_gnu_pltenter): New function prototype.
49569 (la_x32_gnu_pltexit): Likewise.
49571 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49573 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49578 * configure.in (libc_cv_cc_nofma): Check for option to disable
49579 generation of FMA instructions.
49580 * configure: Regenerate.
49581 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49582 * sysdeps/ieee754/dbl-64/Makefile: New file.
49583 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49584 Remove brandred-fma4.
49585 (CFLAGS-brandred-fma4.c): Remove.
49586 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49587 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49592 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49594 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49595 LLONG_MAX != LONG_MAX.
49596 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49597 (_fitoa_word): Likewise.
49598 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49599 LLONG_MAX != LONG_MAX.
49600 * stdio-common/_itowa.h: Include <_itoa.h>.
49601 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49602 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49603 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49604 only if not defined.
49605 (_ITOA_WORD_TYPE): Likewise.
49606 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49607 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49609 2012-03-21 David S. Miller <davem@davemloft.net>
49611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49613 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49615 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49616 of x86_64 when setting libc_cv_slibdir, libdir and
49618 * sysdeps/unix/sysv/linux/configure: Regenerated.
49620 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49622 * manual/lang.texi (Old Varargs): Remove section.
49623 (How Variadic): Update menu.
49624 (va_start): Do not mention varargs.h.
49626 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49627 Joseph Myers <joseph@codesourcery.com>
49629 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49631 * configure: Regenerated.
49633 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49635 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49636 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49639 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49642 * Makefile (files-for-dist): Remove NOTES.
49643 (NOTES): Remove rule.
49644 * README: Don't refer to NOTES.
49645 * manual/creature.texi: Don't include macros.texi.
49646 * manual/intro.texi (creature.texi): Remove comment referring to
49649 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49650 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49651 * configure: Regenerated.
49652 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49653 LIBC_TRY_CC_OPTION.
49654 (libc_cv_as_i686): Likewise.
49655 (libc_cv_cc_avx): Likewise.
49656 (libc_cv_cc_sse2avx): Likewise.
49657 (libc_cv_cc_fma4): Likewise.
49658 (libc_cv_cc_novzeroupper): Likewise.
49659 * sysdeps/i386/configure: Regenerated.
49662 * sysdeps/i386/fpu/s_cexp.S: Remove.
49663 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49664 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49665 * math/libm-test.inc (cexp_test): Add more tests.
49666 * sysdeps/i386/fpu/libm-test-ulps: Update.
49667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49669 2012-03-21 Allan McRae <allan@archlinux.org>
49671 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49673 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49676 * math/w_exp2.c: Do not include <float.h>.
49677 (o_threshold, u_threshold): Remove.
49678 (__exp2): Calculate result before checking finiteness and calling
49680 * math/w_exp2f.c: Likewise.
49681 * math/w_exp2l.c: Likewise.
49682 * math/libm-test.inc (exp2_test): Require overflow exception for
49686 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49687 range of signed 64-bit integers before using fistpll. Remove
49688 checks for whether integers fit in mantissa bits.
49689 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49690 the range of signed 32-bit integers before using fistpl. Remove
49691 checks for whether integers fit in mantissa bits.
49692 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49693 (__ieee754_powl): Test for y outside the range of signed 64-bit
49694 integers before using fistpll. Reduce 64-bit values to 63-bit
49696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49697 divide-by-zero is raised for zero to large negative powers.
49698 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49699 (__ieee754_powl): Test for y outside the range of signed 64-bit
49700 integers before using fistpll. Reduce 64-bit values to 63-bit
49702 * math/libm-test.inc (pow_test): Add more tests.
49704 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49706 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49707 <stdio-common/_itoa.h>.
49708 * debug/segfault.c: Likewise.
49709 * elf/dl-cache.c: Likewise.
49710 * elf/dl-minimal.c: Likewise.
49711 * elf/dl-misc.c: Likewise.
49712 * elf/dl-sysdep.c: Likewise.
49713 * elf/dl-version.c: Likewise.
49714 * elf/rtld.c: Likewise.
49715 * hurd/hurdsock.c: Likewise.
49716 * hurd/lookup-retry.c: Likewise.
49717 * malloc/malloc.c: Likewise.
49718 * malloc/mtrace.c: Likewise.
49719 * nscd/nscd_getgr_r.c: Likewise.
49720 * nscd/nscd_getpw_r.c: Likewise.
49721 * nscd/nscd_getserv_r.c: Likewise.
49722 * posix/getopt_init.c: Likewise.
49723 * posix/wordexp.c: Likewise.
49724 * stdio-common/_itoa.c: Likewise.
49725 * stdio-common/printf_fphex.c: Likewise.
49726 * stdio-common/vfprintf.c: Likewise.
49727 * string/_strerror.c: Likewise.
49728 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49729 * sysdeps/i386/i686/hp-timing.h: Likewise.
49730 * sysdeps/mach/_strerror.c: Likewise.
49731 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49732 * sysdeps/mach/hurd/sethostid.c: Likewise.
49733 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49734 * sysdeps/mach/xpg-strerror.c: Likewise.
49735 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49736 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49737 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49738 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49739 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49740 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49741 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49742 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49743 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49744 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49745 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49746 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49747 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49748 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49749 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49750 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49751 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49752 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49753 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49754 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49755 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49757 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49759 * stdio-common/_itoa.h: Moved to ...
49760 * sysdeps/generic/_itoa.h: Here.
49762 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49764 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49765 instead of "_itoa.h" and "_itowa.h".
49766 * stdio-common/vfprintf.: Likewise.
49768 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49770 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49772 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49773 (__signbit): Likwise.
49774 (llrintf): Likwise.
49777 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49779 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49782 2012-03-20 Joseph Myers <joseph@codesourcery.com>
49784 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49785 OVERFLOW_EXCEPTION_OK.
49786 * math/libm-test.inc ("Philosophy"): Update comment about
49788 (OVERFLOW_EXCEPTION): Define.
49789 (OVERFLOW_EXCEPTION_OK): Likewise.
49790 (INVALID_EXCEPTION_OK): Renumber.
49791 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49792 (IGNORE_ZERO_INF_SIGN): Likewise.
49793 (test_exceptions): Handle FE_OVERFLOW.
49794 (exp10_test): Expect overflow exceptions.
49795 (exp2_test): Likewise.
49796 (expm1_test): Likewise.
49797 (nextafter_test): Likewise.
49798 (pow_test): Likewise.
49799 (scalbn_test): Likewise.
49800 (scalbln_test): Likewise.
49802 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49804 * sysdeps/x86_64/bits/atomic.h
49805 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49807 (atomic_exchange_acq): Likewise.
49808 (__arch_exchange_and_add_body): Likewise.
49809 (__arch_add_body): Likewise.
49810 (atomic_add_negative): Likewise.
49811 (atomic_add_zero): Likewise.
49813 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49815 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49816 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49818 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49820 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49821 Check __x86_64__ instead of __WORDSIZE.
49823 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49825 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49827 2012-03-19 David S. Miller <davem@davemloft.net>
49829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49831 * sysdeps/sparc/fpu/fenv_private.h: New file.
49832 * sysdeps/sparc/fpu/math_private.h: Use it.
49833 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49835 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49836 (libc_feholdexcept_setroundl): Remove.
49837 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49839 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49840 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49842 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49844 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49845 int64_t instead of long int.
49846 (INSERT_WORDS64): Likwise.
49848 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49850 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49851 _Unwind_GetCFA return to _Unwind_Ptr first.
49853 2012-03-19 Joseph Myers <joseph@codesourcery.com>
49856 * math/s_clog.c: Include <float.h>.
49857 (__clog): Scale large or subnormal inputs.
49858 * math/s_clogf.c: Likewise.
49859 * math/s_clogl.c: Likewise.
49860 * math/s_clog10.c: Include <float.h>.
49861 (M_LOG10_2): Define.
49862 (__clog10): Scale large or subnormal inputs.
49863 * math/s_clog10f.c: Likewise.
49864 * math/s_clog10l.c: Likewise.
49865 * math/libm-test.inc (clog_test): Add more tests.
49866 (clog10_test): Likewise.
49867 * sysdeps/i386/fpu/libm-test-ulps: Update.
49868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49871 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49873 * math/libm-test.inc (atan2_test): Add another test.
49875 * Makerules (common-objdir-compile): Remove.
49876 * sysdeps/unix/Makefile (config-generated): Do not add
49877 $(unix-generated) to variable.
49878 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49879 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49881 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49883 [generic bits/local_lim.h] (before-compile): Do not append to
49885 [generic bits/local_lim.h] (common-generated): Likewise.
49886 [generic sys/param.h] (before-compile): Do not append to variable.
49887 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49888 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49889 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49890 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49892 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49893 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49894 [generic sys/param.h] ($(addprefix
49895 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49896 [generic sys/param.h] (common-generated): Do not append to
49898 [generic sys/param.h] (sysdep_headers): Likewise.
49899 [generic bits/errno.h] (before-compile): Do not append to
49901 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49903 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49904 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49905 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49906 [generic bits/errno.h] (common-generated): Do not append to
49908 [generic bits/ioctls.h] (before-compile): Do not append to
49910 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49912 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49913 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49914 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49916 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49917 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49918 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49919 [generic bits/ioctls.h] (common-generated): Do not append to
49921 [generic sys/syscall.h] (syscall.h): Remove variable.
49922 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49924 [generic sys/syscall.h] (before-compile): Do not append to
49926 [generic sys/syscall.h] (common-generated): Likewise.
49927 * sysdeps/unix/errnos-tmpl.c: Remove file.
49928 * sysdeps/unix/errnos.awk: Likewise.
49929 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49930 * sysdeps/unix/ioctls.awk: Likewise.
49931 * sysdeps/unix/mk-local_lim.c: Likewise.
49932 * sysdeps/unix/snarf-ioctls: Likewise.
49934 2012-03-19 Richard Henderson <rth@twiddle.net>
49936 * sysdeps/i386/fpu/fenv_private.h: New file.
49937 * sysdeps/i386/fpu/math_private.h: Use it.
49938 (math_opt_barrier, math_force_eval): Remove.
49939 (libc_feholdexcept_setround_53bit): Remove.
49940 (libc_feupdateenv_53bit): Remove.
49941 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49942 (math_opt_barrier, math_force_eval): Remove.
49943 (libc_feholdexcept): Remove.
49944 (libc_feholdexcept_setround): Remove.
49945 (libc_fetestexcept, libc_fesetenv): Remove.
49946 (libc_feupdateenv_test): Remove.
49947 (libc_feupdateenv, libc_feholdsetround): Remove.
49948 (libc_feresetround): Remove.
49950 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49951 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49953 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49954 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49955 (libc_feupdateenv_testl): New.
49956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49957 (libc_feupdateenv_testf): New.
49958 (libc_feupdateenv): Use libc_feupdateenv_test.
49959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49960 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49962 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49963 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49964 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49965 (libc_feresetround_noex): New.
49966 (libc_feresetround_noexf): New.
49967 (libc_feresetround_noexl): New.
49968 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49969 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49970 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49971 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49974 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49976 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49977 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49978 SET_RESTORE_ROUND_NOEX.
49979 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49980 SET_RESTORE_ROUND_NOEXF.
49981 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49982 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49983 (libc_feholdsetroundf): New.
49984 (libc_feresetround, libc_feresetroundf): New.
49986 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49987 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49988 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49990 * sysdeps/generic/math_private.h: Include <fenv.h>.
49991 (default_libc_feholdexcept): New.
49992 (default_libc_feholdexcept_setround): New.
49993 (default_libc_fesetenv, default_libc_feupdateenv): New.
49994 (libc_feholdexcept): Only define if undefined.
49995 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49996 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49997 (libc_feholdexcept_setroundl): Likewise.
49998 (libc_feholdexcept_setround_53bit): Likewise.
49999 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50000 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50001 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50002 (libc_feupdateenv_53bit): Likewise.
50003 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50004 (libc_feholdexcept): Convert from macro to inline function.
50005 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50006 (libc_fesetenv, libc_feupdateenv): Likewise.
50008 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50009 not previously defined.
50010 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50011 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50012 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50013 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50014 * sysdeps/ieee754/flt-32/math_private.h: New file.
50015 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50016 math_private.h below SET_FLOAT_WORD.
50017 (__isnan, __isinf_ns, __finite): Remove.
50018 (__isnanf, __isinf_nsf, __finitef): Remove.
50020 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
50022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50024 2012-03-17 David S. Miller <davem@davemloft.net>
50027 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50030 2012-03-16 David S. Miller <davem@davemloft.net>
50032 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50036 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50038 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50039 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50040 sysdep_routines when subdir is sysvipc.
50041 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50042 __getshmlba helper.
50044 * sysdeps/sparc/fpu/libm-test/ulps: Update.
50046 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50048 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50051 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50053 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50054 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50055 (__lround): Renamed to ...
50056 (__llround): This. Replace long int with long long int.
50057 Define lround functions as aliases of llround functions.
50058 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50060 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50062 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50063 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50064 adresses to uintptr_t. Replace "long int" and "unsigned long
50065 int" with "greg_t" on va_arg.
50067 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50069 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50070 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50072 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50073 Move e_machine check before EI_CLASS check. Handle x32
50074 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50075 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50076 SKIP_EM_IA_64 and include
50077 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50079 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50080 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50081 (add_system_dir): New macro.
50083 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50084 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50086 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50097 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50099 * math/w_j0f.c (j0f): Likewise.
50101 * math/w_j0l.c (__j0l): Likewise.
50103 * math/w_j1.c (j1): Likewise.
50105 * math/w_j1f.c (j1f): Likewise.
50107 * math/w_j1l.c (__j1l): Likewise.
50109 * math/w_jn.c (jn): Likewise.
50111 * math/w_jnf.c (jnf): Likewise.
50113 * math/w_jnl.c (__jnl): Likewise.
50115 * math/libm-test.inc (j0_test): Add more tests.
50116 (j1_test): Likewise.
50117 (jn_test): Likewise. Add trailing semicolon to existing test.
50118 (y0_test): Likewise.
50119 (y1_test): Likewise.
50120 * sysdeps/i386/fpu/libm-test-ulps: Update.
50121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50125 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50126 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50127 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50128 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50129 (__tanl): Set errno for infinite argument.
50130 * sysdeps/i386/fpu/mptan.c: Remove.
50131 * sysdeps/i386/fpu/s_tan.S: Likewise.
50132 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50133 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50134 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50135 * math/libm-test.inc (tan_test): Add more tests and enable more
50136 tests for double and long double.
50137 * sysdeps/i386/fpu/libm-test-ulps: Update.
50138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50140 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50142 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50143 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50145 2012-03-16 Roland McGrath <roland@hack.frob.com>
50147 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50148 * configure.in: Use it for both main tree and add-ons.
50149 * configure: Regenerated.
50151 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50153 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50155 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50157 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50161 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50162 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50163 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50164 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50165 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50167 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50168 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50169 != 0 for prec == 2.
50170 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50171 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50172 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50173 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50174 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50175 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50176 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50177 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50178 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50179 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50180 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50181 * math/libm-test.inc (cos_test): Add more tests and enable more
50182 tests for long double.
50183 (sin_test): Likewise.
50184 (sincos_test): Likewise.
50185 * sysdeps/i386/fpu/libm-test-ulps: Update.
50186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50188 2012-03-16 David S. Miller <davem@davemloft.net>
50190 * sysdeps/sparc/fpu/math_private.h: New file.
50192 2012-03-15 David S. Miller <davem@davemloft.net>
50194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50208 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50209 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50211 * sysdeps/sparc/sparc-ifunc.h: New file.
50212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50257 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50259 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50263 2012-03-15 Andreas Jaeger <aj@suse.de>
50266 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50267 ieee754/flt-32 implementation for sin, cos and sincos.
50268 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50269 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50270 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50271 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50272 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50273 ieee754/flt-32 implementation for tan.
50275 * math/libm-test.inc (cos_test): Enable some large input tests for
50277 (sin_test): Likewise.
50278 (sincos_test): Likewise.
50279 (tan_test): Add tests for large input.
50281 * sysdeps/i386/fpu/libm-test-ulps: Update.
50283 2012-03-15 Andreas Jaeger <aj@suse.de>
50286 * math/libm-test.inc (cos_test): Add more test cases.
50287 (sin_test): Likewise.
50288 (sincos_test): Likewise.
50290 2012-03-15 Andreas Jaeger <aj@suse.de>
50293 * math/libm-test.inc (cos_test): Add a test case for large input
50295 (sin_test): Likewise.
50296 (sincos_test): Likewise.
50298 2012-03-15 Andreas Jaeger <aj@suse.de>
50299 Joseph Myers <joseph@codesourcery.com>
50302 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50303 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50304 * sysdeps/i386/fpu/branred.c: Likewise.
50305 * sysdeps/i386/fpu/dosincos.c: Likewise.
50306 * sysdeps/i386/fpu/mpa.c: Likewise.
50307 * sysdeps/i386/fpu/s_cos.S: Likewise.
50308 * sysdeps/i386/fpu/s_sin.S: Likewise.
50309 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50310 * sysdeps/i386/fpu/sincos32.c: Likewise.
50312 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50314 (libc_feupdateenv_53bit): Define.
50315 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50317 (libc_feupdateenv_53bit): Define.
50319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50320 53 bit (without extend i386 double precision).
50322 * math/libm-test.inc (sincos_test): Add tests for large input.
50326 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50328 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50332 2012-03-15 David S. Miller <davem@davemloft.net>
50334 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50335 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50336 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50337 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50362 fmin/fmax sysdep routines.
50363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50365 2012-03-14 David S. Miller <davem@davemloft.net>
50367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50373 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50439 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50444 * sysdeps/sparc/configure.in: New file.
50445 * sysdeps/sparc/configure: Generate.
50446 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50447 * configure: Regenerate.
50448 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50449 * config.make.in (have-as-vis3): New.
50450 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50451 available use -Av9d instead of -Av9a.
50452 * sysdeps/sparc/sparc64/Makefile: Likewise.
50453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50468 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50469 fzeros/fnegs to load 0x80000000 into a float register instead of
50471 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50473 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50477 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50478 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50479 ($(inst_includedir)/bits/syscall.h): Remove rule.
50480 ($(objpfx)bits/syscall.d): Include instead of
50481 $(objpfx)syscall-list.d.
50482 (generated): Change syscall-list.h and syscall-list.d to
50483 bits/syscall.h and bits/syscall.d.
50485 2012-03-14 Roland McGrath <roland@hack.frob.com>
50488 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50490 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50493 * math/s_csqrt.c: Include <float.h>.
50494 (__csqrt): Scale large or subnormal inputs.
50495 * math/s_csqrtf.c: Likewise.
50496 * math/s_csqrtl.c: Likewise.
50497 * math/libm-test.inc (csqrt_test): Add more tests.
50498 * sysdeps/i386/fpu/libm-test-ulps: Update.
50499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50502 * math/libm-test.inc (hypot_test): Add more tests.
50504 2012-03-13 David S. Miller <davem@davemloft.net>
50507 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50508 double-precision for the calculation instead of scaling.
50510 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50512 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50513 manipulate bits before adding and subtracting TWO52[sx].
50514 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50517 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50519 2012-03-13 David S. Miller <davem@davemloft.net>
50521 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50522 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50524 rtld-global-offsets.h
50525 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50527 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50530 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50532 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50533 'err' in the ifdef scope in which it is actually used.
50535 * nss/nss_db/db-init.c: Include string.h
50537 2012-03-12 David S. Miller <davem@davemloft.net>
50539 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50540 masking out of the most significant byte of random value used.
50541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50542 Fix coding style in previous change.
50544 * sysdeps/unix/sysv/linux/kernel-features.h
50545 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50546 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50548 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50551 2012-03-11 David S. Miller <davem@davemloft.net>
50553 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50554 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50555 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50556 for 'resultvar' otherwise things get truncated on 64-bit.
50558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50559 Fix masking out of the most significant byte of random value used.
50561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50563 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50567 2012-03-09 David S. Miller <davem@davemloft.net>
50569 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50570 variables with appropriate CPP guards.
50571 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50572 from the frame pointer, not the stack pointer. Correct layout
50573 comments. Fix test on resulting framesize and the management of
50574 the outregs buffer for pltexit. Preserve floating point return
50575 values across _dl_call_pltexit call.
50576 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50577 framesize and the management of the outregs buffer for pltexit.
50578 Preserve floating point return values across _dl_call_pltexit
50580 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50581 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50582 (la_sparc64_gnu_pltexit): New functions.
50583 (print_exit): Fix format string for return register value.
50585 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50587 * sunrpc/Makefile (others): Add rpcgen.
50588 ($(objpfx)rpcgen): Remove special build rule and dependency on
50590 * sunrpc/rpcgen.c: New file.
50592 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50595 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50596 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50597 * sysdeps/i386/crti.S: Likewise.
50598 * sysdeps/i386/crtn.S: Likewise.
50599 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50600 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50601 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50602 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50603 * sysdeps/sh/crti.S: Likewise.
50604 * sysdeps/sh/crtn.S: Likewise.
50605 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50608 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50610 * locale/programs/locfile-kw.gperf: Likewise.
50611 * locale/programs/charmap-kw.h: Regenerated.
50612 * locale/programs/locfile-kw.h: Likewise.
50615 * intl/plural.y: Replace FSF snail mail address with URL.
50616 * intl/plural.c: Regenerated.
50618 2012-03-09 Richard Henderson <rth@twiddle.net>
50620 * include/math_private.h: Remove file.
50621 * math/math_private.h: Move file ...
50622 * sysdeps/generic/math_private.h: ... here.
50624 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50625 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50626 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50628 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50629 and <math_private.h>.
50630 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50631 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50632 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50633 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50634 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50635 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50636 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50637 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50638 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50639 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50641 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50642 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50643 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50644 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50645 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50646 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50647 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50648 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50649 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50651 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50652 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50654 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50655 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50656 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50657 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50658 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50659 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50660 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50661 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50662 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50663 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50664 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50665 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50666 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50667 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50668 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50669 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50670 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50671 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50672 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50673 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50674 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50675 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50676 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50677 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50678 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50679 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50680 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50681 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50682 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50683 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50684 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50685 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50686 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50687 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50688 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50689 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50690 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50691 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50692 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50693 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50694 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50695 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50696 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50697 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50698 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50699 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50700 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50701 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50702 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50703 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50704 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50707 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50708 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50709 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50710 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50711 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50712 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50713 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50714 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50717 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50718 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50719 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50720 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50721 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50722 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50723 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50724 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50725 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50726 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50727 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50728 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50729 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50730 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50731 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50732 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50733 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50734 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50735 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50736 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50737 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50738 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50739 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50740 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50741 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50742 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50743 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50744 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50745 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50746 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50747 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50748 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50749 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50750 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50751 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50752 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50753 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50754 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50755 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50756 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50757 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50758 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50759 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50760 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50761 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50762 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50763 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50764 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50765 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50766 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50767 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50768 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50769 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50770 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50771 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50772 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50773 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50774 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50775 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50776 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50777 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50778 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50779 * sysdeps/ieee754/k_standard.c: Likewise.
50780 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50781 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50782 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50783 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50784 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50785 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50786 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50787 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50788 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50789 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50790 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50791 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50792 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50793 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50794 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50795 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50796 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50797 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50798 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50799 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50800 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50801 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50802 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50803 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50804 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50805 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50806 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50807 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50808 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50809 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50810 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50811 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50812 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50813 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50814 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50815 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50816 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50817 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50818 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50819 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50820 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50821 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50822 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50823 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50824 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50825 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50826 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50827 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50828 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50829 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50830 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50831 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50832 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50833 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50835 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50836 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50837 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50838 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50839 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50840 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50841 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50842 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50843 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50844 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50845 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50846 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50847 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50848 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50850 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50852 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50853 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50854 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50856 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50857 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50858 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50859 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50860 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50861 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50862 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50863 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50865 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50866 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50867 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50868 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50870 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50871 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50872 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50873 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50874 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50875 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50876 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50877 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50878 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50879 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50880 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50881 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50882 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50883 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50884 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50885 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50886 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50887 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50888 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50889 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50890 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50891 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50892 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50893 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50894 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50895 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50896 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50897 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50898 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50899 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50900 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50901 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50902 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50903 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50904 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50905 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50906 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50907 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50908 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50909 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50910 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50911 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50912 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50913 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50914 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50915 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50916 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50917 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50918 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50919 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50920 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50921 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50922 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50923 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50924 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50925 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50926 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50927 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50928 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50929 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50930 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50931 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50932 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50933 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50934 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50935 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50936 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50937 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50938 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50939 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50940 * sysdeps/ieee754/s_lib_version.c: Likewise.
50941 * sysdeps/ieee754/s_matherr.c: Likewise.
50942 * sysdeps/ieee754/s_signgam.c: Likewise.
50943 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50944 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50945 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50946 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50947 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50948 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50949 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50950 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50951 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50952 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50953 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50954 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50955 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50956 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50957 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50958 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50959 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50960 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50961 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50963 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50965 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50967 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50968 * sunrpc/rpc_main.c: Likewise.
50969 * sunrpc/rpc_svcout.c: Likewise.
50971 2012-03-09 David S. Miller <davem@davemloft.net>
50973 * include/math_private.h: New file.
50975 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50977 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50978 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50979 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50980 from <bits/socket_type.h>.
50981 (enum __socket_type): Don't define here.
50982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50984 bits/socket_type.h.
50987 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50988 checking __USE_GNU.
50990 * Makerules ($(inst_includedir)/%.h): New rule.
50991 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50992 (install-others): Remove variable setting.
50993 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50995 2012-03-08 Richard Henderson <rth@twiddle.net>
50997 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50998 from macro to inline function; merge with the
50999 !__LIBC_INTERNAL_MATH_INLINES version.
51000 (__ieee754_sqrtf): Likewise.
51002 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51003 to inline function.
51004 (__rintf, __floor, __floorf): Likewise.
51006 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51007 macro to inline function.
51008 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51010 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51011 not <math/math_private.h>.
51013 2012-03-08 David S. Miller <davem@davemloft.net>
51015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51017 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51019 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
51021 * resolv/gai_misc.c (handle_requests): Fix struct timespec
51023 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51024 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51026 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51028 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51029 be defined individually, they must be defined as a block. Define
51030 S for printing a string instead of hidint the different by using a
51031 macro for adding the 'l'.
51032 * stdio-common/tst-fphex-wide.c: Adjust.
51034 2012-03-07 Marek Polacek <polacek@redhat.com>
51036 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51038 2012-03-08 Marek Polacek <polacek@redhat.com>
51041 * stdio-common/Makefile (tests): Add tst-fphex-wide.
51042 * stdio-common/tst-fphex.c: Define a few macros to make the
51043 test reusable. Use them.
51044 * stdio-common/tst-fphex-wide.c: New file.
51046 2012-03-08 Joseph Myers <joseph@codesourcery.com>
51049 * manual/macros.texi (gnusystems): New macro.
51050 (nongnusystems): Likewise.
51051 (gnulinuxhurdsystems): Likewise.
51052 (gnuhurdsystems): Likewise..
51053 (gnulinuxsystems): Likewise.
51054 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51055 variants of the GNU system, not "GNU system".
51056 * manual/conf.texi: Likewise.
51057 * manual/errno.texi: Likewise. Update example of errno macro
51059 * manual/filesys.texi: Likewise.
51060 (getumask): Document as specific to GNU/Hurd.
51061 * manual/install.texi: Likewise. Reword some references to
51063 * manual/intro.texi: Likewise.
51064 * manual/io.texi: Likewise.
51065 (File Name Portability): Detail which constraints are inapplicable
51066 to all GNU systems and which are only inapplicable to GNU/Hurd.
51067 * manual/job.texi: Likewise.
51068 * manual/llio.texi: Likewise.
51069 (O_NOCTTY): Document as present on GNU/Linux.
51070 * manual/maint.texi: Likewise.
51071 * manual/memory.texi: Likewise.
51072 * manual/pattern.texi: Likewise.
51073 * manual/pipe.texi: Likewise.
51074 * manual/process.texi: Likewise.
51075 * manual/resource.texi: Likewise.
51076 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51078 * manual/setjmp.texi: Likewise.
51079 * manual/signal.texi: Likewise.
51080 * manual/startup.texi: Likewise.
51081 * manual/stdio.texi: Likewise.
51082 * manual/terminal.texi: Likewise.
51083 (ONLCR): Document as POSIX.
51084 (OXTABS): Document availability on GNU/Linux as XTABS.
51085 (ONOEOT): Document availability separately from other bits.
51086 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51087 * manual/time.texi: Likewise.
51088 * manual/users.texi: Likewise.
51089 * INSTALL: Regenerated.
51090 * sysdeps/gnu/errlist.c: Regenerated.
51092 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51093 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51094 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51096 * configure: Regenerated.
51098 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51100 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51101 default includes instead of AC_HEADER_CHECK.
51102 * sysdeps/i386/configure: Regenerated.
51105 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51106 * math/s_cacoshf.c (__cacoshf): Likewise.
51107 * math/s_cacoshl.c (__cacoshl): Likewise.
51108 * math/s_casinh.c (__casinh): Set signs of result from argument.
51109 * math/s_casinhf.c (__casinhf): Likewise.
51110 * math/s_casinhl.c (__casinhl): Likewise.
51111 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51112 (casinh_test): Add more tests.
51113 * sysdeps/i386/fpu/libm-test-ulps: Update.
51114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51116 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51118 * po/zh_TW.po: Update from translation team.
51120 * login/Makefile (distribute): Remove variable.
51121 * catgets/Makefile: Likewise.
51122 * mach/Makefile: Likewise.
51123 * malloc/Makefile: Likewise.
51124 * misc/Makefile: Likewise.
51125 * iconv/Makefile: Likewise.
51126 * nscd/Makefile: Likewise.
51127 * hurd/Makefile: Likewise.
51128 * manual/Makefile: Likewise.
51129 * locale/Makefile: Likewise.
51130 * intl/Makefile: Likewise.
51131 * conform/Makefile: Likewise.
51132 * nss/Makefile: Likewise.
51133 * time/Makefile: Likewise.
51134 * soft-fp/Makefile: Likewise.
51135 * dirent/Makefile: Likewise.
51136 * gmon/Makefile: Likewise.
51137 * po/Makefile: Likewise.
51138 * rt/Makefile: Likewise.
51139 * socket/Makefile: Likewise.
51140 * math/Makefile: Likewise.
51141 * signal/Makefile: Likewise.
51142 * debug/Makefile: Likewise.
51143 * elf/Makefile: Likewise.
51144 * timezone/Makefile: Likewise.
51145 * stdlib/Makefile: Likewise.
51146 * iconvdata/Makefile: Likewise.
51147 * sunrpc/Makefile: Likewise.
51148 * io/Makefile: Likewise.
51149 * argp/Makefile: Likewise.
51150 * inet/Makefile: Likewise.
51151 * hesiod/Makefile: Likewise.
51152 * grp/Makefile: Likewise.
51153 * csu/Makefile: Likewise.
51154 * wctype/Makefile: Likewise.
51155 * crypt/Makefile: Likewise.
51156 * libio/Makefile: Likewise.
51157 * string/Makefile: Likewise.
51158 * nis/Makefile: Likewise.
51159 * resolv/Makefile: Likewise.
51160 * stdio-common/Makefile: Likewise.
51161 * wcsmbs/Makefile: Likewise.
51162 * dlfcn/Makefile: Likewise.
51163 * posix/Makefile: Likewise.
51166 * timezone/Makefile: Don't install timezone files, just the programs
51169 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51171 * nss/databases.def: Add missing gshadow entry.
51173 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51175 2012-03-06 Marek Polacek <polacek@redhat.com>
51178 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51179 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51180 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51181 * stdio-common/tst-long-dbl-fphex.c: New file.
51183 2012-03-06 David S. Miller <davem@davemloft.net>
51185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51186 (set_obp_int): New function.
51187 (get_obp_int): New function.
51188 (__get_clockfreq_via_dev_openprom): Likewise.
51189 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51190 Avoid unused variable warnings on 'val' and use builtin_expect.
51191 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51193 (INLINE_CLONE_SYSCALL): Likewise.
51195 2012-03-05 David S. Miller <davem@davemloft.net>
51197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51199 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51203 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51204 only for |x| >= 40.
51205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51207 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51210 Replace gettimeofday with __vdso_gettimeofday.
51212 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51213 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51214 __vdso_clock_gettime and __vdso_getcpu.
51216 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51217 time with __vdso_time.
51219 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51221 * manual/lang.texi (size_t): Note types to which size_t may be
51222 equivalent with the GNU C Library, but do not describe when
51223 differences between them are significant.
51225 2012-03-05 Andreas Jaeger <aj@suse.de>
51227 * sysdeps/i386/fpu/libm-test-ulps: Update.
51229 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51232 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51233 (__ieee754_pow): Save and restore rounding mode and use
51234 round-to-nearest for main computations.
51235 * math/libm-test.inc (pow_test_tonearest): New function.
51236 (pow_test_towardzero): Likewise.
51237 (pow_test_downward): Likewise.
51238 (pow_test_upward): Likewise.
51239 (main): Call the new functions.
51240 * sysdeps/i386/fpu/libm-test-ulps: Update.
51241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51244 * math/libm-test.inc (cosh_test_tonearest): New function.
51245 (cosh_test_towardzero): Likewise.
51246 (cosh_test_downward): Likewise.
51247 (cosh_test_upward): Likewise.
51248 (sinh_test_tonearest): Likewise.
51249 (sinh_test_towardzero): Likewise.
51250 (sinh_test_downward): Likewise.
51251 (sinh_test_upward): Likewise.
51252 (main): Call the new functions.
51253 * sysdeps/i386/fpu/libm-test-ulps: Update.
51254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51256 2012-03-05 Tom de Vries <tom@codesourcery.com>
51258 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51259 default stack guard is set in last bytes.
51260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51262 2012-03-05 Kees Cook <keescook@chromium.org>
51264 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51267 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51268 possibly allocate from heap instead of stack.
51269 * stdio-common/bug-vfprintf-nargs.c: New file.
51270 * stdio-common/Makefile (tests): Add nargs overflow test.
51272 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51276 2012-03-03 Marek Polacek <polacek@redhat.com>
51278 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51279 * math/math_private.h: Likewise.
51280 * stdlib/tst-strtod.c: Likewise.
51281 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51282 * sysdeps/x86_64/bits/atomic.h: Likewise.
51284 2012-03-02 David S. Miller <davem@davemloft.net>
51286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51290 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51291 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51292 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51293 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51295 2012-03-02 Roland McGrath <roland@hack.frob.com>
51298 * manual/examples/README: New file, says the example source files
51299 can be used under GPL>=2.
51300 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51301 line containing just "*/".
51302 * manual/examples/add.c: Add copyright header (GPL>=2).
51303 * manual/examples/argp-ex1.c: Likewise.
51304 * manual/examples/argp-ex2.c: Likewise.
51305 * manual/examples/argp-ex3.c: Likewise.
51306 * manual/examples/argp-ex4.c: Likewise.
51307 * manual/examples/atexit.c: Likewise.
51308 * manual/examples/db.c: Likewise.
51309 * manual/examples/dir.c: Likewise.
51310 * manual/examples/dir2.c: Likewise.
51311 * manual/examples/execinfo.c: Likewise.
51312 * manual/examples/filecli.c: Likewise.
51313 * manual/examples/filesrv.c: Likewise.
51314 * manual/examples/fmtmsgexpl.c: Likewise.
51315 * manual/examples/genpass.c: Likewise.
51316 * manual/examples/inetcli.c: Likewise.
51317 * manual/examples/inetsrv.c: Likewise.
51318 * manual/examples/isockad.c: Likewise.
51319 * manual/examples/longopt.c: Likewise.
51320 * manual/examples/memopen.c: Likewise.
51321 * manual/examples/memstrm.c: Likewise.
51322 * manual/examples/mkfsock.c: Likewise.
51323 * manual/examples/mkisock.c: Likewise.
51324 * manual/examples/mygetpass.c: Likewise.
51325 * manual/examples/pipe.c: Likewise.
51326 * manual/examples/popen.c: Likewise.
51327 * manual/examples/rprintf.c: Likewise.
51328 * manual/examples/search.c: Likewise.
51329 * manual/examples/select.c: Likewise.
51330 * manual/examples/setjmp.c: Likewise.
51331 * manual/examples/sigh1.c: Likewise.
51332 * manual/examples/sigusr.c: Likewise.
51333 * manual/examples/stpcpy.c: Likewise.
51334 * manual/examples/strdupa.c: Likewise.
51335 * manual/examples/strftim.c: Likewise.
51336 * manual/examples/strncat.c: Likewise.
51337 * manual/examples/subopt.c: Likewise.
51338 * manual/examples/swapcontext.c: Likewise.
51339 * manual/examples/termios.c: Likewise.
51340 * manual/examples/testopt.c: Likewise.
51341 * manual/examples/testpass.c: Likewise.
51342 * manual/examples/timeval_subtract.c: Likewise.
51345 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51347 * manual/timeval_subtract.c.texi: ... here, new file.
51349 2012-03-02 David S. Miller <davem@davemloft.net>
51351 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51353 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51356 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51357 (__sin): Save and restore rounding mode and use round-to-nearest
51358 for all computations.
51359 (__cos): Save and restore rounding mode and use round-to-nearest
51360 for all computations.
51361 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51363 (tan): Save and restore rounding mode and use round-to-nearest for
51365 * math/libm-test.inc (cos_test_tonearest): New function.
51366 (cos_test_towardzero): Likewise.
51367 (cos_test_downward): Likewise.
51368 (cos_test_upward): Likewise.
51369 (sin_test_tonearest): Likewise.
51370 (sin_test_towardzero): Likewise.
51371 (sin_test_downward): Likewise.
51372 (sin_test_upward): Likewise.
51373 (tan_test_tonearest): Likewise.
51374 (tan_test_towardzero): Likewise.
51375 (tan_test_downward): Likewise.
51376 (tan_test_upward): Likewise.
51377 (main): Call the new functions.
51378 * sysdeps/i386/fpu/libm-test-ulps: Update.
51379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51382 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51383 small n, then large n, before computing and testing k+n.
51384 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51389 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51390 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51391 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51392 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51393 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51394 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51395 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51396 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51397 * math/libm-test.inc (scalbn_test): Add more tests.
51398 (scalbln_test): Likewise.
51400 * manual/filesys.texi (mode_t): Describe constraints on size and
51401 signedness, not exact equivalence to a particular type.
51403 (ino64_t): Likewise.
51405 (nlink_t): Likewise.
51406 (blkcnt_t): Likewise.
51407 (blkcnt64_t): Likewise.
51408 * manual/llio.texi (off_t): Likewise.
51411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51412 (__ieee754_exp): Save and restore rounding mode and use
51413 round-to-nearest for all computations.
51414 * math/libm-test.inc (exp_test_tonearest): New function.
51415 (exp_test_towardzero): Likewise.
51416 (exp_test_downward): Likewise.
51417 (exp_test_upward): Likewise.
51418 (main): Call the new functions.
51419 * sysdeps/i386/fpu/libm-test-ulps: Update.
51420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51422 2012-03-01 Chris Demetriou <cgd@google.com>
51424 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51425 have predictable order.
51427 2012-03-01 David S. Miller <davem@davemloft.net>
51429 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51431 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51432 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51433 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51434 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51436 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51437 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51438 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51440 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51441 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51442 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51443 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51444 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51449 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51450 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51452 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51453 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51454 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51455 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51456 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51457 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51458 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51459 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51460 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51461 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51462 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51463 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51465 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51466 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51468 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51469 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51470 * sysdeps/sparc/elf/configure: Regenerated.
51472 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51474 * configure.in (AS, LD): Require binutils 2.20 or later.
51475 * configure: Regenerated.
51476 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51477 as required minimum version.
51478 * INSTALL: Regenerated.
51482 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51483 before squaring exponent.
51484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51485 bottom long double and 27 bits of top long double before squaring
51487 * math/libm-test.inc (erfc_test): Add more tests.
51488 * sysdeps/i386/fpu/libm-test-ulps: Update.
51489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51492 2012-03-01 Kai Tietz <ktietz@redhat.com>
51494 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51495 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51496 containing bit-fields.
51497 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51498 * soft-fp/single.h (_FP_UNION_S): Likewise.
51499 * soft-fp/double.h (_FP_UNION_D): Likewise.
51501 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51504 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51505 not include ../strcmp.S.
51506 [USE_AS_STRNCASECMP_L]: Likewise.
51507 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51508 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51509 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51510 (__strncasecmp_l_ia32): Define as alias to
51511 __strncasecmp_l_nonascii.
51514 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51515 * sysdeps/i386/fpu/libm-test-ulps: Update.
51516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51518 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51521 2012-02-29 Jeff Law <law@redhat.com>
51523 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51524 out of bounds read.
51526 2012-02-29 Marek Polacek <polacek@redhat.com>
51529 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51530 * elf/Makefile: Add rules to run tst-unused-dep.out.
51532 2012-02-28 David S. Miller <davem@davemloft.net>
51534 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51535 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51536 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51538 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51539 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51541 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51543 * math/libm-test.inc (llround_test): Move one test from
51544 lround_test. Use TEST_f_L in moved test.
51545 (lround_test): Move misplaced test to llround_test. Add testcase
51548 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51550 * sysdeps/x86_64/fpu/e_expf.S: New file.
51551 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51553 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51556 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51557 of remain_len that may cause incomplete multi-byte character and
51559 * posix/bug-regex33.c: New file.
51560 * posix/Makefile (tests): Add bug-regex33.
51562 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51564 * manual/macros.texi: New file.
51565 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51566 * manual/libc.texinfo: Include macros.texi.
51567 * manual/creatute.texi: Likewise.
51568 * manual/install.texi: Likewise.
51569 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51570 @glibcadj{} in references to the GNU C Library.
51571 * manual/charset.texi: Likewise.
51572 * manual/conf.texi: Likewise.
51573 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51574 when not using those macros.
51575 * manual/creature.texi: Likewise.
51576 * manual/crypt.texi: Likewise.
51577 * manual/errno.texi: Likewise.
51578 * manual/filesys.texi: Likewise.
51579 * manual/header.texi: Likewise.
51580 * manual/install.texi: Likewise.
51581 * manual/intro.texi: Likewise.
51582 * manual/io.texi: Likewise.
51583 * manual/job.texi: Likewise.
51584 * manual/lang.texi: Likewise.
51585 * manual/libc.texiinfo: Likewise.
51586 * manual/llio.texi: Likewise.
51587 * manual/locale.texi: Likewise.
51588 * manual/maint.texi: Likewise.
51589 * manual/math.texi: Likewise.
51590 * manual/memory.texi: Likewise.
51591 * manual/message.texi: Likewise.
51592 * manual/nss.texi: Likewise.
51593 * manual/pattern.texi: Likewise.
51594 * manual/process.texi: Likewise.
51595 * manual/resource.texi: Likewise.
51596 * manual/search.texi: Likewise.
51597 * manual/setjmp.texi: Likewise.
51598 * manual/signal.texi: Likewise.
51599 * manual/socket.texi: Likewise.
51600 * manual/startup.texi: Likewise.
51601 * manual/stdio.texi: Likewise.
51602 * manual/string.texi: Likewise.
51603 * manual/sysinfo.texi: Likewise.
51604 * manual/syslog.texi: Likewise.
51605 * manual/terminal.texi: Likewise.
51606 * manual/time.texi: Likewise.
51607 * manual/users.texi: Likewise.
51608 * INSTALL: Regenerated.
51609 * NOTES: Regenerated.
51610 * sysdeps/gnu/errlist.c: Regenerated.
51612 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51614 * include/dirent.h: Include <dirstream.h> before
51617 2012-02-28 David S. Miller <davem@davemloft.net>
51619 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51620 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51621 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51622 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51624 2012-02-27 David S. Miller <davem@davemloft.net>
51626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51628 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51629 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51632 frame pointer instead of stack pointer relative arg slot.
51633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51634 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51635 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51637 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51640 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51642 2012-02-27 David S. Miller <davem@davemloft.net>
51644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51648 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51649 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51650 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51651 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51653 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51655 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51656 later. Allow versions 5-9.
51657 * configure: Regenerated.
51658 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51659 required minimum version and 4.6 as recommended version. Do not
51660 mention bugs in GCC 2.7 and 2.8.
51661 * INSTALL: Regenerated.
51663 2012-02-27 David S. Miller <davem@davemloft.net>
51665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51671 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51672 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51674 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51675 manipulate bits before adding and subtracting TWO112[sx].
51676 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51678 2012-02-27 Roland McGrath <roland@hack.frob.com>
51681 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51682 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51683 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51684 being in POSIX, because they are in 1003.1-2008.
51686 * rt/tst-aio.c: Include <fcntl.h>.
51687 * rt/tst-aio7.c: Likewise.
51688 * rt/tst-aio64.c: Likewise.
51690 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51692 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51694 * manual/install.texi (--with-headers): Describe headers as
51695 interface headers, not private headers.
51696 (Specific advice for GNU/Linux systems): Describe use of headers
51697 from "make headers_install", not private headers from older
51699 * INSTALL: Regenerated.
51700 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51702 * sysdeps/unix/sysv/linux/configure: Regenerated.
51704 * manual/llio.texi (fclean): Remove documentation.
51706 * manual/Makefile (libc-texi-generated): New variable. Include
51708 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51709 $(libc-texi-generated), not duplicated list of files.
51710 (version.texi, stamp-version): New rules.
51711 (realclean): Remove $(libc-texi-generated), not individual files
51712 from that list. Do not remove dir-add.texinfo.
51713 * manual/libc.texinfo: Comment out uses of edition numbers and
51714 references to printed manual. Remove last-updated dates.
51715 (EDITION): Comment out.
51717 (VERSION, UPDATED): Remove.
51718 (version.texi): Include.
51720 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51722 * sysdeps/posix/spawni.c: Include <signal.h>.
51723 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51724 * sysdeps/pthread/aio_fsync.c: Likewise.
51726 2012-02-26 Ulrich Drepper <drepper@gmail.com>
51728 * conform/Makefile (tests): Run only when not cross-compiling and
51729 when fast-check is not defined.
51731 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51732 * conform/data/limits.h-data: Fixes for POSIX2008.
51733 * conform/run-conformtest.sh: Run all tests.
51734 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51736 * include/bits/dlfcn.h: Likewise.
51737 * include/langinfo.h: Likewise.
51738 * include/monetary.h: Likewise.
51739 * include/sys/poll.h: Likewise.
51741 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51743 * posix/spawn.h: Define __need_sigset_t.
51744 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51745 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51746 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51747 to get sigevent_t only.
51748 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51749 only for __USE_GNU.
51750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51751 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51752 process_vm_writev only for __USE_GNU.
51753 * termios/termios.h: Declare tcgetsid also for POSIX2008.
51755 * conform/Makefile: For now ignore errors from run-conformtest.
51756 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51757 POSIX to avoid namespace pollution. Don't prepend headers.
51758 * conform/data/aio.h-data: Fixes for POSIX testing.
51759 * conform/data/fcntl.h-data: Likewise.
51760 * conform/data/glob.h-data: Likewise.
51761 * conform/data/grp.h-data: Likewise.
51762 * conform/data/pthread.h-data: Likewise.
51763 * conform/data/pwd.h-data: Likewise.
51764 * conform/data/signal.h-data: Likewise.
51765 * conform/data/spawn.h-data: Likewise.
51766 * conform/data/stdio.h-data: Likewise.
51767 * conform/data/stdlib.h-data: Likewise.
51768 * conform/data/stropts.h-data: Likewise.
51769 * conform/data/sys/mman.h-data: Likewise.
51770 * conform/data/sys/stat.h-data: Likewise.
51771 * conform/data/sys/types.h-data: Likewise.
51772 * conform/data/sys/wait.h-data: Likewise.
51773 * conform/data/time.h-data: Likewise.
51774 * conform/data/unistd.h-data: Likewise.
51775 * conform/data/utime.h-data: Likewise.
51777 * io/sys/stat.h: fchmod was always in POSIX.
51778 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51779 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51780 * rt/aio.h: Define __need_timespec before including <time.h>.
51781 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51782 struct. Add forward declaration of pthread_attr_t and use it in
51784 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51785 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51786 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51787 always remove CLK_TCK definition.
51789 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51791 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51793 2012-02-25 Ulrich Drepper <drepper@gmail.com>
51795 * conform/run-conformtest.sh: New file.
51796 * conform/Makefile: Run run-conformtest for tests.
51797 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51800 * conform/data/uchar.h-data: New file.
51801 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51802 * conform/data/arpa/inet.h-data: Likewise.
51803 * conform/data/assert.h-data: Likewise.
51804 * conform/data/complex.h-data: Likewise.
51805 * conform/data/cpio.h-data: Likewise.
51806 * conform/data/ctype.h-data: Likewise.
51807 * conform/data/dirent.h-data: Likewise.
51808 * conform/data/dlfcn.h-data: Likewise.
51809 * conform/data/errno.h-data: Likewise.
51810 * conform/data/fcntl.h-data: Likewise.
51811 * conform/data/float.h-data: Likewise.
51812 * conform/data/fmtmsg.h-data: Likewise.
51813 * conform/data/fnmatch.h-data: Likewise.
51814 * conform/data/ftw.h-data: Likewise.
51815 * conform/data/glob.h-data: Likewise.
51816 * conform/data/grp.h-data: Likewise.
51817 * conform/data/iconv.h-data: Likewise.
51818 * conform/data/inttypes.h-data: Likewise.
51819 * conform/data/langinfo.h-data: Likewise.
51820 * conform/data/libgen.h-data: Likewise.
51821 * conform/data/limits.h-data: Likewise.
51822 * conform/data/locale.h-data: Likewise.
51823 * conform/data/math.h-data: Likewise.
51824 * conform/data/monetary.h-data: Likewise.
51825 * conform/data/mqueue.h-data: Likewise.
51826 * conform/data/ndbm.h-data: Likewise.
51827 * conform/data/net/if.h-data: Likewise.
51828 * conform/data/netdb.h-data: Likewise.
51829 * conform/data/netinet/in.h-data: Likewise.
51830 * conform/data/nl_types.h-data: Likewise.
51831 * conform/data/poll.h-data: Likewise.
51832 * conform/data/pthread.h-data: Likewise.
51833 * conform/data/pwd.h-data: Likewise.
51834 * conform/data/regex.h-data: Likewise.
51835 * conform/data/sched.h-data: Likewise.
51836 * conform/data/search.h-data: Likewise.
51837 * conform/data/semaphore.h-data: Likewise.
51838 * conform/data/setjmp.h-data: Likewise.
51839 * conform/data/signal.h-data: Likewise.
51840 * conform/data/spawn.h-data: Likewise.
51841 * conform/data/stdarg.h-data: Likewise.
51842 * conform/data/stdio.h-data: Likewise.
51843 * conform/data/stdlib.h-data: Likewise.
51844 * conform/data/string.h-data: Likewise.
51845 * conform/data/strings.h-data: Likewise.
51846 * conform/data/stropts.h-data: Likewise.
51847 * conform/data/sys/ipc.h-data: Likewise.
51848 * conform/data/sys/mman.h-data: Likewise.
51849 * conform/data/sys/msg.h-data: Likewise.
51850 * conform/data/sys/resource.h-data: Likewise.
51851 * conform/data/sys/select.h-data: Likewise.
51852 * conform/data/sys/sem.h-data: Likewise.
51853 * conform/data/sys/shm.h-data: Likewise.
51854 * conform/data/sys/socket.h-data: Likewise.
51855 * conform/data/sys/stat.h-data: Likewise.
51856 * conform/data/sys/statvfs.h-data: Likewise.
51857 * conform/data/sys/time.h-data: Likewise.
51858 * conform/data/sys/timeb.h-data: Likewise.
51859 * conform/data/sys/times.h-data: Likewise.
51860 * conform/data/sys/types.h-data: Likewise.
51861 * conform/data/sys/uio.h-data: Likewise.
51862 * conform/data/sys/un.h-data: Likewise.
51863 * conform/data/sys/utsname.h-data: Likewise.
51864 * conform/data/sys/wait.h-data: Likewise.
51865 * conform/data/syslog.h-data: Likewise.
51866 * conform/data/tar.h-data: Likewise.
51867 * conform/data/termios.h-data: Likewise.
51868 * conform/data/utime.h-data: Likewise.
51869 * conform/data/utmpx.h-data: Likewise.
51870 * conform/data/varargs.h-data: Likewise.
51871 * conform/data/wchar.h-data: Likewise.
51872 * conform/data/wctype.h-data: Likewise.
51873 * conform/data/wordexp.h-data: Likewise.
51875 * include/stropts.h: New file.
51876 * include/uchar.h: New file.
51877 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51878 * include/assert.h: Likewise.
51879 * include/ctype.h: Likewise.
51880 * include/dirent.h: Likewise.
51881 * include/dlfcn.h: Likewise.
51882 * include/fcntl.h: Likewise.
51883 * include/fnmatch.h: Likewise.
51884 * include/glob.h: Likewise.
51885 * include/grp.h: Likewise.
51886 * include/libio.h: Likewise.
51887 * include/locale.h: Likewise.
51888 * include/math.h: Likewise.
51889 * include/net/if.h: Likewise.
51890 * include/netdb.h: Likewise.
51891 * include/netinet/in.h: Likewise.
51892 * include/pthread.h: Likewise.
51893 * include/pwd.h: Likewise.
51894 * include/regex.h: Likewise.
51895 * include/sched.h: Likewise.
51896 * include/search.h: Likewise.
51897 * include/setjmp.h: Likewise.
51898 * include/signal.h: Likewise.
51899 * include/stdio.h: Likewise.
51900 * include/stdlib.h: Likewise.
51901 * include/string.h: Likewise.
51902 * include/sys/cdefs.h: Likewise.
51903 * include/sys/mman.h: Likewise.
51904 * include/sys/msg.h: Likewise.
51905 * include/sys/resource.h: Likewise.
51906 * include/sys/select.h: Likewise.
51907 * include/sys/socket.h: Likewise.
51908 * include/sys/stat.h: Likewise.
51909 * include/sys/statvfs.h: Likewise.
51910 * include/sys/time.h: Likewise.
51911 * include/sys/times.h: Likewise.
51912 * include/sys/uio.h: Likewise.
51913 * include/sys/utsname.h: Likewise.
51914 * include/sys/wait.h: Likewise.
51915 * include/termios.h: Likewise.
51916 * include/time.h: Likewise.
51917 * include/ulimit.h: Likewise.
51918 * include/unistd.h: Likewise.
51919 * include/utime.h: Likewise.
51920 * include/wchar.h: Likewise.
51921 * include/wctype.h: Likewise.
51922 * include/wordexp.h: Likewise.
51924 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51926 * time/time.h: TIME_UTC must be a macro.
51927 Make timespec_get available for ISO C11 only as well.
51929 2012-02-24 Ulrich Drepper <drepper@gmail.com>
51931 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51932 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51934 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51936 * configure.in: Use -o not -a in test for unsupported multi-arch.
51938 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51940 * manual/texinfo.tex: Update to version 2012-01-19.16.
51942 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51944 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51946 2012-02-24 Roland McGrath <roland@hack.frob.com>
51949 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51950 * manual/fdl-1.3.texi: New file.
51951 * manual/fdl-1.1.texi: File removed.
51954 * manual/libc.texinfo (FDL_VERSION): New @set.
51955 Use it for mention of FDL in cover text.
51956 (Documentation License): Use it in @include file name.
51958 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51959 Roland McGrath <roland@hack.frob.com>
51962 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51963 (not LONG_LONG_MAX and LONG_LONG_MIN.
51964 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51965 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51967 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51969 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51973 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51974 manipulate bits before adding and subtracting TWO23[sx].
51975 * math/libm-test.inc (nearbyint_test): Add more tests.
51977 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51980 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51981 bits before adding and subtracting TWO23[sx].
51982 * math/libm-test.inc (rint_test): Add more tests.
51983 (rint_test_tonearest): Likewise.
51984 (rint_test_towardzero): Likewise.
51985 (rint_test_downward): Likewise.
51986 (rint_test_upward: Likewise.
51988 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51991 * include/stdc-predef.h: New file. Extracted from features.h.
51992 * include/features.h: Include stdc-predef.h.
51993 * Makefile (headers): Add stdc-predef.h.
51994 * CONFORMANCE (Compiler limitations): Update.
51996 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51998 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52000 2012-02-21 David S. Miller <davem@davemloft.net>
52002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52003 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52005 2012-02-20 David S. Miller <davem@davemloft.net>
52007 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52008 using a normal save/restore sequence, rather than allocating a
52009 dummy stack frame just to store a frame pointer and restore.
52010 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52012 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52014 * manual/install.texi: Fix stray word in line-wrapped comment.
52016 2012-02-20 David S. Miller <davem@davemloft.net>
52018 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52019 both binutils and gcc support GOTDATA.
52021 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52022 "rd %pc" in the PIC register setup sequences.
52024 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52025 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52026 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52027 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52028 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52030 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52033 (SYSCALL_ERROR_HANDLER): Likewise.
52034 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52035 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52037 (SYSCALL_ERROR_HANDLER): Likewise.
52039 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52040 (HAVE_GCC_GOTDATA): New.
52041 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52042 relocation support in both binutils and gcc.
52043 * sysdeps/sparc/elf/configure: Regenerate.
52045 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52046 * sysdeps/sparc/sparc32/elf/configure: Delete.
52047 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52048 * sysdeps/sparc/sparc64/elf/configure: Delete.
52049 * sysdeps/sparc/elf/configure.in: New file.
52050 * sysdeps/sparc/elf/configure: Generate.
52052 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52053 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52054 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52055 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52056 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52058 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52060 * manual/install.texi: Do not mention specific glibc version
52062 * manual/libc.texinfo (VERSION, UPDATED): Update.
52063 (@copying): Use @copyright{} and range of years.
52065 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52068 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52069 [crti.S not in sysdirs] (generated): Do not append.
52070 [crti.S not in sysdirs] (omit-deps): Likewise.
52071 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52072 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52073 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52074 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52075 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52077 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52078 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52079 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52080 * csu/defs.awk: Remove file.
52081 * sysdeps/generic/initfini.c: Likewise.
52082 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52084 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52087 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52089 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52090 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52091 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52092 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52094 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52096 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52097 (__EPOLL_PACKED): Define to empty if not defined by
52099 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52103 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52105 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52106 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52107 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52108 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52110 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52114 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52116 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52118 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52119 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52120 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52123 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52125 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52126 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52128 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52130 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52131 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52133 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52135 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52138 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52140 * math/w_acos.c: Use non-signaling floating-point comparisons.
52141 * math/w_acosf.c: Likewise.
52142 * math/w_acosh.c: Likewise.
52143 * math/w_acoshf.c: Likewise.
52144 * math/w_acoshl.c: Likewise.
52145 * math/w_acosl.c: Likewise.
52146 * math/w_asin.c: Likewise.
52147 * math/w_asinf.c: Likewise.
52148 * math/w_asinl.c: Likewise.
52149 * math/w_atanh.c: Likewise.
52150 * math/w_atanhf.c: Likewise.
52151 * math/w_atanhl.c: Likewise.
52152 * math/w_exp2.c: Likewise.
52153 * math/w_exp2f.c: Likewise.
52154 * math/w_exp2l.c: Likewise.
52155 * math/w_j0.c: Likewise.
52156 * math/w_j0f.c: Likewise.
52157 * math/w_j0l.c: Likewise.
52158 * math/w_j1.c: Likewise.
52159 * math/w_j1f.c: Likewise.
52160 * math/w_j1l.c: Likewise.
52161 * math/w_jn.c: Likewise.
52162 * math/w_jnf.c: Likewise.
52163 * math/w_log.c: Likewise.
52164 * math/w_log10.c: Likewise.
52165 * math/w_log10f.c: Likewise.
52166 * math/w_log10l.c: Likewise.
52167 * math/w_log2.c: Likewise.
52168 * math/w_log2f.c: Likewise.
52169 * math/w_log2l.c: Likewise.
52170 * math/w_logf.c: Likewise.
52171 * math/w_logl.c: Likewise.
52172 * math/w_sqrt.c: Likewise.
52173 * math/w_sqrtf.c: Likewise.
52174 * math/w_sqrtl.c: Likewise.
52175 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52176 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52177 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52178 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52179 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52181 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52184 * manual/string.texi (strnlen): Use correct parameter name in
52185 equivalent expression.
52187 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52190 * manual/users.texi (seteuid): Consistently use neweuid for
52193 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52196 * manual/nss.texi (Services in the NSS configuration): Correct
52197 list of services in example configuration file.
52199 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52202 * manual/arith.texi: Remove statements about negative zero
52203 behaving identically to zero.
52205 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52208 * manual/install.texi: Do not document upgrading from libc5.
52210 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52213 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52215 2012-02-18 David S. Miller <davem@davemloft.net>
52217 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52218 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52219 %o7 across the call.
52220 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52222 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52223 SETUP_PIC_REG_LEAF.
52224 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52225 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52226 * sysdeps/sparc/crtn.S: Likewise.
52228 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52230 * aout/Makefile: Remove.
52232 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52235 * manual/examples/argp-ex1.c (main): Format definition in GNU
52237 * manual/examples/argp-ex2.c (main): Likewise.
52238 * manual/examples/argp-ex3.c (main): Likewise.
52239 * manual/examples/argp-ex4.c (main): Likewise.
52240 * manual/examples/longopt.c (main): Use new-style prototype
52242 * manual/examples/strncat.c (main): Specify return type and use
52243 (void) for arguments.
52244 * manual/examples/subopt.c (main): Use char **argv argument.
52246 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52249 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52252 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52255 * manual/string.texi (strchr): Change when strchrnul is
52258 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52261 * manual/locale.texi (setlocale): Document LOCPATH.
52263 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52266 * manual/process.texi (execle): Move @dots{} before last argument.
52268 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52271 * manual/charset.texi (Generic Charset Conversion): Fix typo
52272 (LC_TYPE -> LC_CTYPE).
52274 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52277 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52278 (scalbnf): Likewise.
52279 (scalbnl): Likewise.
52280 (scalbln): Likewise.
52281 (scalblnf): Likewise.
52282 (scalblnl): Likewise.
52283 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52284 (vwarnx): Likewise.
52287 * manual/filesys.texi (telldir): Use braces around return type.
52288 * manual/llio.texi (mmap): Add space after comma.
52289 (mmap64): Likewise.
52290 * manual/math.texi (jn): Use @var{} on parameter names.
52296 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52298 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52300 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52301 (sched_get_priority_max): Likewise.
52302 * manual/signal.texi (sigvec): Add space after comma.
52303 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52305 (if_indextoname): Likewise.
52306 (if_freenameindex): Likewise.
52307 (sendto): Use ',' instead of '.' in prototype.
52308 * manual/startup.texi (syscall): Use @dots{} instead of literal
52310 * manual/stdio.texi (__fpending): Separate initial words of
52311 paragraph from @deftypefun line.
52312 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52314 (vsyslog): Use @var{} on parameter names.
52315 * manual/terminal.texi (stty): Use @var{} on parameter names.
52316 * manual/users.texi (getutmp): Use @var{} on parameter names.
52317 (getutmpx): Likewise.
52319 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52322 * manual/stdio.texi (fopen): Fix typos in description of
52325 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52328 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52329 get clock_id definition.
52331 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52334 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52335 (madvise): Cast every argument to void on its own.
52337 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52340 * manual/startup.texi (Exit Status): Fix typo.
52342 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52345 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52346 * manual/examples/argp-ex2.c: Likewise.
52347 * manual/examples/argp-ex3.c: Likewise.
52349 2012-02-16 Richard Henderson <rth@redhat.com>
52351 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52352 * sysdeps/s390/s390-32/initfini.c: Remove.
52353 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52354 * sysdeps/s390/s390-64/initfini.c: Remove.
52356 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52358 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52359 compiler output for sysdeps/generic/initfini.c.
52360 * sysdeps/sh/elf/initfini.c: Remove file.
52362 2012-02-16 David S. Miller <davem@davemloft.net>
52365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52367 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52368 * sysdeps/sparc/crti.S: New file.
52369 * sysdeps/sparc/crtn.S: New file.
52370 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52371 * sysdeps/sparc/sparc64/Makefile: Likewise.
52373 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52376 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52378 2012-02-15 Roland McGrath <roland@hack.frob.com>
52381 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52383 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52384 (write, read, close): Likewise.
52385 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52387 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52389 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52390 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52391 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52392 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52394 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52398 2012-02-14 Marek Polacek <polacek@redhat.com>
52400 * sysdeps/x86_64/crti.S: New file.
52401 * sysdeps/x86_64/crtn.S: New file.
52402 * sysdeps/x86_64/elf/initfini.c: Remove file.
52404 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52406 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52407 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52408 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52409 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52411 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52415 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52417 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52418 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52419 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52420 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52422 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52426 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52428 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52429 __feraiseexcept instead of feraiseexcept.
52431 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52432 nanosleep invocations.
52433 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52434 strings, and add error checking for a nanosleep invocations.
52436 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52438 Replace FSF snail mail address with URLs, as per GNU coding standards.
52439 Most of the snail mail addresses were wrong anyway, and omitting
52440 them makes the source code easier to maintain. Almost all of the
52441 changes are to license notices and to locale LC_IDENTIFICATION
52442 addresses, except for this one:
52443 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52444 not its snail mail address.
52446 2012-02-09 Richard Henderson <rth@twiddle.net>
52448 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52449 of kernel-features.h.
52451 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52453 2012-02-08 Marek Polacek <polacek@redhat.com>
52455 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52456 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52457 * sysdeps/gnu/_G_config.h: Likewise.
52458 * sysdeps/generic/_G_config.h: Likewise.
52460 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52462 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52466 * sysdeps/powerpc/powerpc32/crti.S: New file.
52467 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52468 * sysdeps/powerpc/powerpc64/crti.S: New file.
52469 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52471 * Makeconfig (have-initfini): Don't set.
52472 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52473 * configure.in (nopic_initfini): Don't substitute.
52474 * config.h.in (HAVE_INITFINI): Don't #undef.
52475 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52476 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52478 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52480 Support crti.S and crtn.S provided directly by architectures.
52481 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52482 [crti.S in sysdirs] (omit-deps): Likewise.
52483 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52484 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52485 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52486 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52487 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52488 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52489 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52490 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52491 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52492 compiler output for sysdeps/generic/initfini.c.
52493 * sysdeps/i386/elf/Makefile: Remove file.
52494 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52496 2012-02-07 Marek Polacek <polacek@redhat.com>
52498 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52499 * sysdeps/gnu/_G_config.h: Likewise.
52500 * sysdeps/mach/hurd/_G_config.h: Likewise.
52502 2012-02-07 Marek Polacek <polacek@redhat.com>
52504 * math/Makefile (tests): Add tst-CMPLX2.
52505 * math/tst-CMPLX2.c: New file.
52507 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52509 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52511 * math/libm-test.inc (jn_test): Add missing L suffix.
52513 2012-02-06 Marek Polacek <polacek@redhat.com>
52515 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52516 * sysdeps/i386/fpu/e_powf.S: Likewise.
52517 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52518 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52519 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52520 * sysdeps/i386/fpu/e_pow.S: Likewise.
52521 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52522 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52523 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52524 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52525 * sysdeps/i386/fpu/e_log2.S: Likewise.
52526 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52527 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52528 * sysdeps/i386/fpu/e_powl.S: Likewise.
52529 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52530 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52531 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52532 * sysdeps/i386/fpu/e_logl.S: Likewise.
52533 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52534 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52535 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52536 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52537 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52538 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52539 * sysdeps/i386/fpu/e_log.S: Likewise.
52540 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52541 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52542 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52543 * sysdeps/i386/fpu/e_logf.S: Likewise.
52544 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52545 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52546 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52547 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52548 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52549 * sysdeps/i386/fpu/e_log10.S: Likewise.
52550 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52551 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52552 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52553 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52554 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52555 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52556 * sysdeps/i386/asm-syntax.h: Likewise.
52557 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52558 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52559 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52560 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52561 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52562 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52563 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52564 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52565 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52566 * sysdeps/powerpc/sysdep.h: Likewise.
52567 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52568 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52570 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52573 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52575 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52577 * sysdeps/i386/sysdep.h: Include <features.h>.
52578 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52581 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52583 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52585 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52588 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52590 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52591 (SETUP_PIC_REG): Use GET_PC_THUNK.
52592 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52595 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52597 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52598 for non-PIC compilation.
52599 (SETUP_PIC_REG): Add .p2align directive.
52600 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52601 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52602 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52603 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52604 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52605 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52606 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52607 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52608 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52609 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52610 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52611 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52612 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52613 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52614 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52615 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52616 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52617 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52618 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52619 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52620 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52621 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52622 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52623 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52626 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52627 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52628 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52629 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52630 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52631 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52632 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52633 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52634 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52635 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52636 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52637 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52638 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52639 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52640 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52642 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52644 * math/tst-CMPLX.c: Include <stdio.h>.
52646 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52648 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52650 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52651 * sysdeps/sparc/bits/mathdef.h: Likewise.
52653 2012-01-31 Marek Polacek <polacek@redhat.com>
52655 * libio/libio.h: Don't define _PARAMS.
52656 * locale/programs/config.h: Don't define PARAMS.
52657 * stdlib/strtol_l.c: Likewise.
52658 (__strtol_l): Remove PARAMS from the prototype.
52660 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52662 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52663 names. Just use the correct names. Remove unnecessary wrapper
52665 * malloc/arena.c: Likewise.
52666 * malloc/hooks.c: Likewise.
52668 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52669 ARENA_TEST says not to. Simplify test for creation of a new arena.
52670 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52672 2012-01-30 Ulrich Drepper <drepper@gmail.com>
52674 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52676 (update_get_addr): New function.
52677 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52678 GET_ADDR_MODULE parameter.
52680 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52682 * crypt/cert.c: Remove __STDC__ conditionals.
52683 * crypt/crypt-entry.c: Likewise.
52684 * crypt/crypt_util.c: Likewise.
52685 * libio/filedoalloc.c: Likewise.
52686 * libio/fileops.c: Likewise.
52687 * libio/genops.c: Likewise.
52688 * libio/iofclose.c: Likewise.
52689 * libio/iofdopen.c: Likewise.
52690 * libio/iofopen.c: Likewise.
52691 * libio/iofopen64.c: Likewise.
52692 * libio/iogetdelim.c: Likewise.
52693 * libio/iopopen.c: Likewise.
52694 * libio/obprintf.c: Likewise.
52695 * libio/oldfileops.c: Likewise.
52696 * libio/oldiofclose.c: Likewise.
52697 * libio/oldiofdopen.c: Likewise.
52698 * libio/oldiofopen.c: Likewise.
52699 * libio/oldiopopen.c: Likewise.
52700 * libio/wfiledoalloc.c: Likewise.
52701 * libio/wgenops.c: Likewise.
52702 * locale/programs/xmalloc.c: Likewise.
52703 * misc/syslog.c: Likewise.
52704 * stdio-common/xbug.c: Likewise.
52705 * string/memchr.c: Likewise.
52706 * string/memcmp.c: Likewise.
52707 * string/memrchr.c: Likewise.
52708 * string/rawmemchr.c: Likewise.
52709 * sysdeps/posix/getcwd.c: Likewise.
52710 * time/strftime_l.c: Likewise.
52712 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52714 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52715 * config.make.in (config-cflags-sse2avx): Define.
52716 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52719 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52721 * scripts/config.guess: Update from upstream config git repository.
52722 * scripts/config.sub: Likewise.
52724 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52726 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52728 (R_TILEPRO_*, R_TILEGX_*): New macros.
52730 * scripts/firstversions.awk: Fix bug in version range handling.
52732 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52734 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52736 * include/sys/epoll.h: New file.
52737 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52740 2012-01-28 Ulrich Drepper <drepper@gmail.com>
52742 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52743 Avoid unnecessary __WORDSIZE == 64 test.
52744 (fmaxf): Use VEX format if possible.
52749 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52750 * math/math_private.h: Remove libc_fegetround* and
52752 * sysdeps/i386/configure.in: Check for -msse2avx.
52753 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52754 also if SSE2AVX is defined.
52755 Remove libc_fegetround* and libc_fesetround*.
52756 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52757 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52758 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52760 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52761 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52763 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52764 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52766 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52768 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52770 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52772 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52774 2012-01-27 Ulrich Drepper <drepper@gmail.com>
52777 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52779 * Makeconfig (libm): Define.
52780 * elf/Makefile: Add rules to build and run tst-relsort1.
52781 * elf/tst-relsort1.c: New file.
52782 * elf/tst-relsort1mod1.c: New file.
52783 * elf/tst-relsort1mod2.c: New file.
52785 2012-01-27 Joseph Myers <joseph@codesourcery.com>
52787 * math/s_ldexp.c: Remove __STDC__ conditionals.
52788 * math/s_ldexpf.c: Likewise.
52789 * math/s_ldexpl.c: Likewise.
52790 * math/s_nextafter.c: Likewise.
52791 * math/s_nexttowardf.c: Likewise.
52792 * math/s_significand.c: Likewise.
52793 * math/s_significandf.c: Likewise.
52794 * math/s_significandl.c: Likewise.
52795 * math/w_jnl.c: Likewise.
52796 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52797 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52798 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52799 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52800 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52802 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52803 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52804 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52805 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52806 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52807 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52808 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52809 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52810 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52811 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52812 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52813 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52814 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52815 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52816 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52817 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52818 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52819 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52820 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52821 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52822 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52823 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52824 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52825 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52826 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52827 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52828 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52829 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52830 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52831 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52832 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52833 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52834 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52835 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52836 * sysdeps/ieee754/k_standard.c: Likewise.
52837 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52838 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52839 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52840 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52841 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52842 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52843 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52844 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52845 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52846 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52847 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52848 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52849 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52850 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52851 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52852 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52853 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52854 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52855 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52856 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52857 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52858 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52859 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52860 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52861 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52862 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52863 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52864 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52866 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52867 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52868 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52869 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52870 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52872 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52873 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52874 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52875 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52876 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52877 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52879 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52880 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52881 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52882 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52883 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52884 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52885 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52886 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52887 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52888 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52889 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52890 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52891 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52892 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52893 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52894 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52895 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52896 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52897 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52898 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52899 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52900 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52901 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52902 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52903 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52904 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52905 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52906 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52907 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52908 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52909 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52910 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52911 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52912 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52913 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52914 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52915 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52916 * sysdeps/ieee754/s_matherr.c: Likewise.
52917 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52918 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52922 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52924 * crypt/md5.h: Remove __STDC__ conditionals.
52925 * libio/libioP.h: Likewise.
52926 * locale/programs/config.h: Likewise.
52927 * sysdeps/generic/sysdep.h: Likewise.
52928 * sysdeps/i386/asm-syntax.h: Likewise.
52929 * sysdeps/s390/asm-syntax.h: Likewise.
52930 * sysdeps/unix/sysdep.h: Likewise.
52931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52934 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52936 * libio/libio.h: Remove __STDC__ conditionals.
52937 * malloc/obstack.h: Likewise.
52938 * math/complex.h: Likewise.
52939 * math/math.h: Likewise.
52940 * sysdeps/generic/_G_config.h: Likewise.
52941 * sysdeps/gnu/_G_config.h: Likewise.
52942 * sysdeps/mach/hurd/_G_config.h: Likewise.
52943 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52944 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52945 * sysdeps/sparc/bits/mathdef.h: Likewise.
52947 2012-01-26 Ulrich Drepper <drepper@gmail.com>
52950 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52951 Clean up HAS_* macros.
52952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52953 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52963 2012-01-25 Joseph Myers <joseph@codesourcery.com>
52965 * elf/tst-unique3.cc (gets): Remove declaration.
52966 * elf/tst-unique3lib.cc (gets): Likewise.
52967 * elf/tst-unique3lib2.cc (gets): Likewise.
52968 * elf/tst-unique4.cc (gets): Likewise.
52970 2012-01-24 Ulrich Drepper <drepper@gmail.com>
52972 * include/stdio.h: Add C++ protection. Add gets declarations and
52974 * debug/tst-chk1.c: Don't declare gets here.
52975 * stdio-common/tst-gets.c: Likewise.
52977 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52979 * posix/glob: Remove directory.
52981 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52983 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52985 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52987 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52988 of the non-standard EPFNOSUPPORT.
52990 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52992 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52993 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52994 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52996 2012-01-21 Ulrich Drepper <drepper@gmail.com>
52998 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53000 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53002 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53004 * nscd/grpcache.c (cache_addgr): Likewise.
53005 * nscd/hstcache.c (cache_addhst): Likewise.
53006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53007 * nscd/pwdcache.c (cache_addpw): Likewise.
53008 * nscd/servicescache.c (cache_addserv): Likewise.
53010 2012-01-16 Ulrich Drepper <drepper@gmail.com>
53012 * malloc/malloc.c: Various cleanups.
53013 * malloc/hooks.c: Likewise.
53015 * stdlib/Makefile (tests): Add bug-fmtmsg1.
53016 * stdlib/bug-fmtmsg1.c: New file.
53018 * stdlib/fmtmsg.c (init): Add missing unlock.
53019 Patch by Peng Haitao <penght@cn.fujitsu.com>.
53021 2012-01-12 Marek Polacek <polacek@redhat.com>
53023 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53026 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53028 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53029 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53030 macro to ensure uniqueness of label name.
53031 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53032 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53034 2012-01-11 Ulrich Drepper <drepper@gmail.com>
53036 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53038 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53039 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53040 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53043 2012-01-10 Ulrich Drepper <drepper@gmail.com>
53045 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53047 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53048 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53049 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53051 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53053 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53054 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53055 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53058 * math/bits/math-finite.h: Add ldexp support.
53060 2012-01-10 Marek Polacek <polacek@redhat.com>
53062 * locale/programs/localedef.h (show_archive_content): Add noreturn
53065 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53067 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53069 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53071 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53073 * io/Makefile (headers): Add bits/poll2.h.
53075 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53078 typo #include statement.
53080 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53082 * include/sys/cdefs.h: Define __attribute_alloc_size.
53083 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53084 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53085 * elf/pldd.c: Likewise.
53086 * iconv/iconv_charmap.c: Likewise.
53087 * iconv/iconvconfig.c: Likewise.
53088 * iconv/strtab.c: Likewise.
53089 * locale/programs/locale.c: Likewise.
53090 * locale/programs/localedef.h: Likewise.
53091 * locale/programs/simple-hash.c: Likewise.
53092 * nscd/nscd.h: Likewise.
53093 * nss/makedb.c: Likewise.
53094 * sysdeps/generic/ldconfig.h: Likewise.
53095 * locale/programs/localedef.c: Remove xmalloc prototype.
53096 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53098 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53100 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53103 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53105 * math/Makefile (tests): Add tst-CMPLX.
53106 * math/tst-CMPLX.c: New file.
53108 * math/complex.h (CMPLXL): Fix typo.
53110 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53111 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53113 * debug/tst-chk1.c: Add poll and ppoll tests.
53114 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53115 * include/sys/poll.h: Add hidden proto for ppoll.
53116 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53117 * sysdeps/mach/hurd/ppoll.c: Likewise.
53118 * io/ppoll.c: Likewise.
53119 * debug/poll_chk.c: New file.
53120 * debug/ppoll_chk.c: New file.
53121 * include/bits/poll2.h: New file.
53122 * io/bits/poll2.h: New file.
53125 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53127 * configure.in: static is always set to yes. Remove.
53128 * config.make.in: Don't set build-static.
53129 * Makeconfig: Remove use of build-static.
53130 * dlfcn/Makefile: Likewise.
53131 * elf/Makefile: Likewise.
53132 * math/Makefile: Likewise.
53133 * misc/Makefile: Likewise.
53134 * nptl/Makefile: Likewise.
53135 * sysdeps/mach/hurd/Makefile: Likewise.
53137 * configure.in: PWD_P is not used anymore.
53138 * config.make.in: Remove PWD_P entry.
53140 * configure.in: Remove last remnants of RANLIB.
53141 No need to check for signed size_t anymore.
53142 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53144 Remove __builtin_expect test because we require at least gcc 3.4.
53145 * aclocal.m4: Likewise.
53147 * wcsmbs/mbrtoc16.c: Implement using towc function.
53148 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53149 * wcsmbs/wcsmbsload.c: Likewise.
53150 * iconv/gconv_simple.c: Likewise.
53151 * iconv/gconv_int.h: Likewise.
53152 * iconv/gconv_builtin.h: Likewise.
53153 * iconv/iconv_prog.c: Remove CHAR16 handling.
53155 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53157 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53159 * configure.in: Remove --with-elf and --enable-bounded options.
53160 Dont set base_machine for ia64. More non-ELF conditions removed.
53161 Remove testing and setting of leading underscore information.
53162 * config.make.in (build-bounded): Set to no.
53163 * config.h.in: Remove NO_UNDERSCORES entry.
53164 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53166 * csu/start.c: Remove !NO_UNDERSCORE code.
53167 * locale/localeinfo.h: Likewise.
53168 * sysdeps/generic/machine-gmon.h: Likewise.
53169 * sysdeps/generic/sysdep.h: Likewise.
53170 * sysdeps/i386/sysdep.h: Likewise.
53171 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53172 * sysdeps/mach/sysdep.h: Likewise.
53173 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53174 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53175 * sysdeps/sh/sysdep.h: Likewise.
53176 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53177 * sysdeps/unix/i386/sysdep.S: Likewise.
53178 * sysdeps/unix/sparc/start.c: Likewise.
53179 * sysdeps/unix/sparc/sysdep.S: Likewise.
53180 * sysdeps/unix/sparc/sysdep.h: Likewise.
53181 * sysdeps/unix/start.c: Likewise.
53182 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53183 * sysdeps/x86_64/sysdep.h: Likewise.
53185 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53188 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53190 * argp/argp-fmtstream.h: Use const instead __const.
53191 * argp/argp.h: Likewise.
53192 * assert/assert.h: Likewise.
53193 * bits/fenv.h: Likewise.
53194 * bits/sched.h: Likewise.
53195 * bits/sigset.h: Likewise.
53196 * bits/sigthread.h: Likewise.
53197 * catgets/nl_types.h: Likewise.
53198 * conform/data/pthread.h-data: Likewise.
53199 * crypt/crypt-private.h: Likewise.
53200 * crypt/crypt.h: Likewise.
53201 * crypt/crypt_util.c: Likewise.
53202 * ctype/ctype.h: Likewise.
53203 * debug/execinfo.h: Likewise.
53204 * debug/mbsnrtowcs_chk.c: Likewise.
53205 * debug/mbsrtowcs_chk.c: Likewise.
53206 * debug/wcsnrtombs_chk.c: Likewise.
53207 * debug/wcsrtombs_chk.c: Likewise.
53208 * debug/wcstombs_chk.c: Likewise.
53209 * dirent/dirent.h: Likewise.
53210 * dlfcn/dlfcn.h: Likewise.
53211 * elf/neededtest4.c: Likewise.
53212 * grp/grp.h: Likewise.
53213 * gshadow/gshadow.h: Likewise.
53214 * iconv/gconv.h: Likewise.
53215 * iconv/gconv_int.h: Likewise.
53216 * iconv/gconv_simple.c: Likewise.
53217 * iconv/iconv.h: Likewise.
53218 * iconv/loop.c: Likewise.
53219 * iconv/skeleton.c: Likewise.
53220 * include/aio.h: Likewise.
53221 * include/aliases.h: Likewise.
53222 * include/argz.h: Likewise.
53223 * include/arpa/inet.h: Likewise.
53224 * include/assert.h: Likewise.
53225 * include/dirent.h: Likewise.
53226 * include/dlfcn.h: Likewise.
53227 * include/execinfo.h: Likewise.
53228 * include/fcntl.h: Likewise.
53229 * include/fenv.h: Likewise.
53230 * include/glob.h: Likewise.
53231 * include/grp.h: Likewise.
53232 * include/libintl.h: Likewise.
53233 * include/mntent.h: Likewise.
53234 * include/netdb.h: Likewise.
53235 * include/pwd.h: Likewise.
53236 * include/rpc/netdb.h: Likewise.
53237 * include/sched.h: Likewise.
53238 * include/search.h: Likewise.
53239 * include/shadow.h: Likewise.
53240 * include/signal.h: Likewise.
53241 * include/stdio.h: Likewise.
53242 * include/stdlib.h: Likewise.
53243 * include/string.h: Likewise.
53244 * include/sys/socket.h: Likewise.
53245 * include/sys/stat.h: Likewise.
53246 * include/sys/statfs.h: Likewise.
53247 * include/sys/statvfs.h: Likewise.
53248 * include/sys/syslog.h: Likewise.
53249 * include/sys/time.h: Likewise.
53250 * include/sys/uio.h: Likewise.
53251 * include/time.h: Likewise.
53252 * include/unistd.h: Likewise.
53253 * include/utmp.h: Likewise.
53254 * include/wchar.h: Likewise.
53255 * include/wctype.h: Likewise.
53256 * inet/aliases.h: Likewise.
53257 * inet/arpa/inet.h: Likewise.
53258 * inet/netinet/ether.h: Likewise.
53259 * inet/netinet/in.h: Likewise.
53260 * intl/libintl.h: Likewise.
53261 * io/bits/fcntl2.h: Likewise.
53262 * io/fcntl.h: Likewise.
53263 * io/ftw.h: Likewise.
53264 * io/sys/poll.h: Likewise.
53265 * io/sys/stat.h: Likewise.
53266 * io/sys/statfs.h: Likewise.
53267 * io/sys/statvfs.h: Likewise.
53268 * io/utime.h: Likewise.
53269 * libio/bits/stdio.h: Likewise.
53270 * libio/bits/stdio2.h: Likewise.
53271 * libio/libio.h: Likewise.
53272 * libio/libioP.h: Likewise.
53273 * libio/stdio.h: Likewise.
53274 * locale/lc-ctype.c: Likewise.
53275 * locale/locale.h: Likewise.
53276 * login/utmp.h: Likewise.
53277 * malloc/arena.c: Likewise.
53278 * malloc/malloc.c: Likewise.
53279 * malloc/malloc.h: Likewise.
53280 * malloc/mcheck.c: Likewise.
53281 * malloc/mtrace.c: Likewise.
53282 * math/bits/mathcalls.h: Likewise.
53283 * math/fenv.h: Likewise.
53284 * math/math_private.h: Likewise.
53285 * misc/bits/error.h: Likewise.
53286 * misc/bits/syslog.h: Likewise.
53287 * misc/err.h: Likewise.
53288 * misc/error.h: Likewise.
53289 * misc/fstab.h: Likewise.
53290 * misc/mntent.h: Likewise.
53291 * misc/regexp.h: Likewise.
53292 * misc/search.h: Likewise.
53293 * misc/sgtty.h: Likewise.
53294 * misc/sys/mman.h: Likewise.
53295 * misc/sys/syslog.h: Likewise.
53296 * misc/sys/uio.h: Likewise.
53297 * misc/sys/xattr.h: Likewise.
53298 * misc/ttyent.h: Likewise.
53299 * nis/rpcsvc/ypclnt.h: Likewise.
53300 * nss/nss.h: Likewise.
53301 * posix/bits/unistd.h: Likewise.
53302 * posix/fnmatch.h: Likewise.
53303 * posix/glob.h: Likewise.
53304 * posix/sched.h: Likewise.
53305 * posix/spawn.h: Likewise.
53306 * posix/sys/wait.h: Likewise.
53307 * posix/unistd.h: Likewise.
53308 * posix/wordexp.h: Likewise.
53309 * pwd/pwd.h: Likewise.
53310 * resolv/netdb.h: Likewise.
53311 * resource/sys/resource.h: Likewise.
53312 * rt/aio.h: Likewise.
53313 * rt/bits/mqueue2.h: Likewise.
53314 * rt/mqueue.h: Likewise.
53315 * shadow/shadow.h: Likewise.
53316 * signal/signal.h: Likewise.
53317 * socket/send.c: Likewise.
53318 * socket/sendto.c: Likewise.
53319 * socket/sys/socket.h: Likewise.
53320 * stdio-common/printf.h: Likewise.
53321 * stdlib/bits/stdlib.h: Likewise.
53322 * stdlib/fmtmsg.h: Likewise.
53323 * stdlib/monetary.h: Likewise.
53324 * stdlib/stdlib.h: Likewise.
53325 * stdlib/ucontext.h: Likewise.
53326 * streams/stropts.h: Likewise.
53327 * string/argz.h: Likewise.
53328 * string/bits/string2.h: Likewise.
53329 * string/string.h: Likewise.
53330 * string/strings.h: Likewise.
53331 * sunrpc/rpc/auth.h: Likewise.
53332 * sunrpc/rpc/auth_des.h: Likewise.
53333 * sunrpc/rpc/clnt.h: Likewise.
53334 * sunrpc/rpc/netdb.h: Likewise.
53335 * sunrpc/rpc/pmap_clnt.h: Likewise.
53336 * sunrpc/rpc/xdr.h: Likewise.
53337 * sysdeps/generic/inttypes.h: Likewise.
53338 * sysdeps/generic/net/if.h: Likewise.
53339 * sysdeps/generic/sys/swap.h: Likewise.
53340 * sysdeps/gnu/net/if.h: Likewise.
53341 * sysdeps/gnu/utmpx.h: Likewise.
53342 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53343 * sysdeps/i386/i486/bits/string.h: Likewise.
53344 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53345 * sysdeps/s390/bits/string.h: Likewise.
53346 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53347 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53348 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53349 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53350 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53351 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53352 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53353 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53354 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53355 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53356 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53357 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53358 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53359 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53360 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53361 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53362 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53364 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53365 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53366 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53367 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53368 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53369 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53370 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53371 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53372 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53374 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53375 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53376 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53377 * sysvipc/sys/ipc.h: Likewise.
53378 * sysvipc/sys/msg.h: Likewise.
53379 * sysvipc/sys/sem.h: Likewise.
53380 * sysvipc/sys/shm.h: Likewise.
53381 * termios/termios.h: Likewise.
53382 * time/sys/time.h: Likewise.
53383 * time/time.h: Likewise.
53384 * wcsmbs/bits/wchar2.h: Likewise.
53385 * wcsmbs/uchar.h: Likewise.
53386 * wcsmbs/wchar.h: Likewise.
53387 * wctype/wctype.h: Likewise.
53390 * Makeconfig: Remove all but ELF support including AIX support.
53391 * Makerules: Likewise.
53392 * config.h.in: Likewise.
53393 * config.make.in: Likewise.
53394 * configure: Likewise.
53395 * configure.in: Likewise.
53396 * csu/Makefile: Likewise.
53397 * csu/version.c: Likewise.
53398 * debug/Makefile: Likewise.
53399 * dlfcn/Makefile: Likewise.
53400 * elf/Makefile: Likewise.
53401 * extra-lib.mk: Likewise.
53402 * iconv/Makefile: Likewise.
53403 * include/libc-symbols.h: Likewise.
53404 * include/shlib-compat.h: Likewise.
53405 * resolv/Makefile: Likewise.
53406 * resolv/res_libc.c: Likewise.
53407 * rt/Makefile: Likewise.
53408 * sysdeps/i386/asm-syntax.h: Likewise.
53409 * sysdeps/i386/sysdep.h: Likewise.
53410 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53411 * sysdeps/mach/sysdep.h: Likewise.
53412 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53413 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53414 * sysdeps/s390/asm-syntax.h: Likewise.
53415 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53416 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53417 * sysdeps/sh/sysdep.h: Likewise.
53418 * sysdeps/unix/sparc/sysdep.h: Likewise.
53419 * sysdeps/wordsize-32/divdi3.c: Likewise.
53420 * sysdeps/x86_64/sysdep.h: Likewise.
53422 * argp/Versions: Remove _argp_unlock_xxx.
53425 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53426 * abilist/libBrokenLocale.abilist: Likewise.
53427 * abilist/libanl.abilist: Likewise.
53428 * abilist/libc.abilist: Likewise.
53429 * abilist/libcrypt.abilist: Likewise.
53430 * abilist/libdl.abilist: Likewise.
53431 * abilist/libm.abilist: Likewise.
53432 * abilist/libnsl.abilist: Likewise.
53433 * abilist/libpthread.abilist: Likewise.
53434 * abilist/libresolv.abilist: Likewise.
53435 * abilist/librt.abilist: Likewise.
53436 * abilist/libthread_db.abilist: Likewise.
53437 * abilist/libutil.abilist: Likewise.
53438 * abilist/libnss_db.abilist: New file.
53440 * scripts/abilist.awk: Add support for indirect functions.
53442 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53444 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53446 * shlib-versions: Remove entries for ports architectures.
53448 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53450 * elf/stackguard-macros.h: Remove support for IA-64.
53451 * elf/tst-auditmod1.c: Likewise.
53452 * sysdeps/generic/ldsodefs.h: Likewise.
53454 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53455 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53459 * configure.in: Remove --enable-omitfp support.
53461 * config.make.in: Likewise.
53462 * Makeconfig: Likewise.
53463 * manual/install.texi: Likewise.
53465 In case anyone cares, the IA-64 architecture could move to ports.
53466 * sysdeps/ia64/*: Removed.
53467 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53468 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53471 * configure.in: Remove entries for unsupported architectures.
53474 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53475 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53477 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53478 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53479 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53480 fall back to using wcrtomb.
53481 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53482 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53484 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53485 * wcsmbs/tst-c16c32-1.c: New file.
53487 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53490 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53492 * elf/tst-unique3.cc: Add explicit declaration of gets.
53493 * elf/tst-unique3lib.cc: Likewise.
53494 * elf/tst-unique3lib2.cc: Likewise.
53495 * elf/tst-unique4.cc: Likewise.
53497 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53499 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53502 * assert/assert.h (static_assert): Don't define for C++.
53503 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53504 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53506 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53508 * iconv/loop.c (single loop): Fix assertion in storing of
53511 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53513 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53515 * posix/getconf.c: Update copyright year.
53516 * nss/getent.c: Likewise.
53517 * nss/makedb.c: Likewise.
53518 * iconv/iconvconfig.c: Likewise.
53519 * iconv/iconv_prog.c: Likewise.
53520 * elf/ldconfig.c: Likewise.
53521 * elf/pldd.c: Likewise.
53522 * elf/sotruss.ksh: Likewise.
53523 * catgets/gencat.c: Likewise.
53524 * csu/version.c: Likewise.
53525 * elf/ldd.bash.in: Likewise.
53526 * elf/sprof.c (print_version): Likewise.
53527 * locale/programs/locale.c: Likewise.
53528 * locale/programs/localedef.c: Likewise.
53529 * login/programs/pt_chown.c: Likewise.
53530 * nscd/nscd.c (print_version): Likewise.
53531 * debug/xtrace.sh: Likewise.
53532 * malloc/memusage.sh: Likewise.
53533 * malloc/mtrace.pl: Likewise.
53534 * debug/catchsegv.sh: Likewise.
53536 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53538 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53541 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53544 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53545 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53547 * iconv/gconv_int.h: Likewise.
53548 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53549 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53550 from libc for GLIBC_2.16.
53551 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53552 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53553 * wcsmbs/uchar.h: Really define mbstate_t.
53554 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53555 * wcsmbs/c16rtomb.c: New file.
53556 * wcsmbs/mbrtoc16.c: New file.
53557 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53558 for C/POSIX locale.
53559 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53560 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53562 * wcsmbs/wchar.h: Add missing __restrict.
53564 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53567 * time/Makefile (routines): Add timespec_get.
53568 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53569 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53570 timespec for ISO C11.
53571 * time/timespec_get.c: New file.
53572 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53573 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53576 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53577 * stdlib/stdlib.h: Declare aligned_alloc.
53578 * Versions.def: Add GLIBC_2.16 for libc.
53579 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53582 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53585 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53589 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53592 * assert/assert.h (static_assert): Define.
53594 * version.h: Update for 2.16 development version.
53597 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53600 * version.h (RELEASE): Bump for 2.15 release.
53601 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53603 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53604 Patch by Marek Polacek <mpolacek@redhat.com>.
53606 * bits/byteswap.h: Protect long long constants with __extension__.
53607 * sysdeps/i386/bits/byteswap.h: Likewise.
53608 * sysdeps/ia64/bits/byteswap.h: Likewise.
53609 * sysdeps/s390/bits/byteswap.h: Likewise.
53610 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53612 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53615 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53616 destination buffer.
53617 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53619 2011-12-23 Marek Polacek <polacek@redhat.com>
53621 * elf/dl-addr.c (determine_info): Add inline keyword.
53622 * elf/tst-auditmod4b.c (check_avx): Likewise.
53623 * elf/tst-auditmod6b.c (check_avx): Likewise.
53624 * elf/tst-auditmod6c.c (check_avx): Likewise.
53625 * elf/tst-auditmod7b.c (check_avx): Likewise.
53627 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53629 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53632 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53635 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53636 processing for last bytes.
53638 2011-08-06 Bruno Haible <bruno@clisp.org>
53641 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53642 U+0385, not to U+1FEE.
53645 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53646 entry for U+00A5 U+0301.
53648 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53651 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53652 buffer for the output is too small.
53654 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53658 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53659 SSE flags if possible.
53661 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53665 processing for last bytes.
53667 2011-12-22 Joseph Myers <joseph@codesourcery.com>
53669 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53670 (syscall-list-default-options, syscall-list-default-condition)
53671 (syscall-list-includes): Define.
53672 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53673 list of ABIs and options and #if conditions for each ABI. Do not
53674 handle common syscalls between ABIs specially.
53675 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53677 (syscall-list-variants, syscall-list-32bit-options)
53678 (syscall-list-32bit-condition, syscall-list-64bit-options)
53679 (syscall-list-64bit-condition): Define.
53680 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53681 (syscall-list-variants, syscall-list-32bit-options)
53682 (syscall-list-32bit-condition, syscall-list-64bit-options)
53683 (syscall-list-64bit-condition): Define.
53684 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53686 (syscall-list-variants, syscall-list-32bit-options)
53687 (syscall-list-32bit-condition, syscall-list-64bit-options)
53688 (syscall-list-64bit-condition): Define.
53689 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53691 (syscall-list-variants, syscall-list-32bit-options)
53692 (syscall-list-32bit-condition, syscall-list-64bit-options)
53693 (syscall-list-64bit-condition): Define.
53695 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53697 * locale/iso-639.def: Add brx entry.
53700 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53701 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53703 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53704 __feraiseexcept_renamed.
53706 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53709 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53710 EPOLLET with unsigned values.
53711 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53712 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53714 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53715 to large cancellation.
53716 * math/s_cacoshf.c: Likewise.
53717 * math/s_cacoshl.c: Likewise.
53719 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53723 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53724 * math/s_cacoshf.c: Likewise.
53725 * math/s_cacoshl.c: Likewise.
53727 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53730 * iconv/gconv.h: Define __GCONV_SWAP.
53731 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53732 * iconvdata/utf-16.c: Likewise.
53733 * iconvdata/utf-32.c: Likewise.
53735 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53738 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53739 numerator after shifting it by one limb.
53741 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53743 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53744 under [__USE_EXTERN_INLINES].
53746 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53749 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53751 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53753 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53754 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53756 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53757 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53758 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53759 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53760 for strncasecmp/strncasecmp_l compilation.
53761 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53762 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53764 2011-12-08 Marek Polacek <mpolacek@redhat.com>
53767 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53770 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53773 * time/tzfile.c (__tzfile_read): Check values from file header.
53775 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53777 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53778 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53779 * powerpc/powerpc32/dl-start.S: Likewise.
53780 * powerpc/powerpc32/elf/start.S: Likewise.
53781 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53782 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53783 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53784 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53785 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53786 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53787 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53788 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53789 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53790 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53791 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53792 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53793 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53794 * powerpc/powerpc32/memset.S: Likewise.
53795 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53796 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53797 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53798 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53799 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53800 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53801 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53802 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53803 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53804 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53805 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53806 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53807 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53809 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53811 * math/libm-test.inc: Added more nearbyint tests.
53812 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53813 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53814 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53815 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53817 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53819 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53822 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53824 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53825 Add wcscpy-ssse3 wcscpy-c.
53826 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53827 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53828 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53829 * sysdeps/x86_64/wcschr.S: New file.
53830 * sysdeps/x86_64/wcsrchr.S: New file.
53831 * string/test-strcmp.c: Remove checking of wcscmp function for
53833 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53834 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53835 wcsrchr-sse2 wcsrchr-c.
53836 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53837 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53838 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53839 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53840 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53841 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53842 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53843 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53844 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53845 * wcsmbc/wcschr.c (WCSCHR): New macro.
53847 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53849 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53850 * wcsmbs/test-wcsrchr.c: New file.
53851 * string/test-strrchr.c: Add wcsrchr support.
53853 * wcsmbs/test-wcscpy.c: New file.
53854 * string/test-strcpy.c: Add wcscpy support.
53857 2011-12-10 Ulrich Drepper <drepper@gmail.com>
53859 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53862 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53865 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53867 2011-12-04 Ulrich Drepper <drepper@gmail.com>
53869 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53870 Minor optimizations.
53872 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53873 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53874 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53876 2011-12-03 Ulrich Drepper <drepper@gmail.com>
53878 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53879 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53880 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53881 for gcc to avoid warnings.
53882 * inet/Makefile (tests): Add tst-checks.
53883 * inet/tst-checks.c: New file.
53885 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53888 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53891 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53892 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53894 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53896 2011-12-02 Ulrich Drepper <drepper@gmail.com>
53898 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53901 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53903 2011-11-29 Joseph Myers <joseph@codesourcery.com>
53905 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53906 conditional on GCC version.
53907 (__arch_compare_and_exchange_val_8_acq)
53908 (__arch_compare_and_exchange_val_16_acq)
53909 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53910 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53911 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53913 2011-12-02 Joseph Myers <joseph@codesourcery.com>
53915 * sysdeps/sh/backtrace.c: New file.
53917 2011-12-02 Andreas Schwab <schwab@redhat.com>
53919 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53922 2011-12-01 Andreas Schwab <schwab@redhat.com>
53924 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53925 falling back to utime.
53927 2011-11-30 Andreas Schwab <schwab@redhat.com>
53929 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53930 expectations for float.
53932 2011-11-29 Andreas Schwab <schwab@redhat.com>
53934 * locale/weight.h (findidx): Add parameter len.
53935 * locale/weightwc.h (findidx): Likewise.
53936 * posix/fnmatch_loop.c (FCT): Adjust caller.
53937 * posix/regcomp.c (build_equiv_class): Likewise.
53938 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53939 * posix/regexec.c (check_node_accept_bytes): Likewise.
53940 * string/strcoll_l.c (STRCOLL): Likewise.
53941 * string/strxfrm_l.c (STRXFRM): Likewise.
53943 2011-11-17 Ulrich Drepper <drepper@gmail.com>
53945 * Makefile.in: Remove CVSOPT handling.
53946 * configure.in: Remove use of AC_REVISION.
53947 * iconvdata/Makefile (distribute): No need to filter out CVS.
53948 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53951 2011-11-16 Andreas Schwab <schwab@redhat.com>
53953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53954 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53955 [USE_AS_STRNCASECMP_L]: Likewise.
53956 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53957 NO_TLS_DIRECT_SEG_REFS.
53958 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53959 Fix argument offsets for non-PIC.
53960 [USE_AS_STRNCASECMP_L]: Likewise.
53961 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53962 NO_TLS_DIRECT_SEG_REFS.
53964 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53966 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53968 * locale/loadlocale.c (_nl_load_locale): Likewise.
53970 2011-11-15 Andreas Schwab <schwab@redhat.com>
53972 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53973 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53974 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53975 (SYSCALL_GETTIME): Set errno on error.
53977 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53978 count references to noai6ai_cached.
53980 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53982 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53984 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53985 FD_CLOEXEC for /proc/self/maps.
53987 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53988 FD_CLOEXEC for /proc/meminfo.
53990 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53993 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53994 FD_CLOEXEC for given file.
53996 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53998 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53999 FD_CLOEXEC for /etc/hosts.
54000 (_gethtent): Likewise.
54002 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54004 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54005 cancellation and set FD_CLOEXEC for /etc/netgroup.
54007 * nss/nss_files/files-key.c (search): Don't allow cancellation when
54008 reading /etc/publickey.
54010 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54011 allow cancellation when reading /etc/group.
54013 * nss/nss_files/files-alias.c (internal_setent): Don't allow
54015 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
54017 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54018 when using data file.
54020 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54022 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54023 (write_nis_obj): Use "c" and "e" in fopen.
54025 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54027 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54029 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54031 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54033 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54036 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54038 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54040 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54042 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54043 file parsing and set FD_CLOEXEC.
54045 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54047 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54049 2011-11-14 Andreas Schwab <schwab@redhat.com>
54051 * malloc/arena.c (arena_get2): Don't call reused_arena when
54052 _int_new_arena failed.
54054 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54056 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54057 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54058 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54059 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54060 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54061 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54062 to compile strcasecmp and strncasecmp.
54063 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54064 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54068 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54070 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54071 locale-defines.sym to gen-as-const-headers.
54072 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54073 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54074 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54075 to compile strcasecmp and strncasecmp.
54076 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54077 strcasecmp_l and strncasecmp_l.
54078 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54079 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54080 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54081 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54082 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54083 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54084 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54085 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54086 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54087 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54088 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54090 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54092 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54093 result of SYSDEP_GETTIME_CPU to retval.
54094 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54095 parameter list to macro. Remove trailing semicolon. Adjust users.
54097 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54100 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54102 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54104 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54105 from unused variable.
54107 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54109 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54112 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54115 * sunrpc/rpc_prot.c (rejected): Fix case value.
54117 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54118 unsigned long long int to avoid warnings in shift.
54120 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54122 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54125 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54126 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54127 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54129 * nis/nis_table.c (nis_list): Use variable of correct type for
54130 result of __follow_path call.
54132 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54134 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54135 of math functions ceil, trunc, floor, round, and sqrt, when
54136 avaliable on the platform.
54137 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54139 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54140 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54141 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54143 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54145 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54146 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54148 2011-11-11 Roland McGrath <roland@hack.frob.com>
54150 * include/unistd.h: Fix __readlink return type.
54151 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54153 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54155 * stdlib/ucontext.h: Undo last change for makecontext.
54157 2011-11-11 Andreas Schwab <schwab@redhat.com>
54159 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54161 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54162 * setjmp/setjmp.h: Mark functions as non-leaf.
54163 * setjmp/bits/setjmp2.h: Likewise.
54164 * stdlib/ucontext.h: Likewise.
54166 2011-11-10 Andreas Schwab <schwab@redhat.com>
54168 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54169 (reused_arena): Don't check arena limit.
54170 (arena_get2): Atomically check arena limit.
54172 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54174 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54175 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54180 2011-11-07 Andreas Schwab <schwab@redhat.com>
54182 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54183 handler when locking.
54185 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54186 Fix size of allocated buffer.
54188 2011-11-04 Andreas Schwab <schwab@redhat.com>
54191 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54192 declarations for long double functions.
54193 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54195 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54197 2011-11-03 Andreas Schwab <schwab@redhat.com>
54199 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54202 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54205 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54207 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54209 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54211 * include/alloca.h (stackinfo_alloca_round): Define.
54212 (extend_alloca): Use it.
54213 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54214 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54217 * scripts/check-local-headers.sh: Ignore libaudit.h.
54219 * nscd/Makefile (extra-objs): Make recursively expanded.
54221 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54223 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54224 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54226 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54227 * posix/tst-rfc3484-2.c: Likewise.
54228 * posix/tst-rfc3484-3.c: Likewise.
54230 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54232 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54234 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54235 process_vm_writev from libc using GLIBC_2.15 version.
54237 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54239 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54241 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54244 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54247 * nss/getent.c (initgroups_keys): Show error message in case no group
54250 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54251 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54252 __bump_nl_timestamp.
54253 * nscd/connections (nscd_init): When host database is served open
54254 netlink socket and request notification about configuration changes.
54255 (main_loop_poll): Track netlink file descriptor and bump timestamp
54256 in case data becomes available.
54257 (main_loop_epoll): Likewise.
54258 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54259 (database_pers_head): Add extra_data fileds.
54260 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54261 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54262 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54264 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54265 in6ai data, call __free_in6ai.
54266 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54267 Add -DHAVE_NETLINK.
54268 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54269 interface information. Reuse previous data if netlink timestamp
54271 (__bump_nl_timestamp): New function.
54272 (__free_in6ai): New function.
54274 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54276 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54277 close_not_cancel_no_status here.
54278 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54280 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54283 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54286 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54287 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54288 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54290 2011-07-03 Andreas Jaeger <aj@suse.de>
54293 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54294 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54295 * math/libm-test.inc (sin_test): Add test case.
54297 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54300 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54301 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54303 * elf/chroot_canon.c (chroot_canon): Cleanups.
54305 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54308 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54309 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54311 * string/test-strchr.c: Make usable for strchrnul testing.
54312 * string/test-strchrnul.c: New file.
54313 * string/Makefile (strop-tests): Add strchrnul.
54315 * po/it.po: Update from translation team.
54316 * po/es.po: Likewise.
54318 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54320 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54321 the three constants needed as parameters. Drop the others.
54322 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54323 __m128i_strloadu_tolower.
54324 Create and initialize variable zero and use it in all the places
54325 where _mm_setzero_si128 was used.
54327 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54328 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54329 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54330 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54332 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54333 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54334 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54335 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54336 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54337 __mpranred, __mptan.
54338 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54339 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54340 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54341 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54342 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54343 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54344 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54345 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54346 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54348 2011-10-28 Andreas Schwab <schwab@redhat.com>
54350 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54351 redefine if SHARED.
54352 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54355 wide char related routines to wcsmbs subdir.
54357 2011-10-27 Andreas Schwab <schwab@redhat.com>
54360 * misc/sys/cdefs.h (__THROWNL): Define.
54361 * posix/unistd.h: Use __THREADNL instead of __THREAD
54362 for memory synchronization functions.
54364 2011-10-26 Roland McGrath <roland@hack.frob.com>
54367 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54369 * manual/stdio.texi (Obstack Streams): Node removed.
54371 2011-10-26 Andreas Schwab <schwab@redhat.com>
54373 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54374 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54375 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54377 * math/math_private.h (math_force_eval): Allow non-addressable
54379 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54381 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54383 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54384 file is not needed.
54386 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54387 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54388 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54389 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54390 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54391 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54392 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54393 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54395 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54396 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54397 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54398 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54399 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54400 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54401 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54402 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54403 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54404 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54405 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54406 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54408 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54409 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54410 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54411 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54412 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54413 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54415 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54416 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54418 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54419 place. Use VEX encoding when compiling for AVX.
54421 2011-10-25 Andreas Schwab <schwab@redhat.com>
54423 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54424 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54426 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54428 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54430 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54431 useless if() expression.
54432 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54433 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54434 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54435 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54436 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54437 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54438 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54440 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54441 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54442 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54443 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54444 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54445 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54446 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54447 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54448 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54449 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54450 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54452 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54454 2011-10-25 Andreas Schwab <schwab@redhat.com>
54456 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54458 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54460 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54462 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54463 .text section. Avoid duplicate constants.
54464 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54466 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54468 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54472 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54473 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54474 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54475 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54476 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54477 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54478 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54479 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54480 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54481 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54482 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54483 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54484 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54485 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54486 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54487 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54488 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54489 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54490 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54491 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54492 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54493 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54494 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54495 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54497 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54498 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54499 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54500 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54501 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54502 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54503 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54504 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54505 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54506 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54507 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54508 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54510 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54512 * sysdeps/x86_64/dla.h: Move to ...
54513 * sysdeps/x86_64/fpu/dla.h: ...here.
54514 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54515 situations. Use __builtin_fma only for gcc 4.6 and up.
54517 * config.make.in: Add have-mfma4 entry.
54518 * configure.in: Substitute libc_cv_cc_fma4.
54519 * math/Makefile (dbl-only-routines): Add sincostab.
54520 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54521 Use __sincostab not sincos.
54522 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54524 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54529 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54530 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54531 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54532 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54534 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54535 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54537 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54538 define aliases when function name is a macro.
54539 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54540 sysdeps/ieee754/dbl-64/sincos.tbl.
54541 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54542 fma4-enabled routines.
54543 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54544 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54545 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54546 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54547 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54548 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54549 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54550 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54551 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54552 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54553 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54554 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54555 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54556 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54557 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54558 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54559 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54560 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54561 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54562 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54563 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54564 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54565 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54566 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54568 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54569 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54570 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54571 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54572 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54574 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54585 2011-10-24 Andreas Schwab <schwab@redhat.com>
54587 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54589 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54591 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54593 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54595 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54597 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54598 Remove unused variable magic_bits.
54599 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54601 * string/strnlen.c: Define and use STRNLEN macro.
54602 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54603 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54604 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54605 * wcsmbs/wcslen.c: Define and use WCSLEN.
54606 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54607 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54608 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54609 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54610 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54611 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54612 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54614 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54617 strnlen-sse2-no-bsf.
54618 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54620 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54621 Add strnlen support.
54622 (USE_AS_STRNLEN): New macro.
54623 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54624 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54625 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54626 * sysdeps/x86_64/wcslen.S: New file.
54628 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54630 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54631 XMM-moves are used for copying on small sizes.
54633 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54635 * wcsmbs/Makefile (strop-tests): Add wcschr.
54636 * wcsmbs/test-wcschr.c: New file.
54637 * string/test-strchr.c: Update.
54638 Add wcschr support.
54641 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54643 * wcsmbs/Makefile (strop-tests): Add wcslen.
54644 * wcsmbs/test-wcslen.c: New file.
54645 * string/test-strlen.c: Update.
54646 Add wcslen support.
54649 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54651 * po/it.po: Update from translation team.
54653 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54655 * sysdeps/x86_64/wcscmp.S: Update.
54656 Fix wrong comparison semantics.
54657 wcscmp shall use signed comparison not unsigned.
54658 Don't use substraction to avoid overflow bug.
54659 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54660 * wcsmbc/wcscmp.c: Likewise.
54661 * string/test-strcmp.c: Likewise.
54662 Add new tests to check cases with negative values.
54664 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54666 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54667 * sysdeps/x86_64/dla.h: ...here. New file.
54668 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54669 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54673 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54674 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54678 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54680 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54681 __ynl_finite aliases.
54683 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54687 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54689 [DLA_FMA] (EMULV): Use DLA_FMA.
54690 [DLA_FMA] (MUL12): Use EMULV.
54691 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54692 that are not needed.
54693 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54695 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54697 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54698 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54699 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54701 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54703 * math/s_nan.c: Undef __nan.
54704 * math/s_nanf.c: Undef __nanf.
54705 * math/s_nanl.c: Undef __nanl.
54706 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54709 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54711 * math/s_catan.c: Add branch predictions.
54712 * math/s_catanf.c: Likewise.
54713 * math/s_catanh.c: Likewise.
54714 * math/s_catanhf.c: Likewise.
54715 * math/s_catanhl.c: Likewise.
54716 * math/s_catanl.c: Likewise.
54717 * math/s_cexp.c: Likewise.
54718 * math/s_cexpf.c: Likewise.
54719 * math/s_cexpl.c: Likewise.
54720 * math/s_clog.c: Likewise.
54721 * math/s_clog10.c: Likewise.
54722 * math/s_clog10f.c: Likewise.
54723 * math/s_clog10l.c: Likewise.
54724 * math/s_clogf.c: Likewise.
54725 * math/s_clogl.c: Likewise.
54726 * math/s_csqrt.c: Likewise.
54727 * math/s_csqrtf.c: Likewise.
54728 * math/s_csqrtl.c: Likewise.
54729 * math/s_ctanf.c: Likewise.
54730 * math/s_ctanh.c: Likewise.
54731 * math/s_ctanhf.c: Likewise.
54732 * math/s_ctanhl.c: Likewise.
54733 * math/s_ctanl.c: Likewise.
54735 * math/math_private.h: Define __nan, __nanf, __nanl.
54736 * math/s_cacosh.c: Include <math_private.h>.
54737 * math/s_cacoshl.c: Likewise.
54738 * math/s_casinh.c: Likewise.
54739 * math/s_casinhf.c: Likewise.
54740 * math/s_casinhl.c: Likewise.
54741 * math/s_ccos.c: Rely entire on ccosh.
54742 * math/s_ccosf.c: Rely entire on ccoshf.
54743 * math/s_ccosl.c: Rely entirely on ccoshl.
54744 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54745 Remove tests for FE_INVALID.
54746 * math/s_ccoshf.c: Likewise.
54747 * math/s_ccoshl.c: Likewise.
54748 * math/s_csin.c: Likewise.
54749 * math/s_csinf.c: Likewise.
54750 * math/s_csinh.c Likewise.
54751 * math/s_csinhf.c: Likewise.
54752 * math/s_csinhl.c: Likewise.
54753 * math/s_csinl.c: Likewise.
54754 * math/s_ctan.c: Likewise.
54755 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54756 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54757 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54759 2011-10-21 Ulrich Drepper <drepper@gmail.com>
54761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54762 compilation problems.
54764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54767 2011-10-20 Ulrich Drepper <drepper@gmail.com>
54769 * sysdeps/i386/configure.in: Test for -mfma4 option.
54770 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54771 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54772 COMMON_CPUID_INDEX_80000001.
54773 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54774 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54775 use it if FMA3 is not supported.
54776 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54778 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54779 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54781 2011-10-20 Andreas Schwab <schwab@redhat.com>
54784 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54785 it would create a cycle with a link time dependency.
54787 2011-10-19 Ulrich Drepper <drepper@gmail.com>
54789 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54791 * string/Makefile (strop-tests): Add rawmemchr.
54792 * string/test-rawmemchr.c: New file.
54794 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54795 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54796 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54797 when compiling str{,n}casecmp and when AVX is available. Hook up
54798 new optimized code in initializers.
54800 2011-10-19 Andreas Schwab <schwab@redhat.com>
54802 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54803 __feraiseexcept instead of feraiseexcept.
54805 2011-10-18 Ulrich Drepper <drepper@gmail.com>
54807 * math/math_private.h: Define defaults for libc_fetestexcept and
54809 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54810 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54811 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54812 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54813 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54814 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54815 libc_fetestexcept and libc_feupdateenv.
54817 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54818 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54819 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54820 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54821 libc_feholdexcept_setround.
54823 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54824 Add s_nearbyint-c and s_nearbyintf-c.
54825 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54826 nearbyintf inlines.
54827 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54828 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54829 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54830 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54832 * math/math_private.h: Define defaults for libc_fegetround,
54833 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54834 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54835 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54836 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54837 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54838 standard functions.
54839 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54840 Remove comments and hacks for old compiler versions.
54841 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54842 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54843 libc_feholdexceptl.
54845 2011-10-18 Andreas Schwab <schwab@redhat.com>
54847 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54848 (__feraiseexcept_renamed): Add __NTH.
54849 (feraiseexcept): Add __NTH. Rename local variables to fix
54850 namespace violations.
54852 2011-10-17 Ulrich Drepper <drepper@gmail.com>
54854 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54856 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54858 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54859 recently added interfaces.
54860 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54862 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54863 about macro parameter expansion.
54865 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54866 __NO_MATH_INLINES is defined. Cleanups.
54868 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54869 and __floorf is target has SSE4.1.
54870 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54871 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54872 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54873 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54875 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54877 (floorf): Likewise.
54879 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54881 2011-10-17 Andreas Schwab <schwab@redhat.com>
54883 * misc/sys/cdefs.h: Fix last change.
54885 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54888 2011-10-16 Ulrich Drepper <drepper@gmail.com>
54890 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54892 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54893 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54894 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54895 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54897 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54898 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54899 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54900 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54901 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54902 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54903 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54904 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54905 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54906 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54907 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54908 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54909 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54910 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54911 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54912 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54913 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54915 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54916 ceil, ceilf, floor, floorf.
54918 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54919 Perform IRELATIVE relocations last.
54921 * elf/do-rel.h: Add another parameter nrelative, replacing the
54922 local variable with the same name. Change name of the function
54923 to end in Rel or Rela (uppercase).
54924 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54925 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54926 elf_dynamic_do_##reloc function.
54928 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54930 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54931 is sufficient, at least on modern CPUs.
54933 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54935 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54936 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54938 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54940 * math/bits/math-finite.h: Add entries for exp.
54941 * math/e_expl.c: Add __*_finite alias.
54942 * sysdeps/i386/fpu/e_exp.S: Likewise.
54943 * sysdeps/i386/fpu/e_expf.S: Likewise.
54944 * sysdeps/i386/fpu/e_expl.c: Likewise.
54945 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54946 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54947 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54948 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54949 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54950 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54951 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54953 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54954 is sufficient, at least on modern CPUs.
54956 * ctype/ctype-info.c (__ctype_init): Define.
54957 * include/ctype.h (__ctype_init): Declare.
54958 (__ctype_b_loc): The variable is always initialized.
54959 (__ctype_toupper_loc): Likewise.
54960 (__ctype_tolower_loc): Likewise.
54961 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54962 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54964 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54966 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54968 * configure.in: Also look in $cxxmachine/include for C++ system
54971 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54973 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54974 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54975 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54976 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54977 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54978 (USE_AS_WMEMCMP): New macro.
54980 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54981 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54982 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54983 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54985 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54986 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54987 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54988 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54989 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54990 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54991 (USE_AS_WMEMCMP): New macro.
54992 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54993 * sysdeps/string/test-memcmp.c: Update.
54994 Fix simple_wmemcmp.
54996 * wcsmbs/wmemcmp.c: Update.
54997 (WMEMCMP): New macro.
55000 2011-10-12 Andreas Jaeger <aj@suse.de>
55003 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55005 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55007 * libio/iofwide.c (do_length): Avoid warning.
55009 * ctype/ctype.h (__isctype_f): Add missing __THROW.
55011 2011-10-14 Ulrich Drepper <drepper@gmail.com>
55013 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55015 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55016 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55017 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55018 * sysdeps/i386/i686/fpu/e_log.S: New file.
55019 * sysdeps/i386/i686/fpu/e_logf.S: New file.
55020 * sysdeps/i386/i686/fpu/e_logl.S: New file.
55022 * ctype/ctype.h: Add support for inlined isXXX functions when
55023 compiling C++ code.
55025 2011-10-14 Andreas Schwab <schwab@redhat.com>
55027 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55029 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55031 2011-10-13 Roland McGrath <roland@hack.frob.com>
55034 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55036 2011-10-13 Andreas Schwab <schwab@redhat.com>
55038 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55039 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55042 * sysdeps/x86_64/memrchr.S: Check for zero size.
55044 * string/stratcliff.c: Add memrchr tests.
55046 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55049 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55050 rawmemchr-sse2 rawmemchr-sse2-bsf.
55051 * sysdeps/i386/i686/multiarch/memchr.S: New file.
55052 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55053 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55054 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55055 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55056 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55057 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55058 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55059 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55060 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55061 * string/memrchr.c (MEMRCHR): New macro.
55063 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55065 Add integration with gcc's -ffinite-math-only and optimize wrapper
55067 * Versions.def: Define GLIBC_2.15 version for libm.
55068 * math/Makefile (headers): Add bits/math-finite.h.
55069 * math/bits/math-finite.h: New file.
55070 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55071 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55072 * math/e_acoshl.c: Add __*_finite alias.
55073 * math/e_acosl.c: Likewise.
55074 * math/e_asinl.c: Likewise.
55075 * math/e_atan2l.c: Likewise.
55076 * math/e_atanhl.c: Likewise.
55077 * math/e_coshl.c: Likewise.
55078 * math/e_exp10.c: Likewise.
55079 * math/e_exp10f.c: Likewise.
55080 * math/e_exp10l.c: Likewise.
55081 * math/e_exp2l.c: Likewise.
55082 * math/e_fmodl.c: Likewise.
55083 * math/e_gammal_r.c: Likewise.
55084 * math/e_hypotl.c: Likewise.
55085 * math/e_j0l.c: Likewise.
55086 * math/e_j1l.c: Likewise.
55087 * math/e_jnl.c: Likewise.
55088 * math/e_lgammal_r.c: Likewise.
55089 * math/e_log10l.c: Likewise.
55090 * math/e_log2l.c: Likewise.
55091 * math/e_logl.c: Likewise.
55092 * math/e_powl.c: Likewise.
55093 * math/e_sinhl.c: Likewise.
55094 * math/e_sqrtl.c: Likewise.
55095 * math/e_scalb.c: Completely rewritten and optimized.
55096 * math/e_scalbf.c: Likewise.
55097 * math/e_scalbl.c: Likewise.
55098 * math/w_acos.c: Likewise.
55099 * math/w_acosf.c: Likewise.
55100 * math/w_acosl.c: Likewise.
55101 * math/w_acosh.c: Likewise.
55102 * math/w_acoshf.c: Likewise.
55103 * math/w_acoshl.c: Likewise.
55104 * math/w_asin.c: Likewise.
55105 * math/w_asinf.c: Likewise.
55106 * math/w_asinl.c: Likewise.
55107 * math/w_atan2.c: Likewise.
55108 * math/w_atan2f.c: Likewise.
55109 * math/w_atan2l.c: Likewise.
55110 * math/w_atanh.c: Likewise.
55111 * math/w_atanhf.c: Likewise.
55112 * math/w_atanhl.c: Likewise.
55113 * math/w_exp10.c: Likewise.
55114 * math/w_exp10f.c: Likewise.
55115 * math/w_exp10l.c: Likewise.
55116 * math/w_fmod.c: Likewise.
55117 * math/w_fmodf.c: Likewise.
55118 * math/w_fmodl.c: Likewise.
55119 * math/w_j0.c: Likewise.
55120 * math/w_j0f.c: Likewise.
55121 * math/w_j0l.c: Likewise.
55122 * math/w_j1.c: Likewise.
55123 * math/w_j1f.c: Likewise.
55124 * math/w_j1l.c: Likewise.
55125 * math/w_jn.c: Likewise.
55126 * math/w_jnf.c: Likewise.
55127 * math/w_log.c: Likewise.
55128 * math/w_logf.c: Likewise.
55129 * math/w_logl.c: Likewise.
55130 * math/w_log10.c: Likewise.
55131 * math/w_log10f.c: Likewise.
55132 * math/w_log10l.c: Likewise.
55133 * math/w_log2.c: Likewise.
55134 * math/w_log2f.c: Likewise.
55135 * math/w_log2l.c: Likewise.
55136 * math/w_pow.c: Likewise.
55137 * math/w_powf.c: Likewise.
55138 * math/w_powl.c: Likewise.
55139 * math/w_remainder.c: Likewise.
55140 * math/w_remainderf.c: Likewise.
55141 * math/w_remainderl.c: Likewise.
55142 * math/w_scalb.c: Likewise.
55143 * math/w_scalbf.c: Likewise.
55144 * math/w_scalbl.c: Likewise.
55145 * math/w_sqrt.c: Likewise.
55146 * math/w_sqrtf.c: Likewise.
55147 * math/w_sqrtl.c: Likewise.
55148 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55149 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55151 * math/math_private.h: Declare __kernel_standard_f.
55152 * math/w_cosh.c: Remove cruft and optimize a bit.
55153 * math/w_coshf.c: Likewise.
55154 * math/w_coshl.c: Likewise.
55155 * math/w_exp2.c: Likewise.
55156 * math/w_exp2f.c: Likewise.
55157 * math/w_exp2l.c: Likewise.
55158 * math/w_hypot.c: Likewise.
55159 * math/w_hypotf.c: Likewise.
55160 * math/w_hypotl.c: Likewise.
55161 * math/w_lgamma.c: Likewise.
55162 * math/w_lgamma_r.c: Likewise.
55163 * math/w_lgammaf.c: Likewise.
55164 * math/w_lgammaf_r.c: Likewise.
55165 * math/w_lgammal.c: Likewise.
55166 * math/w_lgammal_r.c: Likewise.
55167 * math/w_sinh.c: Likewise.
55168 * math/w_sinhf.c: Likewise.
55169 * math/w_sinhl.c: Likewise.
55170 * math/w_tgamma.c: Likewise.
55171 * math/w_tgammaf.c: Likewise.
55172 * math/w_tgammal.c: Likewise.
55173 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55174 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55175 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55176 Minor optimizations. Pretty printing. Remove cruft.
55177 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55178 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55179 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55180 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55181 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55182 * sysdeps/i386/fpu/e_asin.S: Likewise.
55183 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55184 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55185 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55186 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55187 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55188 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55189 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55190 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55191 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55192 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55193 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55194 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55195 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55196 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55197 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55198 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55199 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55200 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55201 * sysdeps/i386/fpu/e_log.S: Likewise.
55202 * sysdeps/i386/fpu/e_log10.S: Likewise.
55203 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55204 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55205 * sysdeps/i386/fpu/e_log2.S: Likewise.
55206 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55207 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55208 * sysdeps/i386/fpu/e_logf.S: Likewise.
55209 * sysdeps/i386/fpu/e_logl.S: Likewise.
55210 * sysdeps/i386/fpu/e_pow.S: Likewise.
55211 * sysdeps/i386/fpu/e_powf.S: Likewise.
55212 * sysdeps/i386/fpu/e_powl.S: Likewise.
55213 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55214 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55215 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55216 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55217 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55218 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55219 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55220 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55221 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55222 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55223 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55225 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55226 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55227 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55228 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55229 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55230 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55231 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55232 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55233 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55235 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55236 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55238 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55239 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55240 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55242 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55243 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55244 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55245 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55246 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55247 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55248 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55249 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55250 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55251 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55252 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55253 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55256 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55257 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55258 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55259 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55260 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55261 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55262 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55263 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55264 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55265 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55266 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55267 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55268 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55269 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55270 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55271 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55272 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55273 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55275 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55277 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55278 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55279 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55280 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55281 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55282 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55283 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55284 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55285 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55286 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55287 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55288 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55289 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55290 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55291 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55292 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55293 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55294 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55296 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55298 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55299 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55300 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55301 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55302 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55303 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55304 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55305 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55306 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55307 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55308 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55309 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55310 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55311 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55312 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55313 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55314 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55315 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55316 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55317 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55318 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55319 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55320 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55321 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55322 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55323 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55324 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55325 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55326 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55327 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55328 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55330 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55331 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55332 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55333 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55334 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55335 (__isnanf): Likewise.
55336 (__isinf_ns): Likewise.
55337 (__isinf_nsf): Likewise.
55338 (__finite): Likewise.
55339 (__finitef): Likewise.
55340 (__ieee754_sqrt): Define as macro.
55341 (__ieee754_sqrtf): Define as macro.
55342 (__ieee754_sqrtl): Define as macro.
55343 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55345 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55346 __FINITE_MATH_ONLY__ consistent.
55347 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55349 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55351 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55354 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55356 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55358 * po/ja.po: Update from translation team.
55360 2011-10-08 Roland McGrath <roland@hack.frob.com>
55362 * locale/programs/locarchive.c (prepare_address_space): New function.
55363 (create_archive, enlarge_archive, open_archive): Use it.
55365 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55366 inside [SHARED], where it is used.
55368 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55370 * nss/getent.c (netgroup_keys): Remove unused variable.
55371 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55373 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55375 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55376 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55378 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55379 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55380 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55381 * math/Makefile (libm-calls): Add s_isinf_ns.
55382 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55383 * math/multc3.c: Likewise.
55384 * math/s_casin.c: Likewise.
55385 * math/s_casinf.c: Likewise.
55386 * math/s_casinl.c: Likewise.
55387 * math/s_ccos.c: Likewise.
55388 * math/s_ccosf.c: Likewise.
55389 * math/s_ccosl.c: Likewise.
55390 * math/s_ctan.c: Likewise.
55391 * math/s_ctanf.c: Likewise.
55392 * math/s_ctanh.c: Likewise.
55393 * math/s_ctanhf.c: Likewise.
55394 * math/s_ctanhl.c: Likewise.
55395 * math/s_ctanl.c: Likewise.
55396 * math/w_fmod.c: Likewise.
55397 * math/w_fmodf.c: Likewise.
55398 * math/w_fmodl.c: Likewise.
55399 * math/w_remainder.c: Likewise.
55400 * math/w_remainderf.c: Likewise.
55401 * math/w_remainderl.c: Likewise.
55402 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55403 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55404 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55405 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55406 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55407 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55408 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55409 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55411 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55413 * stdio-common/printf_fphex.c: Likewise.
55414 * stdio-common/printf_size.c: Likewise.
55416 * math/e_exp10.c: Include math_private.h using <...> not "...".
55417 * math/e_exp10f.c: Likewise.
55418 * math/e_exp10l.c: Likewise.
55419 * math/e_exp2l.c: Likewise.
55420 * math/e_j0l.c: Likewise.
55421 * math/e_j1l.c: Likewise.
55422 * math/e_jnl.c: Likewise.
55423 * math/e_lgammal_r.c: Likewise.
55424 * math/e_rem_pio2l.c: Likewise.
55425 * math/e_scalb.c: Likewise.
55426 * math/e_scalbf.c: Likewise.
55427 * math/e_scalbl.c: Likewise.
55428 * math/k_cosl.c: Likewise.
55429 * math/k_sinl.c: Likewise.
55430 * math/k_tanl.c: Likewise.
55431 * math/s_cacoshf.c: Likewise.
55432 * math/s_catan.c: Likewise.
55433 * math/s_catanf.c: Likewise.
55434 * math/s_catanh.c: Likewise.
55435 * math/s_catanhf.c: Likewise.
55436 * math/s_catanhl.c: Likewise.
55437 * math/s_catanl.c: Likewise.
55438 * math/s_ccosh.c: Likewise.
55439 * math/s_ccoshf.c: Likewise.
55440 * math/s_ccoshl.c: Likewise.
55441 * math/s_cexp.c: Likewise.
55442 * math/s_cexpf.c: Likewise.
55443 * math/s_cexpl.c: Likewise.
55444 * math/s_clog.c: Likewise.
55445 * math/s_clog10.c: Likewise.
55446 * math/s_clog10f.c: Likewise.
55447 * math/s_clog10l.c: Likewise.
55448 * math/s_clogf.c: Likewise.
55449 * math/s_clogl.c: Likewise.
55450 * math/s_csin.c: Likewise.
55451 * math/s_csinf.c: Likewise.
55452 * math/s_csinh.c: Likewise.
55453 * math/s_csinhf.c: Likewise.
55454 * math/s_csinhl.c: Likewise.
55455 * math/s_csinl.c: Likewise.
55456 * math/s_csqrt.c: Likewise.
55457 * math/s_csqrtf.c: Likewise.
55458 * math/s_csqrtl.c: Likewise.
55459 * math/s_ctan.c: Likewise.
55460 * math/s_ctanf.c: Likewise.
55461 * math/s_ctanh.c: Likewise.
55462 * math/s_ctanhf.c: Likewise.
55463 * math/s_ctanhl.c: Likewise.
55464 * math/s_ctanl.c: Likewise.
55465 * math/s_ldexp.c: Likewise.
55466 * math/s_ldexpf.c: Likewise.
55467 * math/s_ldexpl.c: Likewise.
55468 * math/s_significand.c: Likewise.
55469 * math/s_significandf.c: Likewise.
55470 * math/s_significandl.c: Likewise.
55471 * math/w_acos.c: Likewise.
55472 * math/w_acosf.c: Likewise.
55473 * math/w_acosh.c: Likewise.
55474 * math/w_acoshf.c: Likewise.
55475 * math/w_acoshl.c: Likewise.
55476 * math/w_acosl.c: Likewise.
55477 * math/w_asin.c: Likewise.
55478 * math/w_asinf.c: Likewise.
55479 * math/w_asinl.c: Likewise.
55480 * math/w_atan2.c: Likewise.
55481 * math/w_atan2f.c: Likewise.
55482 * math/w_atan2l.c: Likewise.
55483 * math/w_atanh.c: Likewise.
55484 * math/w_atanhf.c: Likewise.
55485 * math/w_atanhl.c: Likewise.
55486 * math/w_cosh.c: Likewise.
55487 * math/w_coshf.c: Likewise.
55488 * math/w_coshl.c: Likewise.
55489 * math/w_dremf.c: Likewise.
55490 * math/w_exp10.c: Likewise.
55491 * math/w_exp10f.c: Likewise.
55492 * math/w_exp10l.c: Likewise.
55493 * math/w_exp2.c: Likewise.
55494 * math/w_exp2f.c: Likewise.
55495 * math/w_fmod.c: Likewise.
55496 * math/w_fmodf.c: Likewise.
55497 * math/w_fmodl.c: Likewise.
55498 * math/w_hypot.c: Likewise.
55499 * math/w_hypotf.c: Likewise.
55500 * math/w_hypotl.c: Likewise.
55501 * math/w_j0.c: Likewise.
55502 * math/w_j0f.c: Likewise.
55503 * math/w_j0l.c: Likewise.
55504 * math/w_j1.c: Likewise.
55505 * math/w_j1f.c: Likewise.
55506 * math/w_j1l.c: Likewise.
55507 * math/w_jn.c: Likewise.
55508 * math/w_jnf.c: Likewise.
55509 * math/w_jnl.c: Likewise.
55510 * math/w_lgamma.c: Likewise.
55511 * math/w_lgamma_r.c: Likewise.
55512 * math/w_lgammaf.c: Likewise.
55513 * math/w_lgammaf_r.c: Likewise.
55514 * math/w_lgammal.c: Likewise.
55515 * math/w_lgammal_r.c: Likewise.
55516 * math/w_log.c: Likewise.
55517 * math/w_log10.c: Likewise.
55518 * math/w_log10f.c: Likewise.
55519 * math/w_log10l.c: Likewise.
55520 * math/w_log2.c: Likewise.
55521 * math/w_log2f.c: Likewise.
55522 * math/w_log2l.c: Likewise.
55523 * math/w_logf.c: Likewise.
55524 * math/w_logl.c: Likewise.
55525 * math/w_pow.c: Likewise.
55526 * math/w_powf.c: Likewise.
55527 * math/w_powl.c: Likewise.
55528 * math/w_remainder.c: Likewise.
55529 * math/w_remainderf.c: Likewise.
55530 * math/w_remainderl.c: Likewise.
55531 * math/w_scalb.c: Likewise.
55532 * math/w_scalbf.c: Likewise.
55533 * math/w_scalbl.c: Likewise.
55534 * math/w_sinh.c: Likewise.
55535 * math/w_sinhf.c: Likewise.
55536 * math/w_sinhl.c: Likewise.
55537 * math/w_sqrt.c: Likewise.
55538 * math/w_sqrtf.c: Likewise.
55539 * math/w_sqrtl.c: Likewise.
55540 * math/w_tgamma.c: Likewise.
55541 * math/w_tgammaf.c: Likewise.
55542 * math/w_tgammal.c: Likewise.
55544 * po/ja.po: Update from translation team.
55546 2011-09-29 Andreas Jaeger <aj@suse.de>
55549 * sunrpc/netname.c (netname2host): Fix logic.
55553 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55555 * math/w_remainder.c (__remainder): Likewise.
55556 * math/w_remainderf.c (__remainderf): Likewise.
55557 * math/libm-test.inc (remainder_test): Add test cases.
55559 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55561 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55564 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55566 * string/test-memcmp.c: Avoid unncessary #defines.
55567 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55569 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55571 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55572 Use new sse2 version for core i3 - i7 as it's faster
55573 than sse42 version.
55574 (bit_Prefer_PMINUB_for_stringop): New.
55575 * sysdeps/x86_64/rawmemchr.S: Update.
55576 Replace with faster SSE2 version.
55577 * sysdeps/x86_64/memrchr.S: New file.
55578 * sysdeps/x86_64/memchr.S: Update.
55579 Replace with faster SSE2 version.
55581 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55583 * elf/dl-load.c (lose): Add cast to avoid warning.
55585 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55587 * po/ca.po: Update from translation team.
55589 * inet/getnetgrent_r.c: Hook up nscd.
55590 * nscd/Makefile (routines): Add nscd_netgroup.
55591 (nscd-modules): Add netgroupcache.
55592 (CFLAGS-netgroupcache.c): Define.
55593 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55594 (cache_search): Add const to second parameter.
55595 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55597 (dbs): Add netgrdb entry.
55598 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55599 (verify_persistent_db): Handle netgrdb.
55600 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55601 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55603 (netgroup_response_header): Define.
55604 (innetgroup_response_header): Define.
55605 (datahead): Add netgroup_response_header and innetgroup_response_header
55607 * nscd/nscd.conf: Add entries for netgroup cache.
55608 * nscd/nscd.h (dbtype): Add netgrdb.
55609 (_PATH_NSCD_NETGROUP_DB): Define.
55610 (netgroup_iov_disabled): Declare.
55611 (xmalloc, xcalloc, xrealloc): Move declarations here.
55612 (cache_search): Adjust prototype.
55613 Add netgroup-related prototypes.
55614 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55615 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55616 (__nscd_innetgr): Declare.
55617 * nscd/selinux.c (perms): Use access_vector_t as element type and
55618 add netgroup-related initializers.
55619 * nscd/netgroupcache.c: New file.
55620 * nscd/nscd_netgroup.c: New file.
55621 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55622 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55623 For four parameters use innetgr.
55624 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55625 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55626 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55627 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55629 * nscd/connections.c (register_traced_file): Don't register file
55630 for disabled databases.
55632 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55634 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55636 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55637 from tree and freeing node.
55639 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55641 * nss/nsswitch.c (__nss_database_lookup): Handle
55642 nss_parse_service_list out of memory case.
55644 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55646 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55647 out of memory case.
55649 2011-10-04 Andreas Schwab <schwab@redhat.com>
55651 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55652 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55654 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55655 elf_machine_rela, elf_machine_lazy_rel.
55656 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55657 (ELF_DYNAMIC_DO_REL): Likewise.
55658 (ELF_DYNAMIC_DO_RELA): Likewise.
55659 (ELF_DYNAMIC_RELOCATE): Likewise.
55660 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55661 to ELF_DYNAMIC_DO_REL.
55662 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55663 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55664 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55666 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55667 skip_ifunc, don't call ifunc function if non-zero.
55668 (elf_machine_rela): Likewise.
55669 (elf_machine_lazy_rel): Likewise.
55670 (elf_machine_lazy_rela): Likewise.
55671 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55672 (elf_machine_lazy_rel): Likewise.
55673 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55675 (elf_machine_lazy_rel): Likewise.
55676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55678 (elf_machine_lazy_rel): Likewise.
55679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55680 (elf_machine_lazy_rel): Likewise.
55681 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55682 (elf_machine_lazy_rel): Likewise.
55683 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55684 (elf_machine_lazy_rel): Likewise.
55685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55686 (elf_machine_lazy_rel): Likewise.
55687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55688 (elf_machine_lazy_rel): Likewise.
55689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55690 (elf_machine_lazy_rel): Likewise.
55692 2011-09-28 Ulrich Drepper <drepper@gmail.com>
55694 * nss/nss_files/files-init.c (_nss_files_init): Use static
55695 initialization for all the *_traced_file variables.
55697 2011-09-28 Andreas Schwab <schwab@redhat.com>
55699 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55701 2011-09-27 Roland McGrath <roland@hack.frob.com>
55704 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55706 2011-09-27 Andreas Schwab <schwab@redhat.com>
55708 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55709 Reread the line before reparsing it.
55711 2011-09-26 Andreas Schwab <schwab@redhat.com>
55713 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55715 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55716 Maxim Kuvyrkov <maxim@codesourcery.com>
55717 Joseph Myers <joseph@codesourcery.com>
55719 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55720 if needed for __stack_chk_guard.
55722 2011-09-19 Roland McGrath <roland@hack.frob.com>
55724 * sysdeps/posix/spawni.c (script_execute): Always define it.
55725 It will be optimized away if unused.
55726 (maybe_script_execute): New function.
55727 (__spawni): Call it.
55729 * Makerules: Don't include tls.make.
55730 (config-tls): Always set to thread.
55731 * tls.make.c: File removed.
55733 2011-09-19 Mike Frysinger <vapier@gentoo.org>
55735 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55736 * config.make.in (CPPFLAGS-config): New substituted variable.
55738 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55743 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55744 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55746 2011-09-15 Roland McGrath <roland@hack.frob.com>
55748 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55749 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55751 (CALL_FAIL): Likewise.
55752 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55753 (CALL_FAIL): Macro removed.
55754 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55756 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55758 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55759 for __FINITE_MATH_ONLY__ == 1.
55761 2011-09-15 Andreas Schwab <schwab@redhat.com>
55763 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55764 __ieee754_sqrt instead of sqrt.
55765 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55766 __ieee754_sqrtf instead of sqrtf.
55767 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55768 __floorf instead of floorf.
55769 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55770 __floorf, __truncf instead of floorf, truncf.
55772 2011-09-14 Ulrich Drepper <drepper@gmail.com>
55774 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55776 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55777 __extern_always_inline.
55778 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55781 2011-09-14 Andreas Schwab <schwab@redhat.com>
55783 * elf/rtld.c (dl_main): Also relocate in dependency order when
55784 doing symbol dependency testing.
55786 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55789 Always define `refsym'.
55791 2011-09-13 Andreas Schwab <schwab@redhat.com>
55793 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55794 (__FD_ELT): Renamed from __FDELT.
55795 * misc/bits/select2.h (__FD_ELT): Likewise.
55796 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55797 __FD_MASK instead of __FDELT, __FDMASK.
55798 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55800 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55803 * elf/Makefile (gen-ldd): Fix pattern.
55805 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55806 (init_tls): Likewise.
55808 2011-09-12 Ulrich Drepper <drepper@gmail.com>
55810 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55812 2011-09-12 Andreas Schwab <schwab@redhat.com>
55814 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55815 `struct cmsghdr *' instead of `void *'.
55816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55819 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55821 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55823 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55824 ldd_rewrite_script.
55826 2011-09-11 Ulrich Drepper <drepper@gmail.com>
55828 * configure.in: Remove --with-tls option.
55829 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55830 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55831 out in case it is missing.
55832 * sysdeps/ia64/elf/configure.in: Likewise.
55833 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55834 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55835 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55836 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55837 * sysdeps/sh/elf/configure.in: Likewise.
55838 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55839 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55840 * sysdeps/x86_64/elf/configure.in: Likewise.
55841 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55842 * sysdeps/mach/hurd/tls.h: Likewise.
55845 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55848 * configure.in: Fix use of AC_INIT.
55850 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55852 2011-09-10 Ulrich Drepper <drepper@gmail.com>
55854 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55856 * malloc/hooks.c: Likewise.
55859 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55860 variables statically.
55861 (narenas): Initialize.
55862 (list_lock): Initialize.
55863 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55864 initializtion of main_arena and list_lock. Small cleanups.
55865 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55866 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55867 Add initializers to main_arena and mp_.
55868 (malloc_state): Remove pagesize member. Change all users to use
55871 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55872 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55873 is always initialized.
55875 * malloc/malloc.c: Removed unused configurations and dead code.
55876 * malloc/arena.c: Likewise.
55877 * malloc/hooks.c: Likewise.
55878 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55880 * include/tls.h: Removed. USE___THREAD must always be defined.
55881 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55882 * elf/dl-libc.c: Likewise.
55883 * elf/dl-tsd.c: Likewise.
55884 * include/errno.h: Likewise.
55885 * include/netdb.h: Likewise.
55886 * include/resolv.h: Likewise.
55887 * inet/herrno-loc.c: Likewise.
55888 * inet/herrno.c: Likewise.
55889 * malloc/arena.c: Likewise.
55890 * malloc/hooks.c: Likewise.
55891 * malloc/malloc.c: Likewise.
55892 * resolv/res-state.c: Likewise.
55893 * resolv/res_libc.c: Likewise.
55894 * sysdeps/i386/dl-machine.h: Likewise.
55895 * sysdeps/ia64/dl-machine.h: Likewise.
55896 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55897 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55898 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55899 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55900 * sysdeps/sh/dl-machine.h: Likewise.
55901 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55902 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55903 * sysdeps/unix/i386/sysdep.S: Likewise.
55904 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55905 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55908 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55910 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55914 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55915 * sysdeps/x86_64/dl-machine.h: Likewise.
55916 * tls.make.c: Likewise.
55918 * configure.in: Remove --with-__thread option. Make tests for
55919 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55920 tls_model attribute fail if no support is available. Remove
55922 * Makeconfig: Adjust for dropped configure option. All features are
55924 * Makerules: Likewise.
55925 * Versions.def: Likewise.
55926 * argp/argp-fmtstream.c: Likewise.
55927 * argp/argp-fmtstream.h: Likewise.
55928 * argp/argp-help.c: Likewise.
55929 * assert/assert.c: Likewise.
55930 * config.h.in: Likewise.
55931 * config.make.in: Likewise.
55932 * configure: Likewise.
55933 * configure.in: Likewise.
55934 * csu/Versions: Likewise.
55935 * csu/init.c: Likewise.
55936 * elf/tst-audit2.c: Likewise.
55937 * elf/tst-tls10.c: Likewise.
55938 * elf/tst-tls10.h: Likewise.
55939 * elf/tst-tls11.c: Likewise.
55940 * elf/tst-tls12.c: Likewise.
55941 * elf/tst-tls14.c: Likewise.
55942 * elf/tst-tlsmod11.c: Likewise.
55943 * elf/tst-tlsmod12.c: Likewise.
55944 * elf/tst-tlsmod13.c: Likewise.
55945 * elf/tst-tlsmod13a.c: Likewise.
55946 * elf/tst-tlsmod14a.c: Likewise.
55947 * elf/tst-tlsmod15b.c: Likewise.
55948 * elf/tst-tlsmod16a.c: Likewise.
55949 * elf/tst-tlsmod16b.c: Likewise.
55950 * elf/tst-tlsmod7.c: Likewise.
55951 * elf/tst-tlsmod8.c: Likewise.
55952 * elf/tst-tlsmod9.c: Likewise.
55953 * gmon/gmon.c: Likewise.
55954 * grp/fgetgrent_r.c: Likewise.
55955 * grp/putgrent.c: Likewise.
55956 * hurd/fopenport.c: Likewise.
55957 * include/libc-symbols.h: Likewise.
55958 * include/tls.h: Likewise.
55959 * intl/gettextP.h: Likewise.
55960 * intl/loadinfo.h: Likewise.
55961 * locale/global-locale.c: Likewise.
55962 * locale/localeinfo.h: Likewise.
55963 * mach/devstream.c: Likewise.
55964 * malloc/arena.c: Likewise.
55965 * malloc/set-freeres.c: Likewise.
55966 * misc/err.c: Likewise.
55967 * misc/getttyent.c: Likewise.
55968 * misc/mntent_r.c: Likewise.
55969 * posix/getopt.c: Likewise.
55970 * posix/wordexp.c: Likewise.
55971 * pwd/fgetpwent_r.c: Likewise.
55972 * resolv/Versions: Likewise.
55973 * resolv/res_hconf.c: Likewise.
55974 * shadow/fgetspent_r.c: Likewise.
55975 * shadow/putspent.c: Likewise.
55976 * stdio-common/printf_fphex.c: Likewise.
55977 * stdio-common/tmpfile.c: Likewise.
55978 * stdlib/abort.c: Likewise.
55979 * stdlib/fmtmsg.c: Likewise.
55980 * sunrpc/auth_unix.c: Likewise.
55981 * sunrpc/clnt_perr.c: Likewise.
55982 * sunrpc/clnt_tcp.c: Likewise.
55983 * sunrpc/clnt_udp.c: Likewise.
55984 * sunrpc/clnt_unix.c: Likewise.
55985 * sunrpc/openchild.c: Likewise.
55986 * sunrpc/svc_simple.c: Likewise.
55987 * sunrpc/svc_tcp.c: Likewise.
55988 * sunrpc/svc_udp.c: Likewise.
55989 * sunrpc/svc_unix.c: Likewise.
55990 * sunrpc/xdr.c: Likewise.
55991 * sunrpc/xdr_array.c: Likewise.
55992 * sunrpc/xdr_rec.c: Likewise.
55993 * sunrpc/xdr_ref.c: Likewise.
55994 * sunrpc/xdr_stdio.c: Likewise.
55996 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55998 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56000 2011-07-03 Andreas Jaeger <aj@suse.de>
56002 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56003 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56004 regenerate with gen-libm-tests.pl.
56006 2010-05-12 Petr Baudis <pasky@suse.cz>
56009 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56010 around j0() zero points by switching to j1().
56011 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56013 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56016 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56018 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56020 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56023 Patch in part by Pavel Roskin <proski@gnu.org>.
56026 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56028 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56029 Free memory block if necessary.
56032 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56033 be NULL. Don't lock in this case.
56035 2011-09-09 Roland McGrath <roland@hack.frob.com>
56037 * elf/elf.h (ELFOSABI_GNU): New macro.
56038 (ELFOSABI_LINUX): Define to that.
56040 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
56042 * string/strncat.c (strncat): Undef the symbol in case it has been
56043 defined in bits/string.h.
56045 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56047 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56049 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56052 2011-08-17 Andreas Jaeger <aj@suse.de>
56054 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56056 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56057 Ian Lance Taylor <iant@google.com>
56059 * math/libm-test.inc (lround_test): New testcase.
56060 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56062 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56064 * Makefile: Remove support for automatic cvs check-ins.
56065 * Makerules: Likewise.
56066 * config.make.in: Likewise.
56067 * configure.in: Likewise.
56068 * intl/Makefile: Likewise.
56069 * locale/Makefile: Likewise.
56070 * po/Makefile: Likewise.
56071 * posix/Makefile: Likewise.
56072 * sysdeps/gnu/Makefile: Likewise.
56073 * sysdeps/mach/hurd/Makefile: Likewise.
56074 * sysdeps/sparc/sparc32/Makefile: Likewise.
56077 * posix/Makefile (bug-regex32-ENV): Define.
56078 Patch by John Stanley <jpsinthemix@verizon.net>.
56080 * misc/Makefile (headers): Add bits/select2.h.
56081 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56082 * misc/bits/select2.h: New file.
56083 * include/bits/select2.h: New file.
56084 * debug/Makefile (routines): Add fdelt_chk.
56085 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56086 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56088 * debug/fdelt_chk.c: New file.
56090 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56091 * wcsmbs/test-wmemcmp.c: Likewise.
56092 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56093 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56095 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56097 * string/Makefile (strop-tests): Add memcmp.
56098 * string/test-wmemcmp.c: New file.
56099 * string/test-memcmp.c: Add wmemcmp support.
56101 2011-09-08 Roland McGrath <roland@hack.frob.com>
56104 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56107 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56108 garbage value in a __mach_port_mod_refs call in the cases of the
56109 task-self and thread-self ports.
56111 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56113 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56115 2011-09-08 Andreas Schwab <schwab@redhat.com>
56117 * elf/dl-load.c (lose): Check for non-null L.
56119 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56121 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56123 * elf/dl-libc.c (dlerror_run): Pass back error code from
56127 * elf/dl-load.c (lose): Free l_origin if it is valid.
56129 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56131 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56132 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56133 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56134 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56135 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56136 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56138 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56140 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56141 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56143 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56144 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56145 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56146 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56147 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56148 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56149 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56151 2011-08-15 Alan Modra <amodra@gmail.com>
56154 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56155 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56156 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56157 ppc_mcount to static-only-routines.
56158 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56160 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56161 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56163 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56165 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56166 for finite and infinity parameters.
56168 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56170 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56171 and add nop instructions for throughput optimization.
56172 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56174 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56177 aligned copy for power7 with vector-scalar instructions.
56178 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56180 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56182 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56185 2011-09-07 Andreas Schwab <schwab@redhat.com>
56188 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56191 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56193 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56194 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56195 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56196 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56199 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56201 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56202 Forgot to demangle the pointer.
56204 * sysdeps/i386/sysdep.h: Define atom_text_section.
56205 * sysdeps/x86_64/sysdep.h: Likewise.
56206 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56207 section with atom_text_section.
56208 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56209 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56210 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56211 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56212 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56214 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56215 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56216 already be defined. Change to take two parameters and don't assign
56217 result to variable. Adjust all users.
56218 Define INTERNAL_GETTIME if not already defined.
56219 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56222 HAVE_CLOCK_GETTIME_VSYSCALL.
56223 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56226 gettimeofday vsyscall, just use time.
56228 2011-09-06 Andreas Schwab <schwab@redhat.com>
56230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56233 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56235 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56237 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56239 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56240 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56241 syscall if possible.
56243 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56245 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56246 e_ident. Don't pass to find_mapsXX.
56247 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56249 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56252 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56253 * sysdeps/x86_64/multiarch/strchr.S: Update.
56254 Check bit_slow_BSF bit.
56255 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56256 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56257 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56259 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56262 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56264 (tryshell): Define.
56265 (__spawni): Change last parameter to be flag. Test
56266 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56267 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56268 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56269 * posix/spawni.c: Likewise.
56270 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56271 * posix/spawnp.c: Likewise. Change normal version to use
56272 SPAWN_XFLAGS_USE_PATH.
56273 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56274 SPAWN_XFLAGS_TRY_SHELL.
56277 * posix/glob.h: Remove gcc 1.x support.
56280 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56282 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56285 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56287 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56288 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56289 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56290 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56291 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56292 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56294 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56296 * sysdeps/x86_64/wcscmp.S: New file.
56298 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56299 wcscmp-c wcscmp-sse2
56300 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56301 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56302 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56303 * wcsmbs/wcscmp.c: Allow renaming.
56305 2011-09-05 David S. Miller <davem@davemloft.net>
56307 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56308 stack slot, rather than the struct return pointer slot.
56309 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56310 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56312 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56314 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56316 * po/ja.po: Update from translation team.
56319 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56320 kernel in 64-bit binaries.
56322 2011-09-01 David S. Miller <davem@davemloft.net>
56324 * elf/elf.h (HWCAP_SPARC_*): Move to..
56325 * sysdeps/sparc/sysdep.h: this new file and add new values.
56326 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56327 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56328 _DL_HWCAP_COUNT to 24.
56329 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56331 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56332 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56333 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56334 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56335 instead of magic constants.
56336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56338 2011-08-31 David S. Miller <davem@davemloft.net>
56340 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56341 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56342 Reimplement to do errno handling inline.
56343 (SYSCALL_ERROR_HANDLER): New macro.
56344 (__SYSCALL_STRING): Do not do errno handling in asm.
56345 (__CLONE_SYSCALL_STRING): Delete.
56346 (__INTERNAL_SYSCALL_STRING): Delete.
56347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56348 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56349 (PSEUDO): Reimplement to do errno handling inline.
56350 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56351 (SYSCALL_ERROR_HANDLER): New macro.
56352 (__SYSCALL_STRING): Do not do errno handling in asm.
56353 (__CLONE_SYSCALL_STRING): Delete.
56354 (__INTERNAL_SYSCALL_STRING): Delete.
56355 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56356 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56358 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56359 (inline_syscall*): Add 'err' argument.
56360 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56361 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56362 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56363 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56365 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56366 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56368 2011-08-30 Andreas Schwab <schwab@redhat.com>
56370 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56372 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56374 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56377 2011-08-24 David S. Miller <davem@davemloft.net>
56379 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56381 2011-08-24 Andreas Schwab <schwab@redhat.com>
56383 * elf/Makefile: Add rules to build and run unload8 test.
56384 * elf/unload8.c: New file.
56385 * elf/unload8mod1.c: New file.
56386 * elf/unload8mod1x.c: New file.
56387 * elf/unload8mod2.c: New file.
56388 * elf/unload8mod3.c: New file.
56390 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56393 2011-08-23 David S. Miller <davem@davemloft.net>
56395 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56396 subtract stack bias.
56397 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56398 %sp not %fp in calculations.
56399 (_JMPBUF_UNWINDS_ADJ): Likewise.
56401 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56402 (aio_suspend): Call it to force an exception region around the
56403 AIO_MISC_WAIT() invocation.
56405 2011-08-23 Andreas Schwab <schwab@redhat.com>
56407 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56410 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56412 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56414 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56415 and <dl-machine.h>.
56416 (Elf64_FuncDesc): Remove.
56418 2011-08-22 David S. Miller <davem@davemloft.net>
56420 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56421 sigaltstack check, add missing cfi directives.
56422 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56423 missing cfi directives, and sigaltstack handling.
56425 2011-08-16 Andreas Schwab <schwab@redhat.com>
56428 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56429 object is seen twice.
56430 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56432 * elf/Makefile (distribute): Add tst-initorder2.c.
56433 (tests): Add tst-initorder2.
56434 (modules-names): Add tst-initorder2a tst-initorder2b
56435 tst-initorder2c tst-initorder2d. Add rules to build them.
56436 ($(objpfx)tst-initorder2.out): New rule.
56437 * elf/tst-initorder2.c: New file.
56438 * elf/tst-initorder2.exp: New file.
56440 2011-08-22 Andreas Schwab <schwab@redhat.com>
56442 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56444 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56445 dependencies back to end of function.
56447 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56448 $(elfobjdir)/ld.so.
56450 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56453 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56455 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56456 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56457 of __vdso_gettimeofday.
56458 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56459 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56461 (_libc_vdso_platform_setup): Remove initialization of
56462 __vdso_gettimeofday and __vdso_time.
56464 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56466 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56467 and fgetc_unlocked.
56468 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56471 * elf/dl-open.c (add_to_global): Report additions to the global scope
56472 for LD_DEBUG=scopes.
56473 (dl_open_worker): Also print scope of newly loaded dependencies.
56474 (_dl_show_scope): Indicate if there is no scope.
56477 * stdio-common/Makefile (tests): Add bug24.
56478 * stdio-common/bug24.c: New file.
56480 2011-08-19 Andreas Jaeger <aj@suse.de>
56483 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56484 non-existant file when using close-on-exec mode.
56486 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56489 the very first instruction.
56491 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56492 the CFI state in the end.
56493 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56494 inclusion of dl-trampoline.h.
56495 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56497 2011-08-19 Andreas Schwab <schwab@redhat.com>
56499 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56500 expectations for long double.
56502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56503 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56505 2011-08-14 David S. Miller <davem@davemloft.net>
56507 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56508 artificual limit depends upon the system page size.
56510 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56512 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56513 * resolv/Makefile: Define CFLAGS-libresolv.
56515 2011-08-17 Andreas Schwab <schwab@redhat.com>
56517 * nss/makedb.c (compute_tables): Make variables used in nested
56520 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56522 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56523 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56524 if buffer was too small.
56526 * elf/pldd.c (main): Attach to all threads in the process.
56527 Rewrite /proc handling to use *at functions.
56529 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56531 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56532 specifies first scope to show.
56533 (dl_open_worker): Update callers. Move printing scope of new
56534 object to before the relocation.
56535 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56536 * sysdeps/generic/ldsodefs.h: Update declaration.
56538 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56539 string for the scope number.
56541 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56543 * nscd/servicescache.c (cache_addserv): Make sure written is always
56546 2011-08-14 Roland McGrath <roland@hack.frob.com>
56548 * sysdeps/i386/i486/bits/atomic.h
56549 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56550 statement expression, so as to suppress "set but not used" warning.
56551 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56553 * string/strncat.c (STRNCAT): Use prototype definition.
56555 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56556 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56558 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56559 (localedef-modules): Add localedef.
56560 (locale-modules): Add locale.
56562 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56563 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56564 to avoid a warning.
56566 2011-08-14 David S. Miller <davem@davemloft.net>
56568 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56569 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56571 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56573 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56574 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56575 * elf/rtld.c (dl_main): Set l_name of vDSO.
56576 Call _dl_show_scope when DL_DEBUG_SCOPES.
56577 (process_dl_debug): Recognize scopes flag and also set it for all.
56578 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56579 Declare _dl_show_scope.
56581 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56582 (do_dlopen): Pass caller_dlopen to dl_open.
56583 (__libc_dlopen_mode): Initialize caller_dlopen.
56585 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56586 of libc. Make tolower call locale-independent. Optimize a bit by
56587 using isdigit instead of isalnum.
56588 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56590 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56592 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56593 was a dependency or dynamically loaded.
56595 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56597 * intl/l10nflist.c: Allow architecture-specific pop function.
56598 * sysdeps/x86_64/l10nflist.c: New file.
56600 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56603 2011-08-10 Andreas Schwab <schwab@redhat.com>
56605 * include/dirent.h: Add libc_hidden_proto for scandirat and
56606 scandirat64. Don't declare __scandirat64.
56607 * dirent/scandirat.c: Add libc_hidden_def.
56608 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56609 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56611 2011-08-10 David S. Miller <davem@davemloft.net>
56613 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56615 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56616 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56617 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56619 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56621 * Versions.def [libc]: Add GLIBC_2.15.
56622 * dirent/Makefile (routines): Add scandirat and scandirat64.
56623 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56625 * dirent/dirent.h: Declare scandirat and scandirat64.
56626 * dirent/scandirat.c: New file.
56627 * dirent/scandirat64.c: New file.
56628 * sysdeps/wordsize-64/scandirat.c: New file.
56629 * sysdeps/wordsize-64/scandirat64.c: New file.
56630 * dirent/opendir.c: Define opendirat.
56631 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56633 * dirent/scandir64.c: Adjust for scandir.c change.
56634 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56635 __scandirat64, and __scandir_cancel_handler.
56636 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56637 additional parameter and use openat instead of open (outside of ld.so).
56638 Add new __opendir as wrapper around __opendirat.
56639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56640 here without requiring old scandirat implementation.
56642 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56644 * dirent/scandir.c (cancel_handler): Renamed to
56645 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56646 defined. Adjust users.
56647 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56648 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56650 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56652 * string/test-string.h (IMPL): Use __STRING to expand name and then
56655 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56658 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56660 * string/Makefile: Update.
56661 (strop-tests): Append strncat.
56662 * string/test-wcscmp.c: New file.
56663 New comprehensive test for wcscmp.
56664 * string/test-strcmp.c: Update.
56665 (WIDE): New define.
56667 2011-07-22 Andreas Schwab <schwab@redhat.com>
56669 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56672 2011-07-26 Andreas Schwab <schwab@redhat.com>
56674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56675 encoding to ACE if AI_IDN.
56677 2011-08-01 Jakub Jelinek <jakub@redhat.com>
56679 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56680 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56682 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56685 Fix overflow bug in strncat.
56686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56688 * string/test-strncat.c: Update.
56689 Add new tests for checking overflow bugs.
56691 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56694 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56695 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56696 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56697 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56698 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56699 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56700 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56701 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56704 (USE_AS_STRCAT): Define.
56705 Add strcat and strncat support.
56706 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56708 2011-07-25 Andreas Schwab <schwab@redhat.com>
56710 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56711 __n bigger than INT_MAX+1.
56712 (__strncmp_g): Likewise.
56714 2011-07-23 Ulrich Drepper <drepper@gmail.com>
56716 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56717 * libio/stido.h: Likewise.
56719 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56724 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56726 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56727 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56728 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56731 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56736 (_dl_x86_64_save_sse): Likewise.
56738 2011-07-22 Ulrich Drepper <drepper@gmail.com>
56740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56742 (_dl_x86_64_save_sse): Likewise.
56744 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56746 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56748 2011-07-21 Andreas Schwab <schwab@redhat.com>
56750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56752 (_dl_x86_64_save_sse): Use correct AVX check.
56754 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56756 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56757 bug in strncpy/strncat.
56758 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56760 2011-07-21 Ulrich Drepper <drepper@gmail.com>
56762 * string/tester.c (test_strcat): Add tests for different alignments
56763 of source and destination.
56764 (test_strncat): Likewise.
56766 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56769 * posix/glob.c (glob): Check passed in values before using them in
56770 expressions to avoid some overflows.
56771 (glob_in_dir): Likewise.
56774 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56775 check for AVX enablement so that we don't crash with old kernels and
56777 * elf/tst-audit4.c: Add same checks here.
56778 * elf/tst-audit6.c: Likewise.
56780 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56782 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56784 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56786 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56788 * po/cs.po: Update from translation team.
56789 * po/bg.po: Likewise.
56791 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56793 * misc/sys/cdefs.h: Add support for const attribute.
56794 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56795 to gnu_dev_{major,minor,makedev} functions.
56797 2011-07-20 Marek Polacek <mpolacek@redhat.com>
56799 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56801 2011-07-20 Andreas Schwab <schwab@redhat.com>
56803 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56806 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56809 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56810 register in order to avoid conflicts with the soft frame pointer
56811 being held in r11 when necessary.
56812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56813 (INTERNAL_VSYSCALL_NCS): Likewise.
56815 2011-07-14 Marek Polacek <mpolacek@redhat.com>
56817 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56818 * elf/dl-fini.c (_dl_fini): Adjust caller.
56819 * elf/dl-close.c (_dl_close_worker): Likewise.
56820 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56822 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56824 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56825 "aux_cache->nlibs < 0".
56827 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56828 in the reload-count case.
56830 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56833 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56834 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56835 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56836 * sysdeps/x86_64/multiarch/strcat.S: New file.
56837 * sysdeps/x86_64/multiarch/strncat.S: New file.
56838 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56839 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56840 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56841 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56842 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56843 (USE_AS_STRCAT): Define.
56844 Add strcat and strncat support.
56845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56846 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56847 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56848 * string/strncat.c: Update.
56849 (USE_AS_STRNCAT): Define.
56850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56851 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56853 * sysdeps/x86_64/multiarch/init-arch.h
56854 (bit_Prefer_PMINUB_for_stringop): New.
56855 (index_Prefer_PMINUB_for_stringop): Likewise.
56856 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56857 bit_Prefer_PMINUB_for_stringop.
56859 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56861 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56863 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56864 of casting of buffer.
56865 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56866 buffer32 and buffer64.
56867 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56868 writes instead of casting of buffer.
56869 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56871 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56874 2011-07-19 Andreas Schwab <schwab@redhat.com>
56876 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56878 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56880 * nscd/nscd.c (termination_handler): Don't do anything for a database
56881 if it has not yet been initialized.
56883 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56885 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56887 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56889 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56891 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56893 * po/nl.po: Update from translation team.
56894 * po/sv.po: Likewise.
56896 2011-07-16 Roland McGrath <roland@hack.frob.com>
56898 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56899 now disallowed by GCC.
56901 * configure.in (use-default-link): Default to yes if a test -shared
56902 link meets our qualifications.
56903 * configure: Regenerated.
56905 * config.make.in (output-format): New variable.
56906 * configure.in: Check for ld --print-output-format support.
56907 * configure: Regenerated.
56908 * Makerules ($(common-objpfx)format.lds)
56909 [$(output-format) != unknown]: Just use $(output-format),
56910 instead of the linker-script munging.
56912 2011-07-14 Roland McGrath <roland@hack.frob.com>
56914 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56915 of $(common-objpfx)shlib.lds.
56916 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56918 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56919 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56921 * configure.in (-z relro check): Adjust test code to add a large
56922 writable data section after it.
56923 * configure: Regenerated.
56925 2011-07-11 Roland McGrath <roland@hack.frob.com>
56927 * configure.in (-z relro check): Fix test code to make the variable
56929 * configure: Regenerated.
56931 2011-07-11 Ulrich Drepper <drepper@gmail.com>
56933 * nscd/nscd.h (struct traced_file): Define.
56934 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56935 elements. Add traced_files.
56936 (inotify_fd): Declare.
56937 (register_traced_file): Declare.
56938 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56939 (inotify_fd): Export.
56940 (resolv_conf_descr): Remove.
56941 (nscd_init): Move inotify descriptor creation to main.
56942 Don't register files for notification here.
56943 (register_traced_file): New function.
56944 (invalidate_cache): Don't use reset_res to determine whether to call
56945 res_init, go through the list of registered files.
56946 (main_loop_poll): The inotify descriptors are now stored in the
56947 structures for the traced files.
56948 (main_loop_epoll): Likewise
56949 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56950 to __nss_disable_nscd.
56951 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56952 for a database anymore. Check the records for all the registered
56954 * nss/Makefile (libnss_files-routines): Add files-init.
56955 (libnss_db-routines): Add db-init.
56956 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56957 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56958 * nss/nss_db/db-init.c: New file.
56959 * nss/nss_files/files-init.c: New file.
56960 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56961 __nss_lookup_function.
56962 (__nss_lookup_function): Call nss_load_library.
56963 (nss_load_all_libraries): New function.
56964 (__nss_disable_nscd): Take parameter with callback function for files
56965 to register. Set is_nscd. Load all the DSOs for the NSS modules
56966 used for the cached services.
56967 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56968 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56969 options for features to all the files in nscd.
56971 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56973 2011-07-10 Roland McGrath <roland@hack.frob.com>
56975 * csu/elf-init.c (__libc_csu_init): Comment typo.
56977 2011-07-09 Ulrich Drepper <drepper@gmail.com>
56979 * po/pl.po: Update from translation team.
56980 * po/ja.po: Likewise.
56981 * po/ru.po: Likewise.
56982 * po/ko.po: Likewise.
56983 * po/fr.po: Likewise.
56985 2011-07-09 Roland McGrath <roland@hack.frob.com>
56987 * configure.in (.ctors/.dtors header and trailer check):
56988 Use an empirical test on a built program.
56989 * configure: Regenerated.
56991 * configure.in (-z relro check): Use an empirical test on a built DSO.
56992 Detect, but do not require, on ia64.
56993 * configure: Regenerated.
56995 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56996 Update tests that use readelf to use $READELF instead.
56997 * configure: Regenerated.
56999 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57001 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57002 if the result is not used.
57004 2011-07-05 Andreas Jaeger <aj@suse.de>
57007 * stdlib/tst-strtod.c: Add testcase.
57009 2011-07-07 Ulrich Drepper <drepper@gmail.com>
57011 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57012 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57013 The latter has a higher limit. Take additional parameter to pass to
57015 (__pathconf): Pass file to __statfs_link_max.
57016 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57018 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57022 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57023 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57025 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57026 (__statfs_filesize_max): Likewise.
57027 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57029 2011-07-05 Andreas Jaeger <aj@suse.de>
57031 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57033 2011-07-06 Marek Polacek <mpolacek@redhat.com>
57035 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57037 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57040 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
57042 * Makefile (strop-tests): Add strncat.
57043 * string/test-strncat.c: New file.
57045 2011-06-30 Marek Polacek <mpolacek@redhat.com>
57047 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57049 2011-06-21 Andreas Jaeger <aj@suse.de>
57051 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57052 Copy rule from iconvdata/Makefile.
57054 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57057 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57058 but no long options are defined, just return 'W'.
57060 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57063 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57065 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57067 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57069 (innetgr): Likewise.
57071 2011-07-05 Roland McGrath <roland@hack.frob.com>
57073 * config.make.in (install_root): Default to $(DESTDIR).
57075 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57077 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57079 2011-07-02 Roland McGrath <roland@hack.frob.com>
57081 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57083 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57084 containing directory rather than embedding absolute directory names.
57086 * scripts/check-local-headers.sh: Rewritten using awk.
57087 Match by word, not by line. Print error messages for matches.
57088 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57090 * Makerules [shlib-lds-flags empty]:
57091 ($(common-objpfx)libc_pic.opts): New target.
57092 ($(common-objpfx)libc_pic.os.clean): New target.
57093 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57095 * config.make.in (OBJCOPY): New variable.
57096 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57097 * configure: Regenerated.
57099 * config.make.in (use-default-link): New variable.
57100 * configure.in (use_default_link): Grok --with-default-link to set it.
57101 * configure: Regenerated.
57102 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57103 (shlib-lds, shlib-lds-flags): Define to empty.
57105 * Makerules (shlib-lds): New variable.
57106 (shlib-lds-flags): New variable.
57107 (build-shlib, build-moduile, build-module-asneeded): Use it.
57108 ($(common-objpfx)libc.so): Use $(shlib-lds).
57109 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57110 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57112 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57113 DT_FLAGS/DT_FLAGS_1 with zero flags.
57115 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57116 linker script munging.
57118 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57120 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57122 * crypt/sha512.c (sha512_process_block): Perform total addition using
57123 128-bit if possible.
57124 (__sha512_finish_ctx): Likewise.
57125 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57127 * crypt/sha256.c (SWAP64): Define.
57128 (sha256_process_block): Perform total addition using 64-bit if
57130 (__sha256_finish_ctx): Likewise.
57132 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57134 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57135 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57136 * nscd/hstcache.c (cache_addhst): Likewise.
57137 * nscd/grpcache.c (cache_addgr): Likewise.
57138 * nscd/aicache.c (addhstaiX): Likewise
57139 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57141 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57143 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57144 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57145 * nscd/hstcache.c (cache_addhst): Likewise.
57146 * nscd/grpcache.c (cache_addgr): Likewise.
57147 * nscd/aicache.c (addhstaiX): Likewise
57149 2011-07-01 Andreas Schwab <schwab@redhat.com>
57151 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57152 domain only when needed.
57154 2011-06-30 Andreas Schwab <schwab@redhat.com>
57156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57157 is always restored.
57159 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57161 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57162 are re-adding the entry.
57163 * nscd/servicescache.c (cache_addserv): Likewise.
57165 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57167 * sysdeps/generic/dl-irel.h: fix protection against multiple
57169 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57171 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57174 * malloc/memusage.sh: Fix quoting in message.
57175 * debug/xtrace.sh: Likewise.
57177 * configure.in: Remove support for --experimental-malloc option, make
57179 * config.make.in: Likewise.
57180 * malloc/Makefile: Likewise.
57182 2011-06-27 Andreas Schwab <schwab@redhat.com>
57184 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57185 two-byte characters.
57187 2011-06-27 Roland McGrath <roland@hack.frob.com>
57189 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57190 AC_CACHE_CHECK invocation.
57191 * configure: Regenerated.
57193 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57195 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57198 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57199 bit from old_res_options.
57201 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57203 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57204 value type for setfct.
57206 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57209 __gettimeofday instead of gettimeofday.
57211 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57213 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57215 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57219 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57222 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57225 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57226 strcpy-sse2-unaligned strncpy-sse2-unaligned
57227 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57228 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57229 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57230 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57231 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57234 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57235 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57236 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57237 (STRCPY): Support SSE2 and SSSE3 versions.
57239 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57242 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57243 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57244 kernels which artificially limit size of requests.
57246 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57248 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57249 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57250 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57251 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57252 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57253 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57254 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57255 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57256 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57258 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57259 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57260 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57261 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57262 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57264 Enable unaligned load optimization for Intel Core i3, i5 and i7
57266 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57268 (index_Fast_Unaligned_Load): Define.
57269 (HAS_FAST_UNALIGNED_LOAD): Define.
57271 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57273 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57275 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57279 until it is clear that the information is realy needed.
57280 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57282 2011-06-22 Andreas Schwab <schwab@redhat.com>
57284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57286 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57289 /sys/devices/system/cpu/online if it is usable.
57291 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57292 reading the information from the /proc filesystem to once a second.
57294 2011-06-21 Andreas Jaeger <aj@suse.de>
57296 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57297 NULL after inclusion of kernel headers.
57299 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57301 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57302 calls to internal_setent.
57305 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57306 addresses using gethostbyname4_r ignore IPv4 addresses.
57308 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57309 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57311 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57313 2011-06-20 David S. Miller <davem@davemloft.net>
57315 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57317 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57319 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57320 (elf_irel): Use it.
57321 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57322 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57323 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57324 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57325 * sysdeps/x86_64/dl-irel.h: Likewise.
57327 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57328 * elf/dl-sym.c: Likewise.
57330 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57332 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57333 need to dereference resplen2.
57335 2011-06-14 Andreas Schwab <schwab@redhat.com>
57337 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57339 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57341 * Makeconfig: Define vardbdir and inst_vardbdir.
57342 * nss/Makefile: Add rules to install db-Makefile.
57344 * nss/nss_db/db-XXX.c: Cleanup.
57346 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57347 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57349 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57350 * nss/makedb.c: Implement -g option to specify that value strings
57351 are generated and should not be added to table iterated over for
57353 * nss/nss_db/db-initgroups.c: New file.
57355 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57358 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57359 (internal_getgrouplist): Adjust to name change.
57360 Update use_initgroups_entry if this is not the first call.
57361 * nss/databases.def: Add initgroups entry.
57363 * nss/makedb.c (compute_tables): Check result of multiple hash table
57364 sizes to minimize maximum chain length.
57366 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57368 * Versions.def: Add entry for libnss_db.
57369 * shlib-versions: Likewise.
57370 * nss/Makefile: Add rules to build libnss_db.
57371 * nss/Versions: Add libnss_db information. Organize libnss_files
57373 * nss/db-Makefile: Add gshadow support. Change rules for the new
57374 makedb progra. Some minor improvements to generate smaller files.
57375 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57377 * nss/makedb.c: ...here.
57378 Improve database format to be smaller and require less memory at
57380 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57382 * nss/nss_db/db-netgrp.c: Likewise.
57383 * nss/nss_db/db-open.c: Likewise.
57384 * nss/nss_files/flies-XXX.x: Adjust comments.
57385 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57386 * nss/nss_files/files-grp.c: Likewise.
57387 * nss/nss_files/files-hosts.c: Likewise.
57388 * nss/nss_files/files-network.c: Likewise.
57389 * nss/nss_files/files-proto.c: Likewise.
57390 * nss/nss_files/files-pwd.c: Likewise.
57391 * nss/nss_files/files-rpc.c: Likewise.
57392 * nss/nss_files/files-service.c: Likewise.
57393 * nss/nss_files/files-sgrp.c: Likewise.
57394 * nss/nss_files/files-spwd.c: Likewise.
57395 * nss/nss_db/db-alias.c: Removed.
57396 * nss/nss_db/dummy-db.h: Removed.
57398 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57400 * nss/makedb.c: Rewritten to not use database library.
57401 * nss/Makefile: Update to build new makedb program.
57403 2011-06-14 Andreas Jaeger <aj@suse.de>
57405 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57406 memset declaration.
57408 2011-06-10 Andreas Schwab <schwab@redhat.com>
57410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57413 2011-06-10 Roland McGrath <roland@hack.frob.com>
57415 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57416 * elf/Makefile ($(objpfx)ld.so): Likewise.
57418 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57419 Don't list ld.so twice in dependencies.
57421 * posix/bug-regex31.c: Include <stdlib.h>.
57423 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57425 * nis/nss_compat/compat-spwd.c
57426 (getspent_next_nss_netgr): Remove unused variable.
57427 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57429 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57430 nonmembers" output to use the right array.
57432 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57434 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57436 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57437 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57438 * catgets/gencat.c (read_input_file): Likewise.
57439 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57441 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57442 variable definition inside #if's controlling its use.
57444 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57446 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57448 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57450 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57453 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57455 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57456 * configure: Regenerated.
57458 * Makerules: Revert last change.
57459 * elf/Makefile: Likewise.
57461 2011-06-09 Roland McGrath <roland@hack.frob.com>
57463 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57464 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57465 (reloc-link): Likewise.
57467 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57469 * elf/Makefile: Add rules to build pldd.
57470 * elf/pldd.c: New file.
57471 * elf/pldd-xx.c: New file.
57473 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57475 * version.h: Update for 2.15 development version.
57477 2011-06-07 David S. Miller <davem@davemloft.net>
57479 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57482 elf_machine_lazy_rel): Likewise.
57483 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57485 elf_machine_lazy_rel): Likewise.
57486 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57487 dl_hwcap via passed in argument.
57488 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57491 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57493 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57495 2011-06-06 Roland McGrath <roland@hack.frob.com>
57498 * manual/fdl-1.1.texi: New file, verbatim from:
57499 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57500 * manual/lgpl-2.1.texi: New file, verbatim from:
57501 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57502 * manual/Makefile (licenses): New variable, list those new file names.
57504 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57506 * manual/fdl.texi: File removed.
57507 * manual/lesser.texi: File removed.
57508 * manual/libc.texinfo (Copying, Documentation License):
57509 Use new @include file names, put @appendix directive before @include.
57511 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57514 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57515 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57516 (mq_open): Add __NTH.
57518 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57521 Assume Intel Core i3/i5/i7 processor if AVX is available.
57523 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57528 2011-05-31 Andreas Schwab <schwab@redhat.com>
57530 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57531 memory. Use alloca_account. Fix memory leak when retrying.
57533 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57535 * version.h (RELEASE): Bump for 2.14 release.
57536 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57538 * config.make.in (RANLIB): Remove entry.
57540 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57542 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57543 (libc.pot): Work around missing support for .ksh extension in xgettext.
57546 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57547 if both request failed.
57548 (send_dg): In case of server errors clear resplen or *resplen2.
57551 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57552 when there are multiple maps.
57553 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57554 (_dl_fini): Remove test here.
57556 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57558 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57561 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57562 bit from old_res_options.
57563 (gaih_inet): Likewise.
57566 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57569 * resolv/res_init.c (res_setoptions): Make the code more compact.
57572 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57576 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57578 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57581 * malloc/malloc.h: Declare malloc hook variables as volatile.
57583 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57587 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57588 raise in the comment.
57589 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57591 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57593 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57596 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57597 grow the buffers more if it already has to be sufficient.
57598 (build_wcs_upper_buffer): Likewise.
57599 * posix/regexec.c (check_matching): Likewise.
57600 (clean_state_log_if_needed): Likewise.
57601 (extend_buffers): Don't enlarge buffers beyond size of the input
57603 Patches mostly by Emil Wojak <emil@wojak.eu>.
57604 * posix/bug-regex32.c: New file.
57605 * posix/Makefile (tests): Add bug-regex32.
57607 * locale/findlocale.c (_nl_find_locale): Return right away if
57608 _nl_explode_name failed.
57609 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57611 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57613 * debug/xtrace.sh: Unify messages.
57614 * malloc/memusage.sh: Likewise.
57617 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57618 time symbol from vDSO. Substitute with vsyscall if not available.
57619 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57622 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57623 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57624 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57625 Add sendmmsg and internal_sendmmsg.
57626 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57627 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57628 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57630 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57631 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57632 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57634 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57637 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57638 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57640 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57644 * iconvdata/Makefile (tests): Add bug-iconv9.
57645 * iconvdata/bug-iconv9.c: New file.
57647 2011-05-27 Andreas Schwab <schwab@redhat.com>
57650 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57652 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57654 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57655 (struct user_regs_struct): Change intcs field back to cs.
57657 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57659 * po/ja.po: Update from translation team.
57661 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57664 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57665 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57667 2011-05-20 Andreas Schwab <schwab@redhat.com>
57669 * stdlib/longlong.h: Update from GCC.
57671 2011-05-23 Andreas Schwab <schwab@redhat.com>
57673 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57675 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57676 Add parameter name.
57677 (__sysconf): Pass it down.
57679 2011-05-22 Ulrich Drepper <drepper@gmail.com>
57682 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57685 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57686 add in in __libc_use_alloca calls. Adjust callers.
57687 (glob): Use malloc in some situations.
57689 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57690 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57693 2011-05-21 Ulrich Drepper <drepper@gmail.com>
57695 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57696 and CLOCK_BOOTTIME_ALARM.
57699 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57702 * string/_strerror.c (__strerror_r): Print negative errors as signed
57706 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57707 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57708 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57710 * configure.in: Fix typo in redirection and correct removal of test
57711 files in two cases.
57714 * locale/setlocale.c (new_composite_name): Fix test to check for
57715 identical name of all categories.
57718 * libio/filedoalloc.c (local_isatty): New function.
57719 (_IO_file_doallocate): Use local_isatty.
57720 * stdio-common/perror.c (perror): In case a new stream is used
57721 forward the stream error.
57722 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57725 2011-05-20 Ulrich Drepper <drepper@gmail.com>
57728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57730 * include/alloca.h (extend_alloca_account): Define.
57733 * posix/regex.h: Fix comments with documentation of user-accessible
57734 fields after compilation and describe correct free'ing of pattern
57735 after re_compile_pattern.
57736 Patch by Reuben Thomas <rrt@sc3d.org>.
57738 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57740 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57741 and -mno-altivec to prevent the compiler from using Altivec and/or
57742 VSX instructions when the corresponding registers are not available.
57744 2011-05-19 Andreas Schwab <schwab@redhat.com>
57746 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57748 2011-05-19 Ulrich Drepper <drepper@gmail.com>
57750 * libio/freopen.c (freopen): Use __dup2, not dup2.
57751 * libio/freopen64.c (freopen64): Likewise.
57753 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57756 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57757 * math/Makefile (tests): Add test-powl.
57758 (CFLAGS-test-powl.c): Define.
57759 * math/test-powl.c: New file.
57761 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57763 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57765 2011-05-17 Ulrich Drepper <drepper@gmail.com>
57768 * iconvdata/gb18030.c: Update to GB18020-2005.
57770 2011-05-16 Ulrich Drepper <drepper@gmail.com>
57772 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57773 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57774 Patch by Aharon Robbins <arnold@skeeve.com>.
57777 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57781 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57782 through underflows.
57785 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57786 point to strings before performing equality test for error_one_per_line
57790 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57793 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57794 (struct user_fpregs_struct): Avoid __uint*_t types.
57797 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57798 symbol info. Use it instead of calling _dl_addr locally.
57799 (lock_and_info): New function.
57800 (tr_freehook): Call lock_and_info and pass symbol info as additional
57801 parameter to tr_where.
57802 (tr_mallochook): Likewise.
57803 (tr_reallochook): Likewise.
57804 (tr_memalignhook): Likewise.
57806 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57807 used and couldn't be at all thread-safe.
57809 2011-05-15 Ulrich Drepper <drepper@gmail.com>
57811 * libio/freopen.c (freopen): Don't close old file descriptor
57812 before the new one is opened. Instead dup the new file descriptor
57813 to the old one after the new stream is created.
57814 * libio/freopen64.c (freopen64): Likewise.
57815 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57816 * libio/fileops.c (_IO_new_file_close_it): Handle new
57817 _IO_FLAGS2_NOCLOSE flag.
57818 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57819 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57820 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57821 _IO_FLAGS2_NOCLOSE flag.
57822 * include/unistd.h: Add hidden_proto for dup3.
57823 Define __have_dup3.
57824 * io/dup3.c: Define hidden symbol.
57825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57828 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57829 when an incomplete long option is used.
57830 * posix/tst-getopt_long1.c: New file.
57831 * posix/Makefile (tests): Add tst-getopt_long1.
57834 * scripts/config.guess: Update from autoconf-2.68.
57835 * scripts/config.sub: Likewise.
57838 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57840 (has_cpuclock): ...this. New function.
57841 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57842 macro here based on has_cpuclock code.
57845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57846 First byte (not low byte) is now always NUL.
57847 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57850 Use non-cancelable interfaces.
57853 * locale/iso-639.def: Add entry for Sorani.
57856 * include/stdlib.h: Move include protection to the right place.
57857 Define abort_msg_s. Declare __abort_msg with it.
57858 * stdlib/abort.c (__abort_msg): Adjust type.
57859 * assert/assert.c (__assert_fail_base): New function. Majority
57860 of code from __assert_fail. Allocate memory for __abort_msg with
57862 (__assert_fail): Now call __assert_fail_base.
57863 * assert/assert-perr.c: Remove bulk of implementation. Use
57864 __assert_fail_base.
57865 * include/assert.hL Declare __assert_fail_base.
57866 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57868 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57870 2011-05-14 Ulrich Drepper <drepper@gmail.com>
57874 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57875 until all modules are registered in the DTV.
57876 * elf/Makefile: Add rules to build and run tst-tls19.
57877 * elf/tst-tls19.c: New file.
57878 * elf/tst-tls19mod1.c: New file.
57879 * elf/tst-tls19mod2.c: New file.
57880 * elf/tst-tls19mod3.c: New file.
57881 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57884 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57888 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57889 two-byte sequence errors.
57890 * iconvdata/Makefile (tests): Add bug-iconv8.
57891 * iconvdata/bug-iconv8.c: New file.
57894 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57897 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57900 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57901 (dummy_getcfa): New function.
57902 (init): Get _Unwind_GetCFA address, use dummy if not found.
57903 (backtrace_helper): In recursion check, also check whether CFA changes.
57904 (__backtrace): Completely initialize arg.
57906 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57907 storing incomplete byte sequence in state object. Avoid testing for
57908 guaranteed too small input if we know there is enough data available.
57910 2011-05-11 Andreas Schwab <schwab@redhat.com>
57912 * Makeconfig (+link-pie): Indent.
57913 * Rules (binaries-pie): Define if $(have-fpie) and
57915 (binaries-shared): Also filter out $(binaries-pie).
57916 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57917 * nscd/Makefile (others-pie): Add nscd.
57918 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57919 ($(objpfx)nscd): Remove command override.
57920 * login/Makefile (others-pie): Add pt_chown.
57921 ($(objpfx)pt_chown): Remove command override.
57922 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57923 remove command overrides.
57925 2011-05-13 Ulrich Drepper <drepper@gmail.com>
57927 * libio/tst_putwc.c: Fix error messages.
57930 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57931 currently writing and seek to current position when not.
57932 * libio/Makefile (tests): Add bug-fclose1.
57933 * libio/bug-fclose1.c: New file.
57935 2011-05-12 Ulrich Drepper <drepper@gmail.com>
57938 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57939 don't set DF_1_NODELETE here.
57940 (do_lookup_x): When entering new entry test for copy relocation
57941 and if necessary set DF_1_NODELETE flag.
57942 * elf/tst-unique4.cc: New file.
57943 * elf/tst-unique4.h: New file.
57944 * elf/tst-unique4lib.cc: New file.
57945 * elf/Makefile: Add rules to build and run tst-unique4.
57946 Patch by Piotr Bury <pbury@goahead.com>.
57948 2011-05-11 Ulrich Drepper <drepper@gmail.com>
57951 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57954 * misc/mntent_r.c (addmntent): Flush the stream after the output
57957 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57958 (is_trusted_path_normalize): Skip initial colon. Append slash
57959 to empty buffer. Duplicate is_trusted_path code but allow
57960 constructed patch to be prefix.
57961 (is_dst): Allow $ORIGIN followed by /.
57962 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57963 Correct testing of result of is_trusted_path_normalize
57964 (decompose_rpath): Fix warning.
57966 2011-05-10 Ulrich Drepper <drepper@gmail.com>
57969 * grp/initgroups.c (internal_getgrouplist): When we found the service
57970 list through the initgroups entry in nsswitch.conf do not always
57971 continue on a successful lookup. Don't always use the
57972 __nss_group_database value if it is set.
57973 * nss/nsswitch.conf (initgroups): Change action for successful db
57974 lookup to continue for compatibility.
57976 2011-05-09 Ulrich Drepper <drepper@gmail.com>
57979 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57981 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57983 * iconvdata/tst-tables.sh: Likewise.
57984 * iconvdata/cp770.c: New file.
57985 * iconvdata/cp771.c: New file.
57986 * iconvdata/cp772.c: New file.
57987 * iconvdata/cp773.c: New file.
57988 * iconvdata/cp774.c: New file.
57989 * iconvdata/testdata/CP770: New file.
57990 * iconvdata/testdata/CP770..UTF8: New file.
57991 * iconvdata/testdata/CP771: New file.
57992 * iconvdata/testdata/CP771..UTF8: New file.
57993 * iconvdata/testdata/CP772: New file.
57994 * iconvdata/testdata/CP772..UTF8: New file.
57995 * iconvdata/testdata/CP773: New file.
57996 * iconvdata/testdata/CP773..UTF8: New file.
57997 * iconvdata/testdata/CP774: New file.
57998 * iconvdata/testdata/CP774..UTF8: New file.
58000 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58002 * iconvdata/gen-8bit-gap.sh: Likewise.
58003 * iconvdata/gen-8bit.sh: Likewise.
58005 * locale/iso-639.def: Add ary entry.
58008 * locale/C-translit.h.in: Add U20A1 transliteration.
58011 * locale/iso-639.def: Add wae entry.
58012 Patch by Kevin Bortis <bortis@translate-wae.ch>.
58015 * locale/programs/localedef.c (construct_output_path): Use ssize_t
58019 * locale/C-translit.h.in: Add entry for U20B9.
58020 Patch by pravin.d.s@gmail.com.
58022 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58025 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58026 ENAMETOOLONG use generic getcwd.
58027 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58028 in rtld. Use *stat64.
58029 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58030 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58031 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58032 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58033 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58034 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58035 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58036 __fstatat64 macros.
58037 * include/dirent.h: Add libc_hidden_proto for rewinddir.
58038 * dirent/rewinddir.c: Add libc_hidden_def.
58039 * sysdeps/mach/hurd/rewinddir.c: Likewise.
58040 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
58042 * include/dirent.h (__alloc_dir): Add flags parameter.
58043 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58044 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58046 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
58047 from fdopendir if O_CLOEXEC is already set.
58049 2011-03-15 Alan Modra <amodra@gmail.com>
58051 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58052 l_tls_firstbyte_offset non-zero. Save padding offset in
58053 l_tls_firstbyte_offset for later use.
58054 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58055 freeing static tls block.
58057 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58059 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58060 where #ifdef was intended. The intent is to prevent ARG_MAX from
58061 being defined by the kernel headers.
58063 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58066 * resolv/resolv.h: Define RES_NOTLDQUERY.
58067 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58068 no-tld-query and set RES_NOTLDQUERY.
58069 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58070 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58071 modern BIND to search name as TLD unless forbidden.
58073 2011-05-07 Petr Baudis <pasky@suse.cz>
58074 Ulrich Drepper <drepper@gmail.com>
58077 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58078 (is_trusted_path): ...to here.
58079 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58080 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58081 using is_trusted_path_normalize() in setuid scripts.
58083 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58085 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58086 __BEGIN/__END_DECLS.
58088 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58091 NSS_STATUS_NOTFOUND if no record was found.
58093 2011-05-05 Andreas Schwab <schwab@redhat.com>
58095 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58096 (headers-not-in-tirpc): Remove rpc/netdb.h
58097 * resolv/netdb.h: Revert last change.
58099 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58101 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58102 circular dependency between libgcc.a and libc.a.
58104 2011-05-05 Andreas Schwab <schwab@redhat.com>
58106 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58107 * nis/Makefile: Don't install rpcsvc/*.
58108 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58109 instead of <rpc/types.h>.
58110 (MAXHOSTNAMELEN): Define.
58112 2011-05-03 Andreas Schwab <schwab@redhat.com>
58114 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58116 2011-04-28 Maciej Babinski <mbabinski@google.com>
58119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58120 gethostbyname4_r when IPv6 results are possible.
58122 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58125 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58126 _PC_PIPE_BUF handling.
58128 2011-04-30 Bruno Haible <bruno@clisp.org>
58131 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58132 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58134 * inet/getnameinfo.c (getnameinfo): Likewise.
58136 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58138 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58139 to groups setting in database lookup.
58140 * nss/nsswitch.conf: Add initgroups entry.
58142 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58145 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58147 Patch by Eric Blake <eblake@redhat.com>.
58149 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58151 * sunrpc/Makefile (need-export-routines): Add svc_run.
58152 (routines): Remove svc_run.
58153 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58154 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58155 * sunrpc/svc_run.c (svc_run): Likewise.
58156 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58158 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58161 problem in reallocation in last patch.
58163 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58165 * sunrpc/Makefile: Move inclusion of Rules.
58167 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58169 * nss/nss_files/files-initgroups.c: New file.
58170 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58171 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58172 _nss_files_initgroups_dyn.
58174 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58176 * elf/elf.h (R_ARM_IRELATIVE): Define.
58178 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58180 * po/ru.po: Update from translation team.
58182 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58184 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58187 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58190 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58191 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58194 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58196 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58198 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58200 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58201 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58202 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58204 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58207 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58209 * stdlib/bug-getcontext.c: New file.
58210 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58212 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58214 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58215 instructions into .machine "z9-109".
58216 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58217 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58219 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58221 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58222 between environment variables and auxiliary vector.
58224 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58226 * Makefile: Add rules to build linkobj/libc.so.
58227 * include/libc-symbols.h: Define libc_hidden_nolink.
58228 * include/rpc/auth.h: Mark functions which are to be hidden.
58229 * include/rpc/auth_des.h: Likewise.
58230 * include/rpc/auth_unix.h: Likewise.
58231 * include/rpc/clnt.h: Likewise.
58232 * include/rpc/des_crypt.h: Likewise.
58233 * include/rpc/key_prot.h: Likewise.
58234 * include/rpc/pmap_clnt.h: Likewise.
58235 * include/rpc/pmap_prot.h: Likewise.
58236 * include/rpc/pmap_rmt.h: Likewise.
58237 * include/rpc/rpc_msg.h: Likewise.
58238 * include/rpc/svc.h: Likewise.
58239 * include/rpc/svc_auth.h: Likewise.
58240 * include/rpc/xdr.h: Likewise.
58241 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58242 * nss/Makefile: Likewise.
58243 * sunrpc/Makefile: Don't install headers. Build library with normal
58244 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58245 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58246 for the compat linking library. Remove use of INTDEF/INTUSE.
58247 * sunrpc/auth_none.c: Likewise.
58248 * sunrpc/auth_unix.c: Likewise.
58249 * sunrpc/authdes_prot.c: Likewise.
58250 * sunrpc/authuxprot.c: Likewise.
58251 * sunrpc/clnt_gen.c: Likewise.
58252 * sunrpc/clnt_perr.c: Likewise.
58253 * sunrpc/clnt_raw.c: Likewise.
58254 * sunrpc/clnt_simp.c: Likewise.
58255 * sunrpc/clnt_tcp.c: Likewise.
58256 * sunrpc/clnt_udp.c: Likewise.
58257 * sunrpc/clnt_unix.c: Likewise.
58258 * sunrpc/des_crypt.c: Likewise.
58259 * sunrpc/des_soft.c: Likewise.
58260 * sunrpc/get_myaddr.c: Likewise.
58261 * sunrpc/key_call.c: Likewise.
58262 * sunrpc/key_prot.c: Likewise.
58263 * sunrpc/netname.c: Likewise.
58264 * sunrpc/pm_getmaps.c: Likewise.
58265 * sunrpc/pm_getport.c: Likewise.
58266 * sunrpc/pmap_clnt.c: Likewise.
58267 * sunrpc/pmap_prot.c: Likewise.
58268 * sunrpc/pmap_prot2.c: Likewise.
58269 * sunrpc/pmap_rmt.c: Likewise.
58270 * sunrpc/publickey.c: Likewise.
58271 * sunrpc/rpc_cmsg.c: Likewise.
58272 * sunrpc/rpc_common.c: Likewise.
58273 * sunrpc/rpc_dtable.c: Likewise.
58274 * sunrpc/rpc_prot.c: Likewise.
58275 * sunrpc/rpc_thread.c: Likewise.
58276 * sunrpc/rtime.c: Likewise.
58277 * sunrpc/svc.c: Likewise.
58278 * sunrpc/svc_auth.c: Likewise.
58279 * sunrpc/svc_authux.c: Likewise.
58280 * sunrpc/svc_raw.c: Likewise.
58281 * sunrpc/svc_run.c: Likewise.
58282 * sunrpc/svc_simple.c: Likewise.
58283 * sunrpc/svc_tcp.c: Likewise.
58284 * sunrpc/svc_udp.c: Likewise.
58285 * sunrpc/svc_unix.c: Likewise.
58286 * sunrpc/svcauth_des.c: Likewise.
58287 * sunrpc/xcrypt.c: Likewise.
58288 * sunrpc/xdr.c: Likewise.
58289 * sunrpc/xdr_array.c: Likewise.
58290 * sunrpc/xdr_float.c: Likewise.
58291 * sunrpc/xdr_intXX_t.c: Likewise.
58292 * sunrpc/xdr_mem.c: Likewise.
58293 * sunrpc/xdr_rec.c: Likewise.
58294 * sunrpc/xdr_ref.c: Likewise.
58295 * sunrpc/xdr_sizeof.c: Likewise.
58296 * sunrpc/xdr_stdio.c: Likewise.
58298 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58301 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58302 * sysdeps/ia64/dl-tls.h: Likewise.
58303 * sysdeps/powerpc/dl-tls.h: Likewise.
58304 * sysdeps/s390/dl-tls.h: Likewise.
58305 * sysdeps/sh/dl-tls.h: Likewise.
58306 * sysdeps/sparc/dl-tls.h: Likewise.
58307 * sysdeps/x86_64/dl-tls.h: Likewise.
58308 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58310 2011-03-14 Andreas Schwab <schwab@redhat.com>
58312 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58313 rpath element also skip the following colon.
58314 (expand_dynamic_string_token): Add is_path parameter and pass
58315 down to DL_DST_REQUIRED and _dl_dst_substitute.
58316 (decompose_rpath): Call expand_dynamic_string_token with
58317 non-zero is_path. Ignore empty rpaths.
58318 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58321 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58326 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58329 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58330 Patch by Filipe David Manana <fdmanana@apache.org>.
58332 2011-04-07 Andreas Schwab <schwab@redhat.com>
58334 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58335 Maintain aligned stack.
58336 (CHECK_RSP): Remove unused macro.
58338 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58340 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58341 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58343 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58345 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58347 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58349 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58352 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58353 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58354 * sysdeps/x86_64/memmove.c: New file.
58355 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58356 (memcpy): Renamed to ...
58357 (__new_memcpy): This.
58358 (memcpy): Provide GLIBC_2_14 memcpy.
58359 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58360 (memcpy): Provide GLIBC_2_2_5 memcpy.
58362 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58365 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58367 2011-03-30 Andreas Schwab <schwab@redhat.com>
58369 * misc/syncfs.c: New file.
58370 * misc/Makefile (routines): Add syncfs.
58371 * posix/unistd.h: Declare syncfs.
58372 * sysdeps/unix/syscalls.list: Add syncfs.
58374 2011-04-01 Andreas Schwab <schwab@redhat.com>
58376 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58378 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58379 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58381 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58383 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58384 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58386 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58388 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58389 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58390 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58392 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58396 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58397 sync_file_range.c with -fexceptions.
58398 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58399 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58400 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58401 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58402 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58403 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58404 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58405 sync_file_range as cancellation point
58406 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58407 now a wrapper around __call_sync_file_range with cancellation handling.
58408 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58409 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58410 function name to __call_sync_file_range.
58411 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58412 Add call_sync_file_range.
58414 2011-04-01 Andreas Schwab <schwab@redhat.com>
58416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58419 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58421 * iconv/iconv.h: Fix typo in comment.
58422 * io/fcntl.h: Likewise.
58423 * libio/stdio.h: Likewise.
58424 * posix/spawn.h: Likewise.
58425 * posix/unistd.h: Likewise.
58426 * stdlib/stdlib.h: Likewise.
58427 * time/time.h: Likewise.
58428 * wcsmbs/wchar.h: Likewise.
58430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58431 open_by_handle): Add.
58432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58433 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58434 Augment a few comments.
58435 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58439 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58440 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58443 * io/fcntl.h (AT_EMPTY_PATH): Define.
58445 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58447 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58448 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58449 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58451 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58452 * Versions.def: Add GLIBC_2.14.
58453 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58456 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58458 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58460 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58462 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58465 * string/test-strncmp.c (do_page_test): New function.
58466 (check2): Likewise.
58467 (test_main): Call check2.
58468 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58470 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58473 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58474 Handle cache information in CPU leaf 4.
58475 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58477 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58480 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58481 character representation.
58482 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58484 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58486 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58487 END(__isnan) to END(__isnanf) to match function entry point/label
58488 EALIGN(__isnanf,...).
58490 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58492 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58494 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58497 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58498 copy from the symbol referenced in the relocation to initialize the
58500 Patch by Piotr Bury <pbury@goahead.com>.
58501 * elf/Makefile: Add rules to build and tst-unique3.
58502 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58503 * elf/tst-unique3.cc: New file.
58504 * elf/tst-unique3.h: New file.
58505 * elf/tst-unique3lib.cc: New file.
58506 * elf/tst-unique3lib2.cc: New file.
58508 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58510 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58512 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58513 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58516 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58518 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58519 to-be-loaded object along a path to loader is ld.so.
58521 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58522 Ulrich Drepper <drepper@gmail.com>
58524 * sysdeps/x86_64/memset.S: After aligning destination, code
58525 branches to different locations depending on the value of
58526 misalignment, when multiarch is enabled. Fix this.
58528 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58530 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58531 Set _x86_64_preferred_memory_instruction for AMD processsors.
58532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58533 Set bit_Prefer_SSE_for_memop for AMD processors.
58535 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58537 * libio/fmemopen.c (fmemopen): Optimize a bit.
58539 2011-03-03 Andreas Schwab <schwab@redhat.com>
58541 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58543 2011-03-03 Roland McGrath <roland@redhat.com>
58545 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58547 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58549 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58550 __bzero_ultra1 instead of __memset_ultra1.
58552 2011-02-23 Andreas Schwab <schwab@redhat.com>
58553 Ulrich Drepper <drepper@gmail.com>
58556 * include/link.h (struct link_map): Add l_orig_initfini.
58557 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58558 returning unsuccessfully.
58559 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58560 close of a file loaded at startup, restore the original l_initfini
58562 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58563 list, store the pointer.
58564 * elf/Makefile ($(objpfx)noload-mem): New rule.
58565 (noload-ENV): Define.
58566 (tests): Add $(objpfx)noload-mem.
58567 * elf/noload.c: Include <memcheck.h>.
58568 (main): Call mtrace. Close all opened handles.
58570 2011-02-17 Andreas Schwab <schwab@redhat.com>
58573 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58574 dependencies are missing.
58576 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58578 Fix __if_freereq crash: Unlike the generic version which uses free,
58580 * sysdeps/mach/hurd/ifreq.h: New file.
58582 2011-01-27 Petr Baudis <pasky@suse.cz>
58583 Ulrich Drepper <drepper@gmail.com>
58586 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58587 to extend_alloca().
58588 * stdio-common/bug23.c: New file.
58589 * stdio-common/Makefile (tests): Add bug23.
58591 2010-09-28 Andreas Schwab <schwab@redhat.com>
58592 Ulrich Drepper <drepper@gmail.com>
58595 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58596 before performing relro protection. At old place add assertion
58597 to make sure nothing changed.
58599 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58600 Glauber de Oliveira Costa <glommer@gmail.com>
58602 * elf/elf.h: Add new ARM TLS relocs.
58604 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58607 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58609 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58611 * sysdeps/wordsize-64/tst-writev.c: New file.
58613 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58615 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58616 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58617 insns in _dl_start to prevent a TOC reference before relocs are
58620 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58623 * Makeconfig: Remove RANLIB definition.
58624 * Makerules: Don't use RANLIB.
58625 * aclocal.m4: Remove ranlib test.
58626 * configure.in: No need to check for ranlib.
58627 * elf/rtld-Rules: Don't use RANLIB.
58629 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58631 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58633 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58634 inclusion protection macro.
58636 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58637 SIGRTMIN and SIGRTMAX and print information in that case only when
58638 SIGRTMIN is defined.
58640 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58642 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58643 arginfo fn returning -1.
58645 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58646 and thousands string is zero terminated.
58648 2011-02-03 Andreas Schwab <schwab@redhat.com>
58650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58651 sysdeps/unix/sysv/linux/bits/socket.h.
58653 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58655 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58656 (__CPU_COUNT): Remove old macros.
58657 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58658 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58659 (__CPU_ALLOC, __CPU_FREE): Add macros.
58660 (__sched_cpualloc, __sched_cpufree): Add declarations.
58662 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58664 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58665 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58666 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58667 (readdhstai): Return value of addhstaiX call.
58668 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58669 (addgrbyX): Return value returned by cache_addgr.
58670 (readdgrbyname): Return value returned by addgrbyX.
58671 (readdgrbygid): Likewise.
58672 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58673 (addpwbyX): Return value returned by cache_addpw.
58674 (readdpwbyname): Return value returned by addhstbyX.
58675 (readdpwbyuid): Likewise.
58676 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58677 (addservbyX): Return value returned by cache_addserv.
58678 (readdservbyname): Return value returned by addservbyX:
58679 (readdservbyport): Likewise.
58680 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58681 (addhstbyX): Return value returned by cache_addhst.
58682 (readdhstbyname): Return value returned by addhstbyX.
58683 (readdhstbyaddr): Likewise.
58684 (readdhstbynamev6): Likewise.
58685 (readdhstbyaddrv6): Likewise.
58686 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58687 (readdinitgroups): Return value returned by addinitgroupsX.
58688 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58689 (prune_cache): Keep track of timeout value of re-added entries.
58690 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58691 * nscd/nscd.h: Adjust prototypes of readd* functions.
58693 2011-02-04 Roland McGrath <roland@redhat.com>
58695 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58696 (nis_stats): Likewise.
58697 * nis/nis_modify.c (nis_modify): Likewise.
58698 * nis/nis_remove.c (nis_remove): Likewise.
58699 * nis/nis_add.c (nis_add): Likewise.
58701 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58703 * posix/fnmatch_loop.c: Add some consts.
58705 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58707 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58710 * config.make.in (config-cflags-novzeroupper): Define.
58711 * configure.in: Substitute libc_cv_cc_novzeroupper.
58712 * elf/Makefile (AVX-CFLAGS): Define.
58713 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58714 (CFLAGS-tst-auditmod4a.c): Likewise.
58715 (CFLAGS-tst-auditmod4b.c): Likewise.
58716 (CFLAGS-tst-auditmod6b.c): Likewise.
58717 (CFLAGS-tst-auditmod6c.c): Likewise.
58718 (CFLAGS-tst-auditmod7b.c): Likewise.
58719 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58721 2011-02-02 Ulrich Drepper <drepper@gmail.com>
58723 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58724 function to the callback.
58725 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58727 2011-02-02 Andreas Schwab <schwab@redhat.com>
58729 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58732 2011-01-19 Ulrich Drepper <drepper@gmail.com>
58735 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58737 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58739 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58742 * elf/Makefile: Add rules to build and run new test.
58743 * elf/tst-initorder.c: New file.
58744 * elf/tst-initorder.exp: New file.
58745 * elf/tst-initordera1.c: New file.
58746 * elf/tst-initordera2.c: New file.
58747 * elf/tst-initordera3.c: New file.
58748 * elf/tst-initordera4.c: New file.
58749 * elf/tst-initorderb1.c: New file.
58750 * elf/tst-initorderb2.c: New file.
58751 * elf/tst-order-a1.c: New file.
58752 * elf/tst-order-a2.c: New file.
58753 * elf/tst-order-a3.c: New file.
58754 * elf/tst-order-a4.c: New file.
58755 * elf/tst-order-b1.c: New file.
58756 * elf/tst-order-b2.c: New file.
58757 * elf/tst-order-main.c: New file.
58758 New test case by George Gensure <werkt0@gmail.com>.
58760 2010-10-01 Andreas Schwab <schwab@redhat.com>
58762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58763 decoding ACE if AI_CANONIDN.
58765 2011-01-18 Ulrich Drepper <drepper@gmail.com>
58767 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58769 2011-01-17 Ulrich Drepper <drepper@gmail.com>
58771 * version.h (RELEASE): Bump for 2.13 release.
58772 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58774 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58776 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58778 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58779 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58780 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58781 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58782 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58783 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58785 * posix/getconf.c: Update copyright year.
58786 * catgets/gencat.c: Likewise.
58787 * csu/version.c: Likewise.
58788 * debug/catchsegv.sh: Likewise.
58789 * debug/xtrace.sh: Likewise.
58790 * elf/ldconfig.c: Likewise.
58791 * elf/ldd.bash.in: Likewise.
58792 * elf/sprof.c (print_version): Likewise.
58793 * iconv/iconv_prog.c: Likewise.
58794 * iconv/iconvconfig.c: Likewise.
58795 * locale/programs/locale.c: Likewise.
58796 * locale/programs/localedef.c: Likewise.
58797 * malloc/memusage.sh: Likewise.
58798 * malloc/mtrace.pl: Likewise.
58799 * nscd/nscd.c (print_version): Likewise.
58800 * nss/getent.c: Likewise.
58802 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58803 PF_CAIF, and PF_ALG.
58804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58806 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58808 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58809 (modules-names): Use them.
58810 (ifunc-test-modules, ifunc-pie-tests): Define.
58811 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58812 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58813 (test-extras): Likewise.
58814 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58815 $(compile-command.c).
58816 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58817 (all-built-dso): Define.
58818 (check-textrel.out, check-execstack.out): Depend on it.
58820 * configure.in: Don't override --enable-multi-arch.
58822 2011-01-15 Ulrich Drepper <drepper@gmail.com>
58825 * nscd/hstcache.c (tryagain): Define.
58826 (cache_addhst): Return tryagain not notfound for temporary errors.
58827 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58830 2011-01-14 Ulrich Drepper <drepper@gmail.com>
58833 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58834 to make the syscall.
58835 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58838 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58839 and fall back to matching as normal character if the string ends before
58840 the matching ']' is found. This is what POSIX requires.
58841 * posix/testfnm.c: Adjust test result.
58842 * posix/globtest.sh: Adjust test result. Add new test.
58843 * posix/tst-fnmatch.input: Likewise.
58844 * posix/tst-fnmatch2.c: Add new test.
58846 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58848 * elf/Makefile (check-execstack): Revert last change. Depend on
58850 (check-execstack.h): New target.
58851 (generated): Add check-execstack.h.
58852 * elf/check-execstack.c: Include "check-execstack.h".
58853 (main): Revert last change.
58854 (handle_file): Return zero if GNU_STACK is absent and
58855 DEFAULT_STACK_PERMS doesn't include PF_X.
58857 2011-01-13 Ulrich Drepper <drepper@gmail.com>
58859 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58860 in child fails because the descriptor is already closed.
58861 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58862 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58863 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58866 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58870 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58871 temporary buffer used to handle multi lookups locally.
58872 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58874 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58876 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58879 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58881 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58882 alignment for SSE2.
58884 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58887 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58888 characters. When rounding increased number of integer digits recompute
58890 * stdio-common/tst-grouping.c: New file.
58891 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58893 2011-01-09 Ulrich Drepper <drepper@gmail.com>
58895 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58896 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58898 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58900 * bits/select.h: Likewise.
58902 2011-01-08 Ulrich Drepper <drepper@gmail.com>
58904 * po/ja.po: Update from translation team.
58906 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
58909 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58910 implementation just like for lxstat, fxstatat, et al.
58912 2010-12-27 Jim Meyering <meyering@redhat.com>
58915 * posix/regexec.c (build_trtable): Return failure indication upon
58916 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58918 2010-12-25 Ulrich Drepper <drepper@gmail.com>
58921 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58922 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58923 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58924 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58927 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58930 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58931 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58933 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58935 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58936 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58937 script has SORT_BY_INIT_PRIORITY.
58938 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58939 NO_CTORS_DTORS_SECTIONS is defined.
58940 * elf/soinit.c: Likewise.
58941 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58942 NO_CTORS_DTORS_SECTIONS is defined.
58943 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58944 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58945 * sysdeps/sh/init-first.c: Likewise.
58946 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58948 2010-12-24 Ulrich Drepper <drepper@gmail.com>
58950 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58951 always use the slow path.
58953 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58955 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58956 similar rule which adds the sysdep directories to the header search in
58957 order to pick up the correct platform stackinfo.h.
58958 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58959 perform test if it is, otherwise return successfully without testing.
58960 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58961 DEFAULT_STACK_PERMS define in stackinfo.h.
58962 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58963 defined in stackinfo.h.
58964 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58965 DEFAULT_STACK_PERMS defined in stackinfo.h.
58966 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58967 * sysdeps/ia64/stackinfo.h: Likewise.
58968 * sysdeps/s390/stackinfo.h: Likewise.
58969 * sysdeps/sh/stackinfo.h: Likewise.
58970 * sysdeps/sparc/stackinfo.h: Likewise.
58971 * sysdeps/x86_64/stackinfo.h: Likewise.
58972 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58973 PF_X for powerpc64. Retain PF_X for powerpc32.
58975 2010-12-19 Ulrich Drepper <drepper@gmail.com>
58977 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58979 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58980 GETDENTS_64BIT_ALIGNED.
58982 2010-12-14 Ulrich Drepper <dreper@gmail.com>
58984 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58986 2010-12-10 Andreas Schwab <schwab@redhat.com>
58988 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58991 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58992 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58994 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58995 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58997 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59000 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59003 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59005 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59007 2010-12-03 Ulrich Drepper <drepper@gmail.com>
59009 * po/it.po: Update from translation team.
59011 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
59013 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59016 2010-11-30 Ulrich Drepper <drepper@gmail.com>
59018 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59020 2010-11-24 Andreas Schwab <schwab@redhat.com>
59022 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59024 (gaih_getanswer_slice): Likewise.
59026 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59030 2010-05-31 Petr Baudis <pasky@suse.cz>
59033 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59034 silently even in the chroot mode.
59036 2010-11-22 Ulrich Drepper <drepper@gmail.com>
59038 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59039 last patch a bit. Pretty printing
59041 2010-05-31 Petr Baudis <pasky@suse.cz>
59044 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59045 initialization of skip_initgroups_dyn.
59047 2010-11-19 Ulrich Drepper <drepper@gmail.com>
59049 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59050 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59052 2010-11-16 Ulrich Drepper <drepper@gmail.com>
59054 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59056 2010-11-11 Andreas Schwab <schwab@redhat.com>
59058 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59059 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59060 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59061 ($(objpfx)tst-fnmatch-mem): New rule.
59062 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59063 * posix/tst-fnmatch.c (main): Call mtrace.
59065 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59068 Support Intel processor model 6 and model 0x2c.
59070 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59072 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59075 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59078 * string/test-strncasecmp.c (check_result): New function.
59079 (do_one_test): Use it.
59080 (check1): New function.
59081 (test_main): Use it.
59082 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59083 Support strcasecmp and strncasecmp.
59085 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59088 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59089 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59091 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59093 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59097 * sysdeps/x86_64/multiarch/bzero.S: New file.
59098 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59099 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59100 * sysdeps/x86_64/multiarch/memset.S: New file.
59101 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59103 Set bit_Prefer_SSE_for_memop for Intel processors.
59104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59106 (index_Prefer_SSE_for_memop): Define.
59107 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59109 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59111 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59112 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59114 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59117 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59118 (__x86_64_raw_data_cache_size_half): Likewise.
59119 (__x86_64_raw_shared_cache_size): Likewise.
59120 (__x86_64_raw_shared_cache_size_half): Likewise.
59122 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59123 (__x86_64_raw_data_cache_size_half): Likewise.
59124 (__x86_64_raw_shared_cache_size): Likewise.
59125 (__x86_64_raw_shared_cache_size_half): Likewise.
59126 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59127 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59128 and __x86_64_raw_shared_cache_size_half. Round
59129 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59130 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59131 to multiple of 256 bytes.
59133 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59136 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59137 of inacessible symlinks. Verify result of symlink before returning it.
59138 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59139 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59141 2010-10-28 Erich Ritz <erichritz@gmail.com>
59143 * math/math.h (isinf): Fix typo in comment.
59145 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59147 * po/da.po: Update from translation team.
59149 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59151 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59152 is added to the list.
59154 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59155 Ulrich Drepper <drepper@gmail.com>
59157 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59158 the global list here. Move code to...
59159 (_dl_add_to_namespace_list): ...here. New function.
59160 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59161 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59162 * elf/dl-load.c (lose): Don't remove the element from the list.
59163 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59164 (_dl_map_object): Likewise.
59166 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59169 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59170 into all bytes of SSE register.
59171 Patch by Richard Li <richardpku@gmail.com>.
59173 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59176 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59179 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59181 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59182 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59183 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59184 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59189 2010-10-22 Andreas Schwab <schwab@redhat.com>
59191 * include/dlfcn.h (__RTLD_SECURE): Define.
59192 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59193 mode & __RTLD_SECURE instead.
59194 (open_path): Rename preloaded parameter to secure.
59195 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59196 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59197 * elf/dl-deps.c (openaux): Likewise.
59198 * elf/rtld.c (struct map_args): Remove is_preloaded.
59199 (map_doit): Don't use it.
59200 (dl_main): Likewise.
59201 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59202 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59204 2010-09-09 Andreas Schwab <schwab@redhat.com>
59206 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59207 (sysd-rules-targets): Remove duplicates.
59208 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59209 rtld-%.$o dependency.
59211 2010-10-18 Andreas Schwab <schwab@redhat.com>
59213 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59214 _dl_map_object do it.
59216 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59218 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59219 fast fma builtins, define the macros in the C99 standard.
59220 (FP_FAST_FMAF): Likewise.
59221 (FP_FAST_FMAL): Likewise.
59222 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59224 * bits/mathdef.h: Update copyright year.
59225 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59227 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59229 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59230 builtins, define the macros in the C99 standard.
59231 (FP_FAST_FMAF): Likewise.
59232 (FP_FAST_FMAL): Likewise.
59233 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59235 (FP_FAST_FMAF): Likewise.
59237 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59240 * math/libm-test.inc (fma_test): Some new testcases.
59241 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59242 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59243 y and infinite z. Do multiplication by C already in long double.
59244 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59246 y and infinite z. Do bitwise or of inexact bit into u.d.
59247 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59248 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59249 * sysdeps/i386/fpu/s_fma.S: Removed.
59250 * sysdeps/i386/fpu/s_fmal.S: Removed.
59252 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59255 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59257 computation is not scheduled after fetestexcept. Fix value
59258 of minimum denormal long double.
59260 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59263 * math/libm-test.inc (fma_test): Add some more tests.
59264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59267 2010-10-15 Andreas Schwab <schwab@redhat.com>
59269 * scripts/data/localplt-s390-linux-gnu.data: New file.
59270 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59272 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59275 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59276 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59278 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59280 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59282 if one of x and y is very large and the other is subnormal.
59283 * sysdeps/s390/fpu/s_fmaf.c: New file.
59284 * sysdeps/s390/fpu/s_fma.c: New file.
59285 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59286 * sysdeps/powerpc/fpu/s_fma.S: New file.
59287 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59288 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59289 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59291 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59294 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59296 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59297 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59298 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59299 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59300 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59301 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59302 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59304 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59307 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59308 * posix/bug-regex31.input: Add test case.
59310 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59312 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59313 * posix/bug-regex31.input: New file.
59316 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59317 (parse_sub_exp): Fix last change, use postorder.
59319 * posix/bug-regex31.c: New file.
59320 * posix/Makefile: Add rules to build and run bug-regex31.
59322 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59325 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59328 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59329 to have entries in sys_siglist.
59332 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59335 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59338 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59339 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59340 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59341 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59342 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59343 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59344 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59345 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59346 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59347 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59348 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59349 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59350 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59351 * math/ftestexcept.c (fetestexcept): Likewise.
59352 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59353 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59354 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59355 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59356 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59357 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59358 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59360 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59363 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59366 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59368 * string/bug-strstr1.c: New file.
59369 * string/Makefile: Add rules to build and run bug-strstr1.
59371 2010-10-05 Eric Blake <eblake@redhat.com>
59374 * string/str-two-way.h (two_way_long_needle): Always clear memory
59375 when skipping input due to the shift table.
59377 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59380 * malloc/mcheck.c: Handle large requests.
59383 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59384 for strncmp and strncasecmp.
59385 * string/stratcliff.c: Add tests for strcmp and strncmp.
59386 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59388 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59390 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59393 2010-09-30 Andreas Jaeger <aj@suse.de>
59395 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59396 (CGROUP_SUPER_MAGIC): Define.
59397 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59398 Handle btrfs and cgroup file systems.
59399 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59402 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59404 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59405 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59407 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59410 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59411 trying to locate the ELF header.
59413 2010-09-27 Andreas Schwab <schwab@redhat.com>
59416 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59417 Mask out sign-bit copies when constructing f_fsid.
59419 2010-09-24 Petr Baudis <pasky@suse.cz>
59421 * debug/stack_chk_fail_local.c: Add missing licence exception.
59422 * debug/warning-nop.c: Likewise.
59424 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59426 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59427 implementing getdents64 using getdents syscall, set d_type if
59428 __ASSUME_GETDENTS32_D_TYPE.
59430 2010-09-16 Andreas Schwab <schwab@redhat.com>
59432 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59433 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59435 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59438 * posix/unistd.h: Undo change of feature selection for ftruncate from
59441 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59443 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59446 2010-09-20 Andreas Schwab <schwab@redhat.com>
59448 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59450 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59452 2010-09-14 Andreas Schwab <schwab@redhat.com>
59454 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59455 variables after CHECK_SP call.
59456 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59458 2010-09-13 Andreas Schwab <schwab@redhat.com>
59459 Ulrich Drepper <drepper@redhat.com>
59461 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59462 re-relocationg ld.so.
59463 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59464 _dl_init_paths call.
59465 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59468 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59470 * resolv/res_init.c (__res_vinit): Count the default server we added.
59472 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59473 Ulrich Drepper <drepper@redhat.com>
59476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59477 (____longjmp_chk): Use %ebx for saving value across system call.
59480 2010-09-06 Andreas Schwab <schwab@redhat.com>
59482 * manual/Makefile: Don't mix pattern rules with normal rules.
59484 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59486 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59488 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59489 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59490 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59491 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59492 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59495 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59498 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59499 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59501 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59503 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59504 * sysdeps/x86_64/addmul_1.S: Likewise.
59505 * sysdeps/x86_64/lshift.S: Likewise.
59506 * sysdeps/x86_64/mul_1.S: Likewise.
59507 * sysdeps/x86_64/rshift.S: Likewise.
59508 * sysdeps/x86_64/sub_n.S: Likewise.
59509 * sysdeps/x86_64/submul_1.S: Likewise.
59511 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59513 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59514 Define __sched_param instead of SCHED_* and sched_param when
59515 <bits/sched.h> is included with __need_schedparam defined.
59516 * bits/sched.h [__need_schedparam]
59517 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59518 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59519 (__defined_schedparam): Define to 1.
59520 (__sched_param): New structure, identical to sched_param.
59521 (__need_schedparam): Undefine.
59523 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59525 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59526 (epoll_create1): Declare.
59528 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59530 2010-08-31 Andreas Schwab <schwab@redhat.com>
59533 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59534 shifting retval into place.
59536 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59538 * nis/rpcsvc/nis.h: Update copyright notice.
59539 * nis/rpcsvc/nis.x: Likewise.
59540 * nis/rpcsvc/nis_callback.h: Likewise.
59541 * nis/rpcsvc/nis_callback.x: Likewise.
59542 * nis/rpcsvc/nis_object.x: Likewise.
59543 * nis/rpcsvc/nis_tags.h: Likewise.
59544 * nis/rpcsvc/yp.h: Likewise.
59545 * nis/rpcsvc/yp.x: Likewise.
59546 * nis/rpcsvc/ypupd.h: Likewise.
59547 * nis/yp_xdr.c: Likewise.
59548 * nis/ypupdate_xdr.c: Likewise.
59550 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59551 mainly the body of pmap_getport. Add parameters to specify timeouts.
59552 (pmap_getport): Use __libc_rpc_getport.
59553 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59554 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59555 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59557 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59562 2010-08-27 Roland McGrath <roland@redhat.com>
59564 * sysdeps/i386/i686/multiarch/Makefile
59565 (CFLAGS-varshift.c): New variable.
59567 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59569 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59570 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59572 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59574 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59576 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59578 * sysdeps/x86_64/strlen.S: Unroll the loop.
59579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59580 strlen-sse2 strlen-sse2-bsf.
59581 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59582 __strlen_no_bsf if bit_Slow_BSF is set.
59583 (__strlen_sse42): Removed.
59584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59585 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59587 2010-08-25 Roland McGrath <roland@redhat.com>
59589 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59590 * sysdeps/x86_64/multiarch/varshift.c: New file.
59591 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59592 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59593 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59594 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59596 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59599 strlen-sse2 strlen-sse2-bsf.
59600 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59601 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59602 (__strlen_sse2): Removed.
59603 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59604 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59606 bit_Slow_BSF for Atom.
59607 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59608 (index_Slow_BSF): Define.
59609 (HAS_SLOW_BSF): Define.
59611 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59614 * resolv/res_init.c (__res_vinit): When no server address at all
59615 is given default to loopback.
59617 2010-08-24 Roland McGrath <roland@redhat.com>
59619 * configure.in: Remove config-name.h generation.
59620 * configure: Regenerated.
59621 * config-name.in: File removed.
59622 * scripts/config-uname.sh: New file.
59623 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59624 ($(objdir)config-name.h): New target.
59626 * sunrpc/rpc_parse.h: Avoid nested comment.
59628 2010-08-24 Richard Henderson <rth@redhat.com>
59629 Ulrich Drepper <drepper@redhat.com>
59630 H.J. Lu <hongjiu.lu@intel.com>
59632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59634 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59635 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59636 _mm_alignr_epi8 with _mm_loadu_si128.
59637 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59638 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59639 (__m128i_shift_right): Removed.
59640 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59641 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59642 * sysdeps/x86_64/multiarch/varshift.h: New file.
59643 * sysdeps/x86_64/multiarch/varshift.S: New file.
59645 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59647 * configure.in: Move assembler checks to before sysdep dir checking.
59649 2010-08-20 Petr Baudis <pasky@suse.cz>
59651 * LICENSES: Sync the sunrpc license.
59653 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59655 * sunrpc/auth_des.c: Update copyright notice once again.
59656 * sunrpc/auth_none.c: Likewise.
59657 * sunrpc/auth_unix.c: Likewise.
59658 * sunrpc/authdes_prot.c: Likewise.
59659 * sunrpc/authuxprot.c: Likewise.
59660 * sunrpc/bindrsvprt.c: Likewise.
59661 * sunrpc/clnt_gen.c: Likewise.
59662 * sunrpc/clnt_perr.c: Likewise.
59663 * sunrpc/clnt_raw.c: Likewise.
59664 * sunrpc/clnt_simp.c: Likewise.
59665 * sunrpc/clnt_tcp.c: Likewise.
59666 * sunrpc/clnt_udp.c: Likewise.
59667 * sunrpc/clnt_unix.c: Likewise.
59668 * sunrpc/des_crypt.c: Likewise.
59669 * sunrpc/des_soft.c: Likewise.
59670 * sunrpc/get_myaddr.c: Likewise.
59671 * sunrpc/getrpcport.c: Likewise.
59672 * sunrpc/key_call.c: Likewise.
59673 * sunrpc/key_prot.c: Likewise.
59674 * sunrpc/openchild.c: Likewise.
59675 * sunrpc/pm_getmaps.c: Likewise.
59676 * sunrpc/pm_getport.c: Likewise.
59677 * sunrpc/pmap_clnt.c: Likewise.
59678 * sunrpc/pmap_prot.c: Likewise.
59679 * sunrpc/pmap_prot2.c: Likewise.
59680 * sunrpc/pmap_rmt.c: Likewise.
59681 * sunrpc/rpc/auth.h: Likewise.
59682 * sunrpc/rpc/auth_unix.h: Likewise.
59683 * sunrpc/rpc/clnt.h: Likewise.
59684 * sunrpc/rpc/des_crypt.h: Likewise.
59685 * sunrpc/rpc/key_prot.h: Likewise.
59686 * sunrpc/rpc/netdb.h: Likewise.
59687 * sunrpc/rpc/pmap_clnt.h: Likewise.
59688 * sunrpc/rpc/pmap_prot.h: Likewise.
59689 * sunrpc/rpc/pmap_rmt.h: Likewise.
59690 * sunrpc/rpc/rpc.h: Likewise.
59691 * sunrpc/rpc/rpc_des.h: Likewise.
59692 * sunrpc/rpc/rpc_msg.h: Likewise.
59693 * sunrpc/rpc/svc.h: Likewise.
59694 * sunrpc/rpc/svc_auth.h: Likewise.
59695 * sunrpc/rpc/types.h: Likewise.
59696 * sunrpc/rpc/xdr.h: Likewise.
59697 * sunrpc/rpc_clntout.c: Likewise.
59698 * sunrpc/rpc_cmsg.c: Likewise.
59699 * sunrpc/rpc_common.c: Likewise.
59700 * sunrpc/rpc_cout.c: Likewise.
59701 * sunrpc/rpc_dtable.c: Likewise.
59702 * sunrpc/rpc_hout.c: Likewise.
59703 * sunrpc/rpc_main.c: Likewise.
59704 * sunrpc/rpc_parse.c: Likewise.
59705 * sunrpc/rpc_parse.h: Likewise.
59706 * sunrpc/rpc_prot.c: Likewise.
59707 * sunrpc/rpc_sample.c: Likewise.
59708 * sunrpc/rpc_scan.c: Likewise.
59709 * sunrpc/rpc_scan.h: Likewise.
59710 * sunrpc/rpc_svcout.c: Likewise.
59711 * sunrpc/rpc_tblout.c: Likewise.
59712 * sunrpc/rpc_util.c: Likewise.
59713 * sunrpc/rpc_util.h: Likewise.
59714 * sunrpc/rpcinfo.c: Likewise.
59715 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59716 * sunrpc/rpcsvc/key_prot.x: Likewise.
59717 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59718 * sunrpc/rpcsvc/mount.x: Likewise.
59719 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59720 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59721 * sunrpc/rpcsvc/rex.x: Likewise.
59722 * sunrpc/rpcsvc/rstat.x: Likewise.
59723 * sunrpc/rpcsvc/rusers.x: Likewise.
59724 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59725 * sunrpc/rpcsvc/spray.x: Likewise.
59726 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59727 * sunrpc/rtime.c: Likewise.
59728 * sunrpc/svc.c: Likewise.
59729 * sunrpc/svc_auth.c: Likewise.
59730 * sunrpc/svc_authux.c: Likewise.
59731 * sunrpc/svc_raw.c: Likewise.
59732 * sunrpc/svc_run.c: Likewise.
59733 * sunrpc/svc_simple.c: Likewise.
59734 * sunrpc/svc_tcp.c: Likewise.
59735 * sunrpc/svc_udp.c: Likewise.
59736 * sunrpc/svc_unix.c: Likewise.
59737 * sunrpc/svcauth_des.c: Likewise.
59738 * sunrpc/xcrypt.c: Likewise.
59739 * sunrpc/xdr.c: Likewise.
59740 * sunrpc/xdr_array.c: Likewise.
59741 * sunrpc/xdr_float.c: Likewise.
59742 * sunrpc/xdr_mem.c: Likewise.
59743 * sunrpc/xdr_rec.c: Likewise.
59744 * sunrpc/xdr_ref.c: Likewise.
59745 * sunrpc/xdr_sizeof.c: Likewise.
59746 * sunrpc/xdr_stdio.c: Likewise.
59748 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59751 2010-08-19 Andreas Schwab <schwab@redhat.com>
59753 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59755 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
59757 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59758 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59759 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59760 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59761 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59762 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59763 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59764 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59765 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59766 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59767 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59768 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59769 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59770 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59772 2010-07-26 Anton Blanchard <anton@samba.org>
59774 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59775 * malloc/arena.c (heap_trim): Likewise.
59777 2010-08-16 Ulrich Drepper <drepper@redhat.com>
59779 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59782 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59784 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59786 * sysdeps/i386/elf/Makefile: New file.
59788 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59790 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59791 from fanotify_init.
59792 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59795 2010-08-15 Ulrich Drepper <drepper@redhat.com>
59797 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59799 * sysdeps/multiarch/strcmp.S: Likewise.
59801 2010-08-14 Ulrich Drepper <drepper@redhat.com>
59803 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59804 strncase_l-nonascii.
59805 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59806 Add strncase_l-ssse3.
59807 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59808 * sysdeps/x86_64/strcmp.S: Likewise.
59809 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59810 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59811 * sysdeps/x86_64/strncase.S: New file.
59812 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59813 * sysdeps/x86_64/strncase_l.S: New file.
59814 * string/Makefile (strop-tests): Add strncasecmp.
59815 * string/test-strncasecmp.c: New file.
59817 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59820 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59821 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59823 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59825 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59827 2010-08-12 Ulrich Drepper <drepper@redhat.com>
59829 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59831 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59833 2010-05-01 Alan Modra <amodra@gmail.com>
59835 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59836 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59837 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59838 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59839 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59840 tidying. Don't tail-call __sigjmp_save for static lib.
59841 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59843 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59844 (CALL_MCOUNT): Add eh info, and nop after bl.
59845 (TAIL_CALL_SYSCALL_ERROR): New macro.
59846 (PSEUDO_RET): Use it.
59847 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59848 Correct save location of integer regs and cr.
59849 (_dl_profile_resolve): Correct cr save location. Delete nops
59850 after bl when SHARED. Reduce cfi size a little by better
59851 placement of cfi directives.
59852 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59853 make a stack frame. Instead use parm save area as a temp.
59854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59855 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59857 Don't make a stack frame for parent, use parm save area.
59858 Increase child stack frame to 112 bytes. Don't save unused reg,
59859 and adjust reg usage. Set up cfi on error recovery and
59860 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59862 (__makecontext): Add dummy nop after jump to exit.
59863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59864 Use correct parm save area and cr save, reduce stack frame.
59865 Correct cfi for possible PSEUDO_RET frame setup.
59866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59867 Branch to local label emitted by PSEUDO_RET rather than
59870 2010-08-12 Andreas Schwab <schwab@redhat.com>
59873 * locale/programs/locale.c (print_assignment): New function.
59874 (show_locale_vars): Use it.
59876 2010-08-11 Ulrich Drepper <drepper@redhat.com>
59878 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59880 (struct statfs64): Likewise.
59881 (_STATFS_F_FLAGS): Define.
59882 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59883 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59884 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59885 (ST_VALID): Define locally.
59886 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59887 __statvfs_getflags, use the provided value.
59888 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59889 __ASSUME_STATFS_F_FLAGS.
59891 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59893 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59894 Add sys/fanotify.h.
59895 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59896 fanotify_mask for GLIBC_2.13.
59897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59898 fanotify_init and fanotify_mark.
59899 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59900 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59902 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59904 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59905 prlimit64 for GLIBC_2.13.
59906 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59908 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59911 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59912 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59913 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59914 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59916 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59919 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59920 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59922 * nss/Makefile: Add rules to build and run tst-nss-test1.
59923 * shlib-versions: Add entry for libnss_test1.
59924 * nss/nss_test1.c: New file.
59925 * nss/tst-nss-test1.c: New file.
59927 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59928 (__nss_configure_lookup): Set appropriate entry in
59929 __nss_configure_lookup to true.
59930 * nss/nsswitch.h: Define enum with indeces of databases in
59931 databases and __nss_database_custom arrays. Declare
59932 __nss_database_custom.
59933 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59934 to avoid using nscd when custom rules are installed.
59935 * nss/getXXbyYY_r.c: Likewise.
59936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59938 * nss/nss_files/files-parse.c: Whitespace fixes.
59940 2010-08-09 Ulrich Drepper <drepper@redhat.com>
59943 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59944 * posix/fnmatch_loop.c: Likewise.
59946 2010-07-17 Andi Kleen <ak@linux.intel.com>
59948 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59949 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59950 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59951 * Versions.def [GLIBC_2.13]: Add.
59953 2010-08-06 Ulrich Drepper <drepper@redhat.com>
59955 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59956 Also fail if tpwd after pwuid call is NULL.
59958 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59960 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59961 when converting to ms.
59963 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59965 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59966 EOPNOTSUPP errors with ENOTTY.
59967 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59968 EOPNOTSUPP errors with ENOTTY.
59970 2010-07-31 Ulrich Drepper <drepper@redhat.com>
59972 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59973 Add strcasecmp_l-ssse3.
59974 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59976 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59977 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59978 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59980 2010-07-30 Ulrich Drepper <drepper@redhat.com>
59982 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59984 * string/Makefile (strop-tests): Add strcasecmp.
59985 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59986 strcasecmp_l-nonascii.
59987 (gen-as-const-headers): Add locale-defines.sym.
59988 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59989 * sysdeps/x86_64/strcasecmp.S: New file.
59990 * sysdeps/x86_64/strcasecmp_l.S: New file.
59991 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59992 * sysdeps/x86_64/locale-defines.sym: New file.
59993 * string/test-strcasecmp.c: New file.
59995 * string/test-strcasestr.c: Test both ends of the range of characters.
59996 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59998 2010-07-29 Roland McGrath <roland@redhat.com>
60001 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60003 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60005 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60008 2010-07-27 Andreas Schwab <schwab@redhat.com>
60010 * manual/memory.texi (Malloc Tunable Parameters): Document
60013 2010-07-26 Roland McGrath <roland@redhat.com>
60016 * configure.in (-fgnu89-inline check): Set and substitute
60017 gnu89_inline, not libc_cv_gnu89_inline.
60018 * configure: Regenerated.
60019 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60021 2010-07-26 Ulrich Drepper <drepper@redhat.com>
60023 * string/test-strnlen.c: New file.
60024 * string/Makefile (strop-tests): Add strnlen.
60025 * string/tester.c (test_strnlen): Add a few more test cases.
60026 * string/tst-strlen.c: Better error reporting.
60028 * sysdeps/x86_64/strnlen.S: New file.
60030 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60032 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60033 lower-latency instructions.
60035 2010-07-23 Ulrich Drepper <drepper@redhat.com>
60037 * string/test-strcasestr.c: New file.
60038 * string/test-strstr.c: New file.
60039 * string/Makefile (strop-tests): Add strstr and strcasestr.
60040 * string/str-two-way.h: Don't undefine MAX.
60041 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60043 2010-07-21 Andreas Schwab <schwab@redhat.com>
60045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60046 strcasestr-nonascii.
60047 (CFLAGS-strcasestr-nonascii.c): Define.
60048 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60049 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60050 Remove unused attribute.
60052 2010-07-20 Roland McGrath <roland@redhat.com>
60054 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60055 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60056 ld.so.cache was broken. With it, there is no way to disable dsocaps
60057 like LD_HWCAP_MASK can disable hwcaps.
60059 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60061 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60063 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60065 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60066 call in strcasestr.
60067 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60068 __strcasestr_sse42_nonascii.
60069 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60070 strcasestr-nonascii.c.
60071 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60073 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60075 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60076 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60077 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60078 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60080 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60082 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60085 2010-07-06 Andreas Schwab <schwab@redhat.com>
60088 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60091 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60093 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60094 _PC_PIPE_BUF using F_GETPIPE_SZ.
60096 2010-07-05 Roland McGrath <roland@redhat.com>
60098 * manual/arith.texi (Rounding Functions): Fix rint description
60099 implicit in round description.
60101 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60103 * elf/Makefile: Fix linking for a few tests to make recent linker
60106 2010-06-30 Andreas Schwab <schwab@redhat.com>
60108 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60109 $(common-objpfx)libc_nonshared.a.
60111 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60113 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60114 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60115 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60116 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60117 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60118 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60119 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60120 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60135 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60136 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60137 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60138 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60139 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60140 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60141 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60142 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60143 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60144 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60145 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60146 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60162 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60164 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60165 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60166 * string/memmove.c (memmove): Renamed to ...
60167 (MEMMOVE): ...this. Default to memmove.
60168 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60169 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60172 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60173 mempcpy-ssse3-back memmove-ssse3-back.
60174 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60175 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60177 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60178 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60179 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60180 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60181 * sysdeps/x86_64/multiarch/memmove.c: New file.
60182 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60183 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60184 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60185 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60186 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60187 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60189 (index_Fast_Copy_Backward): Define.
60190 (HAS_ARCH_FEATURE): Define.
60191 (HAS_FAST_REP_STRING): Define.
60192 (HAS_FAST_COPY_BACKWARD): Define.
60194 2010-06-21 Andreas Schwab <schwab@redhat.com>
60196 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60197 Restore proper fallback handling.
60199 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60202 * posix/group_member.c (__group_member): Correct checking loop.
60204 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60205 OOM in getpwuid_r correctly. Return error number when the caller
60206 should return, otherwise -1.
60207 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60208 call returning > 0 value.
60209 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60211 2010-06-07 Andreas Schwab <schwab@redhat.com>
60213 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60214 libc_nonshared.a from targets in modules-names.
60216 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60218 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60221 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60223 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60224 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60226 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60228 2010-06-02 Andreas Schwab <schwab@redhat.com>
60230 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60232 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60234 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60240 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60241 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60243 2010-06-14 Roland McGrath <roland@redhat.com>
60245 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60247 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60249 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60250 __REDIRECT followed by __THROW.
60251 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60252 * posix/getopt.h (getopt): Likewise.
60254 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60256 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60257 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60258 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60260 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60261 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60263 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60265 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60267 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60271 Properly check family and model.
60273 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60275 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60277 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60279 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60281 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60283 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60286 2010-05-19 Andreas Schwab <schwab@redhat.com>
60288 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60291 2010-05-21 Andreas Schwab <schwab@redhat.com>
60293 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60294 and internal_recvmmsg.
60295 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60296 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60297 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60298 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60300 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60301 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60302 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60304 2010-05-20 Andreas Schwab <schwab@redhat.com>
60306 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60308 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60310 POWER7 optimizations.
60311 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60312 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60314 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60316 * version.h: Update for 2.13 development version.
60318 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60320 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60321 exceptions. Return 0.
60323 2010-05-07 Roland McGrath <roland@redhat.com>
60325 * elf/ldconfig.c (main): Add a const.
60327 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60329 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60330 (args_options): Add no-idn option.
60331 (ahosts_keys_int): Add idn_flags to ai_flags.
60332 (parse_option): Handle 'i' option to clear idn_flags.
60334 * malloc/malloc.c (_int_free): Possible race in the most recently
60335 added check. Only act on the data if no current modification
60338 See ChangeLog.17 for earlier changes.